1 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
3 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
4 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
5 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
8 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12 2014-06-30 Joseph Myers <joseph@codesourcery.com>
14 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
15 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
19 * sysdeps/arm/libm-test-ulps: Regenerated.
21 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
22 Roland McGrath <roland@hack.frob.com>
24 * test-skeleton.c (signal_handler): Kill the whole process group
25 before killing the child individually.
26 (main): Report any failure on `setpgid'.
28 2014-06-30 Roland McGrath <roland@hack.frob.com>
30 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
31 from _TLS_H to _ARM_NPTL_TLS_H.
32 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
33 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
35 2014-06-30 Joseph Myers <joseph@codesourcery.com>
38 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
39 (__expm1l): Return argument unchanged when small but not
42 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
44 (_FP_UNPACK_RAW_1_P): Likewise.
45 (_FP_PACK_RAW_1): Likewise.
46 (_FP_PACK_RAW_1_P): Likewise.
47 (_FP_MUL_MEAT_1_wide): Likewise.
48 (_FP_MUL_MEAT_DW_1_hard): Likewise.
49 (_FP_MUL_MEAT_1_hard): Likewise.
50 (_FP_DIV_MEAT_1_imm): Likewise.
51 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
52 (_FP_DIV_MEAT_1_udiv): Likewise.
53 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
54 (_FP_UNPACK_RAW_2): Likewise.
55 (_FP_UNPACK_RAW_2_P): Likewise.
56 (_FP_PACK_RAW_2): Likewise.
57 (_FP_PACK_RAW_2_P): Likewise.
58 (_FP_MUL_MEAT_DW_2_wide): Likewise.
59 (_FP_MUL_MEAT_2_wide): Likewise.
60 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
61 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
62 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
63 (_FP_MUL_MEAT_2_gmp): Likewise.
64 (_FP_DIV_MEAT_2_udiv): Likewise.
65 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
66 (_FP_FRAC_SRL_4): Likewise.
67 (_FP_FRAC_SRST_4): Likewise.
68 (_FP_FRAC_SRS_4): Likewise.
69 (_FP_UNPACK_RAW_4): Likewise.
70 (_FP_UNPACK_RAW_4_P): Likewise.
71 (_FP_PACK_RAW_4): Likewise.
72 (_FP_PACK_RAW_4_P): Likewise.
73 (_FP_MUL_MEAT_DW_4_wide): Likewise.
74 (_FP_MUL_MEAT_4_wide): Likewise.
75 (_FP_MUL_MEAT_4_gmp): Likewise.
76 (umul_ppppmnnn): Likewise.
77 (_FP_DIV_MEAT_4_udiv): Likewise.
78 (__FP_FRAC_ADD_4): Likewise.
79 (__FP_FRAC_SUB_3): Likewise.
80 (__FP_FRAC_SUB_4): Likewise.
81 (__FP_FRAC_DEC_3): Likewise.
82 (__FP_FRAC_DEC_4): Likewise.
83 (__FP_FRAC_ADDI_4): Likewise.
84 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
85 (_FP_FRAC_SRL_8): Likewise.
86 (_FP_FRAC_SRS_8): Likewise.
88 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
90 (FP_UNPACK_RAW_EP): Likewise.
91 (FP_PACK_RAW_E): Likewise.
92 (FP_PACK_RAW_EP): Likewise.
93 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
94 (_FP_ISSIGNAN): Likewise.
95 (_FP_ADD_INTERNAL): Likewise.
99 (_FP_TO_INT): Likewise.
100 (_FP_FROM_INT): Likewise.
101 (FP_EXTEND): Likewise.
102 (_FP_DIV_MEAT_N_loop): Likewise.
104 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
106 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
109 2014-06-29 Joseph Myers <joseph@codesourcery.com>
112 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
113 result with correct sign in case of exponents that produce
114 overflow except for X very close to 1.
116 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
118 mktime: merge #if/#ifdef usage from glibc
119 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
120 as that works with both Glibc's and Gnulib's style.
121 See thread starting at Siddhesh Poyarekar's bug report at:
122 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
124 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
126 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
127 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
128 * sysdeps/tile/tilegx/memmove.c: Remove file.
130 2014-06-27 Joseph Myers <joseph@codesourcery.com>
132 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
134 * scripts/soversions.awk: Do not handle or generate ABI lines.
135 * shlib-versions: Remove ABI entries.
136 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
137 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
139 2014-06-27 Roland McGrath <roland@hack.frob.com>
141 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
142 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
143 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
144 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
145 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
146 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
147 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
149 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
151 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
152 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
153 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
154 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
155 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
156 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
157 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
158 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
159 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
160 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
161 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
162 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
163 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
165 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
166 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
167 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
168 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
169 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
170 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
172 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
173 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
175 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
176 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
177 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
178 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
180 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
181 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
182 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
183 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
184 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
185 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
186 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
187 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
189 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
190 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
191 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
192 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
194 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
195 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
197 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
198 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
199 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
200 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
202 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
204 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
205 Identical file removed.
206 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
208 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
209 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
210 Identical file removed.
211 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
212 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
213 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
215 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
216 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
217 Identical file removed.
218 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
219 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
220 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
221 Identical file removed.
222 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
223 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
224 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
225 Identical file removed.
226 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
227 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
228 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
229 Identical file removed.
230 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
232 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
233 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
234 Identical file removed.
235 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
237 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
238 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
239 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
240 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
241 Identical file removed.
242 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
244 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
246 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
247 Identical file removed.
248 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
250 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
251 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
252 Identical file removed.
253 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
255 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
256 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
257 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
258 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
259 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
260 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
262 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
263 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
264 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
266 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
267 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
268 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
269 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
270 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
272 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
275 * nscd/nscd.c (monitor_child): Return exit status of child
276 instead of return value from wait syscall.
278 2014-06-27 Joseph Myers <joseph@codesourcery.com>
280 * configure.ac (libc_commonpagesize): Remove variable.
281 (libc_relro_required): Likewise.
282 (libc_cv_z_relro): Remove configure test.
283 * configure: Regenerated.
284 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
286 (libc_relro_required): Likewise.
287 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
288 (libc_relro_required): Likewise.
289 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
290 (libc_relro_required): Likewise.
291 * sysdeps/arm/preconfigure: Regenerated.
292 * sysdeps/ia64/preconfigure: Remove file.
293 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
295 (libc_relro_required): Likewise.
299 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
300 (__ieee754_yn): Set FE_TONEAREST mode internally and then
301 recompute overflowing results in original rounding mode.
302 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
303 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
304 recompute overflowing results in original rounding mode.
305 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
306 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
307 recompute overflowing results in original rounding mode.
308 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
309 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
310 recompute overflowing results in original rounding mode.
311 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
312 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
313 recompute overflowing results in original rounding mode.
314 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
315 (libc_feholdsetround_ctx): New macro.
316 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
317 * sysdeps/i386/fpu/libm-test-ulps: Update.
318 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
320 2014-06-26 Joseph Myers <joseph@codesourcery.com>
322 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
323 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
324 corresponding .cpsetup call.
326 2014-06-26 Roland McGrath <roland@hack.frob.com>
328 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
329 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
330 * sysdeps/arm/Makefile [$(subdir) = csu]
331 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
332 (static-only-routines): Add aeabi_read_tp here.
333 (shared-only-routines): Add libc-aeabi_read_tp here.
334 (CFLAGS-libc-start.c): Add -fexceptions here.
335 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
336 (sysdep_routines, static-only-routines, shared-only-routines):
337 Don't add to these here.
338 (CFLAGS-libc-start.c): Likewise.
340 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
341 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
342 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
343 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
344 * sysdeps/arm/Makefile [$(subdir) = rt]
345 (librt-sysdep_routines, librt-shared-only-routines):
346 Append rt-aeabi_unwind_cpp_pr1 here.
347 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
348 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
349 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
350 (libpthread-sysdep_routines, libpthread-shared-only-routines):
351 Append nptl-aeabi_unwind_cpp_pr1 here.
352 (tests): Filter out tst-cleanupx4 here.
353 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
354 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
357 2014-06-26 Joseph Myers <joseph@codesourcery.com>
359 * scripts/list-sources.sh: Do not handle ports specially.
361 2014-06-26 Roland McGrath <roland@hack.frob.com>
363 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
364 * sysdeps/arm/feupdateenv.c: Likewise.
366 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
368 2014-06-26 Joseph Myers <joseph@codesourcery.com>
370 * manual/texinfo.tex: Update to version 2014-05-05.10 with
371 trailing whitespace removed.
372 * scripts/config.guess: Update to version 2014-03-23.
373 * scripts/config.sub: Update to version 2014-05-01
374 * scripts/install-sh: Update to version 2013-12-25.23.
375 * scripts/move-if-change: Update from gnulib.
377 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
379 * debug/memmove_chk.c: Remove pagecopy.h include.
381 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
383 * time/mktime.c (leapyear): Remove inline keyword. The code is now
384 identical to gnulib mktime.
386 2014-06-26 Joseph Myers <joseph@codesourcery.com>
388 * configure.ac: Do not test for machine being rs6000. Do not test
390 * configure: Regenerated.
392 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
394 * configure: Regenerated.
395 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
396 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
397 Remove configure test.
398 * sysdeps/arm/configure: Regenerated.
399 * sysdeps/nptl/configure.ac: Do not check
400 libc_cv_asm_cfi_directives.
401 * sysdeps/nptl/configure: Regenerated.
402 * sysdeps/x86_64/nptl/configure.ac: Remove file.
403 * sysdeps/x86_64/nptl/configure: Remove generated file.
404 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
406 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
408 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
410 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
411 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
412 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
415 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
416 instead of whether it is defined.
417 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
418 * sysdeps/hppa/dl-machine.h: Likewise.
419 * sysdeps/ia64/dl-machine.h: Likewise.
420 * sysdeps/m68k/dl-machine.h: Likewise.
421 * sysdeps/microblaze/dl-machine.h: Likewise.
422 * sysdeps/mips/dl-machine.: Likewise.
423 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
424 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
425 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
426 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
427 * sysdeps/sh/dl-machine.h: Likewise.
428 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
429 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
430 * sysdeps/tile/dl-machine.h: Likewise.
431 * sysdeps/x86_64/dl-machine.h: Likewise.
433 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
435 (verify_persistent_db): Likewise.
437 2014-06-26 Roland McGrath <roland@hack.frob.com>
439 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
440 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
441 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
442 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
443 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
445 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
447 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
448 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
449 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
450 Identical file removed.
451 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
452 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
453 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
454 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
455 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
456 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
457 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
458 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
459 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
460 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
461 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
463 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
464 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
465 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
466 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
467 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
468 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
470 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
471 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
472 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
473 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
474 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
475 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
476 Identical file removed.
477 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
478 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
479 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
480 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
481 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
483 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
485 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
486 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
487 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
488 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
489 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
490 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
491 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
492 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
493 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
494 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
495 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
497 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
498 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
500 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
501 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
502 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
503 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
505 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
506 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
507 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
509 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
511 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
512 * sysdeps/unix/sysv/linux/s390/Versions
513 (libpthread: GLIBC_2.19): New version set.
514 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
515 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
516 (librt: GLIBC_2.3.3): New version set.
517 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
518 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
519 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
520 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
521 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
522 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
523 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
524 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
525 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
526 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
527 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
528 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
529 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
530 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
531 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
532 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
533 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
534 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
535 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
536 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
537 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
538 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
539 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
540 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
541 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
542 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
543 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
544 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
545 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
546 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
547 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
548 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
549 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
550 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
551 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
552 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
553 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
554 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
555 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
556 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
557 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
558 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
559 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
560 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
561 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
563 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
564 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
565 (__libc_vfork): Define the function under this name.
566 [!NOT_IN_libc] (__vfork): Make this an alias.
567 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
568 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
569 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
570 (__libc_vfork): Define the function under this name.
571 [!NOT_IN_libc] (__vfork): Make this an alias.
572 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
573 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
574 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
575 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
576 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
577 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
579 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
580 code that was previously under [RESET_PID].
581 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
582 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
583 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
585 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
586 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
587 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
588 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
589 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
590 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
591 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
592 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
593 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
594 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
595 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
597 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
598 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
599 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
600 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
601 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
602 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
603 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
604 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
605 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
606 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
607 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
608 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
609 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
610 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
611 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
612 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
613 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
614 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
615 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
616 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
617 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
618 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
619 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
620 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
621 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
622 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
623 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
624 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
625 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
627 2014-06-25 Roland McGrath <roland@hack.frob.com>
629 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
630 that was previously under [RESET_PID].
631 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
633 2014-06-25 Joseph Myers <joseph@codesourcery.com>
635 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
636 not undefine and redefine.
637 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
638 [O_CLOEXEC]: Make code unconditional.
639 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
640 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
642 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
643 conditional variable definition.
644 (shm_open) [O_CLOEXEC]: Make code unconditional.
645 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
648 * configure.ac (USE_REGPARMS): Don't define here.
649 * configure: Regenerated.
650 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
651 * sysdeps/i386/configure: Regenerated.
653 * nptl/createthread.c: Don't include kernel-features.h.
654 * nptl/pthread_cancel.c: Likewise.
655 * nptl/pthread_condattr_setclock.c: Likewise.
656 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
657 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
658 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
659 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
660 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
661 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
662 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
663 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
664 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
665 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
666 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
667 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
668 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
669 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
670 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
671 * nscd/gai.c: Likewise.
672 * nss/nss_db/db-open.c: Likewise.
673 * sysdeps/generic/ldsodefs.h: Likewise.
674 * sysdeps/sh/nptl/tls.h: Likewise.
675 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
676 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
677 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
678 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
679 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
680 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
681 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
682 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
683 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
684 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
685 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
686 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
687 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
688 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
689 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
690 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
691 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
692 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
693 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
694 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
695 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
696 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
697 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
698 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
699 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
700 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
701 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
702 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
703 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
704 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
705 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
706 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
707 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
708 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
709 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
710 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
711 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
712 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
713 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
714 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
715 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
716 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
717 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
718 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
719 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
720 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
721 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
722 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
723 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
724 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
725 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
726 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
727 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
728 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
729 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
730 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
731 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
732 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
755 * sysdeps/unix/sysv/linux/pread.c: Likewise.
756 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
757 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
758 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
759 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
760 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
761 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
762 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
763 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
764 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
765 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
766 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
767 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
768 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
769 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
770 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
771 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
772 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
773 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
774 * sysdeps/unix/sysv/linux/system.c: Likewise.
775 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
776 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
777 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
778 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
779 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
780 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
781 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
783 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
784 * configure: Regenerated.
785 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
787 * configure.ac (base_machine): Do not set specially for particular
789 * configure: Regenerated.
790 * sysdeps/powerpc/preconfigure: Move machine and base_machine
791 settings from configure.ac.
792 * sysdeps/i386/preconfigure: New file.
793 * sysdeps/s390/preconfigure: Likewise.
794 * sysdeps/sh/preconfigure: Likewise.
795 * sysdeps/sparc/preconfigure: Likewise.
797 2014-06-25 Roland McGrath <roland@hack.frob.com>
799 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
800 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
801 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
802 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
803 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
804 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
805 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
806 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
807 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
808 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
809 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
810 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
811 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
812 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
813 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
814 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
815 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
816 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
817 * sysdeps/sparc/sparc64/Makefile: ... appended here.
819 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
820 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
821 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
822 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
823 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
824 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
825 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
826 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
827 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
828 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
829 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
830 * sysdeps/sparc/sparc32/sem_post.c: ... here.
831 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
832 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
833 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
834 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
835 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
836 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
837 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
838 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
839 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
840 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
841 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
842 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
843 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
844 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
845 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
846 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
847 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
848 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
849 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
850 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
851 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
852 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
853 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
854 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
855 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
856 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
858 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
859 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
860 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
861 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
862 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
864 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
866 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
867 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
868 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
869 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
870 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
872 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
873 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
874 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
875 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
876 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
877 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
878 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
879 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
881 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
882 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
884 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
885 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
886 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
887 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
889 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
890 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
891 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
892 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
893 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
894 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
895 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
896 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
897 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
898 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
900 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
902 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
903 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
904 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
905 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
906 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
908 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
909 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
910 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
911 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
912 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
913 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
914 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
915 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
917 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
918 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
920 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
921 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
922 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
923 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
925 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
926 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
927 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
928 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
929 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
931 2014-06-25 Joseph Myers <joseph@codesourcery.com>
933 * timezone/checktab.awk: Update from tzcode 2014e.
934 * timezone/private.h: Likewise.
935 * timezone/tzfile.h: Likewise.
936 * timezone/zdump.c: Likewise.
937 * timezone/zic.c: Likewise.
939 * sysdeps/unix/sysv/linux/kernel-features.h
940 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
941 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
942 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
943 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
944 Remove conditional code.
946 2014-06-25 Will Newton <will.newton@linaro.org>
948 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
949 (_dl_arm_cap_flags): Add HWCAP2 values.
950 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
951 (_DL_HWCAP_COUNT): Increase to 37.
952 (_DL_HWCAP_LAST): New define.
953 (_DL_HWCAP2_LAST): New define.
954 (_dl_procinfo): Add support for printing
956 (_dl_string_hwcap): Use _dl_hwcap_string.
958 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
960 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
962 2014-06-25 Joseph Myers <joseph@codesourcery.com>
964 * README: Do not mention ports directory.
966 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
968 * sysdeps/unix/sysv/linux/futimes.c: Do not include
970 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
971 conditional variable definition.
972 (__futimes): Update comment.
973 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
974 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
977 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
978 arguments close to 0.
979 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
981 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
983 * math/auto-libm-test-in: Add more tests of exp10.
984 * math/auto-libm-test-out: Regenerated.
985 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
987 * sysdeps/unix/sysv/linux/kernel-features.h
988 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
989 * sysdeps/unix/sysv/linux/readv.c: Do not include
991 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
992 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
993 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
995 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
997 * sysdeps/unix/sysv/linux/writev.c: Do not include
999 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
1000 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
1001 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
1003 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
1006 2014-06-25 Will Newton <will.newton@linaro.org>
1008 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
1009 comment changes throughout the file. Remove checks
1010 for HAVE_*_H definitions that are not required.
1011 (__gen_tempname): Call abort if an unknown kind value is
1014 2014-06-25 Andreas Schwab <schwab@suse.de>
1017 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
1018 scalbln, scalblnf, scalblnl in libc.
1020 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1023 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
1024 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
1025 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
1027 2014-06-24 Roland McGrath <roland@hack.frob.com>
1029 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
1030 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
1031 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
1032 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
1034 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
1035 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
1037 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
1038 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
1039 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
1040 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
1041 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
1042 * sysdeps/x86/bits/pthreadtypes.h: ... here.
1043 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
1044 * sysdeps/x86/bits/semaphore.h: ... here.
1045 * sysdeps/x86/nptl/elide.h: Moved ...
1046 * sysdeps/x86/elide.h: ... here.
1047 * sysdeps/x86_64/nptl/Implies: File removed.
1048 * sysdeps/i386/nptl/Implies: File removed.
1050 2014-06-24 Joseph Myers <joseph@codesourcery.com>
1053 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
1054 return the argument for normal arguments with exponent below -64.
1055 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1057 * math/auto-libm-test-in: Add another test of expm1.
1058 * math/auto-libm-test-out: Regenerated.
1061 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
1062 calling __erfcl for arguments at least 16.
1063 * math/auto-libm-test-in: Add more tests of erf.
1064 * math/auto-libm-test-out: Regenerated.
1066 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
1067 individual architectures.
1068 * sysdeps/unix/sysv/linux/configure: Regenerated.
1069 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
1070 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
1071 * sysdeps/unix/sysv/linux/powerpc/configure.ac
1072 (ldd_rewrite_script): Define variable.
1073 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
1074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
1076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
1078 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
1079 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
1080 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
1081 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
1082 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
1083 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
1084 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
1085 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
1087 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1090 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
1091 Rename member __data.d to __data.__elision_data.
1093 2014-06-24 Wilco <wdijkstr@arm.com>
1095 * NEWS: Add 16918 to fixed bug list.
1097 2014-06-24 Wilco <wdijkstr@arm.com>
1099 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
1101 2014-06-24 Wilco <wdijkstr@arm.com>
1103 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
1104 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
1105 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
1106 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
1107 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
1108 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
1109 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
1112 2014-06-24 Wilco <wdijkstr@arm.com>
1114 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
1116 2014-06-24 Wilco <wdijkstr@arm.com>
1118 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
1119 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
1120 * sysdeps/arm/fesetround.c (fesetround): Remove space.
1121 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
1123 2014-06-24 Wilco <wdijkstr@arm.com>
1126 * sysdeps/arm/feupdateenv.c (feupdateenv):
1127 Rewrite to reduce FPSCR accesses and fix return value.
1129 2014-06-24 Wilco <wdijkstr@arm.com>
1131 * sysdeps/arm/fclrexcpt.c (feclearexcept):
1132 Optimize to avoid unnecessary FPSCR writes.
1133 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
1134 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
1135 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
1136 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
1138 2014-06-24 Wilco <wdijkstr@arm.com>
1140 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
1141 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
1142 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
1143 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
1144 Call libc_fetestexcept_vfp.
1145 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
1146 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
1147 __SOFTFP__ ifdef so that they can be built for softfp.
1149 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1151 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
1152 argument type signed char.
1154 * Makerules (check-abi): Dump diff of symlist if the test
1157 2014-06-23 Roland McGrath <roland@hack.frob.com>
1159 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
1162 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
1163 Remove unused variable ST.
1165 2014-06-23 Joseph Myers <joseph@codesourcery.com>
1169 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
1170 small arguments before calling __expm1.
1171 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
1172 small arguments before calling __expm1f.
1173 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
1174 small arguments before calling __expm1l.
1175 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
1177 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
1178 * math/auto-libm-test-in: Add more cosh tests. Do not allow
1179 spurious underflow for some cosh tests.
1180 * math/auto-libm-test-out: Regenerated.
1181 * sysdeps/i386/fpu/libm-test-ulps: Update.
1184 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
1185 (__ieee754_y1): Set errno if return value overflows.
1186 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
1187 (__ieee754_y1f): Set errno if return value overflows.
1188 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
1189 (__ieee754_y1l): Set errno if return value overflows.
1190 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
1191 (__ieee754_y1l): Set errno if return value overflows.
1192 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
1193 * math/auto-libm-test-out: Regenerated.
1195 * math/gen-auto-libm-tests.c: Document use of
1196 ignore-zero-inf-sign.
1197 (input_flag_type): Add value flag_ignore_zero_inf_sign.
1198 (input_flags): Add ignore-zero-inf-sign.
1199 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
1200 * math/gen-libm-test.pl (generate_testfile): Handle
1201 ignore-zero-inf-sign.
1202 * math/auto-libm-test-in: Mark some cpow tests with
1203 ignore-zero-inf-sign and some with xfail-rounding.
1204 * math/auto-libm-test-out: Regenerated.
1205 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
1206 * sysdeps/i386/fpu/libm-test-ulps: Update.
1207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1210 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
1211 overflowing or underflowing operations take place with sign of
1213 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1214 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
1215 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
1216 (__ieee754_pow): Recompute overflowing and underflowing results in
1217 original rounding mode.
1218 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
1219 (__powl_helper): Allow negative argument X and scale negated value
1220 as needed. Avoid passing value outside [-1, 1] to f2xm1.
1221 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
1222 overflowing or underflowing operations take place with sign of
1224 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
1226 * math/auto-libm-test-in: Add more tests of pow.
1227 * math/auto-libm-test-out: Regenerated.
1228 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
1229 (pow_tonearest_test_data): Remove.
1230 (pow_test_tonearest): Likewise.
1231 (pow_towardzero_test_data): Likewise.
1232 (pow_test_towardzero): Likewise.
1233 (pow_downward_test_data): Likewise.
1234 (pow_test_downward): Likewise.
1235 (pow_upward_test_data): Likewise.
1236 (pow_test_upward): Likewise.
1237 (main): Don't call removed functions.
1238 * sysdeps/i386/fpu/libm-test-ulps: Update.
1239 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1241 2014-06-23 Roland McGrath <roland@hack.frob.com>
1243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
1245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
1246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
1249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
1252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
1254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
1255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
1257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
1261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
1263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
1265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
1267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
1269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
1273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
1277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
1279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
1281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
1282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
1284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
1286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
1288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
1289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
1291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
1292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
1294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
1295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
1297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
1298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
1300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
1301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
1303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
1304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
1306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
1307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
1308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
1310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
1312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
1313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
1315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
1319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
1325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
1327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
1328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
1330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
1331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
1332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
1333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
1335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
1337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
1339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
1341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
1343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
1344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
1347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
1349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
1350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
1353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
1355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
1357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
1359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
1360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
1362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
1363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
1366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
1368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
1369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
1370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
1371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
1373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
1374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
1377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
1379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
1381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
1385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
1387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
1389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
1392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
1394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
1395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
1397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
1398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
1400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
1402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
1404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
1406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
1408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
1410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
1412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
1413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
1417 2014-06-23 Will Newton <will.newton@linaro.org>
1418 Wilco <wdijkstr@arm.com>
1420 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
1421 implementation. Include get-rounding-mode.h.
1422 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
1423 [!libc_feholdsetround_noex_ctx]: Define
1424 libc_feholdsetround_noex_ctx.
1425 [!libc_feholdsetround_noexf_ctx]: Define
1426 libc_feholdsetround_noexf_ctx.
1427 [!libc_feholdsetround_noexl_ctx]: Define
1428 libc_feholdsetround_noexl_ctx.
1429 (libc_feholdsetround_ctx): New function.
1430 (libc_feresetround_ctx): New function.
1431 (libc_feholdsetround_noex_ctx): New function.
1432 (libc_feresetround_noex_ctx): New function.
1434 2014-06-23 Roland McGrath <roland@hack.frob.com>
1436 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
1437 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
1438 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
1439 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
1440 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
1441 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
1443 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
1444 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
1445 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
1446 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
1447 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
1448 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
1449 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
1450 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
1451 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
1452 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
1453 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
1455 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
1457 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
1458 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
1459 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
1460 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
1461 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
1463 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
1464 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
1465 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
1466 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
1467 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
1468 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
1469 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
1470 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
1472 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
1473 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
1475 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
1476 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
1477 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
1478 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
1480 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
1481 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
1482 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
1483 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
1484 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
1485 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
1486 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
1487 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
1488 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
1489 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
1491 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
1493 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
1494 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
1495 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
1496 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
1497 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
1498 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
1499 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
1500 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
1501 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
1502 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
1503 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
1504 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
1505 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
1507 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
1508 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
1509 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
1510 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
1511 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
1512 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
1514 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
1515 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
1516 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
1517 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
1518 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
1520 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
1521 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
1522 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
1523 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
1524 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
1525 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
1526 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
1527 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
1528 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
1529 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
1530 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
1531 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
1532 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
1533 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
1534 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
1535 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
1536 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
1537 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
1538 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
1539 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
1540 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
1541 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
1542 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
1543 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
1544 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
1545 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
1546 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
1547 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
1549 2014-06-23 Joseph Myers <joseph@codesourcery.com>
1551 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
1552 (FALLOC_FL_COLLAPSE_RANGE): New macro.
1553 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
1554 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
1555 (IPV6_PMTUDISC_INTERFACE): Likewise.
1556 (IPV6_PMTUDISC_OMIT): Likewise.
1558 2014-06-23 Andreas Schwab <schwab@suse.de>
1560 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
1561 Remove unused errout label.
1563 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1565 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
1566 macro: hardware supports Vector Crypto instructions.
1568 2014-06-23 Will Newton <will.newton@linaro.org>
1570 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
1571 rather than __builtin_expect.
1573 * elf/dl-lookup.c (undefined_msg): Remove variable.
1574 (_dl_lookup_symbol_x): Replace undefined_msg with string
1577 * elf/dl-lookup.c (do_lookup_unique): New function.
1578 (do_lookup_x): Move STB_GNU_UNIQUE handling code
1579 to a separate function.
1581 2014-06-23 Andreas Schwab <schwab@suse.de>
1584 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
1585 before reading the next line.
1587 2014-06-23 Will Newton <will.newton@linaro.org>
1589 * test-skeleton.c (signal_handler): Use printf and %m
1590 rather than perror. Use printf rather than fprintf to
1591 stderr. Use puts rather than fputs to stderr.
1594 2014-06-22 Ludovic Courtès <ludo@gnu.org>
1596 * nscd/nscd.c (thread_info_t): Remove typedef.
1597 (thread_info): Remove variable.
1599 2014-06-21 Allan McRae <allan@archlinux.org>
1601 * NEWS: Mention CVE-2014-4043.
1603 2014-06-20 Roland McGrath <roland@hack.frob.com>
1605 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
1606 * nptl/smp.h: ... here.
1608 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
1610 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
1611 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
1612 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
1613 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
1615 * nptl/allocatestack.c: Include <stack-aliasing.h>.
1616 * nptl/stack-aliasing.h: New file.
1617 * sysdeps/i386/i686/stack-aliasing.h: New file.
1618 * sysdeps/i386/i686/nptl/Makefile: File removed.
1619 * sysdeps/x86_64/stack-aliasing.h: New file.
1620 * sysdeps/x86_64/nptl/Makefile
1621 (CFLAGS-pthread_create.c): Variable removed.
1623 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
1624 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
1626 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
1627 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
1630 2014-06-21 Joseph Myers <joseph@codesourcery.com>
1632 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1633 (__ASSUME_SIGFRAME_V2): Remove macro.
1634 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
1635 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
1636 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
1637 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
1638 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
1639 Declare as function. Remove conditional macro definitions.
1640 (__default_rt_sa_restorer): Likewise.
1641 (__default_sa_restorer_v1): Remove declaration.
1642 (__default_sa_restorer_v2): Likewise.
1643 (__default_rt_sa_restorer_v1): Likewise.
1644 (__default_rt_sa_restorer_v2): Likewise.
1645 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
1646 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
1647 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
1649 2014-06-20 Roland McGrath <roland@hack.frob.com>
1651 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
1652 (libpthread-routines): Add sysdep.
1653 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
1654 * sysdeps/unix/sysv/linux/sparc/Versions
1655 (libpthread: GLIBC_2.3.3): New version set.
1656 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
1657 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
1658 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
1659 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
1660 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
1661 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
1663 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
1664 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
1665 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
1666 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
1667 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
1668 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
1669 * sysdeps/sparc/nptl/sem_init.c: ... here.
1670 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
1671 * sysdeps/sparc/nptl/sem_post.c: ... here.
1672 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
1673 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
1674 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
1675 * sysdeps/sparc/nptl/sem_wait.c: ... here.
1676 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
1677 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
1678 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
1679 (libpthread-routines): Add cpu_relax.
1680 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
1682 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
1683 (librt: GLIBC_2.3.3): New version set.
1684 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
1685 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
1686 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
1687 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
1688 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
1689 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
1690 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
1691 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
1693 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
1694 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
1695 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
1696 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
1697 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
1698 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
1699 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
1700 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
1701 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
1702 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
1704 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
1706 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
1708 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
1710 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
1712 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
1714 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
1716 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
1718 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
1720 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
1722 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
1724 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
1726 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
1727 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
1728 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
1729 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
1730 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
1731 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
1732 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
1733 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
1734 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
1735 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
1736 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
1738 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
1739 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
1740 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
1741 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
1742 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
1744 2014-06-20 Joseph Myers <joseph@codesourcery.com>
1746 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
1747 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
1748 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
1749 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
1750 * nscd/nscd.c: Likewise.
1751 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
1752 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
1753 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
1754 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
1756 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
1757 <kernel-features.h>.
1758 (init_mq_netlink): Remove conditional have_sock_cloexec
1759 definitions. Remove code conditional on have_sock_cloexec < 0.
1760 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
1761 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
1762 * sysdeps/unix/sysv/linux/opensock.c: Do not include
1763 <kernel-features.h>.
1764 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
1765 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
1767 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
1769 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1770 Add tests for memset_chk and memset.
1772 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
1775 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
1778 * elf/tst-dl-iter-static.c: New file.
1779 * elf/Makefile (tests-static): Add tst-dl-iter-static.
1781 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
1784 2014-06-20 Joseph Myers <joseph@codesourcery.com>
1786 * sysdeps/unix/sysv/linux/kernel-features.h
1787 (__ASSUME_F_GETOWN_EX): Remove macro.
1788 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
1789 <kernel-features.h>.
1790 (miss_F_GETOWN_EX): Remove variable or macro.
1791 (do_fcntl): Do not check miss_F_GETOWN_EX.
1792 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
1794 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
1796 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
1797 [!__ASSUME_AT_RANDOM]: Remove conditional code.
1798 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
1800 * sysdeps/unix/sysv/linux/kernel-features.h
1801 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
1802 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
1803 [ADJ_OFFSET_SS_READ]: Make code unconditional.
1804 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
1806 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
1809 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
1810 Fix calculation of the symbol's value.
1811 * sysdeps/arm/tst-armtlsdescloc.c: New file.
1812 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
1813 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
1814 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
1815 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
1816 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
1817 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
1818 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
1819 (modules-names): Add `tst-armtlsdescmod',
1820 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
1821 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
1822 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
1823 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
1824 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
1825 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
1826 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
1827 ($(objpfx)tst-armtlsdescloc): New dependency.
1828 ($(objpfx)tst-armtlsdescextnow): Likewise.
1829 ($(objpfx)tst-armtlsdescextlazy): Likewise.
1830 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
1832 * sysdeps/arm/configure: Regenerate.
1834 2014-06-20 Joseph Myers <joseph@codesourcery.com>
1836 * include/fcntl.h (__atfct_seterrno): Remove prototype.
1837 (__atfct_seterrno_2): Likewise.
1838 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
1839 <kernel-features.h>.
1840 (__ASSUME_ATFCTS): Do not undefine and redefine.
1841 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
1842 (__have_atfcts): Remove conditional definition.
1843 (__fxstatat([__NR_fstatat64]: Make code unconditional.
1844 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
1845 unreachable if [__ASSUME_ATFCTS].
1846 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
1847 not undefine and redefine.
1848 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
1849 <kernel-features.h>.
1850 (faccessat) [__NR_faccessat]: Make code unconditional.
1851 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
1852 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
1853 <kernel-features.h>.
1854 (fchmodat) [__NR_fchmodat]: Make code unconditional.
1855 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
1856 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
1857 <kernel-features.h>.
1858 (fchownat) [__NR_fchownat]: Make code unconditional.
1859 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
1860 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
1861 <kernel-features.h>.
1862 (futimesat) [__NR_futimesat]: Make code unconditional.
1863 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
1864 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
1865 <kernel-features.h>.
1866 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
1867 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1868 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
1869 <kernel-features.h>.
1870 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
1871 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
1872 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
1873 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
1874 <kernel-features.h>.
1875 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
1876 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1877 * sysdeps/unix/sysv/linux/linkat.c: Do not include
1878 <kernel-features.h>.
1879 (linkat) [__NR_linkat]: Make code unconditional.
1880 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1881 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
1882 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
1883 <kernel-features.h>.
1884 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
1885 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
1886 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
1887 <kernel-features.h>.
1888 (mkdirat) [__NR_mkdirat]: Make code unconditional.
1889 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
1890 * sysdeps/unix/sysv/linux/openat.c: Do not include
1891 <kernel-features.h>.
1892 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
1893 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
1894 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
1895 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
1896 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
1897 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
1898 <kernel-features.h>.
1899 (readlinkat) [__NR_readlinkat]: Make code unconditional.
1900 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
1901 result of INLINE_SYSCALL directly, not via int variable.
1902 * sysdeps/unix/sysv/linux/renameat.c: Do not include
1903 <kernel-features.h>.
1904 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
1905 (renameat) [__NR_renameat]: Make code unconditional.
1906 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
1907 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
1908 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
1909 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
1910 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
1911 (__ASSUME_ATFCTS): Do not undefine and redefine.
1912 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
1913 <kernel-features.h>.
1914 (symlinkat) [__NR_symlinkat]: Make code unconditional.
1915 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1916 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
1917 <kernel-features.h>.
1918 (unlinkat) [__NR_unlinkat]: Make code unconditional.
1919 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1920 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
1921 (__ASSUME_ATFCTS): Do not undefine and redefine.
1922 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
1923 <kernel-features.h>.
1924 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
1925 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1926 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
1927 <kernel-features.h>.
1928 (__xmknodat) [__NR_mknodat]: Make code unconditional.
1929 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
1931 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
1933 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
1935 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
1938 * posix/regcomp.c (parse_reg_exp): Deallocate partially
1939 constructed tree before returning error.
1940 * posix/bug-regexp36.c: Expand test case.
1942 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
1945 * math/libm-test.inc (scalbln_test_date):
1946 Add errno expectations.
1947 * math/w_scalblnf.c: New File.
1948 Add wrapper which checks for setting errno to ERANGE.
1949 Add weak_alias for corresponding scalbln function.
1950 * math/w_scalbln.c: Likewise.
1951 * math/w_scalblnl.c: Likewise.
1952 * math/Makefile (libm-calls): Add w_scalbln.
1953 * sysdeps/ieee754/flt-32/s_scalblnf.c:
1954 Remove weak_alias for corresponding scalbln function.
1955 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1956 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
1957 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
1958 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1959 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
1960 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
1961 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
1962 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
1963 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
1964 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
1965 Remove long_double_symbol for scalblnl function in libm, libc.
1966 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
1967 Add wrapper which checks for setting errno to ERANGE.
1968 Add long_double_symbol for scalblnl function in libm, libc.
1969 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
1970 Remove long_double_symbol for scalblnl in libm.
1971 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
1972 Add wrapper which checks for setting errno to ERANGE.
1973 Add long_double_symbol for scalblnl function in libm.
1974 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
1975 Do not use wrapper because of own implementation.
1977 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
1979 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
1980 3 bytes for __pad1 for x32.
1981 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
1983 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
1984 H.J. Lu <hongjiu.lu@intel.com>
1986 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
1987 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
1988 * sysdeps/x86_64/multiarch/memset.S: Likewise.
1989 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1990 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
1992 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
1995 * posix/regcomp.c (parse_expression): Deallocate partially
1996 constructed tree before returning error.
1997 * posix/Makefile.c (tests): Add bug-regex36.
1998 (generated): Add bug-regex36.mtrace.
1999 (tests-special): Add $(objpfx)bug-regex36-mem.out
2000 (bug-regex36-ENV): New variable.
2001 ($(objpfx)bug-regex36-mem.out): New rule.
2002 * posix/bug-regex36.c: New file.
2004 2014-06-19 Will Newton <will.newton@linaro.org>
2006 * malloc/malloc.c (systrim): If extra is zero then return
2009 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2011 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
2013 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
2015 * sysdeps/aarch64/strchr.S: New file.
2017 2014-06-18 Joseph Myers <joseph@codesourcery.com>
2020 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
2021 from arguments -2 or below.
2022 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2023 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
2025 2014-06-18 Andreas Schwab <schwab@suse.de>
2028 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
2029 of a bracket expr not to run off the end of the string.
2030 * posix/Makefile (tests): Add tst-fnmatch3.
2031 * posix/tst-fnmatch3.c: New file.
2033 2014-06-18 Joseph Myers <joseph@codesourcery.com>
2035 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
2036 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2037 [$(cross-compiling) = no]: Likewise.
2038 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2039 [$(cross-compiling) = no]: Likewise.
2041 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2044 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
2045 double, adjusted for any remainder from the high double.
2046 * math/libm-test.inc (nearbyint): Add tests.
2049 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2051 * nptl/sysdeps/powerpc/Makefile: Moved ...
2052 * sysdeps/powerpc/nptl/Makefile: ... here.
2053 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
2054 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
2055 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
2056 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
2057 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
2058 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
2059 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
2060 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
2061 * nptl/sysdeps/powerpc/tls.h: Moved ...
2062 * sysdeps/powerpc/nptl/tls.h: ... here.
2064 2014-06-16 Joseph Myers <joseph@codesourcery.com>
2067 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
2068 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
2069 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
2070 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
2071 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
2072 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
2073 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
2074 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
2075 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
2077 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
2079 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
2081 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
2083 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
2086 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
2089 2014-06-16 Florian Weimer <fweimer@redhat.com>
2092 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
2093 non-executed part of the test.
2095 2014-06-16 Andreas Schwab <schwab@suse.de>
2097 * string/bits/string2.h (strdup, strndup): Update feature guard.
2099 2014-06-14 David S. Miller <davem@davemloft.net>
2101 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2103 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
2105 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
2106 that was previously under [RESET_PID].
2107 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
2109 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
2110 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
2111 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
2112 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2113 (__libc_vfork): New strong alias.
2114 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
2116 2014-06-14 Andi Kleen <ak@linux.intel.com>
2118 * sysdeps/generic/elide.h: New file.
2120 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2122 * Makefile (installed-headers): Adjust path of pthread.h header.
2124 2014-06-13 Roland McGrath <roland@hack.frob.com>
2126 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
2127 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
2128 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
2129 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
2131 * nptl/sysdeps/s390/Makefile: Moved ...
2132 * sysdeps/s390/nptl/Makefile: ... here.
2133 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
2134 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
2135 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
2136 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
2137 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
2138 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
2139 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
2140 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
2141 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
2142 * sysdeps/s390/nptl/pthreaddef.h: ... here.
2143 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
2144 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
2145 * nptl/sysdeps/s390/tls.h: Moved ...
2146 * sysdeps/s390/nptl/tls.h: ... here.
2148 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
2149 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
2151 2014-06-13 David S. Miller <davem@davemloft.net>
2153 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
2154 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
2155 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
2156 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
2157 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
2158 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
2159 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
2160 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
2161 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
2162 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
2163 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
2164 Remove RESET_PID cpp guards.
2165 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
2166 Remove RESET_PID cpp guards.
2167 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
2169 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
2171 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
2174 2014-06-13 Andi Kleen <ak@linux.intel.com>
2176 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
2177 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
2178 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
2179 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
2180 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
2181 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
2182 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
2183 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
2184 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
2185 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
2186 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
2187 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
2188 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
2189 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
2190 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
2191 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
2192 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
2193 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
2194 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
2195 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
2197 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
2198 (pthread_rwlock_rdlock): Add elision.
2199 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
2200 (pthread_rwlock_wrlock): Add elision.
2201 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
2202 (pthread_rwlock_trywrlock): Add elision.
2203 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
2204 (pthread_rwlock_tryrdlock): Add elision.
2205 * nptl/pthread_rwlock_unlock.c: Include elide.h.
2206 (pthread_rwlock_tryrdlock): Add elision unlock.
2207 * nptl/sysdeps/pthread/pthread.h:
2208 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
2209 (PTHREAD_RWLOCK_INITIALIZER,
2210 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
2211 Handle new elision field.
2212 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
2213 * sysdeps/arm/nptl/bits/pthreadtypes.h
2214 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2215 * sysdeps/sh/nptl/bits/pthreadtypes.h
2216 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2217 * sysdeps/tile/nptl/bits/pthreadtypes.h
2218 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2219 * sysdeps/a/nptl/bits/pthreadtypes.h
2220 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2221 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
2222 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2223 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
2224 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2225 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
2226 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2227 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
2228 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2229 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
2230 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2231 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
2232 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2233 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
2234 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2235 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
2236 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2237 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
2238 (elision_init): Set try_xbegin to zero when no RTM.
2239 * sysdeps/x86/nptl/bits/pthreadtypes.h
2240 (pthread_rwlock_t): Change __pad1 to __rwelision.
2241 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2243 2014-06-13 Andi Kleen <ak@linux.intel.com>
2245 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
2246 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
2247 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
2248 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
2250 2014-06-13 Meador Inge <meadori@codesourcery.com>
2253 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
2254 that the cached result has been set before returning it.
2256 2014-06-12 Roland McGrath <roland@hack.frob.com>
2258 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
2259 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
2260 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
2261 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
2262 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
2263 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
2265 * nptl/sysdeps/sparc/Makefile: Moved ...
2266 * sysdeps/sparc/nptl/Makefile: ... here.
2267 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
2268 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
2269 * nptl/sysdeps/sparc/tls.h: Moved ...
2270 * sysdeps/sparc/nptl/tls.h: ... here.
2271 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
2272 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
2273 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
2274 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
2275 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
2276 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
2277 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
2278 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
2279 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
2280 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
2281 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
2282 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
2283 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
2284 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
2285 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
2286 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
2287 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
2288 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
2290 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
2291 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
2293 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
2294 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
2296 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
2297 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
2300 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2302 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
2303 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
2305 * sysdeps/pthread/posix-timer.h: Include <list.h>.
2306 (struct list_links): Type removed.
2307 (struct thread_node, struct timer_node): Replace struct list_links
2308 with struct list_head.
2309 (list_unlink_ip): Likewise.
2310 * sysdeps/pthread/timer_routines.c
2311 (timer_free_list, thread_free_list, thread_active_list): Likewise.
2312 (list_append, list_insbefore): Likewise.
2313 (list_init): Function removed.
2314 (thread_init, init_module): Use INIT_LIST_HEAD instead.
2315 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
2316 * sysdeps/pthread/Makefile: ... here, new file.
2318 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
2319 * sysdeps/nptl/Implies: ... here.
2320 * sysdeps/unix/sysv/linux/Implies: Add nptl.
2321 * nptl/sysdeps/pthread/list.h: Moved ...
2322 * include/list.h: ... here.
2323 * nptl/sysdeps/pthread/createthread.c: Moved ...
2324 * nptl/createthread.c: ... here.
2325 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
2326 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
2327 * nptl/pt-longjmp.c: ... here.
2328 * nptl/sysdeps/pthread/Makefile: Moved ...
2329 * sysdeps/nptl/Makefile: ... here.
2330 * nptl/sysdeps/pthread/Subdirs: Moved ...
2331 * sysdeps/nptl/Subdirs: ... here.
2332 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
2333 * sysdeps/nptl/aio_misc.h: ... here.
2334 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
2335 * sysdeps/nptl/bits/libc-lock.h: ... here.
2336 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
2337 * sysdeps/nptl/bits/libc-lockP.h: ... here.
2338 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
2339 * sysdeps/nptl/bits/stdio-lock.h: ... here.
2340 * nptl/sysdeps/pthread/configure: Moved ...
2341 * sysdeps/nptl/configure: ... here.
2342 * nptl/sysdeps/pthread/configure.ac: Moved ...
2343 * sysdeps/nptl/configure.ac: ... here.
2344 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
2345 * sysdeps/nptl/gai_misc.h: ... here.
2346 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
2347 * sysdeps/nptl/librt-cancellation.c: ... here.
2348 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
2349 * sysdeps/nptl/malloc-machine.h: ... here.
2350 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
2351 * sysdeps/nptl/pthread-functions.h: ... here.
2352 * nptl/sysdeps/pthread/pthread.h: Moved ...
2353 * sysdeps/nptl/pthread.h: ... here.
2354 * nptl/sysdeps/pthread/setxid.h: Moved ...
2355 * sysdeps/nptl/setxid.h: ... here.
2356 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
2357 * sysdeps/nptl/sigfillset.c: ... here.
2358 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
2359 * sysdeps/nptl/tcb-offsets.h: ... here.
2360 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
2361 * sysdeps/nptl/tst-mqueue8x.c: ... here.
2362 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
2363 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
2364 * nptl/sysdeps/pthread/allocalim.h: Moved ...
2365 * sysdeps/pthread/allocalim.h: ... here.
2366 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
2367 * sysdeps/pthread/bits/sigthread.h: ... here.
2368 * nptl/sysdeps/pthread/flockfile.c: Moved ...
2369 * sysdeps/pthread/flockfile.c: ... here.
2370 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
2371 * sysdeps/pthread/ftrylockfile.c: ... here.
2372 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
2373 * sysdeps/pthread/funlockfile.c: ... here.
2374 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
2375 * sysdeps/pthread/posix-timer.h: ... here.
2376 * nptl/sysdeps/pthread/timer_create.c: Moved ...
2377 * sysdeps/pthread/timer_create.c: ... here.
2378 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
2379 * sysdeps/pthread/timer_delete.c: ... here.
2380 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
2381 * sysdeps/pthread/timer_getoverr.c: ... here.
2382 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
2383 * sysdeps/pthread/timer_gettime.c: ... here.
2384 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
2385 * sysdeps/pthread/timer_routines.c: ... here.
2386 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
2387 * sysdeps/pthread/timer_settime.c: ... here.
2388 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
2389 * sysdeps/pthread/tst-timer.c: ... here.
2390 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
2391 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
2393 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
2394 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
2396 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
2397 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
2398 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
2399 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
2400 Update #include target.
2401 * nptl/sysdeps/i386/i686/Makefile: Moved ...
2402 * sysdeps/i386/i686/nptl/Makefile: ... here.
2403 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
2404 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
2405 Update #include target.
2406 * nptl/sysdeps/i386/i686/tls.h: Moved ...
2407 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
2408 * nptl/sysdeps/i386/Makefile: Moved ...
2409 * sysdeps/i386/nptl/Makefile: ... here.
2410 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
2411 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
2412 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
2413 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
2414 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
2415 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
2416 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
2417 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
2418 * sysdeps/i386/nptl/pthreaddef.h: ... here.
2419 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
2420 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
2421 * nptl/sysdeps/i386/tls.h: Moved ...
2422 * sysdeps/i386/nptl/tls.h: ... here.
2424 * sysdeps/sh/Makefile [$(subdir) = csu]
2425 (gen-as-const-headers): Add tcb-offsets.sym.
2426 * nptl/sysdeps/sh/Makefile: File removed.
2427 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
2428 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
2429 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
2430 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
2431 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
2432 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
2433 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
2434 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
2435 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
2436 * sysdeps/sh/nptl/pthreaddef.h: ... here.
2437 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
2438 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
2439 * nptl/sysdeps/sh/tls.h: Moved ...
2440 * sysdeps/sh/nptl/tls.h: ... here.
2441 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
2442 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
2443 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
2444 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
2445 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
2446 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
2447 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
2448 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
2449 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
2450 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
2451 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
2452 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
2453 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
2454 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
2455 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
2456 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
2457 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
2458 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
2459 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
2460 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
2461 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
2462 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
2463 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
2464 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
2465 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
2467 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
2468 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
2470 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
2471 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
2472 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
2473 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
2474 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
2475 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
2476 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
2477 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
2478 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
2479 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
2480 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
2481 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
2482 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
2483 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
2484 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
2485 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
2486 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
2487 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
2488 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
2490 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
2492 * posix/spawn_faction_addopen.c: Include string.h.
2494 2014-06-11 Roland McGrath <roland@hack.frob.com>
2496 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
2497 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
2498 * nptl/sysdeps/x86_64/Makefile: Moved ...
2499 * sysdeps/x86_64/nptl/Makefile: ... here.
2500 * nptl/sysdeps/x86_64/configure: Moved ...
2501 * sysdeps/x86_64/nptl/configure: ... here.
2502 * nptl/sysdeps/x86_64/configure.ac: Moved ...
2503 * sysdeps/x86_64/nptl/configure.ac: ... here.
2504 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
2505 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
2506 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
2507 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
2508 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
2509 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
2510 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
2511 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
2512 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
2513 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
2514 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
2515 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
2516 * nptl/sysdeps/x86_64/tls.h: Moved ...
2517 * sysdeps/x86_64/nptl/tls.h: ... here.
2518 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
2519 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
2520 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
2521 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
2523 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
2525 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2527 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2529 2014-06-11 Joseph Myers <joseph@codesourcery.com>
2531 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
2533 [POSIX] (off_t): Likewise.
2534 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
2535 [POSIX] (S_ISBLK): Require macro.
2536 [POSIX] (S_ISCHR): Likewise.
2537 [POSIX] (S_ISDIR): Likewise.
2538 [POSIX] (S_ISFIFO): Likewise.
2539 [POSIX] (S_ISREG): Likewise.
2540 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
2542 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
2544 [POSIX] (time_t): Likewise.
2545 [POSIX] (timer_t): Likewise.
2547 2014-06-11 Florian Weimer <fweimer@redhat.com>
2550 * posix/spawn_int.h (struct __spawn_action): Make the path string
2551 non-const to support deallocation.
2552 * posix/spawn_faction_addopen.c
2553 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
2554 * posix/spawn_faction_destroy.c
2555 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
2556 path in all spawn_do_open actions.
2557 * posix/tst-spawn.c (do_test): Exercise the copy operation in
2558 posix_spawn_file_actions_addopen.
2560 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
2562 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
2563 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
2564 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
2565 conditional code always true.
2566 (__libc_vfork): New alias.
2568 2014-06-11 Roland McGrath <roland@hack.frob.com>
2570 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2571 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
2573 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
2575 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2576 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
2578 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2579 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
2581 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2582 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
2584 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2586 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
2587 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
2588 multiarch strcmp for PPC64.
2589 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
2590 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
2591 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
2592 multiarch optimizations.
2593 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2594 (__libc_ifunc_impl_list): Likewise.
2596 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2598 * benchtests/scripts/validate_benchout.py: New script.
2599 * benchtests/Makefile (bench-func): Call it.
2600 * benchtests/scripts/benchout.schema.json: New file.
2602 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
2604 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
2605 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
2606 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
2607 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
2608 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
2609 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
2610 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
2611 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
2612 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
2613 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
2614 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
2615 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
2616 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
2617 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
2618 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
2619 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
2620 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2622 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2624 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2626 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
2627 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2629 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2631 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2633 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2635 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2637 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
2638 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2640 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2642 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2644 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2646 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2648 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
2649 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2651 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2653 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2655 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2657 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2659 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2661 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2663 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
2664 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2666 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2668 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2670 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2672 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2674 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2676 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2678 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
2679 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2681 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2683 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2685 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2687 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2689 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
2690 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2692 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2694 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2696 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
2697 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2699 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
2700 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2702 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2704 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2706 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2708 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2710 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2712 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2714 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
2715 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2717 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2719 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2721 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2723 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
2724 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
2725 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
2726 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
2727 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2729 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2731 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
2732 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
2733 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
2734 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
2735 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
2736 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
2737 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
2738 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
2739 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
2740 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
2741 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
2742 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
2743 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2745 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
2746 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2748 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
2749 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
2750 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
2751 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2753 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
2754 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
2755 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
2756 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
2757 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
2758 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
2759 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2761 2014-06-10 Wilco <wdijkstr@arm.com>
2763 * math/test-fenv-return.c: New file.
2764 * math/Makefile: Add new test test-fenv-return.
2766 2014-06-10 Joseph Myers <joseph@codesourcery.com>
2769 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
2771 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
2772 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
2773 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
2774 0.0L for an argument of 1.0L.
2775 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
2777 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
2778 value when x - 1 is zero.
2779 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
2780 * sysdeps/i386/fpu/libm-test-ulps: Update.
2781 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2783 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
2786 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
2788 2014-06-09 Roland McGrath <roland@hack.frob.com>
2790 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
2791 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
2793 2014-06-09 Roland McGrath <roland@hack.frob.com>
2795 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2796 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
2798 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2799 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
2801 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2802 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
2804 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2805 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
2807 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
2808 if not already defined.
2809 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
2810 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
2811 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
2812 (TLS_INIT_TP): Use it.
2813 (TLS_DEFINE_INIT_TP): New macro.
2814 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
2816 2014-06-09 Joseph Myers <joseph@codesourcery.com>
2818 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
2820 [POSIX] (IXANY): Likewise.
2821 [POSIX] (OLCUC): Likewise.
2822 [POSIX || POSIX2008] (CBAUD): Do not allow.
2823 [POSIX || POSIX2008] (DEFECHO): Likewise.
2824 [POSIX || POSIX2008] (ECHOCTL): Likewise.
2825 [POSIX || POSIX2008] (ECHOKE): Likewise.
2826 [POSIX || POSIX2008] (ECHOPRT): Likewise.
2827 [POSIX || POSIX2008] (EXTA): Likewise.
2828 [POSIX || POSIX2008] (EXTB): Likewise.
2829 [POSIX || POSIX2008] (FLUSHO): Likewise.
2830 [POSIX || POSIX2008] (LOBLK): Likewise.
2831 [POSIX || POSIX2008] (PENDIN): Likewise.
2832 [POSIX || POSIX2008] (SWTCH): Likewise.
2833 [POSIX || POSIX2008] (VDISCARD): Likewise.
2834 [POSIX || POSIX2008] (VDSUSP): Likewise.
2835 [POSIX || POSIX2008] (VLNEXT): Likewise.
2836 [POSIX || POSIX2008] (VREPRINT): Likewise.
2837 [POSIX || POSIX2008] (VSTATUS): Likewise.
2838 [POSIX || POSIX2008] (VWERASE): Likewise.
2839 (B*): Change to B[0123456789]*.
2840 * conform/data/time.h-data [POSIX || UNIX98]
2841 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
2842 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
2843 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
2844 [POSIX] (tm_*): Do not allow.
2846 2014-06-07 Joseph Myers <joseph@codesourcery.com>
2848 * Makefile (install): Don't set LANGUAGE.
2849 * Makefile.in (install): Likewise.
2850 * assert/Makefile (test-assert-ENV): Remove variable.
2851 (test-assert-perr-ENV): Likewise.
2852 * elf/Makefile (neededtest4-ENV): Likewise.
2853 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2854 [$(cross-compiling) = no]: Don't set LANGUAGE.
2855 * io/ftwtest-sh (LANG): Remove variable.
2856 * libio/Makefile (tst-widetext-ENV): Likewise.
2857 * manual/install.texi (Running make install): Don't refer to
2858 environment settings for make install.
2859 * INSTALL: Regenerated.
2860 * nptl/tst-tls6.sh: Don't set LANG.
2861 * posix/globtest.sh (LANG): Remove variable.
2862 * string/Makefile (tester-ENV): Likewise.
2863 (inl-tester-ENV): Likewise.
2864 (noinl-tester-ENV): Likewise.
2865 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2866 [$(cross-compiling) = no]: Don't set LANGUAGE.
2867 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
2868 without explicit environment settings.
2870 2014-06-06 Roland McGrath <roland@hack.frob.com>
2872 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
2873 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
2874 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
2875 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
2877 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
2879 * crypt/crypt-private.h [DOS]: Add some includes taken from the
2880 other files in the crypt directory.
2881 * crypt/crypt.c: Remove duplicate includes.
2882 * crypt/crypt-entry.c: Likewise.
2883 * crypt/crypt_util.c: Likewise.
2885 2014-06-06 Joseph Myers <joseph@codesourcery.com>
2887 * Makeconfig (run-program-env): New variable.
2888 (run-program-prefix-before-env): Likewise.
2889 (run-program-prefix-after-env): Likewise.
2890 (run-program-prefix): Define in terms of new variables.
2891 (built-program-cmd-before-env): New variable.
2892 (built-program-cmd-after-env): Likewise.
2893 (built-program-cmd): Define in terms of new variables.
2894 (test-program-prefix-before-env): New variable.
2895 (test-program-prefix-after-env): Likewise.
2896 (test-program-prefix): Define in terms of new variables.
2897 (test-program-cmd-before-env): New variable.
2898 (test-program-cmd-after-env): Likewise.
2899 (test-program-cmd): Define in terms of new variables.
2900 * Rules (make-test-out): Use $(run-program-env).
2901 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
2902 (help): Do not mention environment variables. Mention
2903 --timeoutfactor option.
2904 (timeoutfactor): New variable.
2905 (blacklist_exports): Remove function.
2906 (exports): Remove variable.
2907 (command): Do not include ${exports}.
2908 * manual/install.texi (Configuring and compiling): Do not mention
2909 test wrappers preserving environment variables. Mention that last
2910 assignment to a variable must take precedence.
2911 * INSTALL: Regenerated.
2912 * benchtests/Makefile (run-bench): Use $(run-program-env).
2913 * catgets/Makefile ($(objpfx)test1.cat): Use
2914 $(built-program-cmd-before-env), $(run-program-env) and
2915 $(built-program-cmd-after-env).
2916 ($(objpfx)test2.cat): Do not specify environment variables
2918 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
2919 $(run-program-env) and $(built-program-cmd-after-env).
2920 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
2921 $(run-program-env) and $(test-program-cmd-after-env).
2922 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
2924 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
2925 run_program_env and test_program_cmd_after_env arguments.
2926 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
2927 * elf/tst-pathopt.sh: Use run_program_env argument.
2928 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
2929 $(test-wrapper-env) and $(run-program-env).
2930 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
2931 run_program_env arguments.
2932 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
2933 * intl/Makefile ($(objpfx)tst-gettext.out): Use
2934 $(test-program-prefix-before-env), $(run-program-env) and
2935 $(test-program-prefix-after-env).
2936 ($(objpfx)tst-gettext2.out): Likewise.
2937 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
2938 run_program_env and test_program_prefix_after_env arguments.
2939 * intl/tst-gettext2.sh: Likewise.
2940 * intl/tst-gettext4.sh: Do not set environment variables
2942 * intl/tst-gettext6.sh: Likewise.
2943 * intl/tst-translit.sh: Likewise.
2944 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
2945 $(test-program-prefix-before-env), $(run-program-env) and
2946 $(test-program-prefix-after-env).
2947 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
2948 run_program_env and test_program_prefix_after_env arguments.
2949 * math/Makefile (run-regen-ulps): Use $(run-program-env).
2950 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
2951 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
2952 explicitly with each use of ${test_wrapper_env}.
2953 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
2954 $(test-program-prefix-before-env), $(run-program-env) and
2955 $(test-program-prefix-after-env).
2956 * posix/tst-getconf.sh: Do not set environment variables
2958 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
2959 run_program_env and test_program_prefix_after_env arguments.
2960 * stdio-common/tst-printf.sh: Do not set environment variables
2962 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
2963 $(test-program-prefix-before-env), $(run-program-env) and
2964 $(test-program-prefix-after-env).
2965 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
2966 run_program_env and test_program_prefix_after_env arguments.
2967 Split $test calls into $test_pre and $test.
2968 * timezone/Makefile (build-testdata): Use
2969 $(built-program-cmd-before-env), $(run-program-env) and
2970 $(built-program-cmd-after-env).
2972 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2974 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
2975 strlen for non SHARED builds.
2977 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2979 * nptl/allocatestack.c (check_list): Inlined function...
2980 (__reclaim_stacks): ... here.
2982 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
2985 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
2988 2014-06-05 Joseph Myers <joseph@codesourcery.com>
2990 * Rules (make-test-out): Include
2991 LOCPATH=$(common-objpfx)localedata in default environment.
2992 * debug/Makefile (tst-chk1-ENV): Remove variable.
2993 (tst-chk2-ENV): Likewise.
2994 (tst-chk3-ENV): Likewise.
2995 (tst-chk4-ENV): Likewise.
2996 (tst-chk5-ENV): Likewise.
2997 (tst-chk6-ENV): Likewise.
2998 (tst-lfschk1-ENV): Likewise.
2999 (tst-lfschk2-ENV): Likewise.
3000 (tst-lfschk3-ENV): Likewise.
3001 (tst-lfschk4-ENV): Likewise.
3002 (tst-lfschk5-ENV): Likewise.
3003 (tst-lfschk6-ENV): Likewise.
3004 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
3005 (tst-iconv7-ENV): Likewise.
3006 * intl/Makefile (LOCPATH-ENV): Likewise.
3007 (tst-codeset-ENV): Likewise.
3008 (tst-gettext3-ENV): Likewise.
3009 (tst-gettext5-ENV): Likewise.
3010 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
3011 (tst-fopenloc-ENV): Likewise.
3012 (tst-fgetws-ENV): Remove variable.
3013 (tst-ungetwc1-ENV): Likewise.
3014 (tst-ungetwc2-ENV): Likewise.
3015 (bug-ungetwc2-ENV): Likewise.
3016 (tst-swscanf-ENV): Likewise.
3017 (bug-ftell-ENV): Likewise.
3018 (tst-fgetwc-ENV): Likewise.
3019 (tst-fseek-ENV): Likewise.
3020 (tst-ftell-partial-wide-ENV): Likewise.
3021 (tst-ftell-active-handler-ENV): Likewise.
3022 (tst-ftell-append-ENV): Likewise.
3023 * posix/Makefile (tst-fnmatch-ENV): Likewise.
3024 (tst-regexloc-ENV): Likewise.
3025 (bug-regex1-ENV): Likewise.
3026 (tst-regex-ENV): Likewise.
3027 (tst-regex2-ENV): Likewise.
3028 (bug-regex5-ENV): Likewise.
3029 (bug-regex6-ENV): Likewise.
3030 (bug-regex17-ENV): Likewise.
3031 (bug-regex18-ENV): Likewise.
3032 (bug-regex19-ENV): Likewise.
3033 (bug-regex20-ENV): Likewise.
3034 (bug-regex22-ENV): Likewise.
3035 (bug-regex23-ENV): Likewise.
3036 (bug-regex25-ENV): Likewise.
3037 (bug-regex26-ENV): Likewise.
3038 (bug-regex30-ENV): Likewise.
3039 (bug-regex32-ENV): Likewise.
3040 (bug-regex33-ENV): Likewise.
3041 (bug-regex34-ENV): Likewise.
3042 (bug-regex35-ENV): Likewise.
3043 (tst-rxspencer-ENV): Likewise.
3044 (tst-rxspencer-no-utf8-ENV): Likewise.
3045 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
3046 (tst-sscanf-ENV): Likewise.
3047 (tst-swprintf-ENV): Likewise.
3048 (tst-swscanf-ENV): Likewise.
3049 (test-vfprintf-ENV): Likewise.
3050 (scanf13-ENV): Likewise.
3051 (bug14-ENV): Likewise.
3052 (tst-grouping-ENV): Likewise.
3053 * stdlib/Makefile (tst-strtod-ENV): Likewise.
3054 (tst-strtod3-ENV): Likewise.
3055 (tst-strtod4-ENV): Likewise.
3056 (tst-strtod5-ENV): Likewise.
3057 (testmb2-ENV): Likewise./
3058 * string/Makefile (tst-strxfrm-ENV): Likewise.
3059 (tst-strxfrm2-ENV): Likewise.
3060 (bug-strcoll1-ENV): Likewise.
3061 (test-strcasecmp-ENV): Likewise.
3062 (test-strncasecmp-ENV): Likewise.
3063 * time/Makefile (tst-strptime-ENV): Likewise.
3064 (tst-ftime_l-ENV): Likewise.
3065 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
3066 (tst-mbrtowc-ENV): Likewise.
3067 (tst-wcrtomb-ENV): Likewise.
3068 (tst-mbrtowc2-ENV): Likewise.
3069 (tst-c16c32-1-ENV): Likewise.
3070 (tst-mbsnrtowcs-ENV): Likewise.
3072 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
3074 * manual/resource.texi (How to get information about the memory
3075 subsystem?): Fix typo.
3076 Reported by Peon de la Parra Ivan <peon@keba.com>
3078 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
3081 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
3082 (pthread_spin_lock): Branch out of spin loop to proper location.
3083 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
3084 (pthread_spin_lock): Likewise.
3086 * nptl/tst-spin4.c: New test.
3087 * nptl/Makefile (tests): Add tst-spin4.
3089 2014-06-03 Andreas Schwab <schwab@suse.de>
3092 * resolv/res_send.c (send_dg): Reload file descriptor after
3095 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
3097 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3099 2014-06-03 Richard Henderson <rth@redhat.com>
3101 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
3102 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
3103 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
3104 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
3105 in the SAVE_PID block.
3106 (__libc_vfork): New alias.
3107 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
3109 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
3110 child in registers, not on the stack. Remove RESET_PID conditionals.
3111 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
3113 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
3115 * sysdeps/aarch64/libm-test-ulps: Regenerate.
3117 2014-06-03 Wilco <wdijkstr@arm.com>
3119 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
3120 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
3121 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3122 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
3123 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
3126 2014-06-03 Wilco <wdijkstr@arm.com>
3128 * sysdeps/aarch64/fpu/math_private.h
3129 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
3130 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
3131 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
3132 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3135 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3137 * crypt/crypt-private.h: Include ufc-crypt.h.
3138 (__b64_from_24bit): Declare extern.
3139 * crypt/crypt_util.c(__b64_from_24bit): New function.
3140 (b64t): New static const variable.
3141 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
3142 (b64t): Remove variable.
3143 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
3144 * crypt/sha256-crypt.c: Include crypt-private.h.
3145 (b64t): Remove variable.
3146 (__sha256_crypt_r): Remove b64_from_24bit and replace
3147 with __b64_from_24bit.
3148 * crypt/sha512-crypt.c: Likewise.
3150 2014-06-02 Roland McGrath <roland@hack.frob.com>
3152 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
3153 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
3154 Label the code __libc_vfork rather than __vfork.
3155 [!NOT_IN_libc] (vfork): Define as weak alias.
3156 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
3157 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
3158 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
3160 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3162 * malloc/malloc.c (malloc_info): Fix format specifier for
3165 2014-06-02 Wilco <wdijkstr@arm.com>
3167 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
3170 2014-06-02 Wilco <wdijkstr@arm.com>
3173 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
3174 Rewrite to reduce FPCR/FPSR accesses.
3176 2014-06-01 David S. Miller <davem@davemloft.net>
3178 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3180 2014-05-31 David S. Miller <davem@davemloft.net>
3182 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
3183 to occur in round to nearest mode when |x| >= 2.0
3185 2014-05-30 Richard Henderson <rth@twiddle.net>
3187 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
3188 (PSEUDO_RET_NOERRNO): Remove.
3189 (ret): Don't redefine.
3190 (ret_NOERRNO): Define in terms of ret.
3191 (ret_ERRVAL): Likewise.
3193 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
3194 use of PSEUDO_RET; perform the error check directly.
3196 2014-05-30 Marko Myllynen <myllynen@redhat.com>
3198 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
3201 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3203 * malloc/malloc (malloc_info): Fix formatting.
3205 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3206 Roland McGrath <roland@hack.frob.com>
3208 * malloc/malloc (malloc_info): Also print mmapped statistics.
3210 2014-05-30 Roland McGrath <roland@hack.frob.com>
3212 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
3213 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
3215 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
3217 * malloc/malloc.c (malloc_info): Inline mi_arena.
3219 2014-05-29 Richard Henderson <rth@twiddle.net>
3221 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
3222 Remove comma before expanding ASM_ARGS_##nr.
3223 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
3224 Make _x0 a strict output; make _x8 a strict input; adjust expansion
3226 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
3227 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
3228 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
3229 (ASM_ARGS_1): Add leading comma.
3231 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
3232 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
3233 to __errno_location.
3234 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
3235 Remove the expected plt for __errno_location.
3237 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3238 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
3241 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3242 Always allocate 64 bytes of stack frame. Use ldp/stp to create
3243 it and break it down.
3244 (DOCARGS_0, DOCARGS_1): Do nothing.
3245 (DOCARGS_2): Update to store into the new stack frame.
3246 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
3247 (UNDOCARGS_1): Update to restore from the new stack frame.
3248 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
3249 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
3251 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3252 (SINGLE_THREAD_P): New parameter for result regno.
3253 (PSEUDO): Update to match; use cbz instead of beq.
3255 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3256 Use ENTRY to define the _nocancel entry point. Share the syscall
3257 and syscall error check paths with the cancel path.
3260 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
3261 whitespace; tabs before and after asm mnemonics.
3263 2014-05-29 Eric Wong <normalperson@yhbt.net>
3266 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
3267 Call fstat64 or stat64 internally, depending on arguments passed.
3268 Replace stat buffer argument with file descriptor argument.
3269 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
3270 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
3271 Pass fd to __internal_statvfs instead of calling fstat64.
3272 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
3273 Pass fd to __internal_statvfs64 instead of calling fstat64.
3274 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
3275 Pass -1 to __internal_statvfs instead of calling stat64.
3276 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
3277 Pass -1 to __internal_statvfs64 instead of calling stat64.
3279 2014-05-28 Roland McGrath <roland@hack.frob.com>
3281 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
3282 that was previously under [RESET_PID].
3283 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
3285 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
3286 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
3288 2014-05-27 Roland McGrath <roland@hack.frob.com>
3290 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
3292 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
3293 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
3295 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
3297 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
3299 2014-05-27 Andreas Schwab <schwab@suse.de>
3301 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
3303 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
3304 * elf/rtld.c (init_tls, dl_main): Likewise.
3305 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
3306 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
3307 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
3308 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
3309 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
3310 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
3311 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
3312 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
3313 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
3314 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
3315 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
3316 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
3317 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
3318 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
3319 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
3320 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
3321 * sysdeps/generic/tls.h: Update description.
3323 2014-05-27 Will Newton <will.newton@linaro.org>
3326 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
3327 and restore r2 rather than just restoring.
3329 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3332 * libio/tst-ftell-append.c: New test case.
3333 * libio/Makefile (tests): Add test case.
3334 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
3336 * libio/wfileops.c (do_ftell_wide): Likewise.
3338 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3340 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3342 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
3344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
3345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
3346 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
3347 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
3348 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
3349 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
3350 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
3351 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
3352 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
3354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
3355 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
3357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
3358 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
3359 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
3360 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
3361 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
3362 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
3364 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
3365 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
3367 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
3369 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
3371 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
3372 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
3373 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
3375 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
3376 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
3377 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
3378 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
3380 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
3382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
3383 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
3385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
3386 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
3388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
3389 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
3391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
3393 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
3395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
3396 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
3398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
3400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
3401 conditional [RESET_PID].
3402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
3403 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
3405 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
3408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
3410 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3411 (__libc_vfork): New strong alias.
3412 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
3414 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
3417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
3419 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
3420 (__libc_vfork): New strong alias.
3421 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
3423 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
3426 2014-05-26 Carlos O'Donell <carlos@redhat.com>
3428 * malloc/malloc.c (mi_arena): New function.
3429 (malloc_info): Remove nested function mi_arena. Call non-nosted
3432 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3434 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
3436 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
3437 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
3438 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
3439 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
3440 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
3441 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
3442 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
3444 2014-05-26 Andreas Schwab <schwab@suse.de>
3447 * locale/programs/repertoire.c (repertoire_read): Add slash
3448 between I18NPATH element and file name.
3449 * locale/programs/locfile.c (locfile_read): Likewise.
3451 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
3453 * nptl/pthread_mutexattr_settype.c
3454 (__pthread_mutexattr_settype):
3455 Disable lock elision for PTHREAD_MUTEX_NORMAL.
3457 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
3459 * nptl/tst-mutex5 (do_test):
3460 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
3462 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3464 * benchtests/README: Document 'init' directive.
3465 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
3467 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
3468 (parse_file): Recognize 'init' directive.
3470 2014-05-26 Kyle McMartin <kyle@redhat.com>
3473 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
3474 alignment of struct pthread.
3476 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3479 * nscd/netgroupcache.c (addgetnetgrentX): Look for
3480 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3481 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
3482 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3484 2014-05-25 Richard Henderson <rth@twiddle.net>
3486 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3487 (SINGLE_THREAD_P_PIC): Remove.
3488 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
3489 (SINGLE_THREAD_P_PIC): Remove.
3491 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
3492 branch to syscall error ...
3494 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
3495 from __local_syscall_error to .Lsyscall_error.
3496 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
3497 (SYSCALL_ERROR): Update label name.
3499 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3500 Do not use DOARGS/UNDOARGS.
3501 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
3502 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
3503 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
3504 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
3505 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
3507 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
3510 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
3511 define if !NOT_IN_libc.
3512 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
3513 define with non-default symbol versions.
3515 2014-05-23 Richard Henderson <rth@twiddle.net>
3517 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
3518 (vfork, __vfork): Define via compat_symbol.
3520 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
3521 [!HAVE_IFUNC] (vfork_compat): Remove.
3522 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
3524 2014-05-23 Joseph Myers <joseph@codesourcery.com>
3527 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
3528 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
3531 2014-05-23 Richard Henderson <rth@twiddle.net>
3533 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
3534 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
3535 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
3536 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
3538 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
3539 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
3540 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
3541 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
3542 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
3543 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
3544 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
3545 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
3546 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
3547 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
3548 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
3549 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
3550 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
3551 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
3552 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
3553 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
3554 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
3555 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
3556 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
3557 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
3558 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
3559 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
3560 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
3561 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
3562 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
3563 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
3564 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
3565 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
3566 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
3567 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
3568 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
3569 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
3570 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
3571 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
3572 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
3573 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
3574 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
3575 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
3576 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
3577 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
3578 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
3579 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
3580 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
3581 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
3582 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
3583 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
3584 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
3585 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
3586 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
3587 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
3588 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
3589 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
3590 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
3591 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
3592 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
3593 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
3595 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
3596 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
3597 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
3598 before exiting on error.
3599 (__libc_vfork): New strong alias.
3600 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
3601 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
3603 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
3604 that was previously under [RESET_PID].
3605 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
3607 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
3609 2014-05-23 Joseph Myers <joseph@codesourcery.com>
3612 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
3613 value when x - 1 is zero.
3614 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
3615 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
3616 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
3617 0.0L for an argument of 1.0L.
3618 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
3620 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
3621 value when x - 1 is zero.
3622 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
3623 * sysdeps/i386/fpu/libm-test-ulps: Update.
3624 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3626 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3628 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
3629 alphasort and versionsort.
3631 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3633 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
3635 [copysignf]: Likewise.
3637 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3639 * crypt/md5-crypt.c: Fix formatting.
3641 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3643 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
3644 (b64_from_24bit): New function.
3646 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3648 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
3649 libc_hidden_builtin_def to ifunc.
3650 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
3651 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
3653 2014-05-21 Roland McGrath <roland@hack.frob.com>
3655 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
3656 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
3658 2014-05-21 Joseph Myers <joseph@codesourcery.com>
3660 * nscd/Depend (linuxthreads): Remove.
3662 * resolv/Depend (linuxthreads): Remove.
3663 * rt/Depend (linuxthreads): Remove.
3665 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
3666 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
3667 $(common-objpfx)elf/.
3668 (link-libc-before-gnulib): Likewise.
3669 (elfobjdir): Remove variable.
3670 * Makefile (install): Use $(elf-objpfx) instead of
3671 $(common-objpfx)elf/.
3672 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
3674 (link-libc-deps): Likewise.
3675 ($(common-objpfx)libc.so): Likewise.
3676 ($(common-objpfx)linkobj/libc.so): Likewise.
3677 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
3678 instead of $(common-objpfx)elf/.
3679 (symbolic-link-list): Likewise.
3680 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3681 [$(cross-compiling) = no]: Likewise.
3682 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
3684 (static-gnulib-arch): Likewise.
3685 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3686 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
3687 $(common-objpfx)elf/.
3689 2014-05-21 Richard Henderson <rth@redhat.com>
3691 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3692 (SINGLE_THREAD_P): Use the correct width load. Fold
3693 into the ldr offset.
3695 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
3696 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
3698 2014-05-20 Joseph Myers <joseph@codesourcery.com>
3700 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
3701 (libgcc_s_resume): Use __attribute_used__.
3702 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
3705 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3707 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
3708 optimization when used with float constants.
3710 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3712 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
3715 * locale/nl_langinfo_l.c: Make direct reference to every
3716 _nl_current_CATEGORY symbol.
3717 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
3718 (tests-static): Add tst-langinfo-static.
3719 (tests-special): Add tst-langinfo-static.out.
3720 ($(objpfx)tst-langinfo.out): Redirect output.
3721 ($(objpfx)tst-langinfo-static.out): New.
3722 * localedata/tst-langinfo.sh: Send output to stdout.
3723 * localedata/tst-langinfo-static.c: New file.
3726 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
3727 when the shift amount is modulo the limb size.
3729 2014-05-20 Richard Henderson <rth@redhat.com>
3732 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
3733 Change type of sa_flags from unsigned int to int.
3736 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
3738 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
3740 2014-05-20 Will Newton <will.newton@linaro.org>
3742 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3743 Test the return value of the system call in the nocancel case.
3745 2014-05-20 Will Newton <will.newton@linaro.org>
3746 Yvan Roux <yvan.roux@linaro.org>
3748 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
3749 #include of asm/ptrace.h.
3750 (PTRACE_GET_THREAD_AREA): Remove #undef.
3751 (PTRACE_GETHBPREGS): Likewise.
3752 (PTRACE_SETHBPREGS): Likewise.
3753 (struct user_regs_struct): New structure.
3754 (struct user_fpsimd_struct): New structure.
3755 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
3756 #include of asm/ptrace.h and second #include of sys/user.h.
3757 (PTRACE_GET_THREAD_AREA): Remove #undef.
3758 (PTRACE_GETHBPREGS): Likewise.
3759 (PTRACE_SETHBPREGS): Likewise.
3760 (ELF_NGREG): Use new struct user_regs_struct.
3761 (elf_fpregset_t): Use new struct user_fpsimd_struct.
3763 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3765 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
3766 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
3768 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3771 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
3772 membar to avoid block loads/stores to overlap previous stores.
3774 2014-05-17 Richard Henderson <rth@redhat.com>
3776 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
3777 Create the __##syscall_name##_nocancel entry point.
3778 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
3779 Remove; let the sysdep-cancel.h code create it.
3781 2014-05-17 David S. Miller <davem@davemloft.net>
3783 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
3784 Protect with __USE_GNU.
3785 (TIOCSET_TEMPT): Likewise.
3786 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
3787 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
3788 these are already provided in bits/ioctl-types.h
3790 2014-05-16 Roland McGrath <roland@hack.frob.com>
3792 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
3793 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
3795 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
3796 Use wait4 regardless of [__NR_waitpid].
3798 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
3801 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
3802 (_FP_NANSIGN_Q): Set the quiet bit.
3804 2014-05-16 Joseph Myers <joseph@codesourcery.com>
3806 * benchtests/Makefile
3807 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
3808 not $(common-objpfx)math/libm.so.
3809 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
3810 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
3811 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
3812 $(common-objpfx)dlfcn/libdl.so.
3813 ($(objpfx)tst-audit8): Depend on $(libm), not
3814 $(common-objpfx)math/libm.so.
3815 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
3816 not $(common-objpfx)dlfcn/libdl.so.
3818 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
3819 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
3820 [$(build-shared) = yes].
3821 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
3822 $(common-objpfx)nptl/libpthread.so.
3823 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
3824 $(common-objpfx)math/libm.so$(libm.so-version) or
3825 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
3826 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
3827 $(common-objpfx)dlfcn/libdl.so.
3828 * setjmp/Makefile (link-libm): Remove variable.
3829 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
3830 * stdio-common/Makefile (link-libm): Remove variable.
3831 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
3832 * stdlib/Makefile (link-libm): Remove variable.
3833 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
3834 ($(objpfx)tst-strtod-round): Likewise.
3835 ($(objpfx)tst-tininess): Likewise.
3836 ($(objpfx)tst-strtod-underflow): Likewise.
3837 ($(objpfx)tst-strtod6): Likewise.
3838 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
3839 $(libdl), not $(common-objpfx)nptl/libpthread.so and
3840 $(common-objpfx)dlfcn/libdl.so.
3842 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3844 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
3845 BSD terminal modes definitions.
3847 2014-05-16 Roland McGrath <roland@hack.frob.com>
3849 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
3850 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
3852 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
3853 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
3854 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
3855 Don't do #include_next.
3856 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
3857 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
3858 Don't do #include_next.
3859 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
3860 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
3861 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
3862 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
3864 2014-05-16 Allan McRae <allan@archlinux.org>
3866 * po/sv.po: Update Swedish translation from translation project.
3868 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
3871 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
3874 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
3875 errno if the TIOCGPTN ioctl fails with an error different than
3877 * login/tst-ptsname.c: New file.
3878 * login/Makefile (tests): Add tst-ptsname.
3881 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
3884 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3887 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
3888 herrno to return EAI_AGAIN.
3890 2014-05-14 Roland McGrath <roland@hack.frob.com>
3892 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
3893 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
3894 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
3895 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
3896 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
3897 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
3898 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
3899 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
3900 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
3901 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
3902 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
3903 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
3904 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
3905 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
3906 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
3907 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
3908 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
3909 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
3910 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
3911 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
3912 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
3913 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
3914 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
3915 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
3916 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
3917 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
3918 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
3919 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
3920 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
3921 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
3922 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
3923 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
3924 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
3925 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
3926 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
3928 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
3929 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
3930 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
3931 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
3932 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
3933 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
3934 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
3935 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
3936 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
3937 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
3938 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
3939 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
3940 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
3941 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
3942 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
3943 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
3944 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
3945 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
3946 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
3947 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
3948 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
3949 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
3950 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
3951 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
3952 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
3953 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
3954 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
3955 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
3957 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
3958 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
3959 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
3960 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
3961 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
3962 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
3963 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
3964 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
3965 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
3966 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
3967 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
3968 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
3969 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
3970 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
3971 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
3972 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
3973 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
3974 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
3975 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
3976 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
3978 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
3979 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
3980 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
3982 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
3983 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
3984 (libpthread-sysdep_routines): Add elision-related stuff here instead.
3985 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
3986 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
3987 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
3988 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
3989 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
3990 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
3991 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
3992 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
3993 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
3994 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
3995 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
3996 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
3997 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
3998 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
3999 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
4000 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
4001 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
4002 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
4003 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
4004 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
4005 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
4006 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
4007 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
4008 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
4009 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
4010 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
4011 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
4012 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
4014 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
4015 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
4017 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
4018 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
4019 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
4020 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
4021 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
4022 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
4024 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
4025 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
4027 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
4028 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
4030 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
4031 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
4033 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
4034 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
4035 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
4036 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
4038 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
4039 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
4040 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
4041 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
4042 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
4043 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
4044 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
4045 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
4047 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
4048 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4050 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4052 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
4053 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
4054 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
4055 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
4056 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4058 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4060 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
4062 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
4063 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
4064 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
4065 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
4066 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
4067 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
4069 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
4070 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
4072 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
4073 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
4075 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
4076 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
4078 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
4079 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
4080 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
4081 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
4083 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
4084 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
4085 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
4086 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
4087 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
4088 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
4089 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
4090 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
4092 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
4093 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4095 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4097 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
4098 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
4099 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
4100 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
4101 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4103 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4105 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
4107 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
4108 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
4109 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
4110 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
4111 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
4112 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
4113 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
4114 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
4115 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
4116 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
4118 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
4119 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
4121 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
4122 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
4124 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
4125 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
4127 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
4128 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
4129 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
4130 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
4131 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
4132 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
4134 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
4135 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
4136 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
4137 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
4138 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
4139 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
4140 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
4141 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
4143 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
4144 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4146 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4148 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
4149 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
4150 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
4151 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
4152 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4154 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4156 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
4158 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
4159 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
4160 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
4161 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
4162 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
4163 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
4164 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
4165 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
4166 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
4167 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
4168 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
4170 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
4171 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
4173 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
4174 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
4176 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
4177 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
4178 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
4179 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
4180 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
4181 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
4182 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
4183 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
4184 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
4185 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
4186 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
4187 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
4188 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
4189 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
4190 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
4191 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
4192 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
4193 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
4195 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
4196 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
4197 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
4198 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
4200 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
4201 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
4202 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
4203 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
4204 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
4205 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
4206 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
4207 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
4209 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
4210 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
4212 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
4213 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
4214 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
4215 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
4216 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
4217 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
4218 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
4219 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
4220 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
4221 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
4222 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
4223 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
4224 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
4225 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
4226 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
4227 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
4228 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
4230 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
4231 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
4232 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
4233 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
4234 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
4236 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
4237 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
4238 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
4239 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
4240 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
4241 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
4242 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
4243 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
4244 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
4245 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
4247 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
4248 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
4250 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
4251 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
4252 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
4253 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
4254 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
4255 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
4256 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
4257 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
4258 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
4259 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
4260 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
4261 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
4262 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
4263 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
4264 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
4266 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
4268 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4270 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4272 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4274 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
4276 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
4278 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
4280 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
4282 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
4284 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
4285 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
4286 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
4287 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
4288 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
4289 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
4290 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
4291 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
4292 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
4293 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
4294 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
4295 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
4296 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
4297 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
4298 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
4300 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
4301 that was previously under [RESET_PID].
4302 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
4303 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
4304 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
4306 * sysdeps/i386/nptl/Implies: New file.
4307 * sysdeps/x86_64/nptl/Implies: New file.
4308 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
4309 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
4310 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
4311 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
4313 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
4314 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4315 (__libc_vfork): New strong alias.
4316 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
4317 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
4319 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
4320 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4321 (__libc_vfork): New strong alias.
4322 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
4323 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
4325 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
4326 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4327 (__libc_vfork): New strong alias.
4328 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
4329 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
4330 * nptl/pt-vfork.c: New file.
4331 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
4332 (libpthread: GLIBC_2.20): New version set (empty).
4334 2014-05-14 Will Newton <will.newton@linaro.org>
4336 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
4339 2014-05-14 Joseph Myers <joseph@codesourcery.com>
4342 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
4343 arguments with exponent 65 or above.
4344 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
4345 arguments 0x1p113L or above.
4346 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
4347 to arguments 0x1p107L or above.
4348 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
4349 positive arguments with exponent 65 or above.
4350 * math/auto-libm-test-in: Add more tests of log1p.
4351 * math/auto-libm-test-out: Regenerated.
4354 * math/s_cacos.c (__cacos): Ensure zero real part of result from
4355 non-finite arguments is +0.
4356 * math/s_cacosf.c (__cacosf): Likewise.
4357 * math/s_cacosl.c (__cacosl): Likewise.
4358 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
4359 * sysdeps/i386/fpu/libm-test-ulps: Update.
4360 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4363 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
4365 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
4366 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
4367 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
4368 for explicit high bit of mantissa when testing for argument equal
4370 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
4371 * sysdeps/i386/fpu/libm-test-ulps: Update.
4372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4375 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
4376 (__erf): Scale by 16 instead of 8 in potentially underflowing
4377 case. Ensure exception if result actually underflows.
4378 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
4379 (__erff): Scale by 16 instead of 8 in potentially underflowing
4380 case. Ensure exception if result actually underflows.
4381 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
4382 (efx8): Remove variable.
4383 (__erfl): Scale by 16 instead of 8 in potentially underflowing
4384 case. Ensure exception if result actually underflows.
4385 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
4386 (efx8): Remove variable.
4387 (__erfl): Scale by 16 instead of 8 in potentially underflowing
4388 case. Ensure exception if result actually underflows.
4389 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
4390 (efx8): Remove variable.
4391 (__erfl): Scale by 16 instead of 8 in potentially underflowing
4392 case. Ensure exception if result actually underflows.
4393 * math/auto-libm-test-in: Add more tests of erf.
4394 * math/auto-libm-test-out: Regenerated.
4396 2014-05-14 Andreas Schwab <schwab@suse.de>
4398 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
4399 Remove code conditionalized on USE___THREAD.
4401 * config.h.in (HAVE_PT_CHOWN): Define as 0.
4402 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
4405 2014-05-14 Joseph Myers <joseph@codesourcery.com>
4407 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
4408 Define unconditionally.
4409 (__ASSUME_O_CLOEXEC): Likewise.
4410 (__ASSUME_SOCK_CLOEXEC): Likewise.
4411 (__ASSUME_IN_NONBLOCK): Likewise.
4412 (__ASSUME_PIPE2): Likewise.
4413 (__ASSUME_EVENTFD2): Likewise.
4414 (__ASSUME_SIGNALFD4): Likewise.
4415 (__ASSUME_DUP3): Likewise.
4416 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4417 (__ASSUME_DUP3): Do not define.
4418 (__ASSUME_EVENTFD2): Likewise.
4419 (__ASSUME_IN_NONBLOCK): Likewise.
4420 (__ASSUME_O_CLOEXEC): Likewise.
4421 (__ASSUME_PIPE2): Likewise.
4422 (__ASSUME_SIGNALFD4): Likewise.
4423 (__ASSUME_SOCK_CLOEXEC): Likewise.
4424 (__ASSUME_UTIMES): Undefine.
4425 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4426 (__ASSUME_UTIMES): Do not define.
4427 (__ASSUME_O_CLOEXEC): Likewise.
4428 (__ASSUME_SOCK_CLOEXEC): Likewise.
4429 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
4430 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
4432 (__ASSUME_PIPE2): Likewise.
4433 (__ASSUME_EVENTFD2): Likewise.
4434 (__ASSUME_SIGNALFD4): Likewise.
4435 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
4436 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
4438 (__ASSUME_EVENTFD2): Likewise.
4439 (__ASSUME_SIGNALFD4): Likewise.
4440 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4441 (__ASSUME_32BITUIDS): Likewise.
4442 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
4443 (__ASSUME_IPC64): Likewise.
4444 (__ASSUME_ST_INO_64_BIT): Likewise.
4445 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
4446 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
4447 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4448 (__ASSUME_UTIMES): Do not define.
4449 (__ASSUME_PSELECT): Likewise.
4450 (__ASSUME_PPOLL): Likewise.
4451 (__ASSUME_O_CLOEXEC): Likewise.
4452 (__ASSUME_SOCK_CLOEXEC): Likewise.
4453 (__ASSUME_IN_NONBLOCK): Likewise.
4454 (__ASSUME_PIPE2): Likewise.
4455 (__ASSUME_EVENTFD2): Likewise.
4456 (__ASSUME_SIGNALFD4): Likewise.
4457 (__ASSUME_DUP3): Likewise.
4458 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4459 (__ASSUME_UTIMES): Likewise.
4460 (__ASSUME_O_CLOEXEC): Likewise.
4461 (__ASSUME_SOCK_CLOEXEC): Likewise.
4462 (__ASSUME_IN_NONBLOCK): Likewise.
4463 (__ASSUME_PIPE2): Likewise.
4464 (__ASSUME_EVENTFD2): Likewise.
4465 (__ASSUME_SIGNALFD4): Likewise.
4466 (__ASSUME_DUP3): Likewise.
4467 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4468 (__ASSUME_UTIMES): Likewise.
4469 (__ASSUME_O_CLOEXEC): Likewise.
4470 (__ASSUME_SOCK_CLOEXEC): Likewise.
4471 (__ASSUME_IN_NONBLOCK): Likewise.
4472 (__ASSUME_PIPE2): Likewise.
4473 (__ASSUME_EVENTFD2): Likewise.
4474 (__ASSUME_SIGNALFD4): Likewise.
4475 (__ASSUME_DUP3): Likewise.
4476 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
4478 (__ASSUME_UTIMES): Likewise.
4479 (__ASSUME_EVENTFD2): Likewise.
4480 (__ASSUME_SIGNALFD4): Likewise.
4481 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4482 (__ASSUME_O_CLOEXEC): Likewise.
4483 (__ASSUME_SOCK_CLOEXEC): Likewise.
4484 (__ASSUME_IN_NONBLOCK): Likewise.
4485 (__ASSUME_PIPE2): Likewise.
4486 (__ASSUME_EVENTFD2): Likewise.
4487 (__ASSUME_SIGNALFD4): Likewise.
4488 (__ASSUME_DUP3): Likewise.
4489 (__ASSUME_UTIMES): Undefine.
4491 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
4492 feclearexcept. Remove symbol versioning code.
4493 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
4494 symbol versioning code.
4495 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
4496 symbol versioning code.
4497 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
4498 feupdateenv. Remove symbol versioning code.
4499 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
4500 fegetexceptflag. Remove symbol versioning code.
4501 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
4502 fesetexceptflag. Remove symbol versioning code.
4503 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
4504 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
4505 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
4506 (__posix_fadvise64_l32): Remove prototype.
4507 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
4510 2014-05-13 Roland McGrath <roland@hack.frob.com>
4512 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
4513 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
4514 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
4515 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
4517 2014-05-13 Sami Kerola <kerolasa@iki.fi>
4519 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
4520 current working directory
4522 2014-05-13 Roland McGrath <roland@hack.frob.com>
4524 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
4525 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
4526 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
4527 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
4528 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
4529 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
4530 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
4531 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
4532 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
4533 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
4534 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
4535 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
4536 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
4537 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
4538 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
4539 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
4540 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
4541 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
4542 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
4543 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
4544 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
4545 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
4546 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
4547 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
4548 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
4549 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
4550 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
4551 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
4552 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
4553 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
4554 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
4555 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
4556 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
4557 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
4558 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
4559 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
4560 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
4561 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
4562 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
4563 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
4564 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
4565 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
4567 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
4568 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
4570 * sysdeps/unix/sysv/linux/arm/Makefile
4571 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
4572 Add rt-aeabi_unwind_cpp_pr1.
4573 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
4574 Add nptl-aeabi_unwind_cpp_pr1.
4575 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
4576 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
4577 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
4578 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
4579 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
4580 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
4582 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
4583 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
4584 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
4585 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
4587 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
4588 Deconditionalize the code that was previously under [RESET_PID].
4589 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
4591 * sysdeps/generic/exit-thread.h: New file.
4592 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
4593 * include/unistd.h (__exit_thread): Remove declaration.
4594 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
4595 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
4596 * csu/libc-start.c: Include <exit-thread.h>.
4597 (LIBC_START_MAIN): Pass no argument to __exit_thread.
4598 * nptl/pthread_create.c: Include <exit-thread.h>.
4599 (start_thread): Call __exit_thread in place of __exit_thread_inline.
4600 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
4601 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
4602 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
4603 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
4604 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
4605 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
4606 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
4607 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
4608 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
4609 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
4610 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
4611 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
4612 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
4613 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
4614 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
4615 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
4617 2014-05-13 Andreas Schwab <schwab@suse.de>
4619 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
4621 2014-05-12 Joseph Myers <joseph@codesourcery.com>
4623 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
4624 (__ASSUME_UTIMES): Do not condition on kernel version.
4625 (__ASSUME_PSELECT): Define unconditionally.
4626 (__ASSUME_PPOLL): Likewise.
4627 (__ASSUME_ATFCTS): Likewise.
4628 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
4629 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
4630 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
4631 (__ASSUME_UTIMENSAT): Define unconditionally.
4632 (__ASSUME_PRIVATE_FUTEX): Likewise.
4633 (__ASSUME_FALLOCATE): Likewise.
4634 (__ASSUME_O_CLOEXEC): Likewise.
4635 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
4636 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
4637 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
4638 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
4639 (__ASSUME_IN_NONBLOCK): Likewise.
4640 (__ASSUME_PIPE2): Likewise.
4641 (__ASSUME_EVENTFD2): Likewise.
4642 (__ASSUME_SIGNALFD4): Likewise.
4643 (__ASSUME_DUP3): Likewise.
4644 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4645 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
4646 (__ASSUME_AT_RANDOM): Likewise.
4647 (__ASSUME_PREADV): Likewise.
4648 (__ASSUME_PWRITEV): Likewise.
4649 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
4650 (__ASSUME_F_GETOWN_EX): Define unconditionally.
4651 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
4652 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
4653 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
4654 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4655 (__ASSUME_O_CLOEXEC): Define unconditionally.
4656 (__ASSUME_PSELECT): Do not undefine conditionally.
4657 (__ASSUME_PPOLL): Likewise.
4658 (__ASSUME_ATFCTS): Likewise.
4659 (__ASSUME_SET_ROBUST_LIST): Likewise.
4660 (__ASSUME_UTIMENSAT): Likewise.
4661 (__ASSUME_FDATASYNC): Define unconditionally.
4662 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4663 (__ASSUME_SIGFRAME_V2): Likewise.
4664 )__ASSUME_EVENTFD2): Likewise.
4665 (__ASSUME_SIGNALFD4): Likewise.
4666 (__ASSUME_PSELECT): Do not undefine conditionally.
4667 (__ASSUME_PPOLL): Likewise.
4668 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4669 (__ASSUME_PSELECT): Define unconditionally.
4670 (__ASSUME_PPOLL): Likewise.
4671 (__ASSUME_O_CLOEXEC): Likewise.
4672 (__ASSUME_SOCK_CLOEXEC): Likewise.
4673 (__ASSUME_IN_NONBLOCK): Likewise.
4674 (__ASSUME_PIPE2): Likewise.
4675 (__ASSUME_EVENTFD2): Likewise.
4676 (__ASSUME_SIGNALFD4): Likewise.
4677 (__ASSUME_DUP3): Likewise.
4678 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4679 (__ASSUME_O_CLOEXEC): Likewise.
4680 (__ASSUME_SOCK_CLOEXEC): Likewise.
4681 (__ASSUME_IN_NONBLOCK): Likewise.
4682 (__ASSUME_PIPE2): Likewise.
4683 (__ASSUME_EVENTFD2): Likewise.
4684 (__ASSUME_SIGNALFD4): Likewise.
4685 (__ASSUME_DUP3): Likewise.
4686 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4687 (__ASSUME_EVENTFD2): Likewise.
4688 (__ASSUME_SIGNALFD4): Likewise.
4689 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4691 2014-05-12 Andreas Schwab <schwab@suse.de>
4694 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
4695 (_nss_nis_gethostbyname4_r): Return error if item length is larger
4696 than maximum RPC packet size.
4697 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
4698 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
4699 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
4700 (_nss_nis_getservbyport_r): Likewise.
4702 2014-05-12 Will Newton <will.newton@linaro.org>
4704 * malloc/Makefile (tests): Add tst-mallopt.
4705 * malloc/tst-mallopt.c: New file.
4707 2014-05-09 Roland McGrath <roland@hack.frob.com>
4709 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
4710 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
4712 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4714 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
4715 (tst-tlsmod6.so): Likewise.
4717 2014-05-09 Roland McGrath <roland@hack.frob.com>
4719 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
4721 2014-05-09 Joseph Myers <joseph@codesourcery.com>
4724 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
4725 and <dl-procinfo.h>.
4726 (__fegetenv): Save SSE state in envp->__eip if supported.
4727 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
4728 envp->__eip if supported.
4729 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
4730 and <dl-procinfo.h>.
4731 (__fesetenv): Always set __eip, __cs_selector, __opcode,
4732 __data_offset and __data_selector in environment to 0. Set SSE
4734 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
4736 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
4738 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
4740 2014-05-09 Will Newton <will.newton@linaro.org>
4742 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
4743 and libc_relro_required for ARM.
4744 * sysdeps/arm/preconfigure: Regenerate.
4746 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
4747 Stefan Liebler <stli@linux.vnet.ibm.com>
4749 * config.make.in (enable-lock-elision): New Makefile variable.
4750 * configure.ac: Likewise.
4751 * configure: Regenerate.
4752 * sysdeps/s390/configure.ac:
4753 Add check for gcc transactions support.
4754 * sysdeps/s390/configure: Regenerate.
4755 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
4756 Build elision files if enabled.
4757 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
4758 Add lock elision support for s390.
4759 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
4760 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
4761 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
4762 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
4763 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
4764 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
4765 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
4767 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
4769 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
4771 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
4773 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
4774 (__lll_timedlock_elision, __lll_lock_elision)
4775 (__lll_unlock_elision, __lll_trylock_elision)
4776 (lll_timedlock_elision, lll_lock_elision)
4777 (lll_unlock_elision, lll_trylock_elision): Add.
4778 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4779 (pthread_mutex_t): Add lock elision support for s390.
4781 2014-05-14 Wilco <wdijkstr@arm.com>
4783 * sysdeps/arm/fclrexcpt.c: Cleanup.
4784 * sysdeps/arm/fedisblxcpt.c: Cleanup.
4785 * sysdeps/arm/feenablxcpt.c: Cleanup.
4786 * sysdeps/arm/fegetenv.c: Cleanup.
4787 * sysdeps/arm/fegetexcept.c: Cleanup.
4788 * sysdeps/arm/fegetround.c: Cleanup.
4789 * sysdeps/arm/feholdexcpt.c: Cleanup.
4790 * sysdeps/arm/fesetenv.c: Cleanup.
4791 * sysdeps/arm/fesetround.c: Cleanup.
4792 * sysdeps/arm/feupdateenv.c: Cleanup.
4793 * sysdeps/arm/fgetexcptflg.c: Cleanup.
4794 * sysdeps/arm/fraiseexcpt.c: Cleanup.
4795 * sysdeps/arm/fsetexcptflg.c: Cleanup.
4796 * sysdeps/arm/ftestexcept.c: Cleanup.
4797 * sysdeps/arm/get-rounding-mode.h: Cleanup.
4798 * sysdeps/arm/setfpucw.c: Cleanup.
4800 2014-05-09 Will Newton <will.newton@linaro.org>
4802 * sysdeps/arm/armv7/strcmp.S: New file.
4803 * NEWS: Mention addition of ARMv7 optimized strcmp.
4805 2014-05-08 Roland McGrath <roland@hack.frob.com>
4807 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
4808 look for %.ac rather than %.in.
4810 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
4811 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
4812 * sysdeps/mach/hurd/configure: Regenerated.
4813 * sysdeps/unix/sysv/linux/configure: Regenerated.
4815 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
4817 2014-05-07 Steve Ellcey <sellcey@mips.com>
4820 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
4824 2014-05-07 Andreas Schwab <schwab@suse.de>
4826 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
4827 when skipping over non-matching result from nscd.
4829 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
4832 * nptl/sockperf.c (client): Check socket return value.
4835 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
4836 nscd security class.
4838 2014-05-06 Roland McGrath <roland@hack.frob.com>
4840 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
4841 * sysdeps/arm/unwind.h: ... here.
4843 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
4846 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
4849 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4851 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
4852 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
4853 multiarch strncpy for PPC64.
4854 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
4855 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
4856 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
4857 multiarch optimizations.
4858 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4859 (__libc_ifunc_impl_list): Likewise.
4860 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
4861 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
4862 multiarch stpncpy for PPC64.
4863 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
4864 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
4866 2014-05-06 Andreas Schwab <schwab@suse.de>
4869 * gmon/mcount.c (_MCOUNT_DECL): Use
4870 atomic_compare_and_exchange_bool_acq instead of
4871 catomic_compare_and_exchange_bool_acq.
4873 2014-05-05 Roland McGrath <roland@hack.frob.com>
4875 * elf/Makefile (others, install-bin): Remove pldd.
4876 (pldd-modules): Variable removed.
4877 ($(objpfx)pldd): Target removed.
4878 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
4879 (others, install-bin): Append pldd here.
4880 ($(objpfx)pldd): New target.
4882 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
4883 to 0, so the first #if test emitted later doesn't see it undefined.
4884 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
4885 * sysdeps/gnu/errlist.c: Regenerated.
4887 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4889 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
4890 [libc_hidden_builtin_def]: Define to empty value.
4891 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
4892 [libc_hidden_builtin_def]: Likewise.
4893 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
4894 [libc_hidden_builtin_def]: Likewise.
4895 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
4896 [libc_hidden_builtin_def]: Likewise.
4897 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
4898 __redirect_memcpy and define ifunc as default hidden symbol.
4899 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
4900 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
4902 2014-05-04 Adam Conrad <adconrad@0c3.net>
4904 * locale/iso-4217.def: Reintroduce XDR currency.
4906 2014-05-04 Allan McRae <allan@archlinux.org>
4908 * po/eo.po: Update Esperanto translation from translation project.
4910 2014-05-02 Carlos O'Donell <carlos@redhat.com>
4912 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
4913 and FEATURE_INDEX_MAX to 1.
4914 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
4916 2014-05-01 Steve Ellcey <sellcey@mips.com>
4918 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
4919 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
4920 * iconvdata/big5.c (ONE_DIRECTION): Define.
4921 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
4922 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
4923 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
4924 * iconvdata/cp932.c (ONE_DIRECTION): Define.
4925 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
4926 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
4927 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
4928 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
4929 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
4930 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
4931 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
4932 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
4933 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
4934 * iconvdata/gbk.c (ONE_DIRECTION): Define.
4935 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
4936 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
4937 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
4938 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
4939 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
4940 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
4941 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
4942 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
4943 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
4944 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
4945 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
4946 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
4947 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
4948 * iconvdata/iso646.c (ONE_DIRECTION): Define.
4949 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
4950 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
4951 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
4952 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
4953 * iconvdata/johab.c (ONE_DIRECTION): Define.
4954 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
4955 * iconvdata/sjis.c (ONE_DIRECTION): Define.
4956 * iconvdata/t.61.c (ONE_DIRECTION): Define.
4957 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
4958 * iconvdata/tscii.c (ONE_DIRECTION): Define.
4959 * iconvdata/uhc.c (ONE_DIRECTION): Define.
4960 * iconvdata/unicode.c (ONE_DIRECTION): Define.
4961 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
4962 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
4963 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
4965 2014-05-01 Roland McGrath <roland@hack.frob.com>
4967 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
4968 (_IO_JUMPS_OFFSET): Define to 0.
4970 * nptl/sysdeps/pthread/bits/libc-lock.h
4971 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
4972 (__libc_lock_define_initialized_recursive): Always define using
4973 initializer. Modern compilers treat uninitialized (implicit zero) and
4974 explicit zero initializers the same (i.e. put the datum in bss).
4976 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
4978 * nscd/nscd-client.h: Include <string.h>.
4980 2014-05-01 David S. Miller <davem@davemloft.net>
4983 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
4984 multiple zero bytes exist at the end of a string.
4985 Reported by Aurelien Jarno <aurelien@aurel32.net>
4987 * string/test-strcmp.c (check): Add explicit test for situations where
4988 there are multiple zero bytes after the first.
4990 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
4993 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
4994 when compiling wprintf.
4995 * stdio-common/tstdiomisc.c (t3): New function.
4998 2014-05-01 Steve Ellcey <sellcey@mips.com>
5000 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
5001 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
5002 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
5003 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
5005 2014-05-01 Steve Ellcey <sellcey@mips.com>
5007 * stdlib/longlong.h: Updated from GCC.
5009 2014-05-01 Will Newton <will.newton@linaro.org>
5010 Bernard Ogden <bernie.ogden@linaro.org>
5012 * NEWS: Update fixed bug list.
5015 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
5017 2014-04-30 David S. Miller <davem@davemloft.net>
5019 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
5020 (libc_feholdexcept_setround_sparc_ctx): New function.
5021 (libc_fesetenv_sparc_ctx): Likewise.
5022 (libc_feupdateenv_sparc_ctx): Likewise.
5023 (libc_feholdsetround_sparc_ctx): Likewise.
5024 (libc_feholdexcept_setround_ctx): Define.
5025 (libc_feholdexcept_setroundf_ctx): Likewise.
5026 (libc_feholdexcept_setroundl_ctx): Likewise.
5027 (libc_fesetenv_ctx): Likewise.
5028 (libc_fesetenvf_ctx): Likewise.
5029 (libc_fesetenvl_ctx): Likewise.
5030 (libc_feupdateenv_ctx): Likewise.
5031 (libc_feupdateenvf_ctx): Likewise.
5032 (libc_feupdateenvl_ctx): Likewise.
5033 (libc_feresetround_ctx): Likewise.
5034 (libc_feresetroundf_ctx): Likewise.
5035 (libc_feresetroundl_ctx): Likewise.
5036 (libc_feholdsetround_ctx): Likewise.
5037 (libc_feholdsetroundf_ctx): Likewise.
5038 (libc_feholdsetroundl_ctx): Likewise.
5040 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5041 with __USE_GNU instead of XOPEN cpp guards.
5043 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
5046 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5047 with XOPEN cpp guards.
5049 2014-04-30 Julian Brown <julian@codesourcery.com>
5052 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
5055 2014-04-30 Joseph Myers <joseph@codesourcery.com>
5058 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
5060 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
5061 * sysdeps/unix/sysv/linux/configure: Regenerated.
5062 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
5063 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
5064 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
5065 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
5066 * README: Update reference to required Linux kernel version.
5067 * manual/install.texi (Linux): Update reference to required Linux
5068 kernel headers version.
5069 * INSTALL: Regenerated.
5071 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
5073 [POSIX] (limits.h): Likewise.
5074 [POSIX] (math.h): Likewise.
5075 [POSIX] (sys/wait.h): Likewise.
5076 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
5078 [POSIX] (stddef.h): Do not allow header inclusion.
5080 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5082 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
5084 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
5086 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
5087 Return immediately after lll_futex_wake.
5089 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5092 * nscd/nscd-client.h (datahead_init_common): Initialize entire
5094 (datahead_init_pos): Call datahead_init_common early.
5095 (datahead_init_neg): Likewise.
5097 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
5098 datahead_init_neg): New functions.
5099 * nscd/aicache.c (addhstaiX): Use them.
5100 * nscd/grpcache.c (cache_addgr): Likewise.
5101 * nscd/hstcache.c (cache_addhst): Likewise.
5102 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5103 * nscd/netgroupcache.c (do_notfound): Likewise.
5104 (addgetnetgrentX): Likewise.
5105 (addinnetgrX): Likewise.
5106 * nscd/pwdcache.c (cache_addpw): Likewise.
5107 * nscd/servicescache.c (cache_addserv): Likewise.
5109 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5110 Atsushi Onoe <atsushi@onoe.org>
5115 * resolv/res_query.c (__libc_res_nsearch): Return if at least
5116 one response is valid.
5117 * resolv/res_send.c (send_dg): Check for validity of other
5118 response if the current response is a referral.
5120 2014-04-29 Steve Ellcey <sellcey@mips.com>
5122 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
5124 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
5127 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
5128 Always divide by positive zero when computing -Inf result.
5129 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
5130 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
5132 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5134 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
5135 FPSCR if value do not change.
5136 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
5137 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
5138 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
5139 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
5140 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
5141 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
5144 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
5146 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
5147 * sysdeps/unix/sysv/linux/hppa: Move directory from
5148 ports/systeps/unix/sysv/linux/hppa.
5149 * README: Update listing for hppa-*-linux-gnu.
5151 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
5154 * manual/stdio.texi (Hook functions): Fix types of stream hook
5157 * socket/sys/socket.h: Fix typo in comment.
5159 2014-04-28 Wilco <wdijkstr@arm.com>
5161 * sysdeps/arm/fenv_private.h: New file.
5162 * sysdeps/arm/math_private.h: New file.
5163 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
5165 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
5167 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
5169 (La_x86_64_retval): Likewise.
5171 2014-04-24 Ian Bolton <ian.bolton@arm.com>
5173 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
5174 fpsr if value didn't change.
5175 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
5176 to fpcr if value didn't change.
5177 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
5178 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
5179 fpsr or fpcr if value didn't change.
5180 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
5181 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
5182 fpcr if value didn't change.
5183 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
5184 to fpsr if value didn't change.
5186 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5188 * nptl/tst-sem3.c: Use test-skeleton.c
5189 (main): Rename to do_test. Use return instead of
5191 * nptl/tst-sem4.c: Use test-skeleton.c
5192 (main): Rename to do_test.
5194 2014-04-22 David S. Miller <davem@davemloft.net>
5196 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
5197 (struct sigaction): New struct member __glibc_reserved0, change
5198 type of sa_flags to int.
5200 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
5202 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
5203 (COUNT_LEADING_ZEROS_0): Define for AArch64.
5205 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5207 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
5208 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
5210 2014-04-22 Will Newton <will.newton@linaro.org>
5211 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
5213 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
5214 (__longjmp): Add longjmp and longjmp_target SystemTap
5216 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
5217 (__sigsetjmp): Add setjmp SystemTap probe.
5219 2014-04-17 Carlos O'Donell <carlos@redhat.com>
5221 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
5224 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5226 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
5228 * sysdeps/powerpc/fpu/fenv_private.h
5229 (libc_feholdexcept_setroundl_ctx): Define to
5230 libc_feholdexcept_setround_ppc_ctx.
5231 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
5232 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
5233 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
5234 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
5236 2014-04-17 Ian Bolton <ian.bolton@arm.com>
5238 * sysdeps/aarch64/math-tests.h: New file.
5240 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
5242 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
5244 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5245 Check and set bit_AVX2_Usable.
5246 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
5248 (bit_AVX2): Likewise.
5249 (index_AVX2_Usable): Likewise.
5250 (CPUID_AVX2): Likewise.
5251 (HAS_AVX2): Likewise.
5253 2014-04-17 Will Newton <will.newton@linaro.org>
5255 * manual/setjmp.texi (System V contexts): Add note that
5256 calling setcontext on a context created by a call to a
5257 signal handler is undefined. Update text to note that
5258 setcontext from a signal handler is possible but not
5262 * stdlib/tst-setcontext.c: Include signal.h.
5263 (main): Check that the signal stack before and
5264 after swapcontext is the same.
5266 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
5267 Re-implement to restore registers in user code and avoid
5268 rt_sigreturn system call.
5270 2014-04-17 Wilco <wdijkstr@arm.com>
5272 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
5273 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
5274 * math/test-fenv.c: Skip exception trap tests on targets which only
5275 support non-stop mode.
5277 2014-04-17 Ian Bolton <ian.bolton@arm.com>
5278 Wilco Dijkstra <wilco.dijkstra@arm.com>
5280 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
5281 (libc_feholdsetround_aarch64_ctx)
5282 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
5283 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
5284 (libc_feresetround_ctx, libc_feresetroundf_ctx)
5285 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
5286 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
5287 (libc_feresetround_noexl_ctx): Define.
5289 2014-04-16 Richard Henderson <rth@redhat.com>
5291 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
5293 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
5296 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
5297 const from the non-libc, non-ldso copy.
5299 * sysdeps/alpha/libm-test-ulps: Regenerate.
5301 2014-04-16 Ian Bolton <ian.bolton@arm.com>
5302 Wilco Dijkstra <wilco.dijkstra@arm.com>
5304 * sysdeps/aarch64/fpu/math_private.h: New file.
5306 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
5308 * sysdeps/aarch64/libm-test-ulps: Regenerate.
5310 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
5312 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
5313 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
5314 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
5315 Intel MPX bound registers before _dl_profile_fixup.
5316 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
5317 registers after _dl_profile_fixup. Save and restore bound
5318 registers bnd0/bnd1 when calling _dl_call_pltexit.
5319 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
5320 (LR_BND_OFFSET): Likewise.
5321 (LRV_BND0_OFFSET): Likewise.
5322 (LRV_BND1_OFFSET): Likewise.
5324 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
5326 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
5328 * sysdeps/mach/hurd/i386/tls.h: ... here.
5329 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
5330 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
5333 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
5335 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
5337 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
5339 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5341 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
5344 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
5345 * sysdeps/s390/configure: Regenerate.
5348 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
5349 Set round-to-nearest internally to reduce error accumulation.
5351 2014-04-16 Alan Modra <amodra@gmail.com>
5355 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
5356 * math/libm-test.inc (frexp_test_data): Add tests.
5357 * NEWS: Update fixed bug list.
5359 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5361 * benchtests/Makefile: Depend on libraries in build directory.
5362 (bench-math): Separate out math tests.
5363 (bench-pthread): Separate out pthread tests.
5364 (bench): Include math and pthread tests.
5366 2014-04-14 Carlos O'Donell <carlos@redhat.com>
5369 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
5370 _dl_debug_initialize.
5372 * configure.ac: Remove SELinux header check.
5373 * configure: Regenerate.
5374 * nscd/selinux.c (perms): Array of const char* to permission names.
5375 (nscd_request_avc_has_perm): Call security_deny_unknown to find
5376 default policy. Call string_to_security_class and string_to_av_perm to
5377 translate strings. Enforce default policy and call avs_has_perm with
5378 results of translated strings.
5380 2014-04-13 David S. Miller <davem@davemloft.net>
5382 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5384 2014-04-12 Allan McRae <allan@archlinux.org>
5387 * manual/string.texi (Collation Functions): Fix qsort argument
5389 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5391 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
5393 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
5394 Make the test a no-op if there are no exceptions defined.
5396 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
5398 * elf/Makefile (tests): make tst-dlopen-aout conditional on
5399 enable-hardcoded-path-in-tests
5401 2014-04-11 Will Newton <will.newton@linaro.org>
5403 * benchtests/Makefile (extra-objs): Add json-lib.o.
5404 (bench-func): Tidy up JSON output.
5405 * benchtests/bench-skeleton.c: Include json-lib.h.
5406 (main): Use JSON library functions to do output of
5408 * benchtests/bench-timing-type.c (main): Output the
5409 timing type simply, leaving formatting to the user.
5410 * benchtests/json-lib.c: New file.
5411 * benchtests/json-lib.h: Likewise.
5413 2014-04-11 Torvald Riegel <triegel@redhat.com>
5416 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
5417 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
5418 memory barriers. Add comments.
5419 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
5420 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
5421 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
5422 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
5423 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
5424 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
5426 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
5428 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
5429 * sysdeps/s390/s390-64/configure.ac: ... this ...
5430 * sysdeps/s390/configure.ac: ... to here.
5431 * sysdeps/s390/s390-32/configure: Delete file.
5432 * sysdeps/s390/s390-64/configure: Delete file.
5433 * sysdeps/s390/configure: Regenerate.
5435 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
5437 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
5439 2014-04-11 Will Newton <will.newton@linaro.org>
5441 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
5442 to zero if it is not defined elsewhere. (mtrim): Test
5443 the value of MALLOC_DEBUG with #if rather than #ifdef.
5445 2014-04-10 Torvald Riegel <triegel@redhat.com>
5447 * benchtests/pthread_once-inputs: New file.
5448 * benchtests/pthread_once-source.c: New file.
5449 * benchtests/README: Update documentation.
5451 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
5452 H.J. Lu <hongjiu.lu@intel.com>
5454 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
5455 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
5456 * sysdeps/x86_64/configure: Regenerated.
5457 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
5459 (REGISTER_SAVE_RAX): Likewise.
5460 (REGISTER_SAVE_RCX): Likewise.
5461 (REGISTER_SAVE_RDX): Likewise.
5462 (REGISTER_SAVE_RSI): Likewise.
5463 (REGISTER_SAVE_RDI): Likewise.
5464 (REGISTER_SAVE_R8): Likewise.
5465 (REGISTER_SAVE_R9): Likewise.
5466 (REGISTER_SAVE_BND0): Likewise.
5467 (REGISTER_SAVE_BND1): Likewise.
5468 (REGISTER_SAVE_BND2): Likewise.
5469 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
5470 bound registers when calling _dl_fixup.
5472 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5474 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
5475 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
5477 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
5478 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
5479 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
5480 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
5481 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
5482 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
5483 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
5485 2014-04-09 Peter Brett <peter@peter-b.co.uk>
5488 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
5489 pathconf(_PC_NAME_MAX).
5491 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5493 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
5495 (__PTHREAD_SPINS): Move definition to ...
5496 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5497 (__PTHREAD_SPINS): ... here.
5498 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5499 (__PTHREAD_SPIN): Likewise.
5500 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
5501 (__PTHREAD_SPIN): Likewise.
5502 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
5503 (__PTHREAD_SPIN): Likewise.
5504 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
5505 (__PTHREAD_SPIN): Likewise.
5506 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
5507 (__PTHREAD_SPIN): Likewise.
5508 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
5509 (__PTHREAD_SPIN): Likewise.
5510 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
5511 (__PTHREAD_SPIN): Likewise.
5512 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
5513 (__PTHREAD_SPIN): Likewise.
5514 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
5515 (__PTHREAD_SPIN): Likewise.
5516 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
5517 (__PTHREAD_SPIN): Likewise.
5518 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
5519 (__PTHREAD_SPIN): Likewise.
5520 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
5521 (__PTHREAD_SPIN): Likewise.
5523 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
5524 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
5525 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
5526 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
5528 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
5529 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
5530 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
5531 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
5533 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
5534 strlen symbol for non multi-arch builds.
5535 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
5536 missing hidden_def and weak_alias.
5538 2014-04-08 Carlos O'Donell <carlos@redhat.com>
5540 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
5542 2014-04-07 Will Newton <will.newton@linaro.org>
5544 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
5545 and contents. [!_LIBC] Remove #ifndef and contents.
5546 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
5547 * string/memccpy.c (__memccpy): Use ANSI prototype.
5548 * string/memfrob.c (memfrob): Likewise.
5549 * string/strcoll.c (STRCOLL): Likewise.
5550 * string/strlen.c (strlen): Likewise.
5551 * string/strtok.c (STRTOK): Likewise.
5552 * string/strcat.c: Remove unused #include of memcopy.h.
5553 (strcat): Use ANSI prototype.
5554 * string/strchr.c: Remove unused #include of memcopy.h.
5555 (strchr): Use ANSI prototype.
5556 * string/strcmp.c: Remove unused #include of memcopy.h.
5557 (strcmp): Use ANSI prototype.
5558 * string/strcpy.c: Remove unused #include of memcopy.h.
5559 (strcpy): Use ANSI prototype.
5561 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5563 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
5564 * config.make.in (config-extra-cppflags): Set it from
5565 libc_extra_cppflags.
5566 * configure.ac (libc_extra_cflags): Make it accumulate over
5567 configure fragments.
5568 (libc_extra_cppflags): New flag.
5569 * configure. Regenerate.
5570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
5571 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
5572 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
5573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
5576 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
5577 result for FE_DOWNWARD rounding mode.
5578 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
5580 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5582 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
5584 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
5585 in function argument name.
5587 2014-04-03 David Svoboda <svoboda@cert.org>
5590 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
5593 2014-04-03 Roland McGrath <roland@hack.frob.com>
5595 * elf/dl-unmap-segments.h: New file.
5596 * sysdeps/generic/ldsodefs.h
5597 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
5598 * elf/dl-close.c: Include <dl-unmap-segments.h>.
5599 * elf/dl-fptr.c: Likewise.
5600 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
5601 * sysdeps/aarch64/tlsdesc.c: Likewise.
5602 * sysdeps/arm/tlsdesc.c: Likewise.
5603 * sysdeps/i386/tlsdesc.c: Likewise.
5604 * sysdeps/tile/dl-runtime.c: Likewise.
5605 * sysdeps/x86_64/tlsdesc.c: Likewise.
5606 * elf/dl-load.h: New file.
5607 * elf/dl-load.c: Include it.
5608 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
5609 Macros moved to dl-load.h.
5610 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
5611 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
5612 Use _dl_unmap_segments in place of __munmap.
5613 Break out segment-mapping loop into ...
5614 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
5616 2014-04-03 Will Newton <will.newton@linaro.org>
5618 * elf/dl-lookup.c (do_lookup_x): Remove comment
5619 referring to nested function and move variable
5620 declarations down to before first use.
5622 2014-04-02 Joseph Myers <joseph@codesourcery.com>
5626 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
5628 * math/s_catanf.c (__catanf): Likewise.
5629 * math/s_catanh.c (__catanh): Likewise.
5630 * math/s_catanhf.c (__catanhf): Likewise.
5631 * math/s_catanhl.c (__catanhl): Likewise.
5632 * math/s_catanl.c (__catanl): Likewise.
5633 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
5634 by positive zero when computing -Inf result.
5635 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
5636 (catanh_test): Likewise.
5637 * sysdeps/i386/fpu/libm-test-ulps: Update.
5638 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5641 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
5642 instead of using underflowing value in computing result.
5643 * math/s_clog10.c (__clog10): Likewise.
5644 * math/s_clog10f.c (__clog10f): Likewise.
5645 * math/s_clog10l.c (__clog10l): Likewise.
5646 * math/s_clogf.c (__clogf): Likewise.
5647 * math/s_clogl.c (__clogl): Likewise.
5648 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
5649 (clog10_test): Likewise.
5650 * sysdeps/i386/fpu/libm-test-ulps: Update.
5651 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5653 2014-04-02 Alan Modra <amodra@gmail.com>
5656 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
5657 output when value is near a power of two. Use int64_t for lx and
5658 remove casts. Use decimal rather than hex exponent constants.
5659 Don't use long double multiplication when double will suffice.
5660 * math/libm-test.inc (nextafter_test_data): Add tests.
5661 * NEWS: Add 16739 and 16786 to bug list.
5663 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
5665 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
5667 2014-04-01 Will Newton <will.newton@linaro.org>
5669 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
5670 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
5672 2014-04-01 Florian Weimer <fweimer@redhat.com>
5675 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
5676 * nptl/tst-setuid2.c: New file.
5677 * nptl/Makefile (xtests): Add tst-setuid2.
5679 2014-04-01 Alan Modra <amodra@gmail.com>
5682 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
5684 2014-03-31 Joseph Myers <joseph@codesourcery.com>
5688 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
5689 set errno as appropriate.
5690 * math/w_scalbf.c (__scalbf): Likewise.
5691 * math/w_scalbl.c (__scalbl): Likewise.
5692 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
5693 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
5694 * math/libm-test.inc (scalb_test_data): Add errno expectations.
5698 * math/w_atan2.c: Include <errno.h>.
5699 (__atan2): Set errno for result underflowing to zero.
5700 * math/w_atan2f.c: Include <errno.h>.
5701 (__atan2f): Set errno for result underflowing to zero.
5702 * math/w_atan2l.c: Include <errno.h>.
5703 (__atan2l): Set errno for result underflowing to zero.
5704 * math/auto-libm-test-in: Don't allow missing errno for some atan2
5706 * math/auto-libm-test-out: Regenerated.
5708 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5710 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
5711 Encode instruction correctly in little endian.
5712 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
5714 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
5716 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
5718 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
5721 2014-03-31 Joseph Myers <joseph@codesourcery.com>
5724 * sysdeps/unix/sysv/linux/kernel-features.h
5725 [__sparc__ && !__arch64__ && !__sparc_v9__]
5726 (__ASSUME_SET_ROBUST_LIST): Do not define.
5727 [__sparc__ && !__arch64__ && !__sparc_v9__]
5728 (__ASSUME_FUTEX_LOCK_PI): Likewise.
5729 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
5731 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5732 (__ASSUME_FUTEX_LOCK_PI): Undefine.
5733 (__ASSUME_REQUEUE_PI): Likewise.
5734 (__ASSUME_SET_ROBUST_LIST): Likewise.
5735 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5736 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
5738 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5739 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
5741 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
5743 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
5745 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5746 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
5748 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
5749 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
5753 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5754 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
5755 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
5757 2014-03-31 Will Newton <will.newton@linaro.org>
5759 * benchtests/Makefile (bench): Add ffs and ffsll to list
5761 * benchtests/ffs-inputs: New file.
5762 * benchtests/ffsll-inputs: Likewise.
5764 2014-03-29 Joseph Myers <joseph@codesourcery.com>
5767 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
5768 too large before casting to int.
5769 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
5770 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
5771 * math/libm-test.inc (scalb_test_data): Add more tests.
5773 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5775 * benchtests/Makefile (DETAILED_OPT): New make option.
5776 (bench-func): Run benchmark program with -d if DETAILED_OPT is
5778 * benchtests/bench-skeleton.c: Include stdbool.h.
5779 (main): Store and print timings per input.
5780 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
5781 member to each argument value.
5782 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
5783 (_print_arg_data): Initialize per-input timing to 0.
5785 * benchtests/Makefile (timing-type): New binary.
5786 (bench-clean): Also remove bench-timing-type.
5787 (bench): New target for timing-type.
5788 (bench-func): Print output in JSON format.
5789 * benchtests/bench-skeleton.c (main): Print output in JSON
5791 * benchtests/bench-timing-type.c: New file.
5792 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
5793 (TIMING_PRINT_STATS): Remove.
5794 * benchtests/scripts/bench.py (_print_arg_data): Store variant
5797 * benchtests/bench-modf.c: Remove.
5798 * benchtests/modf-inputs: New inputs file.
5800 2014-03-28 Joseph Myers <joseph@codesourcery.com>
5803 * math/s_clog10.c (M_PI_LOG10E): New macro.
5804 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
5805 imaginary parts are 0.
5806 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
5807 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
5808 imaginary parts are 0.
5809 * math/s_clog10l.c (M_PI_LOG10El): New macro.
5810 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
5811 imaginary parts are 0.
5812 * math/libm-test.inc (clog10_test_data): Update expected results
5813 for when real and imaginary parts are 0.
5815 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
5817 * elf/dl-load.c: Finish conversion of __builtin_expect into
5820 2014-03-27 Joseph Myers <joseph@codesourcery.com>
5823 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
5824 1+x for argument with exponent below -67.
5825 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
5827 * math/auto-libm-test-in: Add more tests of exp.
5828 * math/auto-libm-test-out: Regenerated.
5830 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5833 * inet/getnetgrent_r.c (get_nonempty_val): New function.
5834 (nscd_getnetgrent): Use it.
5837 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
5840 2014-03-27 Andi Kleen <ak@linux.intel.com>
5842 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
5843 (lll_robust_lock, lll_cond_lock, lll_timedlock)
5844 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
5845 (lll_robust_unlock): Remove out of line section. Use cfi
5847 (LLL_STUB_UNWIND_INFO*): Remove.
5848 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
5849 (lll_robust_lock, lll_cond_lock, lll_timedlock)
5850 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
5851 (lll_robust_unlock): Remove out of line section. Use cfi
5853 (LLL_STUB_UNWIND_INFO*): Remove.
5855 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5858 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
5861 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
5863 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
5865 2014-03-26 Joseph Myers <joseph@codesourcery.com>
5868 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
5870 * math/test-fenv-preserve.c: New file.
5871 * math/Makefile (tests): Add test-fenv-preserve.
5873 2014-03-26 Will Newton <will.newton@linaro.org>
5875 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
5877 2014-03-25 Roland McGrath <roland@hack.frob.com>
5879 * scripts/versionlist.awk: Partition the version sets and emit all
5880 GLIBC_* (sorted) before all others (sorted).
5882 2014-03-25 Joseph Myers <joseph@codesourcery.com>
5884 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
5885 GLIBC_2.2.5 version.
5887 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5889 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
5892 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
5895 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5897 2014-03-25 Andreas Schwab <schwab@suse.de>
5899 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
5900 label to be used after in6ailist is initialized.
5902 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5904 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5905 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
5907 2014-03-25 Joseph Myers <joseph@codesourcery.com>
5911 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
5913 (fp_formats): Update initializers.
5914 (init_fp_formats): Initialize new field.
5915 (output_for_one_input_case): Allow underflow for results up to
5917 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
5918 * math/auto-libm-test-in: Don't mark some underflows from asin and
5920 * math/auto-libm-test-out: Regenerated.
5921 * sysdeps/i386/fpu/libm-test-ulps: Update.
5922 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5924 2014-03-25 Andreas Schwab <schwab@suse.de>
5926 * libio/Makefile (tst-ftell-partial-wide-ENV)
5927 (tst-ftell-active-handler-ENV): Define.
5929 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
5931 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
5933 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
5935 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
5937 2014-03-24 Joseph Myers <joseph@codesourcery.com>
5939 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
5940 * sysdeps/x86_64/fpu/multiarch/e_exp.c
5941 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5943 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
5946 * elf/dl-load.c (open_verify): Add mode parameter.
5947 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
5948 (open_path): Change from boolean 'secure' to complete flag 'mode'
5949 (_dl_map_object): Adjust.
5950 * elf/Makefile (tests): Add tst-dlopen-aout.
5951 * elf/tst-dlopen-aout.c: New test.
5953 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
5956 * sysdeps/unix/sysv/linux/s390/bits/stat.h
5957 (struct stat): Rename member pad0 to __glibc_reserved0.
5960 * sysdeps/s390/s390-32/bits/wordsize.h
5961 (__WORDSIZE32_SIZE_ULONG): New define.
5962 * sysdeps/s390/s390-64/bits/wordsize.h
5963 (__WORDSIZE32_SIZE_ULONG): Likewise.
5964 * sysdeps/generic/stdint.h (SIZE_MAX):
5965 Define as UL if __WORDSIZE32_SIZE_ULONG.
5968 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
5969 (__glibc_reserved0): New variable.
5970 (sa_flags): Change type to int.
5972 * posix/Makefile (before-compile): Use += before-compile instead
5975 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5976 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
5978 2014-03-20 Andreas Schwab <schwab@suse.de>
5981 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
5982 non-matching result from nscd.
5984 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5986 * scripts/bench.py: Moved to ...
5987 * benchtests/scripts/bench.py: ... here.
5988 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
5990 2014-03-24 Andreas Schwab <schwab@suse.de>
5993 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
5994 alloca_account and account alloca use for struct in6ailist.
5996 2014-03-24 Joseph Myers <joseph@codesourcery.com>
5999 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
6000 rounding mode to recompute results that overflow to infinity or
6002 * math/auto-libm-test-in: Don't mark tests as expected to fail for
6004 * math/auto-libm-test-out: Regenerated.
6005 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
6006 (ccosh_test): Likewise.
6007 (csin_test_data): Use plus_oflow.
6008 (csin_test): Use ALL_RM_TEST.
6009 (csinh_test_data): Use plus_oflow.
6010 (csinh_test): Use ALL_RM_TEST.
6011 * sysdeps/i386/fpu/libm-test-ulps: Update.
6012 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6014 2014-03-21 Joseph Myers <joseph@codesourcery.com>
6016 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
6017 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
6018 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
6021 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
6023 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
6024 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
6025 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
6026 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
6028 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
6029 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
6031 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
6032 * sysdeps/i386/fpu/libm-test-ulps: Update.
6033 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6035 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6037 * scripts/bench.pl: Remove file.
6038 * scripts/bench.py: New benchmark script.
6039 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
6040 * benchtests/README: Mention python dependency.
6041 * scripts/pylintrc: New file.
6042 * scripts/pylint: New file.
6044 * bits/mathdef.h: Use #ifdef instead of #if.
6045 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
6046 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6047 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
6048 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6049 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
6050 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6052 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6053 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6055 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
6056 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
6057 and strpbrk-ppc64 objects.
6058 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6059 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
6060 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
6061 multiarch strpbrk for POWER7.
6062 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
6063 multiarch strpbrk for PPC64.
6064 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
6066 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
6069 2014-03-20 Joseph Myers <joseph@codesourcery.com>
6071 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
6072 (atan_test): Likewise.
6073 (atanh_test_data): Use NO_TEST_INLINE for two tests.
6074 (atanh_test): Use ALL_RM_TEST.
6075 (atan2_test_data): Likewise.
6076 (cabs_test): Likewise.
6077 (cacosh_test): Likewise.
6078 (carg_test): Likewise.
6079 (casin_test): Likewise.
6080 (casinh_test): Likewise.
6081 (cbrt_test): Likewise.
6082 (csqrt_test): Likewise.
6083 (erf_test): Likewise.
6084 (erfc_test): Likewise.
6085 (pow10_test): Likewise.
6086 (exp2_test): Likewise.
6087 (hypot_test): Likewise.
6088 (j0_test): Likewise.
6089 (j1_test): Likewise.
6090 (lgamma_test): Likewise.
6091 (gamma_test): Likewise.
6092 (sincos_test): Likewise.
6093 (tanh_test): Likewise.
6094 (y0_test): Likewise.
6095 (y1_test): Likewise.
6096 * sysdeps/i386/fpu/libm-test-ulps: Update.
6097 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6099 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6101 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
6102 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6103 and strcspn-ppc64 objects.
6104 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6105 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
6106 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
6107 multiarch strcspn for POWER7.
6108 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
6109 multiarch strcspn for PPC64.
6110 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
6112 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
6115 2014-03-20 Joseph Myers <joseph@codesourcery.com>
6117 * math/gen-libm-test.pl (generate_testfile): Expect only function
6118 name as argument to AUTO_TESTS_* and pass results for all rounding
6119 modes to parse_args.
6120 (parse_auto_input): Separate inputs of automatic tests from
6121 outputs before storing in %auto_tests.
6122 * math/libm-test.inc (acos_test_data): Update call to
6124 (acos_test): Use ALL_RM_TEST.
6125 (acos_tonearest_test_data): Remove.
6126 (acos_test_tonearest): Likewise.
6127 (acos_towardzero_test_data): Likewise.
6128 (acos_test_towardzero): Likewise.
6129 (acos_downward_test_data): Likewise.
6130 (acos_test_downward): Likewise.
6131 (acos_upward_test_data): Likewise.
6132 (acos_test_upward): Likewise.
6133 (acosh_test_data): Update call to AUTO_TESTS_f_f.
6134 (asin_test_data): Likewise.
6135 (asin_test): Use ALL_RM_TEST.
6136 (asin_tonearest_test_data): Remove.
6137 (asin_test_tonearest): Likewise.
6138 (asin_towardzero_test_data): Likewise.
6139 (asin_test_towardzero): Likewise.
6140 (asin_downward_test_data): Likewise.
6141 (asin_test_downward): Likewise.
6142 (asin_upward_test_data): Likewise.
6143 (asin_test_upward): Likewise.
6144 (asinh_test_data): Update call to AUTO_TESTS_f_f.
6145 (atan_test_data): Likewise.
6146 (atanh_test_data): Likewise.
6147 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
6148 (cabs_test_data): Update call to AUTO_TESTS_c_f.
6149 (carg_test_data): Likewise.
6150 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
6151 (ccos_test_data): Update call to AUTO_TESTS_c_c.
6152 (ccosh_test_data): Likewise.
6153 (cexp_test_data): Likewise.
6154 (clog_test_data): Likewise.
6155 (clog10_test_data): Likewise.
6156 (cos_test_data): Update call to AUTO_TESTS_f_f.
6157 (cos_test): Use ALL_RM_TEST.
6158 (cos_tonearest_test_data): Remove.
6159 (cos_test_tonearest): Likewise.
6160 (cos_towardzero_test_data): Likewise.
6161 (cos_test_towardzero): Likewise.
6162 (cos_downward_test_data): Likewise.
6163 (cos_test_downward): Likewise.
6164 (cos_upward_test_data): Likewise.
6165 (cos_test_upward): Likewise.
6166 (cosh_test_data): Update call to AUTO_TESTS_f_f.
6167 (cosh_test): Use ALL_RM_TEST.
6168 (cosh_tonearest_test_data): Remove.
6169 (cosh_test_tonearest): Likewise.
6170 (cosh_towardzero_test_data): Likewise.
6171 (cosh_test_towardzero): Likewise.
6172 (cosh_downward_test_data): Likewise.
6173 (cosh_test_downward): Likewise.
6174 (cosh_upward_test_data): Likewise.
6175 (cosh_test_upward): Likewise.
6176 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
6177 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
6178 (ctan_test_data): Likewise.
6179 (ctan_test): Use ALL_RM_TEST.
6180 (ctan_tonearest_test_data): Remove.
6181 (ctan_test_tonearest): Likewise.
6182 (ctan_towardzero_test_data): Likewise.
6183 (ctan_test_towardzero): Likewise.
6184 (ctan_downward_test_data): Likewise.
6185 (ctan_test_downward): Likewise.
6186 (ctan_upward_test_data): Likewise.
6187 (ctan_test_upward): Likewise.
6188 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
6189 (ctanh_test): Use ALL_RM_TEST.
6190 (ctanh_tonearest_test_data): Remove.
6191 (ctanh_test_tonearest): Likewise.
6192 (ctanh_towardzero_test_data): Likewise.
6193 (ctanh_test_towardzero): Likewise.
6194 (ctanh_downward_test_data): Likewise.
6195 (ctanh_test_downward): Likewise.
6196 (ctanh_upward_test_data): Likewise.
6197 (ctanh_test_upward): Likewise.
6198 (erf_test_data): Update call to AUTO_TESTS_f_f.
6199 (erfc_test_data): Likewise.
6200 (exp_test_data): Likewise.
6201 (exp_test): Use ALL_RM_TEST.
6202 (exp_tonearest_test_data): Remove.
6203 (exp_test_tonearest): Likewise.
6204 (exp_towardzero_test_data): Likewise.
6205 (exp_test_towardzero): Likewise.
6206 (exp_downward_test_data): Likewise.
6207 (exp_test_downward): Likewise.
6208 (exp_upward_test_data): Likewise.
6209 (exp_test_upward): Likewise.
6210 (exp10_test_data): Update call to AUTO_TESTS_f_f.
6211 (exp10_test): Use ALL_RM_TEST.
6212 (exp10_tonearest_test_data): Remove.
6213 (exp10_test_tonearest): Likewise.
6214 (exp10_towardzero_test_data): Likewise.
6215 (exp10_test_towardzero): Likewise.
6216 (exp10_downward_test_data): Likewise.
6217 (exp10_test_downward): Likewise.
6218 (exp10_upward_test_data): Likewise.
6219 (exp10_test_upward): Likewise.
6220 (exp2_test_data): Update call to AUTO_TESTS_f_f.
6221 (expm1_test_data): Likewise.
6222 (expm1_test): Use ALL_RM_TEST.
6223 (expm1_tonearest_test_data): Remove.
6224 (expm1_test_tonearest): Likewise.
6225 (expm1_towardzero_test_data): Likewise.
6226 (expm1_test_towardzero): Likewise.
6227 (expm1_downward_test_data): Likewise.
6228 (expm1_test_downward): Likewise.
6229 (expm1_upward_test_data): Likewise.
6230 (expm1_test_upward): Likewise.
6231 (fma_test_data): Update call to AUTO_TESTS_fff_f.
6232 (fma_test): Use ALL_RM_TEST.
6233 (fma_towardzero_test_data): Remove.
6234 (fma_test_towardzero): Likewise.
6235 (fma_downward_test_data): Likewise.
6236 (fma_test_downward): Likewise.
6237 (fma_upward_test_data): Likewise.
6238 (fma_test_upward): Likewise.
6239 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
6240 (j0_test_data): Update call to AUTO_TESTS_f_f.
6241 (j1_test_data): Likewise.
6242 (jn_test_data): Update call to AUTO_TESTS_if_f.
6243 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
6244 (log_test_data): Update call to AUTO_TESTS_f_f.
6245 (log10_test_data): Likewise.
6246 (log1p_test_data): Likewise.
6247 (log2_test_data): Likewise.
6248 (pow_test_data): Update call to AUTO_TESTS_ff_f.
6249 (pow_tonearest_test_data): Likewise.
6250 (sin_test_data): Update call to AUTO_TESTS_f_f.
6251 (sin_test): Use ALL_RM_TEST.
6252 (sin_tonearest_test_data): Remove.
6253 (sin_test_tonearest): Likewise.
6254 (sin_towardzero_test_data): Likewise.
6255 (sin_test_towardzero): Likewise.
6256 (sin_downward_test_data): Likewise.
6257 (sin_test_downward): Likewise.
6258 (sin_upward_test_data): Likewise.
6259 (sin_test_upward): Likewise.
6260 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
6261 (sinh_test_data): Update call to AUTO_TESTS_f_f.
6262 (sinh_test): Use ALL_RM_TEST.
6263 (sinh_tonearest_test_data): Remove.
6264 (sinh_test_tonearest): Likewise.
6265 (sinh_towardzero_test_data): Likewise.
6266 (sinh_test_towardzero): Likewise.
6267 (sinh_downward_test_data): Likewise.
6268 (sinh_test_downward): Likewise.
6269 (sinh_upward_test_data): Likewise.
6270 (sinh_test_upward): Likewise.
6271 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
6272 (sqrt_test): Use ALL_RM_TEST.
6273 (sqrt_tonearest_test_data): Remove.
6274 (sqrt_test_tonearest): Likewise.
6275 (sqrt_towardzero_test_data): Likewise.
6276 (sqrt_test_towardzero): Likewise.
6277 (sqrt_downward_test_data): Likewise.
6278 (sqrt_test_downward): Likewise.
6279 (sqrt_upward_test_data): Likewise.
6280 (sqrt_test_upward): Likewise.
6281 (tan_test_data): Update call to AUTO_TESTS_f_f.
6282 (tan_test): Use ALL_RM_TEST.
6283 (tan_tonearest_test_data): Remove.
6284 (tan_test_tonearest): Likewise.
6285 (tan_towardzero_test_data): Likewise.
6286 (tan_test_towardzero): Likewise.
6287 (tan_downward_test_data): Likewise.
6288 (tan_test_downward): Likewise.
6289 (tan_upward_test_data): Likewise.
6290 (tan_test_upward): Likewise.
6291 (tanh_test_data): Update call to AUTO_TESTS_f_f.
6292 (tgamma_test_data): Likewise.
6293 (y0_test_data): Likewise.
6294 (y1_test_data): Likewise.
6295 (yn_test_data): Update call to AUTO_TESTS_if_f.
6296 (main): Do not call removed functions.
6298 2014-03-19 Joseph Myers <joseph@codesourcery.com>
6300 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
6301 (ldexp_test_data): Remove.
6302 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
6304 (scalb_test): Use ALL_RM_TEST.
6306 2014-03-19 Andreas Schwab <schwab@suse.de>
6308 * nscd/nscd.service: Also invalidate netgroup cache on reload.
6310 2014-03-19 Joseph Myers <joseph@codesourcery.com>
6313 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6314 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
6315 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
6316 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6317 (__ASSUME_PREADV): Undefine.
6318 (__ASSUME_PWRITEV): Likewise.
6320 2014-03-18 Roland McGrath <roland@hack.frob.com>
6322 * bits/mman-linux.h: Add comment about non-Linux use.
6323 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
6324 bits/mman-linux.h resting place.
6326 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
6327 * bits/mman-linux.h: ... here.
6329 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6331 * conform/conformtest.pl: Add standard definition when calling C
6332 preprocessor on data files.
6333 (checknamespace): Remove unused variable.
6335 2014-03-18 Joseph Myers <joseph@codesourcery.com>
6337 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
6338 minus_oflow, plus_uflow and minus_uflow in expected results.
6339 * math/libm-test.inc (scalbn_test_data): Add more tests of
6340 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
6342 (scalbn_test): Use ALL_RM_TEST.
6343 (scalbln_test_data): Add more tests of negative arguments. Use
6344 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
6345 (scalbln_test): Use ALL_RM_TEST.
6347 2014-03-18 Roland McGrath <roland@hack.frob.com>
6349 * scripts/abilist.awk: Ignore symbols marked with .hidden.
6351 2014-03-18 Will Newton <will.newton@linaro.org>
6353 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
6356 2014-03-18 Joseph Myers <joseph@codesourcery.com>
6358 * Makerules [!subdir] (check-abi): Exit with error status if a
6361 2014-03-17 Joseph Myers <joseph@codesourcery.com>
6363 * math/libm-test.inc (nearbyint_test_data): Include all tests used
6364 for rint. Include results for all rounding modes.
6365 (nearbyint_test): Use ALL_RM_TEST.
6366 (rint_test_data): Include all tests used for nearbyint.
6368 2014-03-17 Will Newton <will.newton@linaro.org>
6370 * nptl/sysdeps/pthread/pthread.h: Revert previous
6373 * sysdeps/generic/ldsodefs.h: Revert previous
6376 * libio/genops.c: Revert previous change.
6377 * libio/libioP.h: Likewise.
6378 * stdio-common/vfprintf.c: Likewise.
6380 * sysdeps/generic/math_private.h: Revert previous
6383 * sysdeps/generic/math_private.h: Check whether
6384 HAVE_RM_CTX is defined with #ifdef rather
6387 * argp/argp-fmtstream.h: Check whether
6388 __STRICT_ANSI__ is defined with #ifdef rather
6390 * argp/argp.h: Likewise.
6392 * libio/genops.c: Check whether
6393 _IO_JUMPS_OFFSET is defined with #ifdef rather
6395 * libio/libioP.h: Likewise.
6396 * stdio-common/vfprintf.c: Likewise.
6398 * sysdeps/generic/ldsodefs.h: Check whether
6399 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
6402 * nptl/sysdeps/pthread/pthread.h: Check
6403 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
6406 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6408 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
6410 * libio/tst-ftell-active-handler.c (do_append_test): Add a
6414 * libio/fileops.c (_IO_file_open): Seek to end of file but
6415 don't cache the offset.
6416 (get_file_offset): Remove function.
6417 (do_ftell): Use cached offset when available.
6418 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
6419 don't cache the offset.
6420 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
6422 (do_one_test): Call it.
6423 (do_ftell_test): Fix up expected old offset for a+ mode.
6424 * libio/wfileops.c (do_ftell_wide): Used cached offset when
6427 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
6428 up test status with function return status.
6429 (do_write_test): Likewise.
6430 (do_append_test): Likewise.
6432 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
6433 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
6436 2014-03-17 Joseph Myers <joseph@codesourcery.com>
6438 * math/gen-libm-test.pl (parse_args): Handle results specified for
6439 each rounding mode separately.
6440 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
6441 tests and results from lrint_tonearest_test_data,
6442 lrint_towardzero_test_data, lrint_downward_test_data and
6443 lrint_upward_test_data.
6444 (lrint_test): Use ALL_RM_TEST.
6445 (lrint_tonearest_test_data): Remove.
6446 (lrint_test_tonearest): Likewise.
6447 (lrint_towardzero_test_data): Likewise.
6448 (lrint_test_towardzero): Likewise.
6449 (lrint_downward_test_data): Likewise.
6450 (lrint_test_downward): Likewise.
6451 (lrint_upward_test_data): Likewise.
6452 (lrint_test_upward): Likewise.
6453 (llrint_test_data): Merge in per-rounding-mode tests and results
6454 from llrint_tonearest_test_data, llrint_towardzero_test_data,
6455 llrint_downward_test_data and llrint_upward_test_data.
6456 (llrint_test): Use ALL_RM_TEST.
6457 (llrint_tonearest_test_data): Remove.
6458 (llrint_test_tonearest): Likewise.
6459 (llrint_towardzero_test_data): Likewise.
6460 (llrint_test_towardzero): Likewise.
6461 (llrint_downward_test_data): Likewise.
6462 (llrint_test_downward): Likewise.
6463 (llrint_upward_test_data): Likewise.
6464 (llrint_test_upward): Likewise.
6465 (rint_test_data): Merge in per-rounding-mode tests and results
6466 from rint_tonearest_test_data, rint_towardzero_test_data,
6467 rint_downward_test_data and rint_upward_test_data. Add
6468 per-rounding-mode results for tests not in those arrays.
6469 (rint_test): Use ALL_RM_TEST.
6470 (rint_tonearest_test_data): Remove.
6471 (rint_test_tonearest): Likewise.
6472 (rint_towardzero_test_data): Likewise.
6473 (rint_test_towardzero): Likewise.
6474 (rint_downward_test_data): Likewise.
6475 (rint_test_downward): Likewise.
6476 (rint_upward_test_data): Likewise.
6477 (rint_test_upward): Likewise.
6478 (main): Don't call removed functions.
6480 2014-03-14 Roland McGrath <roland@hack.frob.com>
6482 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
6483 "Compiled on ..." crapola. It is anti-useful.
6485 2014-03-14 Joseph Myers <joseph@codesourcery.com>
6487 * scripts/evaluate-test.sh: Handle fourth argument to determine
6488 whether test run should stop on failure.
6489 * Makeconfig (stop-on-test-failure): New variable.
6490 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
6491 $(stop-on-test-failure).
6492 * Makefile (tests): Give a summary of results from testing and
6493 exit with failure status if they include an ERROR or FAIL.
6495 * manual/install.texi (Configuring and compiling): Mention
6496 stop-on-test-failure=y.
6497 * INSTALL: Regenerated.
6499 2014-03-14 Roland McGrath <roland@hack.frob.com>
6501 * scripts/versionlist.awk: New file.
6502 * Makerules [$(build-shared) = yes]
6503 (postclean-generated): Add Versions.def, not Versions.def.v and
6505 ($(common-objpfx)Versions.def.v.i): Target removed.
6506 ($(common-objpfx)Versions.def): New target.
6507 ($(common-objpfx)Versions.all): Depend on that rather that
6508 $(common-objpfx)Versions.def.v.
6509 * Versions.def: File removed.
6511 * Makeconfig (+gccwarn): Add -Wundef.
6512 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
6513 a dl-sysdep.h breaking its contract.
6514 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
6515 * include/stackinfo.h: New file.
6516 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
6517 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
6518 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
6519 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
6520 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
6521 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
6522 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6523 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6524 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6525 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6526 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6527 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
6528 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6529 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6530 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6532 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6535 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
6537 * math/libm-test.inc (round_test_data): Add more tests.
6540 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
6542 * math/libm-test.inc (nearbyint_test_data): Add more tests.
6545 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
6547 * math/libm-test.inc (ceil_test_data): Add more tests.
6549 * math/libm-test.inc (trunc_test_data): Add more tests related to
6552 2014-03-14 Roland McGrath <roland@hack.frob.com>
6554 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
6555 with #if rather than #ifdef.
6556 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
6558 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
6560 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
6561 first. Disable AVX-512 GCC support if assembler doesn't support
6563 * sysdeps/x86_64/configure: Regenerated.
6565 2014-03-13 Carlos O'Donell <carlos@redhat.com>
6567 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
6568 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
6569 (__old_pthread_attr_setstack): Likewise.
6570 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
6571 [!_STACK_GROWS_DOWN]: Likewise.
6573 2014-03-13 Mike Frysinger <vapier@gentoo.org>
6575 * config.make.in (have-bash2): Delete.
6576 * configure.ac (libc_cv_have_bash2): Delete.
6577 * configure: Regenerate.
6578 * elf/Makefile (common-ldd-rewrite): Rename to ...
6579 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
6580 (sh-ldd-rewrite): Delete.
6581 (bash-ldd-rewrite): Delete.
6582 (have-bash2): Delete checks.
6583 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
6586 * config.make.in (have-ksh): Delete.
6588 * configure.ac (libc_cv_have_ksh): Delete.
6589 * configure: Regenerate.
6591 * elf/Makefile: Delete $(have-ksh) check.
6592 ($(objpfx)sotruss): Change KSH to BASH.
6593 * elf/sotruss.ksh: Rename to ...
6594 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
6595 function style to match POSIX. Drop ksh vim mode setting.
6597 * manual/time.texi (Specifying the Time Zone with TZ): Change
6598 Tuesday to Thursday.
6600 * debug/tst-longjmp_chk2.c: Update header comment.
6601 (stackoverflow_handler): Add comment. Call assert on pass value.
6603 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
6605 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
6606 (HAVE_AVX512_ASM_SUPPORT): Likewise.
6607 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
6608 (La_x86_64_vector): Add zmm.
6609 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
6610 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
6611 ($(objpfx)tst-audit10): New target.
6612 ($(objpfx)tst-audit10.out): Likewise.
6613 (tst-audit10-ENV): New.
6614 (AVX512-CFLAGS): Likewise.
6615 (CFLAGS-tst-audit10.c): Likewise.
6616 (CFLAGS-tst-auditmod10a.c): Likewise.
6617 (CFLAGS-tst-auditmod10b.c): Likewise.
6618 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
6619 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
6620 * sysdeps/x86_64/configure: Regenerated.
6621 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
6622 AVX-512 zmm register support.
6623 (_dl_x86_64_save_sse): Likewise.
6624 (_dl_x86_64_restore_sse): Likewise.
6625 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
6626 size vector registers.
6627 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
6628 (ZMM_SIZE): Likewise.
6629 * sysdeps/x86_64/tst-audit10.c: New file.
6630 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
6631 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
6633 2014-03-13 Roland McGrath <roland@hack.frob.com>
6635 * configure.ac (HAVE_EHDR_START): New check.
6636 * configure: Regenerated.
6637 * config.h.in (HAVE_EHDR_START): New #undef.
6638 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
6639 assuming the lowest-addressed segment maps the start of the file.
6641 2014-03-13 Joseph Myers <joseph@codesourcery.com>
6643 * INSTALL: Regenerated.
6645 2014-03-13 Will Newton <will.newton@linaro.org>
6647 * manual/setjmp.texi (System V contexts): Improve
6648 clarity and grammar of documentation.
6650 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
6653 * elf/Makefile (tests): Add tst-pie2.
6654 (tests-pie): Add tst-pie2.
6655 * elf/tst-pie2.c: New file.
6656 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
6658 * elf/rtld.c (map_doit): Load executable as lt_executable.
6659 (dl_main): Likewise.
6661 2014-03-12 Joseph Myers <joseph@codesourcery.com>
6664 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6665 (__ASSUME_PSELECT): Undefine.
6667 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6670 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
6671 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
6673 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
6674 selector for static builds.
6676 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6679 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
6682 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6684 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
6685 IFUNC selector for static builds.
6687 2014-03-11 Joseph Myers <joseph@codesourcery.com>
6689 * sysdeps/mips/math_private.h [__mips_hard_float]
6690 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
6691 libc_feresetround_mips_ctx.
6692 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
6693 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
6694 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
6697 * math/s_nextafter.c (__nextafter): Do not return value from
6698 overflowing computation.
6699 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
6700 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
6701 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
6703 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
6705 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
6706 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
6708 2014-03-11 Roland McGrath <roland@hack.frob.com>
6710 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
6711 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
6712 Move sfi_sp use from the load-multiple (that no longer sets sp) to
6713 the new mov targetting sp.
6715 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6718 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
6719 Define it for static builds as well.
6720 (NO_BZERO_IMPL): Likewise.
6722 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6724 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
6725 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
6726 multiarch strspn for PPC64.
6727 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
6728 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
6729 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6730 (__libc_ifunc_impl_list): Likewise.
6731 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
6732 multiarch optimizations
6733 * string/strspn.c (strspn): Using macro to redefine symbol name.
6735 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6736 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6738 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
6739 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
6740 multiarch strncat for PPC64.
6741 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
6742 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
6743 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6744 (__libc_ifunc_impl_list): Likewise.
6745 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
6746 multiarch optimizations
6748 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6751 * nscd/nscd.service: Make service type forking.
6753 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6755 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
6756 sign in non default rounding modes.
6757 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6759 2014-03-08 Joseph Myers <joseph@codesourcery.com>
6761 * math/libm-test.inc (ALL_RM_TEST): New macro.
6762 (ceil_test): Use ALL_RM_TEST.
6763 (cimag_test): Likewise.
6764 (conj_test): Likewise.
6765 (copysign_test): Likewise.
6766 (cproj_test): Likewise.
6767 (creal_test): Likewise.
6768 (fabs_test): Likewise.
6769 (floor_test): Likewise.
6770 (fmax_test): Likewise.
6771 (fmin_test): Likewise.
6772 (fmod_test): Likewise.
6773 (fpclassify_test): Likewise.
6774 (frexp_test): Likewise.
6775 (ilogb_test): Likewise.
6776 (isfinite_test): Likewise.
6777 (finite_test): Likewise.
6778 (isgreater_test): Likewise.
6779 (isgreaterequal_test): Likewise.
6780 (isinf_test): Likewise.
6781 (isless_test): Likewise.
6782 (islessequal_test): Likewise.
6783 (islessgreater_test): Likewise.
6784 (isnan_test): Likewise.
6785 (isnormal_test): Likewise.
6786 (issignaling_test): Likewise.
6787 (isunordered_test): Likewise.
6788 (logb_test): Likewise.
6789 (logb_downward_test_data): Remove.
6790 (logb_test_downward): Likewise.
6791 (lround_test): Use ALL_RM_TEST.
6792 (llround_test): Likewise.
6793 (modf_test): Likewise.
6794 (nexttoward_test): Likewise.
6795 (remainder_test): Likewise.
6796 (drem_test): Likewise.
6797 (remainder_tonearest_test_data): Likewise.
6798 (remainder_test_tonearest): Likewise.
6799 (drem_test_tonearest): Likewise.
6800 (remainder_towardzero_test_data): Likewise.
6801 (remainder_test_towardzero): Likewise.
6802 (drem_test_towardzero): Likewise.
6803 (remainder_downward_test_data): Likewise.
6804 (remainder_test_downward): Likewise.
6805 (drem_test_downward): Likewise.
6806 (remainder_upward_test_data): Likewise.
6807 (remainder_test_upward): Likewise.
6808 (drem_test_upward): Likewise.
6809 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
6810 (round_test): Use ALL_RM_TEST.
6811 (signbit_test): Likewise.
6812 (trunc_test): Likewise.
6813 (significand_test): Likewise.
6814 (main): Don't call removed functions.
6816 2014-03-07 Joseph Myers <joseph@codesourcery.com>
6819 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
6821 (ILL_ILLOPN): Likewise.
6822 (ILL_ILLADR): Likewise.
6823 (ILL_ILLTRP): Likewise.
6824 (ILL_PRVOPC): Likewise.
6825 (ILL_PRVREG): Likewise.
6826 (ILL_COPROC): Likewise.
6827 (ILL_BADSTK): Likewise.
6828 (FPE_INTDIV): Likewise.
6829 (FPE_INTOVF): Likewise.
6830 (FPE_FLTDIV): Likewise.
6831 (FPE_FLTOVF): Likewise.
6832 (FPE_FLTUND): Likewise.
6833 (FPE_FLTRES): Likewise.
6834 (FPE_FLTINV): Likewise.
6835 (FPE_FLTSUB): Likewise.
6836 (SEGV_MAPERR): Likewise.
6837 (SEGV_ACCERR): Likewise.
6838 (BUS_ADRALN): Likewise.
6839 (BUS_ADRERR): Likewise.
6840 (BUS_OBJERR): Likewise.
6841 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6842 (TRAP_TRACE): Likewise.
6843 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6845 (CLD_KILLED): Likewise.
6846 (CLD_DUMPED): Likewise.
6847 (CLD_TRAPPED): Likewise.
6848 (CLD_STOPPED): Likewise.
6849 (CLD_CONTINUED): Likewise.
6850 (POLL_IN): Likewise.
6851 (POLL_OUT): Likewise.
6852 (POLL_MSG): Likewise.
6853 (POLL_ERR): Likewise.
6854 (POLL_PRI): Likewise.
6855 (POLL_HUP): Likewise.
6856 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
6858 (ILL_ILLOPN): Likewise.
6859 (ILL_ILLADR): Likewise.
6860 (ILL_ILLTRP): Likewise.
6861 (ILL_PRVOPC): Likewise.
6862 (ILL_PRVREG): Likewise.
6863 (ILL_COPROC): Likewise.
6864 (ILL_BADSTK): Likewise.
6865 (FPE_INTDIV): Likewise.
6866 (FPE_INTOVF): Likewise.
6867 (FPE_FLTDIV): Likewise.
6868 (FPE_FLTOVF): Likewise.
6869 (FPE_FLTUND): Likewise.
6870 (FPE_FLTRES): Likewise.
6871 (FPE_FLTINV): Likewise.
6872 (FPE_FLTSUB): Likewise.
6873 (SEGV_MAPERR): Likewise.
6874 (SEGV_ACCERR): Likewise.
6875 (BUS_ADRALN): Likewise.
6876 (BUS_ADRERR): Likewise.
6877 (BUS_OBJERR): Likewise.
6878 (BUS_MCEERR_AR): Likewise.
6879 (BUS_MCEERR_AO): Likewise.
6880 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6881 (TRAP_TRACE): Likewise.
6882 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6884 (CLD_KILLED): Likewise.
6885 (CLD_DUMPED): Likewise.
6886 (CLD_TRAPPED): Likewise.
6887 (CLD_STOPPED): Likewise.
6888 (CLD_CONTINUED): Likewise.
6889 (POLL_IN): Likewise.
6890 (POLL_OUT): Likewise.
6891 (POLL_MSG): Likewise.
6892 (POLL_ERR): Likewise.
6893 (POLL_PRI): Likewise.
6894 (POLL_HUP): Likewise.
6895 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
6896 (ILL_ILLOPN): Likewise.
6897 (ILL_ILLADR): Likewise.
6898 (ILL_ILLTRP): Likewise.
6899 (ILL_PRVOPC): Likewise.
6900 (ILL_PRVREG): Likewise.
6901 (ILL_COPROC): Likewise.
6902 (ILL_BADSTK): Likewise.
6903 (FPE_INTDIV): Likewise.
6904 (FPE_INTOVF): Likewise.
6905 (FPE_FLTDIV): Likewise.
6906 (FPE_FLTOVF): Likewise.
6907 (FPE_FLTUND): Likewise.
6908 (FPE_FLTRES): Likewise.
6909 (FPE_FLTINV): Likewise.
6910 (FPE_FLTSUB): Likewise.
6911 (SEGV_MAPERR): Likewise.
6912 (SEGV_ACCERR): Likewise.
6913 (BUS_ADRALN): Likewise.
6914 (BUS_ADRERR): Likewise.
6915 (BUS_OBJERR): Likewise.
6916 (BUS_MCEERR_AR): Likewise.
6917 (BUS_MCEERR_AO): Likewise.
6918 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6919 (TRAP_TRACE): Likewise.
6920 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6922 (CLD_KILLED): Likewise.
6923 (CLD_DUMPED): Likewise.
6924 (CLD_TRAPPED): Likewise.
6925 (CLD_STOPPED): Likewise.
6926 (CLD_CONTINUED): Likewise.
6927 (POLL_IN): Likewise.
6928 (POLL_OUT): Likewise.
6929 (POLL_MSG): Likewise.
6930 (POLL_ERR): Likewise.
6931 (POLL_PRI): Likewise.
6932 (POLL_HUP): Likewise.
6933 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
6935 (ILL_ILLOPN): Likewise.
6936 (ILL_ILLADR): Likewise.
6937 (ILL_ILLTRP): Likewise.
6938 (ILL_PRVOPC): Likewise.
6939 (ILL_PRVREG): Likewise.
6940 (ILL_COPROC): Likewise.
6941 (ILL_BADSTK): Likewise.
6942 (ILL_BADIADDR): Likewise.
6943 (ILL_BREAK): Likewise.
6944 (FPE_INTDIV): Likewise.
6945 (FPE_INTOVF): Likewise.
6946 (FPE_FLTDIV): Likewise.
6947 (FPE_FLTOVF): Likewise.
6948 (FPE_FLTUND): Likewise.
6949 (FPE_FLTRES): Likewise.
6950 (FPE_FLTINV): Likewise.
6951 (FPE_FLTSUB): Likewise.
6952 (FPE_DECOVF): Likewise.
6953 (FPE_DECDIV): Likewise.
6954 (FPE_DECERR): Likewise.
6955 (FPE_INVASC): Likewise.
6956 (FPE_INVDEC): Likewise.
6957 (SEGV_MAPERR): Likewise.
6958 (SEGV_ACCERR): Likewise.
6959 (SEGV_PSTKOVF): Likewise.
6960 (BUS_ADRALN): Likewise.
6961 (BUS_ADRERR): Likewise.
6962 (BUS_OBJERR): Likewise.
6963 (BUS_MCEERR_AR): Likewise.
6964 (BUS_MCEERR_AO): Likewise.
6965 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6966 (TRAP_TRACE): Likewise.
6967 (TRAP_BRANCH): Likewise.
6968 (TRAP_HWBKPT): Likewise.
6969 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6971 (CLD_KILLED): Likewise.
6972 (CLD_DUMPED): Likewise.
6973 (CLD_TRAPPED): Likewise.
6974 (CLD_STOPPED): Likewise.
6975 (CLD_CONTINUED): Likewise.
6976 (POLL_IN): Likewise.
6977 (POLL_OUT): Likewise.
6978 (POLL_MSG): Likewise.
6979 (POLL_ERR): Likewise.
6980 (POLL_PRI): Likewise.
6981 (POLL_HUP): Likewise.
6982 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
6983 (ILL_ILLOPN): Likewise.
6984 (ILL_ILLADR): Likewise.
6985 (ILL_ILLTRP): Likewise.
6986 (ILL_PRVOPC): Likewise.
6987 (ILL_PRVREG): Likewise.
6988 (ILL_COPROC): Likewise.
6989 (ILL_BADSTK): Likewise.
6990 (FPE_INTDIV): Likewise.
6991 (FPE_INTOVF): Likewise.
6992 (FPE_FLTDIV): Likewise.
6993 (FPE_FLTOVF): Likewise.
6994 (FPE_FLTUND): Likewise.
6995 (FPE_FLTRES): Likewise.
6996 (FPE_FLTINV): Likewise.
6997 (FPE_FLTSUB): Likewise.
6998 (SEGV_MAPERR): Likewise.
6999 (SEGV_ACCERR): Likewise.
7000 (BUS_ADRALN): Likewise.
7001 (BUS_ADRERR): Likewise.
7002 (BUS_OBJERR): Likewise.
7003 (BUS_MCEERR_AR): Likewise.
7004 (BUS_MCEERR_AO): Likewise.
7005 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7006 (TRAP_TRACE): Likewise.
7007 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7009 (CLD_KILLED): Likewise.
7010 (CLD_DUMPED): Likewise.
7011 (CLD_TRAPPED): Likewise.
7012 (CLD_STOPPED): Likewise.
7013 (CLD_CONTINUED): Likewise.
7014 (POLL_IN): Likewise.
7015 (POLL_OUT): Likewise.
7016 (POLL_MSG): Likewise.
7017 (POLL_ERR): Likewise.
7018 (POLL_PRI): Likewise.
7019 (POLL_HUP): Likewise.
7020 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
7021 (ILL_ILLOPN): Likewise.
7022 (ILL_ILLADR): Likewise.
7023 (ILL_ILLTRP): Likewise.
7024 (ILL_PRVOPC): Likewise.
7025 (ILL_PRVREG): Likewise.
7026 (ILL_COPROC): Likewise.
7027 (ILL_BADSTK): Likewise.
7028 (FPE_INTDIV): Likewise.
7029 (FPE_INTOVF): Likewise.
7030 (FPE_FLTDIV): Likewise.
7031 (FPE_FLTOVF): Likewise.
7032 (FPE_FLTUND): Likewise.
7033 (FPE_FLTRES): Likewise.
7034 (FPE_FLTINV): Likewise.
7035 (FPE_FLTSUB): Likewise.
7036 (SEGV_MAPERR): Likewise.
7037 (SEGV_ACCERR): Likewise.
7038 (BUS_ADRALN): Likewise.
7039 (BUS_ADRERR): Likewise.
7040 (BUS_OBJERR): Likewise.
7041 (BUS_MCEERR_AR): Likewise.
7042 (BUS_MCEERR_AO): Likewise.
7043 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7044 (TRAP_TRACE): Likewise.
7045 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7047 (CLD_KILLED): Likewise.
7048 (CLD_DUMPED): Likewise.
7049 (CLD_TRAPPED): Likewise.
7050 (CLD_STOPPED): Likewise.
7051 (CLD_CONTINUED): Likewise.
7052 (POLL_IN): Likewise.
7053 (POLL_OUT): Likewise.
7054 (POLL_MSG): Likewise.
7055 (POLL_ERR): Likewise.
7056 (POLL_PRI): Likewise.
7057 (POLL_HUP): Likewise.
7058 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
7059 (ILL_ILLOPN): Likewise.
7060 (ILL_ILLADR): Likewise.
7061 (ILL_ILLTRP): Likewise.
7062 (ILL_PRVOPC): Likewise.
7063 (ILL_PRVREG): Likewise.
7064 (ILL_COPROC): Likewise.
7065 (ILL_BADSTK): Likewise.
7066 (FPE_INTDIV): Likewise.
7067 (FPE_INTOVF): Likewise.
7068 (FPE_FLTDIV): Likewise.
7069 (FPE_FLTOVF): Likewise.
7070 (FPE_FLTUND): Likewise.
7071 (FPE_FLTRES): Likewise.
7072 (FPE_FLTINV): Likewise.
7073 (FPE_FLTSUB): Likewise.
7074 (SEGV_MAPERR): Likewise.
7075 (SEGV_ACCERR): Likewise.
7076 (BUS_ADRALN): Likewise.
7077 (BUS_ADRERR): Likewise.
7078 (BUS_OBJERR): Likewise.
7079 (BUS_MCEERR_AR): Likewise.
7080 (BUS_MCEERR_AO): Likewise.
7081 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7082 (TRAP_TRACE): Likewise.
7083 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7085 (CLD_KILLED): Likewise.
7086 (CLD_DUMPED): Likewise.
7087 (CLD_TRAPPED): Likewise.
7088 (CLD_STOPPED): Likewise.
7089 (CLD_CONTINUED): Likewise.
7090 (POLL_IN): Likewise.
7091 (POLL_OUT): Likewise.
7092 (POLL_MSG): Likewise.
7093 (POLL_ERR): Likewise.
7094 (POLL_PRI): Likewise.
7095 (POLL_HUP): Likewise.
7096 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
7097 (ILL_ILLOPN): Likewise.
7098 (ILL_ILLADR): Likewise.
7099 (ILL_ILLTRP): Likewise.
7100 (ILL_PRVOPC): Likewise.
7101 (ILL_PRVREG): Likewise.
7102 (ILL_COPROC): Likewise.
7103 (ILL_BADSTK): Likewise.
7104 (ILL_DBLFLT): Likewise.
7105 (ILL_HARDWALL): Likewise.
7106 (FPE_INTDIV): Likewise.
7107 (FPE_INTOVF): Likewise.
7108 (FPE_FLTDIV): Likewise.
7109 (FPE_FLTOVF): Likewise.
7110 (FPE_FLTUND): Likewise.
7111 (FPE_FLTRES): Likewise.
7112 (FPE_FLTINV): Likewise.
7113 (FPE_FLTSUB): Likewise.
7114 (SEGV_MAPERR): Likewise.
7115 (SEGV_ACCERR): Likewise.
7116 (BUS_ADRALN): Likewise.
7117 (BUS_ADRERR): Likewise.
7118 (BUS_OBJERR): Likewise.
7119 (BUS_MCEERR_AR): Likewise.
7120 (BUS_MCEERR_AO): Likewise.
7121 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7122 (TRAP_TRACE): Likewise.
7123 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7125 (CLD_KILLED): Likewise.
7126 (CLD_DUMPED): Likewise.
7127 (CLD_TRAPPED): Likewise.
7128 (CLD_STOPPED): Likewise.
7129 (CLD_CONTINUED): Likewise.
7130 (POLL_IN): Likewise.
7131 (POLL_OUT): Likewise.
7132 (POLL_MSG): Likewise.
7133 (POLL_ERR): Likewise.
7134 (POLL_PRI): Likewise.
7135 (POLL_HUP): Likewise.
7136 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
7137 (ILL_ILLOPN): Likewise.
7138 (ILL_ILLADR): Likewise.
7139 (ILL_ILLTRP): Likewise.
7140 (ILL_PRVOPC): Likewise.
7141 (ILL_PRVREG): Likewise.
7142 (ILL_COPROC): Likewise.
7143 (ILL_BADSTK): Likewise.
7144 (FPE_INTDIV): Likewise.
7145 (FPE_INTOVF): Likewise.
7146 (FPE_FLTDIV): Likewise.
7147 (FPE_FLTOVF): Likewise.
7148 (FPE_FLTUND): Likewise.
7149 (FPE_FLTRES): Likewise.
7150 (FPE_FLTINV): Likewise.
7151 (FPE_FLTSUB): Likewise.
7152 (SEGV_MAPERR): Likewise.
7153 (SEGV_ACCERR): Likewise.
7154 (BUS_ADRALN): Likewise.
7155 (BUS_ADRERR): Likewise.
7156 (BUS_OBJERR): Likewise.
7157 (BUS_MCEERR_AR): Likewise.
7158 (BUS_MCEERR_AO): Likewise.
7159 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7160 (TRAP_TRACE): Likewise.
7161 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7163 (CLD_KILLED): Likewise.
7164 (CLD_DUMPED): Likewise.
7165 (CLD_TRAPPED): Likewise.
7166 (CLD_STOPPED): Likewise.
7167 (CLD_CONTINUED): Likewise.
7168 (POLL_IN): Likewise.
7169 (POLL_OUT): Likewise.
7170 (POLL_MSG): Likewise.
7171 (POLL_ERR): Likewise.
7172 (POLL_PRI): Likewise.
7173 (POLL_HUP): Likewise.
7174 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
7175 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7178 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
7179 before #include of <time.h>.
7180 [!__USE_XOPEN2K] (__need_timespec): Likewise.
7181 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
7182 (test-xfail-UNIX98/sched.h/conform): Likewise.
7184 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
7186 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
7187 error absence of trapping exception support.
7188 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
7190 2014-03-07 Joseph Myers <joseph@codesourcery.com>
7192 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
7193 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
7194 * timezone/Makefile (testdata): Move definition above include of
7196 (test-zones): New variable.
7197 (tests-special): Add zone files.
7198 (build-testdata): Use $(evaluate-test).
7200 * elf/Makefile (tests-special): Rename tests to end with .out.
7201 ($(objpfx)noload-mem): Likewise.
7202 ($(objpfx)tst-leaks1-mem): Likewise.
7203 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
7204 * iconv/Makefile (xtests-special): Change test-iconvconfig to
7205 $(objpfx)test-iconvconfig.out.
7206 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
7207 set -e inside subshell and redirect output to file.
7208 * iconvdata/Makefile (generated): Rename tests to end with .out.
7210 (tests-special): Rename tests to end with .out.
7211 ($(objpfx)mtrace-tst-loading): Likewise.
7212 * intl/Makefile (generated): Likewise.
7213 (tests-special): Likewise.
7214 ($(objpfx)mtrace-tst-gettext): Likewise.
7215 * misc/Makefile (generated): Likewise.
7216 (tests-special): Likewise.
7217 ($(objpfx)tst-error1-mem): Likewise.
7218 * nptl/Makefile (tests-special): Likewise.
7219 ($(objpfx)tst-stack3-mem): Likewise.
7220 (generated): Likewise.
7221 * posix/Makefile (generated): Likewise.
7222 (tests-special): Likewise.
7223 (xtests-special): Likewise.
7224 ($(objpfx)tst-fnmatch-mem): Likewise.
7225 ($(objpfx)bug-regex2-mem): Likewise.
7226 ($(objpfx)bug-regex14-mem): Likewise.
7227 ($(objpfx)bug-regex21-mem): Likewise.
7228 ($(objpfx)bug-regex31-mem): Likewise.
7229 ($(objpfx)tst-vfork3-mem): Likewise.
7230 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
7231 ($(objpfx)tst-pcre-mem): Likewise.
7232 ($(objpfx)tst-boost-mem): Likewise.
7233 ($(objpfx)bug-ga2-mem): Likewise.
7234 ($(objpfx)bug-glob2-mem): Likewise.
7235 * resolv/Makefile (generate): Likewise.
7236 (tests-special): Likewise.
7237 (xtests-special): Likewise.
7238 (generated): Likewise.
7239 ($(objpfx)mtrace-tst-leaks): Likewise.
7240 ($(objpfx)mtrace-tst-leaks2): Likewise.
7242 * scripts/merge-test-results.sh: New file.
7243 * Makefile (tests-special-notdir): New variable.
7244 (tests): Run merge-test-results.sh.
7246 * Rules (tests-special-notdir): New variable.
7247 (xtests-special-notdir): Likewise.
7248 (tests): Run merge-test-results.sh
7251 * Makeconfig (test-xfail-name): New variable.
7252 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
7253 compute variable name for expected failures.
7254 * conform/Makefile (conformtest-headers-data): New variable.
7255 (conformtest-standards): Likewise.
7256 (conformtest-headers-ISO): Likewise.
7257 (conformtest-headers-ISO99): Likewise.
7258 (conformtest-headers-ISO11): Likewise.
7259 (conformtest-headers-POSIX): Likewise.
7260 (conformtest-headers-XPG3): Likewise.
7261 (conformtest-headers-XPG4): Likewise.
7262 (conformtest-headers-UNIX98): Likewise.
7263 (conformtest-headers-XOPEN2K): Likewise.
7264 (conformtest-headers-POSIX2008): Likewise.
7265 (conformtest-headers-XOPEN2K8): Likewise.
7266 (conformtest-header-list-base): Likewise.
7267 (conformtest-header-list-tests): Likewise.
7268 (conformtest-header-base): Likewise.
7269 (conformtest-header-tests): Likewise.
7270 (tests-special): Add $(conformtest-header-list-tests). If
7271 [$(fast-check) && !$(cross-compiling)], add
7272 $(conformtest-header-tests) instead of
7273 $(objpfx)run-conformtest.out.
7274 (generated): Add $(conformtest-header-list-base). If
7275 [$(fast-check) && !$(cross-compiling)], add
7276 $(conformtest-header-base). Remove previous setting.
7277 ($(conformtest-header-list-tests)): New target.
7278 (test-xfail-run-conformtest): Remove variable.
7279 ($(objpfx)run-conformtest.out): Remove target.
7280 (test-xfail-ISO11/complex.h/conform): New variable.
7281 (test-xfail-ISO11/stdalign.h/conform): Likewise.
7282 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
7283 (test-xfail-XPG3/varargs.h/conform): Likewise.
7284 (test-xfail-XPG4/varargs.h/conform): Likewise.
7285 (test-xfail-UNIX98/varargs.h/conform): Likewise.
7286 (test-xfail-XPG4/ndbm.h/conform): Likewise.
7287 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
7288 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
7289 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
7290 (test-xfail-XPG3/fcntl.h/conform): Likewise.
7291 (test-xfail-XPG3/ftw.h/conform): Likewise.
7292 (test-xfail-XPG3/grp.h/conform): Likewise.
7293 (test-xfail-XPG3/langinfo.h/conform): Likewise.
7294 (test-xfail-XPG3/limits.h/conform): Likewise.
7295 (test-xfail-XPG3/pwd.h/conform): Likewise.
7296 (test-xfail-XPG3/search.h/conform): Likewise.
7297 (test-xfail-XPG3/signal.h/conform): Likewise.
7298 (test-xfail-XPG3/stdio.h/conform): Likewise.
7299 (test-xfail-XPG3/stdlib.h/conform): Likewise.
7300 (test-xfail-XPG3/string.h/conform): Likewise.
7301 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
7302 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
7303 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
7304 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
7305 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
7306 (test-xfail-XPG3/sys/types.h/conform): Likewise.
7307 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
7308 (test-xfail-XPG3/termios.h/conform): Likewise.
7309 (test-xfail-XPG3/time.h/conform): Likewise.
7310 (test-xfail-XPG3/unistd.h/conform): Likewise.
7311 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
7312 (test-xfail-XPG4/fcntl.h/conform): Likewise.
7313 (test-xfail-XPG4/langinfo.h/conform): Likewise.
7314 (test-xfail-XPG4/netdb.h/conform): Likewise.
7315 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
7316 (test-xfail-XPG4/signal.h/conform): Likewise.
7317 (test-xfail-XPG4/stdio.h/conform): Likewise.
7318 (test-xfail-XPG4/stdlib.h/conform): Likewise.
7319 (test-xfail-XPG4/stropts.h/conform): Likewise.
7320 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
7321 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
7322 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
7323 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
7324 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
7325 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
7326 (test-xfail-XPG4/sys/time.h/conform): Likewise.
7327 (test-xfail-XPG4/sys/types.h/conform): Likewise.
7328 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
7329 (test-xfail-XPG4/termios.h/conform): Likewise.
7330 (test-xfail-XPG4/ucontext.h/conform): Likewise.
7331 (test-xfail-XPG4/unistd.h/conform): Likewise.
7332 (test-xfail-XPG4/utmpx.h/conform): Likewise.
7333 (test-xfail-POSIX/sched.h/conform): Likewise.
7334 (test-xfail-POSIX/signal.h/conform): Likewise.
7335 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7336 (test-xfail-POSIX/tar.h/conform): Likewise.
7337 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
7338 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
7339 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
7340 (test-xfail-UNIX98/netdb.h/conform): Likewise.
7341 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
7342 (test-xfail-UNIX98/sched.h/conform): Likewise.
7343 (test-xfail-UNIX98/signal.h/conform): Likewise.
7344 (test-xfail-UNIX98/stdio.h/conform): Likewise.
7345 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
7346 (test-xfail-UNIX98/stropts.h/conform): Likewise.
7347 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
7348 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
7349 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
7350 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
7351 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
7352 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
7353 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
7354 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
7355 (test-xfail-UNIX98/unistd.h/conform): Likewise.
7356 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
7357 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
7358 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
7359 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
7360 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
7361 (test-xfail-XOPEN2K/math.h/conform): Likewise.
7362 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
7363 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
7364 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
7365 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
7366 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
7367 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
7368 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
7369 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
7370 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
7371 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
7372 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
7373 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
7374 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
7375 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
7376 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
7377 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
7378 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
7379 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
7380 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
7381 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
7382 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
7383 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
7384 (test-xfail-POSIX2008/signal.h/conform): Likewise.
7385 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
7386 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
7387 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
7388 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
7389 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
7390 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
7391 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
7392 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
7393 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
7394 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
7395 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
7396 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
7397 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
7398 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
7399 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
7400 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
7401 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
7402 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
7403 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
7404 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
7405 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
7406 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
7407 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
7408 (conformtest-cc-flags): Likewise.
7409 ($(conformtest-header-tests): New target.
7410 * conform/check-header-lists.sh: New file.
7411 * conform/run-conformtest.sh: Remove.
7413 * conform/conformtest.pl: Allow ' and \ in values given for
7415 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
7417 [POSIX] (sys/types.h): Likewise.
7418 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
7420 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
7422 * conform/data/signal.h-data (SIGIO): Remove expectation.
7423 [XPG3] (SIGBUS): Do not expect.
7424 [POSIX || XPG3] (SIGPOLL): Likewise.
7425 [POSIX || XPG3] (SIGPROF): Likewise.
7426 [POSIX || XPG3] (SIGSYS): Likewise.
7427 [XPG3] (SIGTRAP): Likewise.
7428 [POSIX || XPG3] (SIGURG): Likewise.
7429 [POSIX || XPG3] (SIGVTALRM): Likewise.
7430 [POSIX || XPG3] (SIGXCPU): Likewise.
7431 [POSIX || XPG3] (SIGXFSZ): Likewise.
7432 [POSIX] (SA_SIGINFO): Expect.
7433 [XPG3] (siginfo_t): Do not expect type or contents.
7434 [POSIX] (si_pid): Do not expect element.
7435 [POSIX] (si_uid): Likewise.
7436 [POSIX] (si_addr): Likewise.
7437 [POSIX] (si_status): Likewise.
7438 [POSIX] (si_band): Likewise.
7439 [XPG4] (si_value): Likewise.
7440 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
7441 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
7442 [POSIX || XPG3] (ILL_ILLADR): Likewise.
7443 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
7444 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
7445 [POSIX || XPG3] (ILL_PRVREG): Likewise.
7446 [POSIX || XPG3] (ILL_COPROC): Likewise.
7447 [POSIX || XPG3] (ILL_BADSTK): Likewise.
7448 [POSIX || XPG3] (FPE_INTDIV): Likewise.
7449 [POSIX || XPG3] (FPE_INTOVF): Likewise.
7450 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
7451 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
7452 [POSIX || XPG3] (FPE_FLTUND): Likewise.
7453 [POSIX || XPG3] (FPE_FLTRES): Likewise.
7454 [POSIX || XPG3] (FPE_FLTINV): Likewise.
7455 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
7456 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
7457 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
7458 [POSIX || XPG3] (BUS_ADRALN): Likewise.
7459 [POSIX || XPG3] (BUS_ADRERR): Likewise.
7460 [POSIX || XPG3] (BUS_OBJERR): Likewise.
7461 [POSIX || XPG3] (CLD_EXITED): Likewise.
7462 [POSIX || XPG3] (CLD_KILLED): Likewise.
7463 [POSIX || XPG3] (CLD_DUMPED): Likewise.
7464 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
7465 [POSIX || XPG3] (CLD_STOPPED): Likewise.
7466 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
7467 [POSIX || XPG3] (POLL_IN): Likewise.
7468 [POSIX || XPG3] (POLL_OUT): Likewise.
7469 [POSIX || XPG3] (POLL_MSG): Likewise.
7470 [POSIX || XPG3] (POLL_ERR): Likewise.
7471 [POSIX || XPG3] (POLL_PRI): Likewise.
7472 [POSIX || XPG3] (POLL_HUP): Likewise.
7473 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
7474 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
7475 (SIG*): Do not allow.
7476 [XPG3] (si_*): Likewise.
7477 [XPG3] (SI_*): Likewise.
7478 [XPG3 || XPG4] (sigev_*): Likewise.
7479 [XPG3 || XPG4] (SIGEV_*): Likewise.
7480 [XPG3 || XPG4] (sival_*): Likewise.
7481 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
7482 [POSIX || XPG3] (BUS_*): Likewise.
7483 [POSIX || XPG3] (CLD_*): Likewise.
7484 [POSIX || XPG3] (FPE_*): Likewise.
7485 [POSIX || XPG3] (ILL_*): Likewise.
7486 [POSIX || XPG3] (POLL_*): Likewise.
7487 [POSIX || XPG3] (SEGV_*): Likewise.
7488 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
7489 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
7490 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
7491 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
7492 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
7493 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
7494 Specify type and value.
7495 (TVERSLEN): Likewise.
7496 (REGTYPE): Likewise.
7497 (AREGTYPE): Likewise.
7498 (LNKTYPE): Likewise.
7499 (SYMTYPE): Likewise.
7500 (CHRTYPE): Likewise.
7501 (BLKTYPE): Likewise.
7502 (DIRTYPE): Likewise.
7503 (FIFOTYPE): Likewise.
7504 (CONTTYPE): Likewise.
7509 (TUWRITE): Likewise.
7512 (TGWRITE): Likewise.
7515 (TOWRITE): Likewise.
7517 [POSIX] (TSVTX): Expect constant.
7519 2014-03-06 Joseph Myers <joseph@codesourcery.com>
7521 * Makefile (tests): Change dependencies to ....
7522 (tests-special): ... additions to this variable.
7523 (tests): Depend on $(tests-special).
7524 * Makerules (check-abi-list): New variable.
7525 (check-abi): Depend on $(check-abi-list).
7526 [$(subdir) = elf] (tests-special): Add
7527 $(objpfx)check-abi-libc.out.
7528 [$(build-shared) = yes && subdir] (tests-special): Add
7530 [$(build-shared) = yes && subdir] (tests): Do not depend on
7532 * Rules (tests): Depend on $(tests-special).
7533 (xtests): Depend on $(xtests-special).
7534 * catgets/Makefile (tests): Change dependencies to ....
7535 (tests-special): ... additions to this variable.
7536 * conform/Makefile (tests): Change dependencies to ....
7537 (tests-special): ... additions to this variable.
7538 * elf/Makefile (tests): Change dependencies to ....
7539 (tests-special): ... additions to this variable.
7540 * grp/Makefile (tests): Change dependencies to ....
7541 (tests-special): ... additions to this variable.
7542 * iconv/Makefile (xtests): Change dependencies to ....
7543 (xtests-special): ... additions to this variable.
7544 * iconvdata/Makefile (tests): Change dependencies to ....
7545 (tests-special): ... additions to this variable.
7546 * intl/Makefile (tests): Change dependencies to ....
7547 (tests-special): ... additions to this variable. Also add
7548 $(objpfx)tst-gettext.out.
7549 * io/Makefile (tests): Change dependencies to ....
7550 (tests-special): ... additions to this variable.
7551 * libio/Makefile (tests): Change dependencies to ....
7552 (tests-special): ... additions to this variable.
7553 * malloc/Makefile (tests): Change dependencies to ....
7554 (tests-special): ... additions to this variable.
7555 * misc/Makefile (tests): Change dependencies to ....
7556 (tests-special): ... additions to this variable.
7557 * nptl/Makefile (tests): Change dependencies to ....
7558 (tests-special): ... additions to this variable.
7559 * nptl_db/Makefile (tests): Change dependencies to ....
7560 (tests-special): ... additions to this variable.
7561 * posix/Makefile (tests): Change dependencies to ....
7562 (tests-special): ... additions to this variable.
7563 (xtests): Change dependencies to ....
7564 (xtests-special): ... additions to this variable.
7565 * resolv/Makefile (tests): Change dependencies to ....
7566 (tests-special): ... additions to this variable.
7567 (xtests): Change dependencies to ....
7568 (xtests-special): ... additions to this variable.
7569 * stdio-common/Makefile (tests): Change dependencies to ....
7570 (tests-special): ... additions to this variable.
7571 (do-tst-unbputc): Remove target.
7572 (do-tst-printf): Likewise.
7573 * stdlib/Makefile (tests): Change dependencies to ....
7574 (tests-special): ... additions to this variable.
7575 * string/Makefile (tests): Change dependencies to ....
7576 (tests-special): ... additions to this variable.
7577 * sysdeps/x86/Makefile (tests): Change dependencies to ....
7578 (tests-special): ... additions to this variable.
7580 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
7582 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
7584 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
7585 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
7587 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
7588 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
7589 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
7590 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
7591 * conform/data/libgen.h-data [XPG3]: Likewise.
7592 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
7593 * conform/data/ndbm.h-data [XPG3]: Likewise.
7594 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7595 * conform/data/netdb.h-data [XPG3]: Likewise.
7596 * conform/data/netinet/in.h-data [XPG3]: Likewise.
7597 * conform/data/poll.h-data [XPG3]: Likewise.
7598 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7599 * conform/data/strings.h-data [XPG3]: Likewise.
7600 * conform/data/stropts.h-data [XPG3]: Likewise.
7601 * conform/data/sys/mman.h-data [XPG3]: Likewise.
7602 * conform/data/sys/resource.h-data [XPG3]: Likewise.
7603 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
7605 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
7606 * conform/data/sys/time.h-data [XPG3]: Likewise.
7607 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
7608 * conform/data/sys/uio.h-data [XPG3]: Likewise.
7609 * conform/data/sys/un.h-data [XPG3]: Likewise.
7610 * conform/data/syslog.h-data [XPG3]: Likewise.
7611 * conform/data/ucontext.h-data [XPG3]: Likewise.
7612 * conform/data/utmpx.h-data [XPG3]: Likewise.
7613 * conform/data/varargs.h-data [UNIX98]: Enable file.
7615 * manual/Makefile (INSTALL_INFO): Remove variable setting.
7617 * math/libm-test.inc (struct test_f_f_data): Move expected results
7618 into structure for each rounding mode.
7619 (struct test_ff_f_data): Likewise.
7620 (struct test_ff_f_data_nexttoward): Likewise.
7621 (struct test_fi_f_data): Likewise.
7622 (struct test_fl_f_data): Likewise.
7623 (struct test_if_f_data): Likewise.
7624 (struct test_fff_f_data): Likewise.
7625 (struct test_c_f_data): Likewise.
7626 (struct test_f_f1_data): Likewise.
7627 (struct test_fF_f1_data): Likewise.
7628 (struct test_ffI_f1_data): Likewise.
7629 (struct test_c_c_data): Likewise.
7630 (struct test_cc_c_data): Likewise.
7631 (struct test_f_i_data): Likewise.
7632 (struct test_ff_i_data): Likewise.
7633 (struct test_f_l_data): Likewise.
7634 (struct test_f_L_data): Likewise.
7635 (struct test_fFF_11_data): Likewise.
7637 (RM_FE_DOWNWARD): Likewise.
7638 (RM_FE_TONEAREST): Likewise.
7639 (RM_FE_TOWARDZERO): Likewise.
7640 (RM_FE_UPWARD): Likewise.
7641 (RUN_TEST_LOOP_f_f): Update references to expected results.
7642 (RUN_TEST_LOOP_2_f): Likewise.
7643 (RUN_TEST_LOOP_fff_f): Likewise.
7644 (RUN_TEST_LOOP_c_f): Likewise.
7645 (RUN_TEST_LOOP_f_f1): Likewise.
7646 (RUN_TEST_LOOP_fF_f1): Likewise.
7647 (RUN_TEST_LOOP_fI_f1): Likewise.
7648 (RUN_TEST_LOOP_ffI_f1): Likewise.
7649 (RUN_TEST_LOOP_c_c): Likewise.
7650 (RUN_TEST_LOOP_cc_c): Likewise.
7651 (RUN_TEST_LOOP_f_i): Likewise.
7652 (RUN_TEST_LOOP_f_i_tg): Likewise.
7653 (RUN_TEST_LOOP_ff_i_tg): Likewise.
7654 (RUN_TEST_LOOP_f_b): Likewise.
7655 (RUN_TEST_LOOP_f_b_tg): Likewise.
7656 (RUN_TEST_LOOP_f_l): Likewise.
7657 (RUN_TEST_LOOP_f_L): Likewise.
7658 (RUN_TEST_LOOP_fFF_11): Likewise.
7659 * math/gen-libm-test.pl (parse_args): Output four copies of
7660 expected results for each test.
7662 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7663 (__ASSUME_UTIMES): Remove.
7664 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7665 (__ASSUME_UTIMES): Likewise.
7667 * math/gen-auto-libm-tests.c: Update comment on output format.
7668 (output_for_one_input_case): Generate before-rounding and
7669 after-rounding information as conditions on output flags not
7670 floating-point format.
7671 * math/auto-libm-test-out: Regenerated.
7672 * math/gen-libm-test.pl (cond_value): New function.
7673 (or_cond_value): Use cond_value.
7674 (generate_testfile): Handle conditional exceptions.
7676 2014-03-05 Joseph Myers <joseph@codesourcery.com>
7678 * math/libm-test.inc (max_valid_error): New variable.
7679 (init_max_error): Take new argument specifying whether function
7680 results are exactly determined. Set max_valid_error and bound
7681 other variables for errors based on this argument.
7682 (set_max_error): Do not record results above max_valid_error.
7683 (check_float_internal): Only accept errors of up to 0.5ulps if
7684 also at most max_valid_error.
7685 (START): Take new argument EXACT and pass it to init_max_error.
7686 (acos_test): Update call to START.
7687 (acos_test_tonearest): Likewise.
7688 (acos_test_towardzero): Likewise.
7689 (acos_test_downward): Likewise.
7690 (acos_test_upward): Likewise.
7691 (acosh_test): Likewise.
7692 (asin_test): Likewise.
7693 (asin_test_tonearest): Likewise.
7694 (asin_test_towardzero): Likewise.
7695 (asin_test_downward): Likewise.
7696 (asin_test_upward): Likewise.
7697 (asinh_test): Likewise.
7698 (atan_test): Likewise.
7699 (atanh_test): Likewise.
7700 (atan2_test): Likewise.
7701 (cabs_test): Likewise.
7702 (cacos_test): Likewise.
7703 (cacosh_test): Likewise.
7704 (carg_test): Likewise.
7705 (casin_test): Likewise.
7706 (casinh_test): Likewise.
7707 (catan_test): Likewise.
7708 (catanh_test): Likewise.
7709 (cbrt_test): Likewise.
7710 (ccos_test): Likewise.
7711 (ccosh_test): Likewise.
7712 (ceil_test): Likewise.
7713 (cexp_test): Likewise.
7714 (cimag_test): Likewise.
7715 (clog_test): Likewise.
7716 (clog10_test): Likewise.
7717 (conj_test): Likewise.
7718 (copysign_test): Likewise.
7719 (cos_test): Likewise.
7720 (cos_test_tonearest): Likewise.
7721 (cos_test_towardzero): Likewise.
7722 (cos_test_downward): Likewise.
7723 (cos_test_upward): Likewise.
7724 (cosh_test): Likewise.
7725 (cosh_test_tonearest): Likewise.
7726 (cosh_test_towardzero): Likewise.
7727 (cosh_test_downward): Likewise.
7728 (cosh_test_upward): Likewise.
7729 (cpow_test): Likewise.
7730 (cproj_test): Likewise.
7731 (creal_test): Likewise.
7732 (csin_test): Likewise.
7733 (csinh_test): Likewise.
7734 (csqrt_test): Likewise.
7735 (ctan_test): Likewise.
7736 (ctan_test_tonearest): Likewise.
7737 (ctan_test_towardzero): Likewise.
7738 (ctan_test_downward): Likewise.
7739 (ctan_test_upward): Likewise.
7740 (ctanh_test): Likewise.
7741 (ctanh_test_tonearest): Likewise.
7742 (ctanh_test_towardzero): Likewise.
7743 (ctanh_test_downward): Likewise.
7744 (ctanh_test_upward): Likewise.
7745 (erf_test): Likewise.
7746 (erfc_test): Likewise.
7747 (exp_test): Likewise.
7748 (exp_test_tonearest): Likewise.
7749 (exp_test_towardzero): Likewise.
7750 (exp_test_downward): Likewise.
7751 (exp_test_upward): Likewise.
7752 (exp10_test): Likewise.
7753 (exp10_test_tonearest): Likewise.
7754 (exp10_test_towardzero): Likewise.
7755 (exp10_test_downward): Likewise.
7756 (exp10_test_upward): Likewise.
7757 (pow10_test): Likewise.
7758 (exp2_test): Likewise.
7759 (expm1_test): Likewise.
7760 (expm1_test_tonearest): Likewise.
7761 (expm1_test_towardzero): Likewise.
7762 (expm1_test_downward): Likewise.
7763 (expm1_test_upward): Likewise.
7764 (fabs_test): Likewise.
7765 (fdim_test): Likewise.
7766 (floor_test): Likewise.
7767 (fma_test): Likewise.
7768 (fma_test_towardzero): Likewise.
7769 (fma_test_downward): Likewise.
7770 (fma_test_upward): Likewise.
7771 (fmax_test): Likewise.
7772 (fmin_test): Likewise.
7773 (fmod_test): Likewise.
7774 (fpclassify_test): Likewise.
7775 (frexp_test): Likewise.
7776 (hypot_test): Likewise.
7777 (ilogb_test): Likewise.
7778 (isfinite_test): Likewise.
7779 (finite_test): Likewise.
7780 (isgreater_test): Likewise.
7781 (isgreaterequal_test): Likewise.
7782 (isinf_test): Likewise.
7783 (isless_test): Likewise.
7784 (islessequal_test): Likewise.
7785 (islessgreater_test): Likewise.
7786 (isnan_test): Likewise.
7787 (isnormal_test): Likewise.
7788 (issignaling_test): Likewise.
7789 (isunordered_test): Likewise.
7790 (j0_test): Likewise.
7791 (j1_test): Likewise.
7792 (jn_test): Likewise.
7793 (ldexp_test): Likewise.
7794 (lgamma_test): Likewise.
7795 (gamma_test): Likewise.
7796 (lrint_test): Likewise.
7797 (lrint_test_tonearest): Likewise.
7798 (lrint_test_towardzero): Likewise.
7799 (lrint_test_downward): Likewise.
7800 (lrint_test_upward): Likewise.
7801 (llrint_test): Likewise.
7802 (llrint_test_tonearest): Likewise.
7803 (llrint_test_towardzero): Likewise.
7804 (llrint_test_downward): Likewise.
7805 (llrint_test_upward): Likewise.
7806 (log_test): Likewise.
7807 (log10_test): Likewise.
7808 (log1p_test): Likewise.
7809 (log2_test): Likewise.
7810 (logb_test): Likewise.
7811 (logb_test_downward): Likewise.
7812 (lround_test): Likewise.
7813 (llround_test): Likewise.
7814 (modf_test): Likewise.
7815 (nearbyint_test): Likewise.
7816 (nextafter_test): Likewise.
7817 (nexttoward_test): Likewise.
7818 (pow_test): Likewise.
7819 (pow_test_tonearest): Likewise.
7820 (pow_test_towardzero): Likewise.
7821 (pow_test_downward): Likewise.
7822 (pow_test_upward): Likewise.
7823 (remainder_test): Likewise.
7824 (drem_test): Likewise.
7825 (remainder_test_tonearest): Likewise.
7826 (drem_test_tonearest): Likewise.
7827 (remainder_test_towardzero): Likewise.
7828 (drem_test_towardzero): Likewise.
7829 (remainder_test_downward): Likewise.
7830 (drem_test_downward): Likewise.
7831 (remainder_test_upward): Likewise.
7832 (drem_test_upward): Likewise.
7833 (remquo_test): Likewise.
7834 (rint_test): Likewise.
7835 (rint_test_tonearest): Likewise.
7836 (rint_test_towardzero): Likewise.
7837 (rint_test_downward): Likewise.
7838 (rint_test_upward): Likewise.
7839 (round_test): Likewise.
7840 (scalb_test): Likewise.
7841 (scalbn_test): Likewise.
7842 (scalbln_test): Likewise.
7843 (signbit_test): Likewise.
7844 (sin_test): Likewise.
7845 (sin_test_tonearest): Likewise.
7846 (sin_test_towardzero): Likewise.
7847 (sin_test_downward): Likewise.
7848 (sin_test_upward): Likewise.
7849 (sincos_test): Likewise.
7850 (sinh_test): Likewise.
7851 (sinh_test_tonearest): Likewise.
7852 (sinh_test_towardzero): Likewise.
7853 (sinh_test_downward): Likewise.
7854 (sinh_test_upward): Likewise.
7855 (sqrt_test): Likewise.
7856 (sqrt_test_tonearest): Likewise.
7857 (sqrt_test_towardzero): Likewise.
7858 (sqrt_test_downward): Likewise.
7859 (sqrt_test_upward): Likewise.
7860 (tan_test): Likewise.
7861 (tan_test_tonearest): Likewise.
7862 (tan_test_towardzero): Likewise.
7863 (tan_test_downward): Likewise.
7864 (tan_test_upward): Likewise.
7865 (tanh_test): Likewise.
7866 (tgamma_test): Likewise.
7867 (trunc_test): Likewise.
7868 (y0_test): Likewise.
7869 (y1_test): Likewise.
7870 (yn_test): Likewise.
7871 (significand_test): Likewise.
7873 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
7874 individual tests in comment.
7875 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
7876 (prev_max_error): New variable.
7877 (prev_real_max_error): Likewise.
7878 (prev_imag_max_error): Likewise.
7879 (compare_ulp_data): Don't refer to test names in comment.
7880 (find_test_ulps): Remove function.
7881 (find_function_ulps): Likewise.
7882 (find_complex_function_ulps): Likewise.
7883 (init_max_error): Take function name as argument. Look up ulps
7885 (print_ulps): Remove function.
7886 (print_max_error): Use prev_max_error instead of calling
7888 (print_complex_max_error): Use prev_real_max_error and
7889 prev_imag_max_error instead of calling find_complex_function_ulps.
7890 (check_float_internal): Take max_ulp parameter instead of calling
7891 find_test_ulps. Don't call print_ulps.
7892 (check_float): Update call to check_float_internal.
7893 (check_complex): Update calls to check_float_internal.
7894 (START): Pass argument to init_max_error.
7895 * math/gen-libm-test.pl (%results): Don't include "kind"
7897 (parse_ulps): Don't handle ulps of individual tests.
7898 (print_ulps_file): Likewise.
7899 (output_ulps): Likewise.
7900 * math/README.libm-test: Update.
7901 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
7903 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
7904 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
7905 * sysdeps/arm/libm-test-ulps: Likewise.
7906 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
7907 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
7908 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
7909 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
7910 * sysdeps/microblaze/libm-test-ulps: Likewise.
7911 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
7912 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7913 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7914 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
7915 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7916 * sysdeps/sh/libm-test-ulps: Likewise.
7917 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7918 * sysdeps/tile/libm-test-ulps: Likewise.
7919 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7921 2014-03-04 Joseph Myers <joseph@codesourcery.com>
7923 * math/libm-test.inc (print_complex_max_error): Check separately
7924 whether real and imaginary errors are within allowed range and
7925 pass 0 to print_complex_function_ulps instead of value within
7928 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7930 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
7932 (get_handles_fopen): Likewise.
7933 (do_write_test): Likewise.
7935 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
7937 * libio/fileops.c (do_ftell): Use cached offset when
7939 * libio/iofwide.c (do_ftell_wide): Likewise.
7940 * libio/iofdopen.c (_IO_new_fdopen): Don't use
7942 * libio/wfileops.c (_IO_fwide): Don't cache offset.
7945 * libio/libioP.h (get_file_offset): New function.
7946 * libio/fileops.c (get_file_offset): Likewise.
7947 (do_ftell): Likewise.
7948 (_IO_new_file_seekoff): Split out ftell logic.
7949 * libio/wfileops.c (do_ftell_wide): Likewise.
7950 (_IO_wfile_seekoff): Split out ftell logic.
7951 * libio/tst-ftell-active-handler.c: New test case.
7952 * libio/Makefile (tests): Add it.
7954 2014-03-03 Roland McGrath <roland@hack.frob.com>
7956 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
7957 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
7959 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7962 * nscd/connections.c (nscd_init): Call do_exit.
7963 (start_threads): Call do_exit and notify_parent.
7964 (begin_drop_privileges): Call do_exit.
7965 (finish_drop_privileges): Likewise.
7966 * nscd/selinux.c (preserve_capabilities): Likewise.
7967 (install_real_capabilities): Likewise.
7968 (nscd_selinux_enabled): Likewise.
7969 (avc_create_thread): Likewise.
7970 (avc_alloc_lock): Likewise.
7971 (nscd_avc_init): Likewise.
7972 * nscd/nscd.c (parent_fd): New static variable.
7973 (main): Create a pipe between parent and child processes.
7974 Skip closing parent_fd.
7975 (monitor_child): New function.
7976 (do_exit): Likewise.
7977 (notify_parent): Likewise.
7978 * nscd/nscd.h (notify_parent): Likewise.
7979 (do_exit): Likewise.
7981 2014-03-03 Carlos O'Donell <carlos@redhat.com>
7983 * malloc/malloc.c (__libc_calloc): Revert last change.
7985 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7987 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7989 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7991 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
7992 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
7994 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7995 (__libc_ifunc_impl_list): Likewise.
7996 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
7997 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
7998 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
7999 * string/strrchr.c: Define STRRCHR.
8001 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
8003 * benchtest/bench-strtok.c (simple_strtok): Delete.
8004 (strtok_string): Use as benchmark.
8005 * string/strtok (STRTOK): New macro.
8007 2014-02-28 Carlos O'Donell <carlos@redhat.com>
8009 * manual/threads.texi: Add header and standard comments to all
8012 * elf/dl-lookup.c (check_match): New function.
8013 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
8014 (do_lookup_x): Remove nested function check_match. Use non-nested
8015 function check_match.
8017 2014-02-28 Roland McGrath <roland@hack.frob.com>
8019 * csu/Makefile (generated, before-compile): Use += rather than =.
8020 * catgets/Makefile (generated, generated-dirs): Likewise.
8021 * debug/Makefile (generated): Likewise.
8022 * dlfcn/Makefile (generated): Likewise.
8023 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
8024 * iconvdata/Makefile (before-compile, generated): Likewise.
8025 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
8026 * libio/Makefile (generated): Likewise.
8027 * malloc/Makefile (generated): Likewise.
8028 * manual/Makefile (generated, generated-dirs): Likewise.
8029 * misc/Makefile (generated): Likewise.
8030 * posix/Makefile (generated): Likewise.
8031 * resolv/Makefile (generated): Likewise.
8032 * sunrpc/Makefile (generated, generated-dirs): Likewise.
8033 * timezone/Makefile (generated, generated-dirs): Likewise.
8035 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
8037 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8039 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
8040 power8 implementation.
8041 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
8042 file: POWER8 llround ifunc implementation.
8043 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
8044 (__lllround): Add POWER8 implementation.
8045 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
8046 POWER8 llround implementation.
8048 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
8049 power8 implementation.
8050 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
8051 file: POWER8 llrint ifunc implementation.
8052 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
8053 Add POWER8 implementation.
8054 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
8055 POWER8 llrint implementation.
8057 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
8058 power8 implementation.
8059 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
8060 file: POWER8 finite ifunc implementation.
8061 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
8062 Add POWER8 implementation.
8063 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
8065 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
8066 POWER8 finite implementation.
8067 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
8069 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
8070 power8 implementation.
8071 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
8072 file: POWER8 isinf ifunc implementation.
8073 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
8074 POWER8 implementation.
8075 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
8077 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
8078 isinf implementation.
8079 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
8081 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
8082 (INIT_ARCH): Add hwcap2 initialization.
8083 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
8084 power8 implementation.
8085 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
8086 file: POWER8 isnan ifunc implementation.
8087 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
8088 POWER8 implementation.
8089 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
8091 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
8092 isnan implementation.
8093 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
8095 2014-02-27 Joey Ye <joey.ye@arm.com>
8097 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
8098 (_FP_NANFRAC_Q): Set to zero.
8100 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8103 * math/auto-libm-test-in: New test inputs.
8104 * math/auto-libm-test-out: Regenerate.
8105 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
8108 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
8110 2014-02-27 Joseph Myers <joseph@codesourcery.com>
8112 * scripts/evaluate-test.sh: Take new argument indicating whether
8113 failure is expected.
8114 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
8115 indicating whether failure is expected.
8116 * conform/Makefile (test-xfail-run-conformtest): New variable.
8117 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
8119 * posix/Makefile (test-xfail-annexc): New variable.
8120 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
8122 2014-02-26 Joseph Myers <joseph@codesourcery.com>
8124 * argp/Makefile: Include Makeconfig immediately after defining
8126 * assert/Makefile: Likewise.
8127 * benchtests/Makefile: Likewise.
8128 * catgets/Makefile: Likewise.
8129 * conform/Makefile: Likewise.
8130 * crypt/Makefile: Likewise.
8131 * csu/Makefile: Likewise.
8132 (all): Remove target.
8133 * ctype/Makefile: Include Makeconfig immediately after defining
8135 * debug/Makefile: Likewise.
8136 * dirent/Makefile: Likewise.
8137 * dlfcn/Makefile: Likewise.
8138 * gmon/Makefile: Likewise.
8139 * gnulib/Makefile: Likewise.
8140 * grp/Makefile: Likewise.
8141 * gshadow/Makefile: Likewise.
8142 * hesiod/Makefile: Likewise.
8143 * hurd/Makefile: Likewise.
8144 (all): Remove target.
8145 * iconvdata/Makefile: Include Makeconfig immediately after
8147 * inet/Makefile: Likewise.
8148 * intl/Makefile: Likewise.
8149 * io/Makefile: Likewise.
8150 * libio/Makefile: Likewise.
8151 (all): Remove target.
8152 * locale/Makefile: Include Makeconfig immediately after defining
8154 * login/Makefile: Likewise.
8155 * mach/Makefile: Likewise.
8156 (all): Remove target.
8157 * malloc/Makefile: Include Makeconfig immediately after defining
8159 (all): Remove target.
8160 * manual/Makefile: Include Makeconfig immediately after defining
8162 * math/Makefile: Likewise.
8163 * misc/Makefile: Likewise.
8164 * nis/Makefile: Likewise.
8165 * nss/Makefile: Likewise.
8166 * po/Makefile: Likewise.
8167 (all): Remove target.
8168 * posix/Makefile: Include Makeconfig immediately after defining
8170 * pwd/Makefile: Likewise.
8171 * resolv/Makefile: Likewise.
8172 * resource/Makefile: Likewise.
8173 * rt/Makefile: Likewise.
8174 * setjmp/Makefile: Likewise.
8175 * shadow/Makefile: Likewise.
8176 * signal/Makefile: Likewise.
8177 * socket/Makefile: Likewise.
8178 * soft-fp/Makefile: Likewise.
8179 * stdio-common/Makefile: Likewise.
8180 * stdlib/Makefile: Likewise.
8181 * streams/Makefile: Likewise.
8182 * string/Makefile: Likewise.
8183 * sunrpc/Makefile: Likewise.
8184 (all): Remove target.
8185 * sysvipc/Makefile: Include Makeconfig immediately after defining
8187 * termios/Makefile: Likewise.
8188 * time/Makefile: Likewise.
8189 * timezone/Makefile: Likewise.
8190 (all): Remove target.
8191 * wcsmbs/Makefile: Include Makeconfig immediately after defining
8193 * wctype/Makefile: Likewise.
8195 2014-02-26 Steve Ellcey <sellcey@mips.com>
8197 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
8198 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
8199 (libc_feholdexcept_setround_mips): Ditto.
8200 (libc_feholdsetround): New.
8201 (libc_feholdsetroundf): New.
8202 (libc_feholdsetroundl): New.
8203 (libc_feupdateenv_test_mips): New.
8204 (libc_feupdateenv_test): New.
8205 (libc_feupdateenv_testf): New.
8206 (libc_feupdateenv_testl): New.
8207 (libc_feresetround): New.
8208 (libc_feresetroundf): New.
8209 (libc_feresetroundl): New.
8210 (libc_fetestexcept_mips): New.
8211 (libc_fetestexcept): New.
8212 (libc_fetestexceptf): New.
8213 (libc_fetestexceptl): New.
8215 (libc_feholdexcept_setround_mips_ctx): New.
8216 (libc_feholdexcept_setround_ctx): New.
8217 (libc_feholdexcept_setroundf_ctx): New.
8218 (libc_feholdexcept_setroundl_ctx): New.
8219 (libc_fesetenv_mips_ctx): New.
8220 (libc_fesetenv_ctx): New.
8221 (libc_fesetenv_ctxf): New.
8222 (libc_fesetenv_ctxl): New.
8223 (libc_feupdateenv_mips_ctx): New.
8224 (libc_feupdateenv_ctx): New.
8225 (libc_feupdateenvf_ctx): New.
8226 (libc_feupdateenvl_ctx): New.
8227 (libc_feholdsetround_mips_ctx): New.
8228 (libc_feholdsetround_ctx): New.
8229 (libc_feholdsetroundf_ctx): New.
8230 (libc_feholdsetroundl_ctx): New.
8231 (libc_feresetround_mips_ctx): New.
8232 (libc_feresetround_ctx): New.
8233 (libc_feresetroundf_ctx): New.
8234 (libc_feresetroundl_ctx): New.
8236 2014-02-26 Carlos O'Donell <carlos@redhat.com>
8238 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
8240 * manual/ipc.texi: New file.
8241 * manual/Makefile (chapters): Add ipc.
8242 * manual/job.texi: Add "Inter-Process Communication" to next.
8243 * manual/process.texi: Add "Inter-Process Communication" to prev.
8245 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8247 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8249 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
8251 * malloc/malloc.c (__libc_calloc): Simplify implementation.
8253 * manual/arith.texi: Fix spaces after sentences.
8254 * manual/charset.texi: Likewise.
8255 * manual/errno.texi: Likewise.
8256 * manual/install.texi: Likewise.
8257 * manual/llio.texi: Likewise.
8258 * manual/locale.texi: Likewise.
8259 * manual/maint.texi: Likewise.
8260 * manual/math.texi: Likewise.
8261 * manual/memory.texi: Likewise.
8262 * manual/message.texi: Likewise.
8263 * manual/probes.texi: Likewise.
8264 * manual/resource.texi: Likewise.
8265 * manual/signal.texi: Likewise.
8266 * manual/socket.texi: Likewise.
8267 * manual/stdio.texi: Likewise.
8268 * manual/string.texi: Likewise.
8269 * manual/time.texi: Likewise.
8270 * manual/users.texi: Likewise.
8272 2014-02-25 Carlos O'Donell <carlos@redhat.com>
8275 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
8276 _DEFAULT_SOURCE is defined.
8278 2014-02-25 Ulrich Drepper <drepper@gmail.com>
8279 Carlos O'Donell <carlos@redhat.com>
8282 * elf/dl-tls.c (_dl_count_modids): New function.
8283 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
8284 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
8285 audit library and increment generation counter.
8286 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
8287 * elf/tst-audit9.c: New file.
8288 * elf/tst-auditmod9a.c: New file.
8289 * elf/tst-auditmod9b.c: New file.
8290 * elf/Makefile: Add rules to build and run tst-audit9.
8292 2014-02-25 Florian Weimer <fweimer@redhat.com>
8295 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
8297 2014-02-25 Will Newton <will.newton@linaro.org>
8299 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
8300 (__longjmp): Restore sp and lr before restoring callee
8301 saved registers. Add longjmp and longjmp_target
8302 SystemTap probe point.
8303 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
8304 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
8305 Define to zero to match jmpbuf layout.
8306 * sysdeps/arm/setjmp.S: Include stap-probe.h.
8307 (__sigsetjmp): Save sp and lr before saving callee
8308 saved registers. Add setjmp SystemTap probe point.
8310 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
8312 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8314 2014-02-24 Andreas Schwab <schwab@suse.de>
8317 * elf/pldd.c (wait_for_ptrace_stop): New function.
8318 (main): Call it after attaching.
8320 2014-02-22 Roland McGrath <roland@hack.frob.com>
8322 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
8323 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
8324 Versions files is now verboten.
8325 * hurd/Versions (libc: GLIBC_2.0):
8326 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
8327 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
8328 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
8329 * mach/Versions: Likewise.
8331 * csu/Versions: Remove unused %include.
8332 * resolv/Versions: Likewise.
8334 2014-02-21 Joseph Myers <joseph@codesourcery.com>
8336 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
8337 ($(objpfx)check-local-headers.out): Likewise.
8338 ($(objpfx)begin-end-check.out): Likewise.
8339 * Makerules (check-abi-%.out): Likewise.
8340 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
8341 ($(objpfx)test2.cat): Likewise.
8342 ($(objpfx)de/libc.cat): Likewise.
8343 ($(objpfx)test-gencat.out): Likewise.
8344 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
8345 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
8346 ($(objpfx)noload-mem): Likewise.
8347 ($(objpfx)tst-pathopt.out): Likewise.
8348 ($(objpfx)tst-rtld-load-self.out): Likewise.
8349 ($(objpfx)tst-array1-cmp.out): Likewise.
8350 ($(objpfx)tst-array1-static-cmp.out): Likewise.
8351 ($(objpfx)tst-array2-cmp.out): Likewise.
8352 ($(objpfx)tst-array3-cmp.out): Likewise.
8353 ($(objpfx)tst-array4-cmp.out): Likewise.
8354 ($(objpfx)tst-array5-cmp.out): Likewise.
8355 ($(objpfx)tst-array5-static-cmp.out): Likewise.
8356 ($(objpfx)check-textrel.out): Likewise.
8357 ($(objpfx)check-execstack.out): Likewise.
8358 ($(objpfx)check-localplt.out): Likewise.
8359 ($(objpfx)order2-cmp.out): Likewise.
8360 ($(objpfx)tst-leaks1-mem): Likewise.
8361 ($(objpfx)tst-leaks1-static-mem): Likewise.
8362 ($(objpfx)tst-initorder-cmp.out): Likewise.
8363 ($(objpfx)tst-initorder2-cmp.out): Likewise.
8364 ($(objpfx)tst-unused-dep.out): Likewise.
8365 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
8366 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
8367 * iconv/Makefile (test-iconvconfig): Likewise.
8368 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
8369 ($(objpfx)iconv-test.out): Likewise.
8370 ($(objpfx)tst-tables.out): Likewise.
8371 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
8372 ($(objpfx)tst-gettext.out): Likewise.
8373 ($(objpfx)tst-translit.out): Likewise.
8374 ($(objpfx)tst-gettext2.out): Likewise.
8375 ($(objpfx)tst-gettext4.out): Likewise.
8376 ($(objpfx)tst-gettext6.out): Likewise.
8377 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
8378 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
8379 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
8380 ($(objpfx)tst-fopenloc-mem.out): Likewise.
8381 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
8382 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
8383 * posix/Makefile ($(objpfx)globtest.out): Likewise.
8384 ($(objpfx)wordexp-tst.out): Likewise.
8385 ($(objpfx)annexc.out): Likewise.
8386 ($(objpfx)tst-fnmatch-mem): Likewise.
8387 ($(objpfx)bug-regex2-mem): Likewise.
8388 ($(objpfx)bug-regex14-mem): Likewise.
8389 ($(objpfx)bug-regex21-mem): Likewise.
8390 ($(objpfx)bug-regex31-mem): Likewise.
8391 ($(objpfx)tst-vfork3-mem): Likewise.
8392 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8393 ($(objpfx)tst-pcre-mem): Likewise.
8394 ($(objpfx)tst-boost-mem): Likewise.
8395 ($(objpfx)tst-getconf.out): Likewise.
8396 ($(objpfx)bug-ga2-mem): Likewise.
8397 ($(objpfx)bug-glob2-mem): Likewise.
8398 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
8399 ($(objpfx)mtrace-tst-leaks2): Likewise.
8400 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
8401 ($(objpfx)tst-printf.out): Likewise.
8402 ($(objpfx)tst-setvbuf1.out): Likewise.
8403 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
8404 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
8405 ($(objpfx)tst-fmtmsg.out): Likewise.
8406 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
8407 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
8409 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
8410 * bits/sigaction.h [__USE_MISC]: Likewise.
8411 * bits/waitstatus.h: Update #endif comments.
8412 * ctype/ctype.h: Likewise.
8413 * dirent/dirent.h: Likewise.
8414 [__USE_MISC]: Remove redundant conditionals.
8415 * grp/grp.h: Update #endif comments.
8416 [__USE_GNU]: Remove redundant conditionals.
8417 [__USE_MISC]: Likewise.
8418 * inet/netinet/in.h [__USE_GNU]: Likewise.
8419 * io/sys/stat.h [__USE_MISC]: Likewise.
8420 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
8421 * libio/bits/stdio.h: Update #endif comments.
8422 [__USE_MISC]: Remove redundant conditionals.
8423 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
8424 * libio/stdio.h: Update #endif comments.
8425 [__USE_MISC]: Remove redundant conditionals.
8426 * math/bits/math-finite.h [__USE_MISC]: Likewise.
8427 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
8428 * math/math.h: Update #else and #endif comments.
8429 [__USE_MISC]: Remove redundant conditionals.
8430 * misc/sys/uio.h: Update #endif comments.
8431 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
8432 * posix/glob.h [__USE_MISC]: Likewise.
8433 * posix/sys/types.h: Update #endif comments.
8434 [__USE_MISC]: Remove redundant conditionals.
8435 * posix/sys/wait.h: Update #endif comments.
8436 [__USE_MISC]: Remove redundant conditionals.
8437 * posix/unistd.h: Update #endif comments.
8438 [__USE_MISC]: Remove redundant conditionals.
8439 * pwd/pwd.h [__USE_GNU]: Likewise.
8440 [__USE_MISC]: Likewise.
8441 * resolv/netdb.h [__USE_GNU]: Likewise.
8442 * signal/signal.h: Update #endif comments.
8443 [__USE_MISC]: Remove redundant conditionals.
8444 * stdlib/stdlib.h: Update #else and #endif comments.
8445 [__USE_MISC]: Remove redundant conditionals.
8446 [__USE_GNU]: Likewise.
8447 * string/bits/string2.h [__USE_MISC]: Likewise.
8448 * string/string.h: Update #endif comments.
8449 [__USE_MISC]: Remove redundant conditionals.
8450 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
8452 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
8453 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
8454 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
8456 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
8458 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
8460 [__USE_MISC]: Remove redundant conditionals.
8461 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
8462 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
8463 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
8464 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
8465 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
8467 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
8468 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
8470 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
8471 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
8473 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
8475 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
8476 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
8478 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
8480 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
8481 * sysdeps/x86/bits/string.h: Update #endif comments.
8482 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
8484 * time/sys/time.h: Update #endif comments.
8485 * time/time.h: Likewise.
8486 [__USE_MISC]: Remove redundant conditionals.
8488 2014-02-21 Yury Gribov <y.gribov@samsung.com>
8491 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
8493 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
8495 * Versions.def (librt): Add GLIBC_2.17.
8497 2014-02-21 Adam Conrad <adconrad@0c3.net>
8499 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
8500 synonym for _SYS_AUXV_H to allow direct inclusion.
8501 * sysdeps/sparc/bits/hwcap.h: Likewise.
8502 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
8503 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
8504 * sysdeps/sparc/sysdep.h: Likewise.
8506 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8508 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
8510 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8512 * benchtests/bench-strrchr.c: Print length instead of position.
8514 2014-02-20 Joseph Myers <joseph@codesourcery.com>
8517 * sysdeps/unix/sysv/linux/kernel-features.h
8518 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
8519 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
8520 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
8521 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
8523 [__i386__ || __powerpc__ || __sh__ || __sparc__]
8524 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8525 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
8526 (__ASSUME_SENDMMSG): Define instead of using previous
8527 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
8528 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8529 (__ASSUME_SENDMMSG_SYSCALL): Define.
8530 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8531 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
8533 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8534 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8536 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8537 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8539 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
8540 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
8541 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
8542 [__ASSUME_SENDMMSG]: Change conditionals to
8543 [__ASSUME_SENDMMSG_SOCKETCALL].
8544 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8545 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
8547 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8548 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
8550 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
8551 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
8552 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
8553 [!__ASSUME_SENDMMSG]: Change conditional to
8554 [!__ASSUME_SENDMMSG_SOCKETCALL].
8555 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8556 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8560 * sysdeps/unix/sysv/linux/kernel-features.h
8561 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
8562 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
8563 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
8564 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
8565 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8566 [__i386__ || __sparc__]
8567 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8568 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
8569 (__ASSUME_RECVMMSG): Define instead of using previous
8570 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
8571 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8572 (__ASSUME_RECVMMSG_SYSCALL): Define.
8573 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8574 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8576 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8577 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8579 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8580 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8582 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
8583 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8584 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8585 [__ASSUME_RECVMMSG]: Change condition to
8586 [__ASSUME_RECVMMSG_SOCKETCALL].
8587 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8588 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8590 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8591 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8592 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8594 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
8595 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8596 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8597 [!__ASSUME_RECVMMSG]: Change condition to
8598 [!__ASSUME_RECVMMSG_SOCKETCALL].
8599 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8600 (__ASSUME_RECVMMSG_SYSCALL): Define.
8603 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
8604 __powerpc__ || __s390__ || __sh__ || __sparc__]
8605 (__ASSUME_SOCKETCALL): Define.
8606 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
8607 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
8608 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
8609 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
8610 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8611 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
8612 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
8613 (__ASSUME_ACCEPT4): Define instead of using previous
8614 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
8615 __powerpc__ || __sparc__ || __s390__)] condition.
8616 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8617 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8618 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
8619 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8620 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8621 [!__ASSUME_ACCEPT4]: Change condition to
8622 [!__ASSUME_ACCEPT4_SOCKETCALL].
8623 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8624 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
8625 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
8626 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8627 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
8628 __ASSUME_ACCEPT4_SYSCALL.
8629 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
8630 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
8631 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8632 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
8633 __ASSUME_ACCEPT4_SYSCALL.
8634 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
8635 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8636 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8637 [__ASSUME_ACCEPT4]: Change condition to
8638 [__ASSUME_ACCEPT4_SOCKETCALL].
8639 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8640 (__ASSUME_SOCKETCALL): Define.
8641 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
8642 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8643 (__ASSUME_SOCKETCALL): Define.
8644 (__ASSUME_ACCEPT4): Remove.
8645 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
8647 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8648 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
8650 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8651 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8653 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
8655 (HWCAP_ARM_LPAE): Likewise.
8656 (HWCAP_ARM_EVTSTRM): Likewise.
8657 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
8658 Add vpfd32, lpae and evtstrm.
8659 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
8662 2014-02-19 Joseph Myers <joseph@codesourcery.com>
8664 * math/auto-libm-test-in: Add tests of clog10.
8665 * math/auto-libm-test-out: Regenerated.
8666 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
8667 * sysdeps/i386/fpu/libm-test-ulps: Update.
8668 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8670 2014-02-18 Andreas Schwab <schwab@suse.de>
8673 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
8674 Store non-zero if the second buffer was newly allocated.
8675 (send_dg): Likewise.
8676 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
8677 to send_vc and send_dg.
8678 (res_nsend): Pass NULL for ansp2_malloced.
8679 * resolv/res_query.c (__libc_res_nquery): Add parameter
8680 answerp2_malloced and pass it down to __libc_res_nsend.
8681 (res_nquery): Pass additional NULL to __libc_res_nquery.
8682 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
8683 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
8684 second answer buffer if answerp2_malloced was set.
8685 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
8686 (__libc_res_nquerydomain): Add parameter
8687 answerp2_malloced and pass it down to __libc_res_nquery.
8688 (res_nquerydomain): Pass additional NULL to
8689 __libc_res_nquerydomain.
8690 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
8691 additional NULL to __libc_res_nsend and __libc_res_nquery.
8692 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
8693 additional NULL to __libc_res_nsearch.
8694 (_nss_dns_gethostbyname4_r): Revert last change. Use new
8695 parameter of __libc_res_nsearch to check for separately allocated
8697 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
8699 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
8700 additional NULL to __libc_res_nquery.
8701 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
8703 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
8704 * include/resolv.h: Update prototypes of __libc_res_nquery,
8705 __libc_res_nsearch, __libc_res_nsend.
8707 2014-02-18 Joseph Myers <joseph@codesourcery.com>
8709 * math/auto-libm-test-in: Add tests of fma.
8710 * math/auto-libm-test-out: Regenerated.
8711 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
8712 (fma_towardzero_test_data): Likewise.
8713 (fma_downward_test_data): Likewise.
8714 (fma_upward_test_data): Likewise.
8715 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
8717 (rounding_modes): Add values for new field.
8718 (func_calc_method): Add value mpfr_fff_f.
8719 (func_calc_desc): Add mpfr_fff_f union field.
8720 (test_function): Add field exact_args.
8721 (FUNC): Add macro argument EXACT_ARGS.
8722 (FUNC_mpfr_f_f): Update call to FUNC.
8723 (FUNC_mpfr_f_f): Likewise.
8724 (FUNC_mpfr_ff_f): Likewise.
8725 (FUNC_mpfr_if_f): Likewise.
8726 (FUNC_mpc_c_f): Likewise.
8727 (FUNC_mpc_c_c): Likewise.
8728 (test_functions): Add fma. Update calls to FUNC.
8729 (handle_input_arg): Add argument exact_args.
8730 (add_test): Update call to handle_input_arg.
8731 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
8732 (output_for_one_input_case): Update call to calc_generic_results.
8733 Recalculate exact zero results in each rounding mode.
8735 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
8736 non-negative before setting low bit.
8737 * math/auto-libm-test-in: Mark one asin test possibly having
8739 * math/auto-libm-test-out: Regenerated.
8740 * sysdeps/i386/fpu/libm-test-ulps: Update.
8741 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8743 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
8745 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
8746 * sysdeps/unix/sysv/linux/microblaze: Move directory from
8747 ports/sysdeps/unix/sysv/linux/microblaze.
8748 * README: Add missing listing for microblaze*-*-linux-gnu.
8750 2014-02-16 Mike Frysinger <vapier@gentoo.org>
8752 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
8753 * sysdeps/unix/sysv/linux/ia64: Move directory from
8754 ports/sysdeps/unix/sysv/linux/ia64.
8755 * README: Update listing for ia64-*-linux-gnu.
8757 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
8758 Joseph Myers <joseph@codesourcery.com>
8760 * Makeconfig (test-name): New variable.
8761 (evaluate-test): Likewise.
8762 * Makerules (do-test-clean): Remove .test-result files.
8763 (common-mostlyclean): Likewise.
8764 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
8765 * scripts/evaluate-test.sh: New file.
8767 2014-02-14 Joseph Myers <joseph@codesourcery.com>
8769 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
8770 separate $(objpfx)tst-fopenloc-cmp.out and
8771 $(objpfx)tst-fopenloc-mem.out targets.
8772 (tests): Update dependencies.
8773 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
8774 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
8775 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
8776 (tst-rxspencer-no-utf8-ARGS): New variable.
8777 (tst-rxspencer-no-utf8-ENV): Likewise.
8778 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
8779 instead of $(objpfx)tst-rxspencer-mem.
8780 ($(objpfx)tst-rxspencer-mem): Change target to
8781 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
8782 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
8783 * posix/tst-rxspencer-no-utf8.c: New file.
8785 * elf/Makefile ($(objpfx)order.out): Remove rule.
8786 [$(run-built-tests) = yes] (tests): Depend on
8787 $(objpfx)order-cmp.out.
8788 ($(objpfx)order-cmp.out): New rule.
8789 [$(run-built-tests) = yes] (tests): Depend on
8790 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
8791 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
8792 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
8793 $(objpfx)tst-array5-static-cmp.out.
8794 ($(objpfx)tst-array1.out): Remove rule.
8795 ($(objpfx)tst-array1-cmp.out): New rule.
8796 ($(objpfx)tst-array1-static.out): Remove rule.
8797 ($(objpfx)tst-array1-static-cmp.out): New rule.
8798 ($(objpfx)tst-array2.out): Remove rule.
8799 ($(objpfx)tst-array2-cmp.out): New rule.
8800 ($(objpfx)tst-array3.out): Remove rule.
8801 ($(objpfx)tst-array3-cmp.out): New rule.
8802 ($(objpfx)tst-array4.out): Remove rule.
8803 ($(objpfx)tst-array4-cmp.out): New rule.
8804 ($(objpfx)tst-array5.out): Remove rule.
8805 ($(objpfx)tst-array5-cmp.out): New rule.
8806 ($(objpfx)tst-array5-static.out): Remove rule.
8807 ($(objpfx)tst-array5-static-cmp.out): New rule.
8808 [$(run-built-tests) = yes] (tests): Depend on
8809 $(objpfx)order2-cmp.out.
8810 ($(objpfx)order2.out): Remove rule.
8811 ($(objpfx)order2-cmp.out): New rule.
8812 ($(objpfx)tst-initorder.out): Remove rule.
8813 [$(run-built-tests) = yes] (tests): Depend on
8814 $(objpfx)tst-initorder-cmp.out.
8815 ($(objpfx)tst-initorder-cmp.out): New rule.
8816 ($(objpfx)tst-initorder2.out): Remove rule.
8817 [$(run-built-tests) = yes] (tests): Depend on
8818 $(objpfx)tst-initorder2-cmp.out.
8819 ($(objpfx)tst-initorder2-cmp.out): New rule.
8820 [$(run-built-tests) = yes] (tests): Depend on
8821 $(objpfx)tst-unused-dep-cmp.out.
8822 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
8823 ($(objpfx)tst-unused-dep-cmp.out): New rule.
8824 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
8825 on $(objpfx)tst-setvbuf1-cmp.out.
8826 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
8827 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
8828 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
8829 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
8830 ($(objpfx)tst-svc.out): Remove rule.
8831 ($(objpfx)tst-svc-cmp.out): New rule.
8833 2014-02-13 Joseph Myers <joseph@codesourcery.com>
8835 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
8836 * ctype/ctype.h [__USE_MISC]: Likewise.
8837 * dirent/dirent.h [__USE_MISC]: Likewise.
8838 * grp/grp.h [__USE_MISC]: Likewise.
8839 * io/fcntl.h [__USE_MISC]: Likewise.
8840 * io/sys/stat.h [__USE_MISC]: Likewise.
8841 * libio/stdio.h [__USE_MISC]: Likewise.
8842 * posix/unistd.h [__USE_MISC]: Likewise.
8843 * pwd/pwd.h [__USE_MISC]: Likewise.
8844 * stdlib.h [__USE_MISC]: Likewise.
8845 * string/bits/string2.h [__USE_MISC]: Likewise.
8846 * string/string.h [__USE_MISC]: Likewise.
8847 * time/time.h [__USE_MISC]: Likewise.
8849 2014-02-13 Andreas Schwab <schwab@suse.de>
8852 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
8853 second answer buffer if it was separately allocated.
8855 2014-02-12 Joseph Myers <joseph@codesourcery.com>
8857 * sysdeps/mips/math-tests.h: Include <features.h>.
8858 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
8859 (ROUNDING_TESTS_long_double): Do not define.
8860 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
8861 (EXCEPTION_TESTS_long_double): Likewise.
8862 * sysdeps/mips/mips64/libm-test-ulps: Update.
8864 * include/features.h (__USE_BSD): Remove macro definitions.
8865 (__USE_SVID): Likewise.
8866 (_BSD_SOURCE): Likewise.
8867 (_SVID_SOURCE): Likewise.
8868 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
8869 from definition of _DEFAULT_SOURCE.
8870 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
8872 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
8873 * bits/mman.h [__USE_BSD]: Likewise.
8874 * bits/termios.h [__USE_BSD]: Likewise.
8875 * bits/waitstatus.h [__USE_BSD]: Likewise.
8876 * ctype/ctype.h [__USE_SVID]: Likewise.
8877 * dirent/dirent.h [__USE_BSD]: Likewise.
8878 * grp/grp.h [__USE_SVID]: Likewise.
8879 [__USE_BSD]: Likewise.
8880 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
8881 * io/fcntl.h [__USE_BSD]: Likewise.
8882 * io/ftw.h [__USE_BSD]: Likewise.
8883 * io/sys/stat.h [__USE_BSD]: Likewise.
8884 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
8885 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
8886 * libio/stdio.h [__USE_SVID]: Likewise.
8887 [__USE_BSD]: Likewise.
8888 * math/math.h [__USE_SVID]: Likewise.
8889 [__USE_BSD]: Likewise.
8890 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
8891 * misc/bits/syslog.h [__USE_BSD]: Likewise.
8892 * misc/search.h [__USE_SVID]: Likewise.
8893 * misc/sys/mman.h [__USE_BSD]: Likewise.
8894 * misc/sys/syslog.h [__USE_BSD]: Likewise.
8895 * misc/sys/uio.h [__USE_BSD]: Likewise.
8896 * posix/bits/unistd.h [__USE_BSD]: Likewise.
8897 * posix/glob.h [__USE_BSD]: Likewise.
8898 * posix/regex.h [__USE_BSD]: Likewise.
8899 * posix/sys/types.h [__USE_BSD]: Likewise.
8900 [__USE_SVID]: Likewise.
8901 * posix/sys/utsname.h [__USE_SVID]: Likewise.
8902 * posix/sys/wait.h [__USE_BSD]: Likewise.
8903 [__USE_SVID]: Likewise.
8904 * posix/unistd.h [__USE_BSD]: Likewise.
8905 [__USE_SVID]: Likewise.
8906 * pwd/pwd.h [__USE_SVID]: Likewise.
8907 * resolv/netdb.h [__USE_BSD]: Likewise.
8908 * setjmp/setjmp.h [__USE_BSD]: Likewise.
8909 * signal/signal.h [__USE_BSD]: Likewise.
8910 [__USE_SVID]: Likewise.
8911 * socket/sys/socket.h [__USE_BSD]: Likewise.
8912 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
8913 * stdlib/stdlib.h [__USE_BSD]: Likewise.
8914 [__USE_SVID]: Likewise.
8915 * string/bits/string2.h [__USE_BSD]: Likewise.
8916 [__USE_SVID]: Likewise.
8917 * string/bits/string3.h [__USE_BSD]: Likewise.
8918 * string/endian.h [__USE_BSD]: Likewise.
8919 * string/string.h [__USE_SVID]: Likewise.
8920 [__USE_BSD]: Likewise.
8921 * string/strings.h [__USE_BSD]: Likewise.
8922 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
8923 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
8924 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
8925 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
8926 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
8927 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
8929 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
8931 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
8932 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
8934 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
8935 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
8937 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
8939 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
8940 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
8941 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
8943 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
8945 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
8946 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
8947 * termios/termios.h [__USE_BSD]: Likewise.
8948 * time/sys/time.h [__USE_BSD]: Likewise.
8949 * time/time.h [__USE_BSD]: Likewise.
8950 [__USE_SVID]: Likewise.
8952 * Makefile (subdir_targets): Remove subdir_lint.out.
8954 * stdio-common/Makefile (do-tst-unbputc): Remove target.
8955 (do-tst-printf): Likewise.
8956 (tests): Depend directly on $(objpfx)tst-unbputc.out and
8957 $(objpfx)tst-printf.out.
8959 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
8961 * Makerules (check-abi-%): Change target to
8962 $(objpfx)check-abi-%.out.
8963 (check-abi target): Update dependencies.
8964 (check-abi-pattern variable): Redirect output of diff to $@.
8965 (check-abi variable): Likewise.
8966 * elf/Makefile (check-abi): Update dependencies.
8968 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
8970 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
8971 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
8973 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
8974 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
8975 value has largest subnormal exponent.
8976 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
8977 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
8978 * sysdeps/aarch64/soft-fp/sfp-machine.h
8979 (_FP_TININESS_AFTER_ROUNDING): New macro.
8980 * sysdeps/alpha/soft-fp/sfp-machine.h
8981 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8982 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8984 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
8985 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8986 * sysdeps/mips/soft-fp/sfp-machine.h
8987 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8988 * sysdeps/powerpc/soft-fp/sfp-machine.h
8989 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8990 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8992 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
8993 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8994 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
8995 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8996 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8999 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
9002 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
9005 2014-02-12 Richard Henderson <rth@redhat.com>
9007 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
9008 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
9009 * sysdeps/unix/sysv/linux/alpha: Move directory from
9010 ports/sysdeps/unix/sysv/linux/alpha.
9011 * README: Update listing for alpha-*-linux-gnu.
9013 2014-02-11 Joseph Myers <joseph@codesourcery.com>
9015 * include/features.h: Update comment documenting feature test
9017 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
9019 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
9020 (_SVID_SOURCE): Likewise.
9021 (_DEFAULT_SOURCE): Update description of default features.
9022 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
9024 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
9025 (S_ISVTX): Likewise.
9026 * manual/math.texi (Mathematical Constants): Likewise.
9027 * manual/signal.texi (Interrupted Primitives): Likewise.
9028 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
9029 * math/test-matherr.c (_SVID_SOURCE): Do not define.
9030 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
9031 Don't refer to _SVID_SOURCE in warning text.
9033 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9035 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
9037 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
9038 * sysdeps/mips/dl-lookup.c: Remove.
9039 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
9041 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
9044 * math/auto-libm-test-in: Add testcase for expl.
9045 * math/auto-libm-test-out: Regenerate.
9046 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
9047 calculation of unsafe.
9048 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
9050 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
9052 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
9053 * sysdeps/unix/sysv/linux/aarch64: Move directory from
9054 ports/sysdeps/unix/sysv/linux/aarch64.
9055 * README: Update listing for aarch64*-*-linux-gnu.
9057 2014-02-11 Will Newton <will.newton@linaro.org>
9059 * manual/probes.texi (Mathematical Function Probes): Use
9060 "triggered" instead of "hit".
9062 * manual/probes.texi (Internal Probes): Add documentation
9063 of setjmp, longjmp and longjmp_target probes.
9065 * include/stap-probe.h: Add comment about probe argument
9068 * malloc/mtrace.c (attribute_hidden): Remove unused macro
9069 definition. (tr_where, tr_freehook, tr_mallochook,
9070 tr_reallochook, tr_memalignhook): Use ANSI protoype.
9072 2014-02-11 David S. Miller <davem@davemloft.net>
9074 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
9075 processing int_tests.
9077 2014-02-10 Joseph Myers <joseph@codesourcery.com>
9079 * sysdeps/mips: Move directory from ports/sysdeps/mips.
9080 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
9081 * sysdeps/unix/sysv/linux/mips: Move directory from
9082 ports/sysdeps/unix/sysv/linux/mips.
9083 * README: Update listing for mips-*-linux-gnu and
9086 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
9088 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
9089 * sysdeps/unix/sysv/linux/m68k: Move directory from
9090 ports/sysdeps/unix/sysv/linux/m68k.
9091 * README: Update listing for m68k-*-linux-gnu.
9093 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
9095 * sysdeps/tile: Move directory from ports/sysdeps/tile.
9096 * sysdeps/unix/sysv/linux/generic: Move directory from
9097 ports/sysdeps/unix/sysv/linux/generic.
9098 * sysdeps/unix/sysv/linux/tile: Move directory from
9099 ports/sysdeps/unix/sysv/linux/tile.
9100 * README: Update listing for tile*-*-linux-gnu.
9102 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
9104 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
9106 * benchtests/bench-memmem.c (simple_memmem): Likewise.
9107 * catgets/open_catalog.c (__open_catalog): Likewise.
9108 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
9109 * debug/confstr_chk.c: Likewise.
9110 * debug/fread_chk.c (__fread_chk): Likewise.
9111 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
9112 * debug/getgroups_chk.c: Likewise.
9113 * debug/mbsnrtowcs_chk.c: Likewise.
9114 * debug/mbsrtowcs_chk.c: Likewise.
9115 * debug/mbstowcs_chk.c: Likewise.
9116 * debug/memcpy_chk.c: Likewise.
9117 * debug/memmove_chk.c: Likewise.
9118 * debug/mempcpy_chk.c: Likewise.
9119 * debug/memset_chk.c: Likewise.
9120 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
9121 * debug/strcat_chk.c (__strcat_chk): Likewise.
9122 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
9123 * debug/strncat_chk.c (__strncat_chk): Likewise.
9124 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
9125 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
9126 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
9127 * debug/wcpncpy_chk.c: Likewise.
9128 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
9129 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
9130 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
9131 * debug/wcsncpy_chk.c: Likewise.
9132 * debug/wcsnrtombs_chk.c: Likewise.
9133 * debug/wcsrtombs_chk.c: Likewise.
9134 * debug/wcstombs_chk.c: Likewise.
9135 * debug/wmemcpy_chk.c: Likewise.
9136 * debug/wmemmove_chk.c: Likewise.
9137 * debug/wmempcpy_chk.c: Likewise.
9138 * debug/wmemset_chk.c: Likewise.
9139 * dirent/scandirat.c (SCANDIRAT): Likewise.
9140 * dlfcn/dladdr1.c (dladdr1): Likewise.
9141 * dlfcn/dladdr.c (dladdr): Likewise.
9142 * dlfcn/dlclose.c (dlclose_doit): Likewise.
9143 * dlfcn/dlerror.c (__dlerror): Likewise.
9144 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
9145 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
9146 * dlfcn/dlopen.c (dlopen_doit): Likewise.
9147 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
9148 * dlfcn/dlsym.c (dlsym_doit): Likewise.
9149 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
9150 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
9151 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
9153 * elf/dl-conflict.c: Likewise.
9154 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
9155 * elf/dl-dst.h: Likewise.
9156 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
9157 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
9158 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
9159 * elf/dl-init.c (call_init, _dl_init): Likewise.
9160 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
9161 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
9162 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
9164 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
9166 * elf/dl-minimal.c (__libc_memalign): Likewise.
9167 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
9168 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
9169 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
9170 * elf/dl-sym.c (do_sym): Likewise.
9171 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
9172 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
9173 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
9174 * elf/dl-writev.h (_dl_writev): Likewise.
9175 * elf/ldconfig.c (search_dir): Likewise.
9176 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
9177 (dl_main): Likewise.
9178 * elf/setup-vdso.h (setup_vdso): Likewise.
9179 * grp/compat-initgroups.c (compat_call): Likewise.
9180 * grp/fgetgrent.c (fgetgrent): Likewise.
9181 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
9182 * grp/putgrent.c (putgrent): Likewise.
9183 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
9185 * hurd/hurdinit.c: Likewise.
9186 * iconvdata/8bit-gap.c (struct): Likewise.
9187 * iconvdata/ansi_x3.110.c : Likewise.
9188 * iconvdata/big5.c : Likewise.
9189 * iconvdata/big5hkscs.c : Likewise.
9190 * iconvdata/cp1255.c: Likewise.
9191 * iconvdata/cp1258.c : Likewise.
9192 * iconvdata/cp932.c : Likewise.
9193 * iconvdata/euc-cn.c: Likewise.
9194 * iconvdata/euc-jisx0213.c : Likewise.
9195 * iconvdata/euc-jp.c: Likewise.
9196 * iconvdata/euc-jp-ms.c : Likewise.
9197 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
9198 * iconvdata/gb18030.c : Likewise.
9199 * iconvdata/gbbig5.c (const): Likewise.
9200 * iconvdata/gbgbk.c: Likewise.
9201 * iconvdata/gbk.c : Likewise.
9202 * iconvdata/ibm1364.c : Likewise.
9203 * iconvdata/ibm930.c : Likewise.
9204 * iconvdata/ibm932.c: Likewise.
9205 * iconvdata/ibm933.c : Likewise.
9206 * iconvdata/ibm935.c : Likewise.
9207 * iconvdata/ibm937.c : Likewise.
9208 * iconvdata/ibm939.c : Likewise.
9209 * iconvdata/ibm943.c: Likewise.
9210 * iconvdata/iso_11548-1.c: Likewise.
9211 * iconvdata/iso-2022-cn.c : Likewise.
9212 * iconvdata/iso-2022-cn-ext.c : Likewise.
9213 * iconvdata/iso-2022-jp-3.c: Likewise.
9214 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
9215 * iconvdata/iso-2022-kr.c : Likewise.
9216 * iconvdata/iso646.c (gconv_end): Likewise.
9217 * iconvdata/iso_6937-2.c : Likewise.
9218 * iconvdata/iso_6937.c : Likewise.
9219 * iconvdata/iso8859-1.c: Likewise.
9220 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
9221 * iconvdata/shift_jisx0213.c : Likewise.
9222 * iconvdata/sjis.c : Likewise.
9223 * iconvdata/t.61.c : Likewise.
9224 * iconvdata/tcvn5712-1.c : Likewise.
9225 * iconvdata/tscii.c: Likewise.
9226 * iconvdata/uhc.c : Likewise.
9227 * iconvdata/unicode.c (gconv_end): Likewise.
9228 * iconvdata/utf-16.c (gconv_end): Likewise.
9229 * iconvdata/utf-32.c (gconv_end): Likewise.
9230 * iconvdata/utf-7.c (base64): Likewise.
9231 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
9232 * iconv/gconv_close.c (__gconv_close): Likewise.
9233 * iconv/gconv_open.c (__gconv_open): Likewise.
9234 * iconv/gconv_simple.c (internal_ucs4_loop_single)
9235 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
9236 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
9237 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
9238 (ucs4le_internal_loop_single): Likewise.
9239 * iconv/iconv.c (iconv): Likewise.
9240 * iconv/iconv_close.c: Likewise.
9241 * iconv/loop.c (SINGLE): Likewise.
9242 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
9243 * include/atomic.h: Likewise.
9244 * inet/inet6_option.c (option_alloc): Likewise.
9245 * intl/bindtextdom.c (set_binding_values): Likewise.
9246 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
9247 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
9248 * intl/localealias.c (read_alias_file): Likewise.
9249 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
9250 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
9251 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
9252 * libio/fmemopen.c (fmemopen): Likewise.
9253 * libio/iofgets.c (_IO_fgets): Likewise.
9254 * libio/iofgets_u.c (fgets_unlocked): Likewise.
9255 * libio/iofgetws.c (fgetws): Likewise.
9256 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
9257 * libio/iogetdelim.c (_IO_getdelim): Likewise.
9258 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
9259 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
9260 * locale/findlocale.c (_nl_find_locale): Likewise.
9261 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
9262 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
9264 * locale/setlocale.c (setlocale): Likewise.
9265 * login/programs/pt_chown.c (main): Likewise.
9266 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
9267 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
9268 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
9269 (mmap, mmap64, mremap, munmap): Likewise.
9270 * math/e_exp2l.c: Likewise.
9271 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
9272 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
9273 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
9274 * math/s_catan.c (__catan): Likewise.
9275 * math/s_catanf.c (__catanf): Likewise.
9276 * math/s_catanh.c (__catanh): Likewise.
9277 * math/s_catanhf.c (__catanhf): Likewise.
9278 * math/s_catanhl.c (__catanhl): Likewise.
9279 * math/s_catanl.c (__catanl): Likewise.
9280 * math/s_ccosh.c (__ccosh): Likewise.
9281 * math/s_ccoshf.c (__ccoshf): Likewise.
9282 * math/s_ccoshl.c (__ccoshl): Likewise.
9283 * math/s_cexp.c (__cexp): Likewise.
9284 * math/s_cexpf.c (__cexpf): Likewise.
9285 * math/s_cexpl.c (__cexpl): Likewise.
9286 * math/s_clog10.c (__clog10): Likewise.
9287 * math/s_clog10f.c (__clog10f): Likewise.
9288 * math/s_clog10l.c (__clog10l): Likewise.
9289 * math/s_clog.c (__clog): Likewise.
9290 * math/s_clogf.c (__clogf): Likewise.
9291 * math/s_clogl.c (__clogl): Likewise.
9292 * math/s_csin.c (__csin): Likewise.
9293 * math/s_csinf.c (__csinf): Likewise.
9294 * math/s_csinh.c (__csinh): Likewise.
9295 * math/s_csinhf.c (__csinhf): Likewise.
9296 * math/s_csinhl.c (__csinhl): Likewise.
9297 * math/s_csinl.c (__csinl): Likewise.
9298 * math/s_csqrt.c (__csqrt): Likewise.
9299 * math/s_csqrtf.c (__csqrtf): Likewise.
9300 * math/s_csqrtl.c (__csqrtl): Likewise.
9301 * math/s_ctan.c (__ctan): Likewise.
9302 * math/s_ctanf.c (__ctanf): Likewise.
9303 * math/s_ctanh.c (__ctanh): Likewise.
9304 * math/s_ctanhf.c (__ctanhf): Likewise.
9305 * math/s_ctanhl.c (__ctanhl): Likewise.
9306 * math/s_ctanl.c (__ctanl): Likewise.
9307 * math/w_pow.c: Likewise.
9308 * math/w_powf.c: Likewise.
9309 * math/w_powl.c: Likewise.
9310 * math/w_scalb.c (sysv_scalb): Likewise.
9311 * math/w_scalbf.c (sysv_scalbf): Likewise.
9312 * math/w_scalbl.c (sysv_scalbl): Likewise.
9313 * misc/error.c (error_tail): Likewise.
9314 * misc/pselect.c (__pselect): Likewise.
9315 * nis/nis_callback.c (__nis_create_callback): Likewise.
9316 * nis/nis_call.c (__nisfind_server): Likewise.
9317 * nis/nis_creategroup.c (nis_creategroup): Likewise.
9318 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
9319 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
9320 * nis/nis_getservlist.c (nis_getservlist): Likewise.
9321 * nis/nis_lookup.c (nis_lookup): Likewise.
9322 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
9323 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
9324 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
9325 * nis/nis_xdr.c (xdr_endpoint): Likewise.
9326 * nis/nss_compat/compat-grp.c (getgrent_next_file)
9327 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
9328 * nis/nss_compat/compat-initgroups.c (add_group)
9329 (internal_getgrent_r): Likewise.
9330 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
9331 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
9332 * nis/nss_compat/compat-spwd.c (getspent_next_file)
9333 (internal_getspnam_r): Likewise.
9334 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
9335 (_nss_nis_getaliasbyname_r): Likewise.
9336 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
9337 (_nss_nis_getntohost_r): Likewise.
9338 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
9339 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
9340 (_nss_nis_getgrgid_r): Likewise.
9341 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
9342 (internal_nis_gethostent_r, internal_gethostbyname2_r)
9343 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
9344 (_nss_nis_gethostbyname4_r): Likewise.
9345 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
9346 (initgroups_netid): Likewise.
9347 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
9348 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
9349 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
9350 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
9351 (_nss_nis_getprotobynumber_r): Likewise.
9352 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
9353 (_nss_nis_getsecretkey): Likewise.
9354 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
9355 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
9356 (_nss_nis_getpwuid_r): Likewise.
9357 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
9358 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
9359 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
9360 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
9361 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
9362 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
9363 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
9365 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
9366 (_nss_nisplus_getntohost_r): Likewise.
9367 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
9368 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
9369 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
9370 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
9372 * nis/nss_nisplus/nisplus-initgroups.c
9373 (_nss_nisplus_initgroups_dyn): Likewise.
9374 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
9375 (_nss_nisplus_getnetbyaddr_r): Likewise.
9376 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
9377 (_nss_nisplus_getprotobynumber_r): Likewise.
9378 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
9379 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
9380 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
9382 * nis/nss_nisplus/nisplus-service.c
9383 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
9384 (_nss_nisplus_getservbyport_r): Likewise.
9385 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
9386 (_nss_nisplus_getspnam_r): Likewise.
9387 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
9389 * nscd/aicache.c (addhstaiX): Likewise.
9390 * nscd/cache.c (cache_search, prune_cache): Likewise.
9391 * nscd/connections.c (register_traced_file, send_ro_fd)
9392 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
9393 (main_loop_epoll): Likewise.
9394 * nscd/grpcache.c (addgrbyX): Likewise.
9395 * nscd/hstcache.c (addhstbyX): Likewise.
9396 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9397 * nscd/mem.c (gc, mempool_alloc): Likewise.
9398 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
9399 (addinnetgrX): Likewise.
9400 * nscd/nscd-client.h (__nscd_acquire_maplock)
9401 (__nscd_drop_map_ref): Likewise.
9402 * nscd/nscd_getai.c (__nscd_getai): Likewise.
9403 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
9404 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
9406 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
9407 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
9408 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
9409 (__nscd_get_map_ref): Likewise.
9410 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
9411 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
9413 * nscd/pwdcache.c (addpwbyX): Likewise.
9414 * nscd/selinux.c (preserve_capabilities): Likewise.
9415 * nscd/servicescache.c (addservbyX): Likewise.
9416 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
9417 * posix/fnmatch.c (fnmatch): Likewise.
9418 * posix/getopt.c (_getopt_internal_r): Likewise.
9419 * posix/glob.c (glob, glob_in_dir): Likewise.
9420 * posix/wordexp.c (exec_comm_child): Likewise.
9421 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
9422 (getanswer_r, gaih_getanswer_slice): Likewise.
9423 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
9424 * resolv/res_init.c: Likewise.
9425 * resolv/res_mkquery.c (res_nmkquery): Likewise.
9426 * resolv/res_query.c (__libc_res_nquery): Likewise.
9427 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
9429 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
9430 * stdio-common/perror.c (perror): Likewise.
9431 * stdio-common/printf_fp.c (___printf_fp): Likewise.
9432 * stdio-common/tmpnam.c (tmpnam): Likewise.
9433 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
9434 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
9435 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
9437 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
9438 * stdlib/putenv.c (putenv): Likewise.
9439 * stdlib/setenv.c (__add_to_environ): Likewise.
9440 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
9441 * stdlib/strtol_l.c (INTERNAL): Likewise.
9442 * string/memmem.c (memmem): Likewise.
9443 * string/strerror.c (strerror): Likewise.
9444 * string/strnlen.c (__strnlen): Likewise.
9445 * string/test-memmem.c (simple_memmem): Likewise.
9446 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
9447 * sunrpc/pm_getport.c (__get_socket): Likewise.
9448 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
9449 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
9450 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
9451 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
9453 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
9454 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
9455 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
9456 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
9457 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
9458 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
9460 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
9462 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
9463 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
9464 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9465 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
9466 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
9467 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
9468 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
9469 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
9470 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
9471 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
9472 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9473 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
9475 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
9477 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
9479 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
9480 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9481 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
9482 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
9483 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
9484 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
9485 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
9486 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
9487 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
9488 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
9489 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
9490 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9491 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
9492 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
9493 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9494 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9496 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
9498 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
9500 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
9502 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9503 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9504 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
9506 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
9507 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
9508 * sysdeps/posix/opendir.c (__opendirat): Likewise.
9509 * sysdeps/posix/sleep.c: Likewise.
9510 * sysdeps/posix/tempname.c: Likewise.
9511 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
9512 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9514 * sysdeps/powerpc/powerpc32/dl-machine.h
9515 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
9516 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
9517 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9518 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
9519 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
9521 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
9522 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
9523 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
9524 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
9525 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
9526 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
9527 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
9528 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
9529 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9530 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
9531 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
9532 (elf_machine_lazy_rel): Likewise.
9533 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
9534 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
9535 (elf_machine_lazy_rel): Likewise.
9536 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
9537 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
9538 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
9539 * sysdeps/unix/grantpt.c (grantpt): Likewise.
9540 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
9541 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
9542 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
9543 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9545 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
9546 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
9547 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
9548 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
9549 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
9550 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
9551 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
9552 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
9553 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
9554 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
9555 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
9557 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
9558 (__posix_fallocate64_l64): Likewise.
9559 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
9560 (posix_fallocate): Likewise.
9561 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
9563 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9564 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
9565 (getifaddrs_internal): Likewise.
9566 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
9567 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
9568 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
9569 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
9570 * sysdeps/unix/sysv/linux/posix_fallocate64.c
9571 (__posix_fallocate64_l64): Likewise.
9572 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
9574 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
9575 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
9576 (__get_clockfreq): Likewise.
9577 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
9578 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
9579 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
9580 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9581 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9582 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
9583 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
9584 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
9586 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
9587 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
9588 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
9589 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
9590 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
9591 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
9592 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
9594 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9595 (posix_fallocate): Likewise.
9596 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9597 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
9598 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
9599 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
9600 (elf_machine_rela, elf_machine_rela_relative)
9601 (elf_machine_lazy_rel): Likewise.
9602 * time/asctime.c (asctime_internal): Likewise.
9603 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
9604 * time/tzset.c (__tzset_parse_tz): Likewise.
9605 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
9606 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
9607 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
9608 * wcsmbs/wcsmbsload.h: Likewise.
9611 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
9613 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
9614 (arena_get2): Remove THREAD_STATS conditionals.
9615 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
9616 (__malloc_stats, int): Likewise.
9618 2014-02-08 Mike Frysinger <vapier@gentoo.org>
9620 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
9621 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
9623 * manual/setjmp.texi: Fix typos/grammar errors.
9625 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
9626 Only return early when n is <= 0. Delete unused return statement.
9628 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
9629 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
9630 * debug/tst-longjmp_chk3.c: New file.
9632 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
9633 (test_main): Replace code with set_fortify_handler call.
9634 * debug/test-strcpy_chk.c: Likewise.
9635 * debug/tst-chk1.c: Likewise.
9636 * debug/tst-longjmp_chk.c: Likewise.
9637 * test-skeleton.c: Include fcntl.h & paths.h
9638 (set_fortify_handler): Define.
9640 * debug/tst-longjmp_chk.c: Add header comment and include
9642 (do_test): Mark static.
9643 (TEST_FUNCTION): Define.
9645 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
9646 (IP_PMTUDISC_INTERFACE): Likewise.
9647 (IP_MULTICAST_IF): Likewise.
9648 (IP_MULTICAST_TTL): Likewise.
9649 (IP_MULTICAST_LOOP): Likewise.
9650 (IP_ADD_MEMBERSHIP): Likewise.
9651 (IP_DROP_MEMBERSHIP): Likewise.
9652 (IP_UNBLOCK_SOURCE): Likewise.
9653 (IP_BLOCK_SOURCE): Likewise.
9654 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
9655 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
9656 (IP_MSFILTER): Likewise.
9657 (MCAST_JOIN_GROUP): Likewise.
9658 (MCAST_BLOCK_SOURCE): Likewise.
9659 (MCAST_UNBLOCK_SOURCE): Likewise.
9660 (MCAST_LEAVE_GROUP): Likewise.
9661 (MCAST_JOIN_SOURCE_GROUP): Likewise.
9662 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
9663 (MCAST_MSFILTER): Likewise.
9664 (IP_MULTICAST_ALL): Likewise.
9665 (IP_UNICAST_IF): Likewise.
9667 * timezone/Makefile: Delete $(have-ksh) check.
9668 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
9669 * timezone/tzselect.ksh: Add +x mode bits.
9671 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
9672 (ANON_INODE_FS_MAGIC): Likewise.
9673 (BDEVFS_MAGIC): Likewise.
9674 (BINFMTFS_MAGIC): Likewise.
9675 (BTRFS_TEST_MAGIC): Likewise.
9676 (CRAMFS_MAGIC_WEND): Likewise.
9677 (DEBUGFS_MAGIC): Likewise.
9678 (ECRYPTFS_SUPER_MAGIC): Likewise.
9679 (EXT3_SUPER_MAGIC): Likewise.
9680 (EXT4_SUPER_MAGIC): Likewise.
9681 (FUTEXFS_SUPER_MAGIC): Likewise.
9682 (HOSTFS_SUPER_MAGIC): Likewise.
9683 (HUGETLBFS_MAGIC): Likewise.
9684 (MINIX3_SUPER_MAGIC): Likewise.
9685 (MTD_INODE_FS_MAGIC): Likewise.
9686 (NILFS_SUPER_MAGIC): Likewise.
9687 (OPENPROM_SUPER_MAGIC): Likewise.
9688 (PIPEFS_MAGIC): Likewise.
9689 (PSTOREFS_MAGIC): Likewise.
9690 (QNX6_SUPER_MAGIC): Likewise.
9691 (RAMFS_MAGIC): Likewise.
9692 (REISERFS_SUPER_MAGIC_STRING): Likewise.
9693 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
9694 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
9695 (SECURITYFS_MAGIC): Likewise.
9696 (SELINUX_MAGIC): Likewise.
9697 (SMACK_MAGIC): Likewise.
9698 (SOCKFS_MAGIC): Likewise.
9699 (SQUASHFS_MAGIC): Likewise.
9700 (STACK_END_MAGIC): Likewise.
9701 (TMPFS_MAGIC): Likewise.
9702 (USBDEVICE_SUPER_MAGIC): Likewise.
9703 (V9FS_MAGIC): Likewise.
9704 (XENFS_SUPER_MAGIC): Likewise.
9705 (CRAMFS_MAGIC): Fix typo in comment.
9706 (EXT2_SUPER_MAGIC): Update comment.
9707 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
9709 2014-02-08 Joseph Myers <joseph@codesourcery.com>
9711 * sysdeps/arm: Move directory from ports/sysdeps/arm.
9712 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
9713 * sysdeps/unix/sysv/linux/arm: Move directory from
9714 ports/sysdeps/unix/sysv/linux/arm.
9715 * README: Update listing for arm-*-linux-gnueabi.
9717 * README: Remove mention of am33.
9719 2014-02-07 Roland McGrath <roland@hack.frob.com>
9721 * bits/sigset.h (__sigemptyset): Use a statement expression rather
9722 than the comma operator, to avoid "rhs of comma has no effect"
9724 (__sigfillset, __sigandset, __sigorset): Likewise.
9725 * include/signal.h (__sigemptyset): Likewise.
9726 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
9728 2014-02-07 Allan McRae <allan@archlinux.org>
9730 * version.h (RELEASE): Set to "development".
9731 (VERSION): Set to "2.19.90"
9732 * NEWS: Add 2.20 section.
9734 2014-02-06 Carlos O'Donell <carlos@redhat.com>
9737 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
9739 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9741 * manual/contrib.texi: Update entry for Carlos O'Donell,
9742 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
9744 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
9746 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
9748 * sysdeps/unix/sysv/linux/kernel-features.h
9749 [__LINUX_KERNEL_VERSION >= 0x020621]
9750 (__ASSUME_PROC_PID_TASK_COMM): Define.
9752 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9755 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
9756 conversion when destination buffer does not have enough space.
9757 * libio/tst-ftell-partial-wide.c: New test case.
9758 * libio/Makefile (tests): Add tst-ftell-partial-wide.
9760 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
9761 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
9762 Leonard and Allan McRae.
9764 2014-02-04 David S. Miller <davem@davemloft.net>
9766 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
9769 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
9773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
9775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
9777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
9779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
9781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
9783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
9785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
9787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
9789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
9791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
9793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
9795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
9798 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9800 * nptl/shlib-versions: Change powerpc*le start to 2.17.
9801 * shlib-versions: Likewise.
9803 2014-02-04 Roland McGrath <roland@hack.frob.com>
9804 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9806 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
9807 (abilist-pattern): New variable, set to %-le.abilist.
9809 * Makerules (abilist-pattern): New variable.
9810 (vpath): Use $(abilist-pattern) in place of %.abilist.
9811 (check-abi-% pattern rule): Likewise.
9812 (check-abi, update-abi): Likewise.
9814 2014-02-04 Eric Wong <normalperson@yhbt.net>
9816 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9818 2014-02-03 Carlos O'Donell <carlos@redhat.com>
9820 * manual/startup.texi: Add next, previous, and top entries for
9821 the `Program Arguments' and `Environment Variables' nodes.
9823 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
9825 * manual/macros.texi: Add comments before MTASC-safety macros.
9827 * manual/users.texi: Document MTASC-safety properties.
9829 * manual/threads.texi (pthread_key_create, pthread_key_delete)
9830 (pthread_getspecific, pthread_setspecific): Format with
9831 @deftypefun, and add @safety note.
9832 * manual/signal.texi: Move comments that analyze the above
9833 functions to their home place.
9835 2014-02-03 Allan McRae <allan@archlinux.org>
9837 * po/sl.po: Update Slovenian translation from translation project.
9839 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
9841 * manual/time.texi (timegm): Add missing blank after @c.
9842 Reported by Joseph Myers <joseph@codesourcery.com>.
9844 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
9846 * manual/check-safety.sh: New.
9847 * manual/Makefile ($(objpfx)stamp-summary): Run it.
9849 * manual/terminal.texi: Document MTASC-safety properties.
9851 * manual/filesys.texi: Document MTASC-safety properties.
9853 * manual/errno.texi: Document MTASC-safety properties.
9855 * manual/intro.texi: Document safety identifiers and
9858 * manual/string.texi (wcstok): Fix prototype.
9859 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
9861 * manual/time.texi: Document MTASC-safety properties.
9863 * manual/string.texi: Document MTASC-safety properties.
9865 * manual/threads.texi: Document MTASC-safety properties.
9867 * manual/stdio.texi: Document MTASC-safety properties.
9869 * manual/syslog.texi: Document MTASC-safety properties.
9871 * manual/sysinfo.texi: Document MTASC-safety properties.
9873 * manual/startup.texi: Document MTASC-safety properties.
9875 * manual/socket.texi: Document MTASC-safety properties.
9877 * manual/signal.texi: Document MTASC-safety properties.
9879 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
9881 * manual/setjmp.texi: Document MTASC-safety properties.
9883 * manual/search.texi: Document MTASC-safety properties.
9885 * manual/resource.texi: Document MTASC-safety properties.
9887 * manual/process.texi: Document MTASC-safety properties.
9889 * manual/platform.texi: Document MTASC-safety properties.
9891 * manual/pipe.texi: Document MTASC-safety properties.
9893 * manual/pattern.texi: Document MTASC-safety properties.
9895 * manual/message.texi: Document MTASC-safety properties.
9898 * manual/memory.texi: Document MTASC-safety properties.
9900 * manual/math.texi: Document MTASC-safety properties.
9902 * manual/locale.texi: Document MTASC-safety properties.
9904 * manual/llio.texi: Document MTASC-safety properties.
9906 * manual/libdl.texi: New.
9908 * manual/lang.texi: Document MTASC-safety properties.
9910 * manual/job.texi: Document MTASC-safety properties.
9912 * manual/getopt.texi: Document MTASC-safety properties.
9914 * manual/ctype.texi: Document MTASC-safety properties.
9916 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
9919 * csu/libc-tls.c (static_map): Remove variable.
9920 (__libc_setup_tls): Use main executable's link map for TLS data.
9921 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
9922 casing for LM_ID_BASE and GL(dl_nns).
9923 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
9924 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
9925 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
9926 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
9927 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
9929 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
9932 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
9934 * manual/debug.texi: Document MTASC-safety properties.
9936 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
9939 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
9940 of __x86_64__ when disabling x87 inline functions.
9942 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
9944 * manual/charset.texi: Document MTASC-safety properties.
9946 * manual/crypt.texi: Document MTASC-safety properties.
9948 * manual/conf.texi: Document MTASC-safety properties.
9950 * manual/arith.texi: Document MTASC-safety properties.
9952 * manual/argp.texi: Document MTASC-safety properties.
9954 * manual/macros.texi: Introduce macros to document multi
9955 thread, asynchronous signal and asynchronous cancellation
9957 * manual/intro.texi: Introduce the properties themselves.
9959 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9961 * sysdeps/sh/sh4/Makefile: New file.
9963 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
9965 * math/gen-libm-test.pl ($srcdir): New variable.
9966 ($auto_input): Use it.
9968 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9971 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
9972 access beyond array bounds when parsing netgroups file.
9974 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
9975 the old buffer before realloc.
9977 2014-01-27 Allan McRae <allan@archlinux.org>
9979 * po/fr.po: Update French translation from translation project.
9981 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9983 * sysdeps/sh/libm-test-ulps: Regenerate.
9985 2014-01-24 David S. Miller <davem@davemloft.net>
9987 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
9989 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9991 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
9992 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
9994 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9997 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
9998 string pointers after reallocation.
10000 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10002 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
10003 __SH4A__ instead of __SH_FPU_ANY__.
10005 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10007 * sysdeps/sh/fpu_control.h: New file.
10008 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
10009 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
10010 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
10011 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
10012 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
10013 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
10014 * sysdeps/sh/sys/ucontext.h: Remove.
10015 * sysdeps/sh/sys: Remove directory.
10017 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10019 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
10020 s390/sys/ucontext.h.
10021 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
10022 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
10024 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
10027 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
10029 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10032 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
10033 Adjust the vDSO correctly for internal calls.
10034 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
10036 2014-01-20 Allan McRae <allan@archlinux.org>
10038 * po/ca.po: Update Catalan translation from translation project.
10040 2014-01-16 Mike Frysinger <vapier@gentoo.org>
10042 * sysdeps/s390/sotruss-lib.c: New file.
10044 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10047 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
10048 (__GI___gettimeofday): Alias for a different internal symbol to avoid
10049 local calls issues by not having a PLT stub required for IFUNC calls.
10050 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
10052 2014-01-16 Joseph Myers <joseph@codesourcery.com>
10054 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
10055 * math/test-fpucw-static.c: Likewise.
10057 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10060 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
10062 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10064 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
10065 implementation for powerpc.
10067 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
10070 * sysdeps/posix/system.c (__libc_system): Do not enable
10071 asynchronous cancellation.
10073 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10076 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
10077 handling only for numbers special also in the IEEE case.
10079 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10081 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10083 2014-01-11 Allan McRae <allan@archlinux.org>
10085 * po/bg.po: Update Bulgarian translation from translation project.
10087 * po/de.po: Update German translation from translation project.
10089 2014-01-10 Roland McGrath <roland@hack.frob.com>
10091 * sysdeps/generic/gcc-compat.h: New file.
10093 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10095 * benchtests/asin-inputs: Correct slow inputs.
10096 * benchtests/acos-inputs: Likewise.
10098 2014-01-10 Allan McRae <allan@archlinux.org>
10100 * po:sv.po: Update Swedish translation from translation project.
10102 * po/vi.po: Update Vietnamese translation from translation project.
10104 * po/eo.po: Update Esperanto translation from translation project.
10106 * po/cs.po: Update Czech translation from translation project.
10108 * po/nl.po: Update Dutch translation from translation project.
10110 * po/pl.po: Update Polish translation from translation project.
10112 * po/ru.po: Update Russian translation from translation project.
10114 * po/uk.po: Update Ukrainian translation from translation project.
10116 2014-01-08 Brooks Moses <bmoses@google.com>
10118 * elf/dl-load.c: Fix comment typo.
10120 2014-01-08 Carlos O'Donell <carlos@redhat.com>
10122 * po/header.pot: Rename to...
10123 * po/pot.header: ... this.
10124 * po/Makefile: Use pot.header.
10126 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
10127 Maxim Kuvyrkov <maxim@kugelworks.com>
10130 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
10131 SRC and DEST against LEN.
10133 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10136 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
10138 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
10140 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10142 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10144 2014-01-08 Joseph Myers <joseph@codesourcery.com>
10147 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
10148 for large positive arguments.
10150 2014-01-07 Joseph Myers <joseph@codesourcery.com>
10152 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10154 * math/auto-libm-test-in: Mark various tests with
10155 xfail-rounding:ldbl-128ibm.
10156 * math/auto-libm-test-out: Regenerated.
10159 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
10160 Increase overflow threshold.
10162 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
10165 * stdio-common/vfprintf.c: Check for integer overflow.
10167 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10169 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
10170 the first argument and return value of __tls_get_addr_internal.
10172 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10174 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
10175 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
10177 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10179 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
10180 * sysdeps/s390/rtld-global-offsets.sym: New file.
10181 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
10183 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
10184 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
10185 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
10187 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
10188 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
10190 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10192 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10194 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
10195 halfs of GPRs for high_gprs contexts.
10196 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
10197 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
10199 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
10201 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
10203 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
10204 for high GPRs (uc_high_gprs) and for future extensions
10206 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
10207 for future extensions (__reserved).
10208 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
10210 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
10211 SC_HIGHGPRS offset definition.
10212 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
10213 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
10215 * Versions.def: Add GLIBC_2.19 for libpthread.
10216 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
10217 siglongjmp for libpthread with GLIBC_2.19 symver.
10218 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
10219 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
10220 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
10221 * sysdeps/s390/__longjmp.c: New file.
10222 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
10223 * sysdeps/s390/longjmp.c: New file.
10224 * sysdeps/s390/setjmp.S: New file.
10225 * sysdeps/s390/sigjmp.S: New file.
10226 * sysdeps/s390/v1-longjmp.c: New file.
10227 * sysdeps/s390/v1-setjmp.h: New file.
10228 * sysdeps/s390/v1-sigjmp.c: New file.
10229 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
10230 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
10231 GLIBC_2.19 version.
10232 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
10233 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
10234 versioned symbols for ____longjmp_chk.
10235 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
10237 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10239 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10241 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10243 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10245 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
10246 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
10247 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
10248 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
10249 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
10250 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
10251 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
10252 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
10253 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
10254 * sysdeps/s390/rtld-__longjmp.c: New file.
10255 * sysdeps/s390/rtld-setjmp.S: New file.
10257 2014-01-06 Joseph Myers <joseph@codesourcery.com>
10260 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10261 Return -__logl (x) for small positive arguments without evaluating
10264 2014-01-06 Mike Frysinger <vapier@gentoo.org>
10266 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
10268 (__ptrace_peeksiginfo_args): ... this.
10269 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10270 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10271 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10273 2014-01-06 Allan McRae <allan@archlinux.org>
10275 * inet/netinet/in.h: Fix typo in comment.
10277 2014-01-05 Andreas Jaeger <aj@suse.de>
10279 * sysdeps/i386/fpu/libm-test-ulps: Update.
10281 2014-01-05 Allan McRae <allan@archlinux.org>
10283 * po/libc.pot: Regenerated.
10285 * malloc/memusagestat.c: Fix gettext call formatting.
10287 2014-01-04 Sami Kerola <kerolasa@iki.fi>
10289 * nscd/nscd.c: Improve usage() output.
10291 2014-01-04 Mike Frysinger <vapier@gentoo.org>
10293 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
10294 * sysdeps/unix/sysv/linux/configure: Regenerated.
10295 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
10296 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
10298 2014-01-03 Joseph Myers <joseph@codesourcery.com>
10301 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
10302 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
10304 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10306 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
10307 extra tokens at end of #undef directive.
10308 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
10309 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
10310 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
10312 2014-01-03 Joseph Myers <joseph@codesourcery.com>
10314 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10316 * math/auto-libm-test-in: Mark various tests with
10317 xfail-rounding:ldbl-128ibm.
10318 * math/auto-libm-test-out: Regenerated.
10320 2014-01-02 Joseph Myers <joseph@codesourcery.com>
10323 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
10324 numbers with subnormal high part when calculating exponent.
10327 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
10331 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
10333 (__ieee754_acoshl): Use __log1pl not __log1p.
10335 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
10337 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
10338 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
10339 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
10340 (grow_heap, heap_trim, _int_new_arena, get_free_list)
10341 (reused_arena, arena_get2): Convert to GNU style.
10342 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
10343 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
10344 (memalign_check, __malloc_set_state): Likewise.
10345 * malloc/mallocbug.c (main): Likewise.
10346 * malloc/malloc.c (__malloc_assert, malloc_init_state)
10347 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
10348 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
10349 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
10350 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
10351 (__posix_memalign, malloc_info): Likewise.
10352 * malloc/malloc.h: Likewise.
10353 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
10354 (mallochook, memalignhook, reallochook, mabort): Likewise.
10355 * malloc/mcheck.h: Likewise.
10356 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
10357 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
10358 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
10359 * malloc/morecore.c (__default_morecore): Likewise.
10360 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
10361 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
10362 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
10363 (print_and_abort): Likewise.
10364 * malloc/obstack.h: Likewise.
10365 * malloc/set-freeres.c (__libc_freeres): Likewise.
10366 * malloc/tst-mallocstate.c (main): Likewise.
10367 * malloc/tst-mtrace.c (main): Likewise.
10368 * malloc/tst-realloc.c (do_test): Likewise.
10370 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10373 * nscd/netgroupcache.c (do_notfound): New function.
10374 (addgetnetgrentX): Use it.
10377 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
10378 NSS_STATUS_NOTFOUND.
10380 2014-01-01 Joseph Myers <joseph@codesourcery.com>
10382 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
10383 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10385 2014-01-01 Allan McRae <allan@archlinux.org>
10387 * scripts/update-copyrights: Update configure input file suffix.
10389 * NEWS: Update copyright year.
10390 * catgets/gencat.c: Likewise.
10391 * csu/version.c: Likewise.
10392 * debug/catchsegv.sh: Likewise.
10393 * debug/pcprofiledump.c: Likewise.
10394 * debug/xtrace.sh: Likewise.
10395 * elf/ldconfig.c: Likewise.
10396 * elf/ldd.bash.in: Likewise.
10397 * elf/pldd.c: Likewise.
10398 * elf/sotruss.ksh: Likewise.
10399 * elf/sprof.c: Likewise.
10400 * iconv/iconv_prog.c: Likewise.
10401 * iconv/iconvconfig.c: Likewise.
10402 * locale/programs/locale.c: Likewise.
10403 * locale/programs/localedef.c: Likewise.
10404 * login/programs/pt_chown.c: Likewise.
10405 * malloc/memusage.sh: Likewise.
10406 * malloc/memusagestat.c: Likewise.
10407 * malloc/mtrace.pl: Likewise.
10408 * manual/libc.texinfo: Likewise.
10409 * nscd/nscd.c: Likewise.
10410 * nss/getent.c: Likewise.
10411 * nss/makedb.c: Likewise.
10412 * posix/getconf.c: Likewise.
10413 * scripts/test-installation.pl: Likewise.
10415 * All files with FSF copyright notices: Update copyright dates
10416 using scripts/update-copyrights.
10417 * intl/plural.c: Regenerated.
10418 * locale/programs/charmap-kw.h: Likewise.
10419 * locale/programs/locfile-kw.h: Likewise.
10421 2013-12-31 Mike Frysinger <vapier@gentoo.org>
10423 * sysdeps/unix/sysv/linux/configure: Regenerated.
10424 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
10425 the linux/fanotify.h header.
10426 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
10427 HAVE_LINUX_FANOTIFY_H is defined.
10429 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
10431 * benchtests/cos-inputs: New inputs.
10432 * benchtests/sin-inputs: Likewise.
10434 * benchtests/atan-inputs: New inputs. Fix name of multiple
10435 precision fallback inputs.
10437 * benchtests/atanh-inputs: New inputs.
10438 * benchtests/tanh-inputs: Likewise.
10440 * benchtests/acosh-inputs: New inputs.
10441 * benchtests/asinh-inputs: Likewise.
10443 * benchtests/cosh-inputs: New inputs.
10444 * benchtests/sinh-inputs: Likewise.
10446 * benchtests/acos-inputs: Add more inputs.
10447 * benchtests/asin-inputs: Likewise.
10449 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
10452 * manual/arith.texi: Fix spelling.
10453 * manual/charset.texi: Likewise.
10454 * manual/errno.texi: Likewise.
10455 * manual/filesys.texi: Likewise.
10456 * manual/lang.texi: Likewise.
10457 * manual/llio.texi: Likewise.
10458 * manual/locale.texi: Likewise.
10459 * manual/message.texi: Likewise.
10460 * manual/resource.texi: Likewise.
10461 * manual/search.texi: Likewise.
10462 * manual/setjmp.texi: Likewise.
10463 * manual/stdio.texi: Likewise.
10464 * manual/string.texi: Likewise.
10465 * manual/sysinfo.texi: Likewise.
10466 * manual/time.texi: Likewise.
10468 2013-12-27 Carlos O'Donell <carlos@redhat.com>
10470 * po/sl.po: New file.
10472 2013-12-27 Mike Frysinger <vapier@gentoo.org>
10474 * .gitignore: Add core/.gdbinit/.gdb_history.
10476 2013-12-27 Allan McRae <allan@archlinux.org>
10479 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
10480 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
10482 2013-12-24 Brooks Moses <bmoses@google.com>
10484 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
10485 all compilers that claim C++98 compliance, not just GCC.
10486 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
10489 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
10491 * NEWS: Restore accidentally deleted bug-fix entries.
10493 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
10494 Ondřej Bílka <neleai@seznam.cz>
10497 * malloc/malloc.c (_int_free): Perform sanity check only if we
10500 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
10503 * manual/stdio.texi (String Input Conversions): Clarify that character
10504 classes are not supported.
10506 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10508 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10510 2013-12-22 Joseph Myers <joseph@codesourcery.com>
10513 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10514 Calculate results for small negative arguments directly rather
10515 than using reflection formula with special underflow handling.
10517 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
10518 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
10519 sysdeps/unix/bsd/bsd4.4/syscalls.list.
10520 (fchflags): Likewise.
10521 (revoke): Likewise.
10522 (setlogin): Likewise.
10523 (sigaltstack): Likewise.
10525 (sigblock): Remove.
10526 (sigsetmask): Likewise.
10528 (waitpid): Likewise.
10529 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
10530 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
10532 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
10533 * sysdeps/unix/bsd/Makefile: ... here.
10534 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
10535 * sysdeps/unix/bsd/Versions: ... here.
10536 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
10537 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
10538 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
10539 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
10540 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
10541 * sysdeps/unix/bsd/sigblock.c: ... here.
10542 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
10543 * sysdeps/unix/bsd/sigsetmask.c: ... here.
10544 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
10545 * sysdeps/unix/bsd/sigvec.c: ... here.
10546 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
10547 * sysdeps/unix/bsd/tcdrain.c: ... here.
10548 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
10549 * sysdeps/unix/bsd/tcgetattr.c: ... here.
10550 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
10551 * sysdeps/unix/bsd/tcsetattr.c: ... here.
10552 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
10553 * sysdeps/unix/bsd/wait.c: ... here.
10554 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
10555 * sysdeps/unix/bsd/wait3.c: ... here.
10556 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
10557 * sysdeps/unix/bsd/waitpid.c: ... here.
10559 2013-12-21 Joseph Myers <joseph@codesourcery.com>
10562 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
10563 round-to-nearest for [!USE_AS_EXPM1L].
10564 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
10565 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
10566 more tests of exp and exp10. Expect some exp10 tests to miss
10567 exceptions or fail in directed rounding modes.
10568 * math/auto-libm-test-out: Regenerated.
10569 * math/libm-test.inc (exp10_tonearest_test_data): New array.
10570 (exp10_test_tonearest): New function.
10571 (exp10_towardzero_test_data): New array.
10572 (exp10_test_towardzero): New function.
10573 (exp10_downward_test_data): New array.
10574 (exp10_test_downward): New function.
10575 (exp10_upward_test_data): New array.
10576 (exp10_test_upward): New function.
10577 (main): Call the new functions.
10578 * sysdeps/i386/fpu/libm-test-ulps: Update.
10579 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10581 2013-12-20 Joseph Myers <joseph@codesourcery.com>
10583 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
10584 asinh, atan, atan2, atanh, cbrt, cos and cosh.
10585 * math/auto-libm-test-out: Regenerated.
10586 * math/libm-test.inc (acosh_test_data): Add more tests.
10587 (atanh_test_data): Likewise.
10588 (ceil_test_data): Likewise.
10589 (copysign_test_data): Likewise.
10590 * sysdeps/i386/fpu/libm-test-ulps: Update.
10591 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10593 * timezone/checktab.awk: Update from tzcode 2013i.
10594 * timezone/private.h: Likewise.
10595 * timezone/scheck.c: Likewise.
10596 * timezone/tzfile.h: Likewise.
10597 * timezone/tzselect.ksh: Likewise.
10598 * timezone/zdump.c: Likewise.
10599 * timezone/zic.c: Likewise.
10601 * math/auto-libm-test-in: Add tests of cpow.
10602 * math/auto-libm-test-out: Regenerated.
10603 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
10604 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10606 (func_calc_desc): Add mpc_cc_c union field.
10607 (test_functions): Add cpow.
10608 (special_fill_2pi): New function.
10609 (special_real_inputs): Add 2pi.
10610 (calc_generic_results): Handle mpc_cc_c.
10611 * sysdeps/i386/fpu/libm-test-ulps: Update.
10612 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10614 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
10615 csqrt, ctan and ctanh.
10616 * math/auto-libm-test-out: Regenerated.
10617 * math/libm-test.inc (TEST_COND_x86_64): New macro.
10618 (TEST_COND_x86): Likewise.
10619 (ccos_test_data): Use AUTO_TESTS_c_c.
10620 (ccosh_test_data): Likewise.
10621 (cexp_test_data): Likewise.
10622 (clog_test_data): Likewise.
10623 (csqrt_test_data): Likewise.
10624 (ctan_test_data): Likewise.
10625 (ctan_tonearest_test_data): Likewise.
10626 (ctan_towardzero_test_data): Likewise.
10627 (ctan_downward_test_data): Likewise.
10628 (ctan_upward_test_data): Likewise.
10629 (ctanh_test_data): Likewise.
10630 (ctanh_tonearest_test_data): Likewise.
10631 (ctanh_towardzero_test_data): Likewise.
10632 (ctanh_downward_test_data): Likewise.
10633 (ctanh_upward_test_data): Likewise.
10634 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10636 (func_calc_desc): Add mpc_c_c union field.
10637 (FUNC_mpc_c_c): New macro.
10638 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
10639 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
10641 (special_fill_min_subnorm_p120): New function.
10642 (special_real_inputs): Add min_subnorm_p120.
10643 (calc_generic_results): Handle mpc_c_c.
10644 * sysdeps/i386/fpu/libm-test-ulps: Update.
10645 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10647 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10649 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
10650 (do_sin_slow): New functions.
10651 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
10652 (cslow2, csloww1, csloww2): Use the new functions.
10654 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
10655 Use M to change sign of result instead of X. Assume X is
10657 (csloww1): Likewise.
10661 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
10662 arguments A and DA.
10666 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
10668 (sloww1): Don't adjust sign of DX.
10669 (csloww1): Likewise.
10670 (sloww2): Use X directly and don't adjust sign of DX.
10671 (csloww2): Likewise.
10673 2013-12-19 Joseph Myers <joseph@codesourcery.com>
10675 * math/auto-libm-test-in: Add tests of cabs and carg.
10676 * math/auto-libm-test-out: Regenerated.
10677 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
10678 (carg_test_data): Likewise.
10679 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10681 (func_calc_desc): Add mpc_c_f union field.
10682 (test_functions): Add cabs and carg.
10683 (calc_generic_results): Handle mpc_c_f.
10685 * sysdeps/powerpc/powerpc32/libgcc-compat.S
10686 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
10687 as a macro and a compat symbol.
10688 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
10689 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
10690 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
10691 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
10692 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
10693 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
10695 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
10697 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
10699 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
10701 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
10703 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
10705 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
10706 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
10709 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10711 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10713 2013-12-19 Joseph Myers <joseph@codesourcery.com>
10715 * manual/texinfo.tex: Update to version 2013-11-26.10 with
10716 trailing whitespace removed.
10717 * scripts/config.guess: Update to version 2013-11-29.
10718 * scripts/config.sub: Update to version 2013-10-01.
10720 * math/auto-libm-test-in: Add tests of sincos.
10721 * math/auto-libm-test-out: Regenerated.
10722 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
10723 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10725 (func_calc_desc): Add mpfr_f_11 union field.
10726 (test_functions): Add sincos.
10727 (calc_generic_results): Handle mpfr_f_11.
10728 * sysdeps/i386/fpu/libm-test-ulps: Update.
10729 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10731 2013-12-19 Andreas Schwab <schwab@suse.de>
10733 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
10735 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
10736 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
10737 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
10739 2013-12-19 Joseph Myers <joseph@codesourcery.com>
10741 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
10742 * sysdeps/i386/fpu/libm-test-ulps: Update.
10743 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10746 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
10747 round-to-nearest mode when using frndint.
10748 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
10749 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
10750 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
10752 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
10754 * math/auto-libm-test-out: Regenerated.
10755 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
10756 (TEST_COND_x86): Likewise.
10757 (expm1_tonearest_test_data): New array.
10758 (expm1_test_tonearest): New function.
10759 (expm1_towardzero_test_data): New array.
10760 (expm1_test_towardzero): New function.
10761 (expm1_downward_test_data): New array.
10762 (expm1_test_downward): New function.
10763 (expm1_upward_test_data): New array.
10764 (expm1_test_upward): New function.
10765 (main): Run the new test functions.
10766 * sysdeps/i386/fpu/libm-test-ulps: Update.
10767 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10769 * include/features.h: Update comment documenting feature test
10770 macros. Mention _DEFAULT_SOURCE in comment.
10771 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
10772 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
10773 _BSD_SOURCE and _SVID_SOURCE.
10774 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
10775 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
10776 !_SVID_SOURCE]: Likewise.
10777 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10778 (__USE_POSIX_IMPLICITLY): Define.
10779 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10780 (_POSIX_SOURCE): Undefine and redefine.
10781 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10782 (_POSIX_C_SOURCE): Likewise.
10783 * manual/creature.texi (_DEFAULT_SOURCE): Document.
10784 (Feature Test Macros): Update documentation of default features.
10786 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10788 * benchtests/Makefile: Add bench-strtok.
10789 * benchtests/bench-strtok.c: New file: strtok benchtest.
10791 2013-12-19 Allan McRae <allan@archlinux.org>
10793 * manual/install.texi: Suppress menu for plain text output.
10794 * INSTALL: Regenerated.
10796 2013-12-18 Brooks Moses <bmoses@google.com>
10799 * misc/getauxval.c: Include errno.h.
10800 (__getauxval): Set errno to ENOENT if the requested type is not
10802 * misc/sys/auxv.h (getauxval): Document that it may set errno;
10803 don't declare with __attribute_const__.
10804 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
10805 * manual/startup.texi: Document that getauxval sets errno.
10807 2013-12-18 Joseph Myers <joseph@codesourcery.com>
10809 * math/auto-libm-test-in: Add tests of jn and yn.
10810 * math/auto-libm-test-out: Regenerated.
10811 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
10812 (yn_test_data): Likewise.
10813 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10815 (func_calc_desc): Add mpfr_if_f union field.
10816 (FUNC_mpfr_if_f): New macro.
10817 (test_functions): Add jn and yn.
10818 (calc_generic_results): Assert type of second input for
10819 mpfr_ff_f. Handle mpfr_if_f.
10820 (output_for_one_input_case): Disable all checking for arguments
10821 fitting floating-point types in case of an integer argument.
10822 * sysdeps/i386/fpu/libm-test-ulps: Update.
10823 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10826 Don't expect fegetround reference in libm.so.
10828 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10830 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
10831 $(config-cflags-nofma).
10833 2013-12-18 Joseph Myers <joseph@codesourcery.com>
10835 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
10836 * math/auto-libm-test-out: Regenerated.
10839 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
10840 to determine exponent and adjust argument to have exponent of -1.
10841 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
10843 * math/auto-libm-test-out: Regenerated.
10844 * sysdeps/i386/fpu/libm-test-ulps: Update.
10845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10847 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
10849 * manual/probes.texi: Remove cases when per-thread arenas are
10852 2013-12-18 Andreas Schwab <schwab@suse.de>
10854 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
10855 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
10856 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
10857 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
10858 * sysdeps/i386/i686/multiarch/Makefile: Update.
10859 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
10861 2013-12-17 Joseph Myers <joseph@codesourcery.com>
10863 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
10864 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
10866 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
10869 Support TZ transition times < 00:00:00.
10870 This is needed for version-3 tz-format files; it supports time
10871 stamps past 2037 for America/Godthab (the only entry in the tz
10872 database for which this change is relevant).
10873 * manual/time.texi (TZ Variable): Document transition times
10874 from -167:59:59 through -00:00:01.
10875 * time/tzset.c (tz_rule): Time of day is now signed.
10876 (__tzset_parse_tz): Parse negative time of day.
10878 Document TZ transition times >= 25:00:00.
10879 * manual/time.texi (TZ Variable): Document transition times from
10880 25:00:00 through 167:59:59. These are already supported, and this
10881 support will help with version-3 tz-format files.
10883 * manual/time.texi (TZ Variable): Modernize North America example
10884 to reflect current (i.e., 2007-and-later) daylight saving rules.
10886 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
10888 2013-12-17 Joseph Myers <joseph@codesourcery.com>
10890 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
10891 * sysdeps/unix/bsd/bits/stat.h: Likewise.
10892 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
10893 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
10894 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
10895 * sysdeps/unix/bsd/bsdstat.h: Likewise.
10896 * sysdeps/unix/bsd/clock.c: Likewise.
10897 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
10898 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
10899 * sysdeps/unix/bsd/init-posix.c: Likewise.
10900 * sysdeps/unix/bsd/poll.c: Likewise.
10901 * sysdeps/unix/bsd/ptsname.c: Likewise.
10902 * sysdeps/unix/bsd/seekdir.c: Likewise.
10903 * sysdeps/unix/bsd/setegid.c: Likewise.
10904 * sysdeps/unix/bsd/seteuid.c: Likewise.
10905 * sysdeps/unix/bsd/setgid.c: Likewise.
10906 * sysdeps/unix/bsd/setrgid.c: Likewise.
10907 * sysdeps/unix/bsd/setruid.c: Likewise.
10908 * sysdeps/unix/bsd/setsid.c: Likewise.
10909 * sysdeps/unix/bsd/setuid.c: Likewise.
10910 * sysdeps/unix/bsd/sigaction.c: Likewise.
10911 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
10912 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
10913 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
10914 * sysdeps/unix/bsd/telldir.c: Likewise.
10915 * sysdeps/unix/bsd/times.c: Likewise.
10916 * sysdeps/unix/bsd/usleep.c: Likewise.
10918 * misc/Makefile (install-lib): Remove libbsd-compat.a.
10919 ($(objpfx)libbsd-compat.a): Remove rule.
10921 * include/features.h (__FAVOR_BSD): Do not define.
10922 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
10923 features conflicting with POSIX.
10924 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
10925 (_BSD_SOURCE): Remove description of not being a subset of other
10926 feature test macros.
10927 * manual/job.texi (getpgrp): Do not document BSD version.
10928 (getpgid): Do not document by reference to BSD getpgrp.
10929 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
10930 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
10931 * signal/signal.h [__FAVOR_BSD]: Likewise.
10932 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
10933 instead of making contents conditional on [__FAVOR_BSD].
10934 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
10936 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10938 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10940 2013-12-17 Joseph Myers <joseph@codesourcery.com>
10943 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
10944 values below 2**-450, not 2**-500.
10945 * math/auto-libm-test-in: Don't allow spurious underflow from
10947 * math/auto-libm-test-out: Regenerated.
10951 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
10952 values of ha and hb and sort them after adjusting subnormal
10954 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
10956 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
10957 values of ea and eb and sort them after adjusting subnormal
10959 * math/auto-libm-test-in: Do not expect some hypot tests of
10960 subnormals to fail. Add more hypot tests.
10961 * math/auto-libm-test-out: Regenerated.
10963 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10966 * sysdeps/sh/s_fma.c: New file.
10967 * sysdeps/sh/s_fmaf.c: New file.
10968 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
10970 * sysdeps/sh/Implies: Add sh/soft-fp.
10972 2013-12-16 Roland McGrath <roland@hack.frob.com>
10974 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
10975 level of indirection to members `objname', `errstring', `malloced'.
10976 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
10977 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
10978 it as the __longjmp argument (just pass 1 instead).
10979 (_dl_catch_error): Initialize C with argument pointers and address of
10980 volatile local ERRCODE rather than copying values out of C at return.
10982 2013-12-16 Joseph Myers <joseph@codesourcery.com>
10984 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
10985 * math/auto-libm-test-out: Regenerated.
10986 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
10987 (hypot_test_data): Likewise.
10988 (pow_test_data): Likewise.
10989 (pow_tonearest_test_data): Likewise.
10990 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10992 (func_calc_desc): Add mpfr_ff_f union field.
10993 (FUNC_mpfr_ff_f): New macro.
10994 (test_functions): Add atan2, hypot and pow.
10995 (special_fill_min): New function.
10996 (special_fill_minus_min): Likewise.
10997 (special_fill_min_subnorm): Likewise.
10998 (special_fill_minus_min_subnorm): Likewise.
10999 (special_real_inputs): Add min, -min, min_subnorm and
11001 (calc_generic_results): Handle mpfr_ff_f.
11002 * sysdeps/i386/fpu/libm-test-ulps: Update.
11003 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11005 2013-12-16 Will Newton <will.newton@linaro.org>
11007 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
11008 (Aligned Memory Blocks): Add documentation for aligned_alloc
11009 and suggest it as an alternative to posix_memalign.
11010 (Hooks for Malloc): Document __memalign_hook is also called
11011 for aligned_alloc. (Summary of Malloc): Add summary for
11012 aligned alloc. Document __memalign_hook is also called
11015 2013-12-16 Will Newton <will.newton@linaro.org>
11017 * manual/memory.texi (Malloc Examples): Clarify default
11018 alignment documentation. Suggest posix_memalign rather
11019 than memalign or valloc.
11020 (Aligned Memory Blocks): Remove suggestion to use memalign
11021 or valloc. Remove obsolete comment about BSD.
11022 Document memalign errno values and mark the function obsolete.
11023 Document posix_memalign returned error codes. Mark valloc
11024 as obsolete. (Hooks for Malloc): __memalign_hook is also
11025 called for posix_memalign and valloc.
11026 (Summary of Malloc): Add posix_memalign to function summary.
11027 __memalign_hook is also called for posix_memalign and valloc.
11029 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11031 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
11035 (sloww): Use mynumber union. Expand ternary operator into
11036 if-else statements.
11037 (cslow): use mynumber union.
11039 2013-12-16 Allan McRae <allan@archlinux.org>
11041 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
11042 * configure: Regenerated.
11044 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
11047 * configure.ac: Added --enable-maintainer-mode. Check for
11048 autoconf when enabled.
11049 * configure: Regenerated.
11051 * nscd/nscd.service: New file.
11052 * nscd/nscd.tmpfiles: New file.
11054 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
11057 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
11058 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
11059 * sysdeps/x86_64/multiarch/strstr.c: ... here.
11060 (strstr): Add __strstr_sse2_unaligned ifunc.
11061 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
11062 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
11063 (strcasestr): Remove __strcasestr_sse42 ifunc.
11064 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
11065 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11066 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
11068 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11070 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
11071 * sysdeps/sh/bits/fenv.h: ... here.
11072 * sysdeps/sh/sh4/fpu/bits: Remove directory.
11074 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11076 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
11078 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
11079 hypotf multiarch implementations.
11080 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
11081 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
11082 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
11083 multiarch hypot for PPC64.
11084 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
11085 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
11086 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
11087 multiarch hypotf for PPC64.
11089 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
11090 modff multiarch implementations.
11091 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
11092 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
11093 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
11094 multiarch modf for PPC64.
11095 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
11096 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
11097 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
11098 multiarch modff for PPC64.
11100 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
11101 and logl multiarch implementations.
11102 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
11103 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
11104 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
11105 multiarch logb for PPC64.
11106 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
11107 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
11108 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
11109 multiarch logb for PPC64.
11110 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
11111 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
11112 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
11113 multiarch logb for PPC64.
11115 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
11116 isinff multiarch implementation.
11117 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
11119 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
11120 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
11121 multiarch isinf for PPC64.
11122 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
11124 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
11125 multiarch isinff for PPC64.
11127 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
11128 finitef multiarch implementation.
11129 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
11131 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
11132 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
11133 multiarch finite for PPC64.
11134 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
11136 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
11137 multiarch finitef for PPC64.
11139 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
11140 lrint multiarch implementation.
11141 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
11143 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
11144 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
11145 multiarch llrint for PPC64.
11146 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
11147 multiarch lrint for PPC64.
11149 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
11150 copysignf multiarch implementation.
11151 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
11153 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
11155 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
11156 multiarch copysign for PPC64.
11157 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
11158 multiarch copysignf for PPC64.
11160 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
11161 multiarch implementation.
11162 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
11164 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
11166 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
11168 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
11170 multiarch llround for PPC64.
11171 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
11172 multiarch trunc for PPC64.
11173 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
11174 multiarch truncf for PPC64.
11176 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
11177 multiarch implementation.
11178 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
11180 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
11182 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
11184 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
11186 multiarch llround for PPC64.
11187 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
11188 multiarch round for PPC64.
11189 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
11190 multiarch roundf for PPC64.
11192 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
11193 multiarch implementation.
11194 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
11196 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
11198 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
11200 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
11202 multiarch llround for PPC64.
11203 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
11204 multiarch floor for PPC64.
11205 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
11206 multiarch floorf for PPC64.
11208 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
11209 multiarch implementation.
11210 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
11212 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
11214 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
11216 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
11218 multiarch llround for PPC64.
11219 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
11220 multiarch ceil for PPC64.
11221 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
11222 multiarch ceilf for PPC64.
11224 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
11225 multiarch implementation.
11226 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
11228 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
11230 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
11232 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
11233 multiarch llround for PPC64.
11234 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
11235 multiarch lround for PPC64.
11237 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
11238 multiarch implementation.
11239 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
11240 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
11241 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
11243 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
11244 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
11245 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
11246 multiarch isnan for PPC64.
11247 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
11248 multiarch isnanf for PPC64.
11250 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
11251 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
11252 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
11253 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
11254 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
11255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
11257 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
11258 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11259 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11260 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11262 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
11263 multiarch implementations.
11264 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11265 (__libc_ifunc_impl_list): Likewise.
11266 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
11267 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
11268 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
11269 multiarch stpcpy for PPC64.
11271 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
11272 multiarch implementations.
11273 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11274 (__libc_ifunc_impl_list): Likewise.
11275 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
11276 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
11277 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
11278 multiarch strcpy for PPC64.
11280 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
11281 redefine function name.
11282 (_wordcopy_fwd_dest_aligned): Likewise.
11283 (_wordcopy_bwd_aligned): Likewise.
11284 (_wordcopy_bwd_dest_aligned): Likewise.
11285 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
11286 multiarch implementations.
11287 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11288 (__libc_ifunc_impl_list): Likewise.
11289 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
11290 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
11291 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
11292 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
11293 multiarch wcscpy for PPC64.
11295 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
11296 multiarch implementations.
11297 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11298 (__libc_ifunc_impl_list): Likewise.
11299 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
11300 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
11301 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
11302 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
11303 multiarch wcscpy for PPC64.
11305 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
11306 multiarch implementations.
11307 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11308 (__libc_ifunc_impl_list): Likewise.
11309 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
11310 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
11311 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
11312 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
11313 multiarch wcsrchr for PPC64.
11315 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
11316 multiarch implementations.
11317 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11318 (__libc_ifunc_impl_list): Likewise.
11319 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
11320 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
11321 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
11322 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
11323 multiarch wcschr for PPC64.
11325 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
11326 multiarch implementations.
11327 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11328 (__libc_ifunc_impl_list): Likewise.
11329 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
11330 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
11331 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
11332 multiarch strchrnul for PPC64.
11334 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
11336 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11337 (__libc_ifunc_impl_list): Likewise.
11338 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
11339 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
11340 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
11341 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
11344 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
11346 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11347 (__libc_ifunc_impl_list): Likewise.
11348 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
11349 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
11350 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
11351 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
11354 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
11355 multiarch implementations.
11356 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11357 (__libc_ifunc_impl_list): Likewise.
11358 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
11359 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
11360 strncasecmp for PPC64.
11361 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
11362 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
11363 multiarch strncasecmp_l for PPC64.
11365 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
11366 multiarch implementations.
11367 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11368 (__libc_ifunc_impl_list): Likewise.
11369 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
11370 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
11371 multiarch strcasecmp for PPC64.
11372 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
11374 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
11375 multiarch strcasecmp_l for PPC64.
11377 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
11379 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11380 (__libc_ifunc_impl_list): Likewise.
11381 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
11382 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
11383 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
11386 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
11388 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11389 (__libc_ifunc_impl_list): Likewise.
11390 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
11391 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
11392 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
11395 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
11397 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11398 (__libc_ifunc_impl_list): Likewise.
11399 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
11400 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
11401 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
11402 rawmemrchr for PPC64.
11404 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
11406 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11407 (__libc_ifunc_impl_list): Likewise.
11408 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
11409 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
11410 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
11413 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
11415 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11416 (__libc_ifunc_impl_list): Likewise.
11417 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
11418 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
11419 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
11422 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
11424 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11425 (__libc_ifunc_impl_list): Likewise.
11426 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
11427 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
11428 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
11431 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
11432 avoid cretion of __bzero symbol.
11433 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
11435 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
11437 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
11439 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
11440 multiarch implementations.
11441 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11442 (__libc_ifunc_impl_list): Likewise.
11443 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
11444 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
11445 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
11446 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
11448 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
11449 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
11450 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
11451 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
11452 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
11454 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
11456 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
11457 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
11459 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11460 (__libc_ifunc_impl_list): Likewise.
11461 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
11462 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
11463 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
11464 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
11467 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
11468 multiarch for POWER/PPC64.
11469 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
11470 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
11471 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
11472 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
11473 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
11474 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
11475 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
11476 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
11477 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
11480 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
11481 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
11482 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
11483 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
11484 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
11485 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
11486 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
11487 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
11488 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
11489 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
11490 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
11491 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
11492 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
11493 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
11494 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
11495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
11496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
11497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
11498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
11499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
11500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
11501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
11503 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11505 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
11507 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11509 * benchtests/Makefile (bench): Add exp2 and log2.
11510 (LDLIBS-bench-exp2): Add -lm.
11511 (LDLIBS-bench-log2): Likewise.
11512 * benchtests/exp2-inputs: New inputs file.
11513 * benchtests/log2-inputs: New inputs file.
11514 * benchtests/log-inputs: Add new inputs.
11515 * benchtests/tan-inputs: Likewise.
11517 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11519 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
11521 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
11522 (csloww2): ... from here.
11524 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
11525 instead of structures.
11526 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
11527 (POLYNOMIAL): Likewise.
11528 (TAYLOR_SLOW): Likewise.
11534 (sloww1); Likewise.
11535 (sloww2): Likewise.
11536 (bsloww1): Likewise.
11537 (bsloww2): Likewise.
11538 (cslow2): Likewise.
11539 (csloww): Likewise.
11540 (csloww1): Likewise.
11541 (csloww2): Likewise.
11543 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
11545 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
11546 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
11547 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
11548 * malloc/hooks.c (realloc_check): Likewise.
11550 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
11551 * malloc/arena.c: Remove PER_THREAD conditional.
11552 [!PER_THREAD]: Remove code.
11553 (ptmalloc_unlock_all2): Likewise.
11554 (ptmalloc_init): Likewise.
11555 (_int_new_arena): Likewise.
11556 (arena_get2): Likewise.
11557 * malloc/hooks.c (__malloc_get_state): Likewise.
11558 (__malloc_set_state): Likewise.
11559 * malloc/malloc.c: Likewise.
11560 (struct malloc_state): Likewise.
11561 (struct malloc_par): Likewise.
11562 (__libc_realloc): Likewise.
11563 (__libc_mallopt): Likewise.
11565 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11567 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
11569 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
11571 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
11572 macro to a function. Check for zero perturb_byte.
11573 (_int_malloc, _int_free): Remove zero perturb_byte checks.
11575 * malloc/malloc.c: (force_reg): Remove.
11576 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
11577 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
11578 force_reg by atomic_forced_read.
11579 * malloc/arena.c (ptmalloc_init): Likewise.
11580 * malloc/hooks.c (top_check): Likewise.
11582 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11584 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11586 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
11588 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11590 2013-12-08 Joseph Myers <joseph@codesourcery.com>
11592 * math/auto-libm-test-in: Add tests of lgamma.
11593 * math/auto-libm-test-out: Regenerated.
11594 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
11595 (M_LOG_2_SQRT_PIl): Likewise.
11596 (lgamma_test_data): Use AUTO_TESTS_f_f1.
11597 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11599 (func_calc_desc): Add mpfr_f_f1 union field.
11600 (ARGS1): New macro.
11608 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
11609 (test_functions): Add lgamma.
11610 (calc_generic_results): Handle mpfr_f_f1.
11611 * sysdeps/i386/fpu/libm-test-ulps: Update.
11612 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11614 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11616 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
11617 __mpn_add_n for PowerPC64/POWER7.
11618 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
11619 __mpn_sub_n for PowerPC64/POWER7.
11621 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
11622 __mpn_addmul_1 for PowerPC64.
11623 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
11624 __mpn_submul_1 for PowerPC64.
11625 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
11627 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
11630 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
11633 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
11635 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11637 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
11639 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
11640 add multiarch folders.
11641 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
11642 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
11643 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
11644 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
11645 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
11646 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
11647 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
11648 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
11649 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
11650 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
11651 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
11652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
11653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
11654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
11655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
11656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
11657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
11659 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11660 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
11661 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
11663 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
11665 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
11666 multiarch __ieee754_hypot for PowerPC32.
11667 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
11669 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
11671 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
11672 multiarch __ieee754_hypotf for PowerPC32.
11674 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
11675 long_double_symbol only if __logbl is defined.
11676 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
11677 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
11678 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
11679 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
11680 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
11681 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
11682 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
11683 path for implementation.
11684 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
11685 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
11686 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
11687 logb, and logbl multiarch implementations for PowerPC32.
11688 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
11690 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
11692 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
11693 multiarch logb for PowerPC32.
11694 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
11696 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
11698 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
11699 multiarch logbf for PowerPC32.
11700 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
11701 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
11703 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
11704 multiarch logbl implementation for PowerPC32.
11706 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
11707 and modff multiarch implementations.
11708 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
11710 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
11712 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
11713 multiarch modf for PowerPC32.
11714 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
11716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
11718 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
11719 multiarch modff for PowerPC32.
11721 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
11722 and lrintf multiarch implementations.
11723 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
11725 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
11727 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
11728 multiarch lrint for PowerPC32.
11729 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
11730 file: multiarch lrintf for PowerPC32.
11732 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
11733 and lroundf multiarch implementations.
11734 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
11736 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
11738 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
11740 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
11741 multiarch lround for PowerPC32.
11742 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
11743 file: multiarch lroundf for PowerPC32.
11745 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11746 copysign and copysignf multiarch implementations.
11747 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
11749 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
11751 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
11752 file: multiarch copysign for PowerPC32.
11753 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
11754 file: multiarch copysignf for PowerPC32.
11756 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
11757 and truncf multiarch implementations.
11758 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
11760 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
11762 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
11763 multiarch trunc for PowerPC32.
11764 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
11766 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
11768 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
11769 multiarch truncf for PowerPC32.
11771 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
11772 and roundf multiarch implementations.
11773 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
11775 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
11777 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
11778 multiarch round for PowerPC32.
11779 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
11781 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
11783 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
11784 multiarch roundf for PowerPC32.
11786 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
11787 and floorf multiarch implementations.
11788 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
11790 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
11792 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
11793 multiarch floor for PowerPC32.
11794 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
11796 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
11798 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
11799 multiarch floorf for PowerPC32.
11801 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
11802 and ceilf multiarch implementations.
11803 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
11805 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
11807 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
11808 multiarch ceil for PowerPC32.
11809 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
11811 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
11813 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
11814 multiarch ceilf for PowerPC32.
11816 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
11818 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
11819 FINITEF is defined.
11820 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
11821 and finitef multiarch implementations.
11822 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
11824 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
11826 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
11827 multiarch finite for PowerPC32.
11828 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
11830 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
11831 file: multiarch finitef for PowerPC32.
11833 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
11834 and isinff multiarch implementations.
11835 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
11837 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
11839 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
11840 multiarch isinf for PowerPC32.
11841 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
11843 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
11844 multiarch isinff for PowerPC32.
11846 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
11847 alias when __isnan is defined.
11848 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
11849 and isnanf multiarch implementations.
11850 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
11852 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
11854 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
11856 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
11858 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
11859 multiarch isnan for PowerPC32.
11860 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
11862 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
11864 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
11865 multiarch isnanf for PowerPC32.
11867 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
11868 and sqrtf multiarch implementations.
11869 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
11871 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
11873 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
11874 multiarch sqrt for PowerPC32.
11875 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
11877 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
11879 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
11880 multiarch sqrtf for PowerPC32.
11882 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
11883 and llroundf multiarch implementations.
11884 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
11886 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
11888 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
11890 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
11891 file: multiarch llround for PowerPC32.
11892 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
11893 file: multiarch llroundf for PowerPC32.
11895 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
11896 multiarch PowerPC32 fpu implementations.
11897 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
11899 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
11901 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
11902 multiarch llrint for PowerPC32.
11903 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
11905 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
11907 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
11910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
11912 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
11914 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
11916 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
11918 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
11919 multiarch wordcopy for PPC32.
11920 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
11922 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11923 (__libc_ifunc_impl_list): Likewise.
11924 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
11925 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
11926 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
11927 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
11928 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
11929 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
11931 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
11932 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
11934 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
11936 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
11938 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
11939 multiarch wcscpy for PPC32.
11940 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
11942 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11943 (__libc_ifunc_impl_list): Likewise.
11944 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
11945 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
11946 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
11947 sysdeps/powerpc/power6/wcscpy.c.
11949 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
11950 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
11952 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
11954 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
11956 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
11957 multiarch wcsrchr for PPC32.
11958 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
11960 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11961 (__libc_ifunc_impl_list): Likewise.
11962 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
11963 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
11964 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
11965 sysdeps/powerpc/power6/wcsrchr.c.
11967 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
11969 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
11971 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
11972 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
11973 multiarch wcschr for PPc32.
11974 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
11976 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11977 (__libc_ifunc_impl_list): Likewise.
11978 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
11979 * sysdeps/powerpc/power6/wcschr.c: ... to here.
11980 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
11981 sysdeps/powerpc/power6/wcschr.c.
11983 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
11984 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
11986 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
11987 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
11988 file: multiarch strchr for PPC32.
11989 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
11991 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11992 (__libc_ifunc_impl_list): Likewise.
11994 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
11996 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
11998 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
12000 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
12001 multiarch strchrnul for PPC32.
12002 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
12004 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12005 (__libc_ifunc_impl_list): Likewise.
12007 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
12009 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
12010 multiarch strncasecmp for PPC32.
12011 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
12013 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
12014 multiarch strncasecmp_l for PPC32.
12015 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
12016 strncasecmp multiarch objects.
12017 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12018 (__libc_ifunc_impl_list): Likewise.
12020 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
12022 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
12023 multiarch strncasecmp for PPC32.
12024 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
12026 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
12027 multiarch strcasecmp_l for PPC32.
12028 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
12030 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12031 (__libc_ifunc_impl_list): Likewise.
12033 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
12035 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
12037 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
12038 multiarch strncmp for PPC32.
12039 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
12041 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12042 (__libc_ifunc_impl_list): Likewise.
12044 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
12045 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
12047 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
12048 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
12049 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
12051 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12052 (__libc_ifunc_impl_list): Likewise.
12054 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
12056 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
12058 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
12059 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
12061 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12062 (__libc_ifunc_impl_list): Likewise.
12064 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
12066 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
12068 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
12069 multiarch rawmemchr for PPC32.
12070 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
12072 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12073 (__libc_ifunc_impl_list): Likewise.
12075 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
12077 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
12079 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
12080 file: memrchr multiarch for PPC32.
12081 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
12083 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12084 (__libc_ifunc_impl_list): Likewise.
12086 * string/memchr.c (__memchr): Using macro to redefine symbol name.
12087 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
12089 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
12090 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
12091 multiarch memchr for PPC32.
12092 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
12094 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12095 (__libc_ifunc_impl_list): Likewise.
12097 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
12098 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
12100 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
12102 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
12103 file: multiarch mempcpy for PPC32.
12104 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
12106 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12107 (__libc_ifunc_impl_list): Likewise.
12109 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
12110 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
12111 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
12112 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
12113 multiarch bzero for PPC32.
12114 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
12116 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
12118 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
12119 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
12120 file: multiarch memset for PPC32.
12121 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
12122 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
12123 memset multiarch objects.
12124 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12125 (__libc_ifunc_impl_list): Likewise.
12127 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
12129 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
12130 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
12132 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
12133 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
12135 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12136 (__libc_ifunc_impl_list): Likewise.
12138 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
12139 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
12140 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
12142 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
12144 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
12146 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
12147 multiarch memcpy for PPC32.
12148 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
12150 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12151 (__libc_ifunc_impl_list): Likewise.
12153 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
12154 support multiarch for POWER/PPC32.
12155 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
12157 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
12158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
12159 Implies file to make multiarch folder appers before the fpu and
12160 default folder for power4 configuration.
12162 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12164 * scripts/bench.pl: Append volatile keyword to type.
12166 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12168 * sysdeps/sh/sotruss-lib.c: New file.
12169 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
12171 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12173 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12175 2013-12-05 Joseph Myers <joseph@codesourcery.com>
12178 * math/w_tgamma.c: Include <errno.h>.
12179 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
12180 * math/w_tgammaf.c: Include <errno.h>.
12181 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
12182 * math/w_tgammal.c: Include <errno.h>.
12183 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
12184 * math/auto-libm-test-in: Do not allow missing errno on tgamma
12185 underflow. Add more tgamma tests.
12186 * math/auto-libm-test-out: Regenerated.
12187 * sysdeps/i386/fpu/libm-test-ulps: Update.
12188 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12190 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
12191 sin, sinh, tan, tanh, tgamma, y0 and y1.
12192 * math/auto-libm-test-out: Regenerated.
12193 * math/libm-test.inc (TEST_COND_x86_64): New macro.
12194 (TEST_COND_x86): Likewise.
12195 (M_E2l): Remove macro.
12197 (M_2_SQRT_PIl): Likewise.
12198 (M_SQRT_PIl): Likewise.
12199 (M_1_DIV_El): Likewise.
12200 (log_test_data): Use AUTO_TESTS_f_f.
12201 (log10_test_data): Likewise.
12202 (log1p_test_data): Likewise.
12203 (log2_test_data): Likewise.
12204 (sin_test_data): Likewise.
12205 (sin_tonearest_test_data): Likewise.
12206 (sin_towardzero_test_data): Likewise.
12207 (sin_downward_test_data): Likewise.
12208 (sin_upward_test_data): Likewise.
12209 (sinh_test_data): Likewise.
12210 (sinh_tonearest_test_data): Likewise.
12211 (sinh_towardzero_test_data): Likewise.
12212 (sinh_downward_test_data): Likewise.
12213 (sinh_upward_test_data): Likewise.
12214 (tan_test_data): Likewise.
12215 (tan_tonearest_test_data): Likewise.
12216 (tan_towardzero_test_data): Likewise.
12217 (tan_downward_test_data): Likewise.
12218 (tan_upward_test_data): Likewise.
12219 (tanh_test_data): Likewise.
12220 (tgamma_test_data): Likewise.
12221 (y0_test_data): Likewise.
12222 (y1_test_data): Likewise.
12223 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
12224 (special_real_inputs): Add pi/4.
12225 * sysdeps/i386/fpu/libm-test-ulps: Update.
12226 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12228 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12230 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
12231 "longjmp_target" static probes.
12232 (__longjmp): Rename to __longjmp_symbol.
12233 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12234 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
12235 on which longjmp to generate.
12236 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
12237 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
12239 (__sigsetjmp): Rename to __sigsetjmp_symbol.
12240 (__sigjmp_save): Rename to __sigjmp_save_symbol.
12241 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
12242 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
12243 and __sigjmp_save_symbol based on which sigsetjmp to generated.
12244 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
12245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
12246 __longjmp_symbol based on which __longjmp to generate.
12247 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
12249 (setjmp): Rename to setjmp_symbol.
12250 (__sigsetjmp): Rename to __sigsetjmp_symbol.
12251 (_setjmp): Rename to _setjmp_symbol.
12252 (__sigsetjmp): Rename to __sigsetjmp_symbol.
12253 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
12254 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
12255 which setjmp to generate.
12256 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
12257 "longjmp_target" static probes.
12259 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12261 * benchtests/README: Add note about output arguments.
12262 * benchtests/bench-sincos.c: Remove file.
12263 * benchtests/sincos-inputs: New file.
12264 * scripts/bench.pl: Identify output arguments and define
12265 static variables for them.
12267 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
12270 * Makefile (INSTALL): Add install-plain.texi as the primary
12272 * manual/install-plain.texi: New file.
12273 * manual/install.texi: Include node directive only for
12274 non-plaintext output.
12276 2013-12-04 Joseph Myers <joseph@codesourcery.com>
12278 * stdlib/longlong.h: Update from GCC.
12282 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
12283 * math/w_j0f.c (y0f): Likewise.
12284 * math/w_j0l.c (__y0l): Likewise.
12285 * math/w_j1.c (y1): Likewise.
12286 * math/w_j1f.c (y1f): Likewise.
12287 * math/w_j1l.c (__y1l): Likewise
12288 * math/w_jn.c (yn): Likewise.
12289 * math/w_jnf.c (ynf): Likewise.
12290 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
12291 Bessel function pole errors in _POSIX_ mode. Use NAN as return
12292 value for Bessel function domain errors outside _SVID_ mode.
12293 Adjust sign of return value for yn (negative integer, 0).
12294 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
12295 by zero in return for negative x and set sign appropriately for
12297 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
12298 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
12299 * math/libm-test.inc (y0_test_data): Add more tests and adjust
12300 expectations in error cases.
12301 (y1_test_data): Likewise.
12302 (yn_test_data): Likewise.
12303 * sysdeps/i386/fpu/libm-test-ulps: Update.
12304 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12306 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12308 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
12309 "64" to "64-v1". Add "64-v2".
12310 (abi-64-options): Rename to ...
12311 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
12312 (abi-64-condition): Rename to ...
12313 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
12314 (abi-64-ld-soname): Rename to ...
12315 (abi-64-v1-ld-soname): ... this.
12316 (abi-64-v2-options): Define.
12317 (abi-64-v2-condition): Likewise.
12318 (abi-64-v2-ld-soname): Likewise.
12319 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
12320 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
12321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
12322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
12323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
12325 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12326 Alan Modra <amodra@gmail.com>
12328 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
12329 New versions for use with the ELFv2 ABI.
12330 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
12331 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
12333 (struct La_ppc64v2_retval): Likewise.
12334 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
12335 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
12336 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
12337 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
12338 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
12339 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
12340 Do not save or restore CR.
12341 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
12342 (_dl_profile_resolve): Do no save or restore CR. Support extended
12343 return values for ELFv2 ABI. Fix location of FPR return registers.
12344 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
12345 updated values for _CALL_ELF == 2.
12346 (La_regs, La_retval, int_retval): Likewise.
12348 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12350 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
12351 (FRAME_MIN_SIZE_PARM): Likewise.
12352 (FRAME_BACKCHAIN): Likewise.
12353 (FRAME_CR_SAVE): Likewise.
12354 (FRAME_LR_SAVE): Likewise.
12355 (FRAME_TOC_SAVE): Likewise.
12356 (FRAME_PARM_SAVE): Likewise.
12357 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
12358 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
12359 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
12360 (call_mcount_parm_offset): New macro.
12361 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
12362 (PROF): Use symbolic stack frame offsets.
12363 (TAIL_CALL_SYSCALL_ERROR): Likewise.
12364 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
12365 Redefine in terms of FRAME_MIN_SIZE.
12366 (_dl_runtime_resolve): Use symbolic stack frame offsets.
12367 (_dl_profile_resolve): Likewise. Update comment.
12368 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
12369 symbols stack frame offsets.
12370 (__sigsetjmp): Likewise.
12371 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
12372 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
12373 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
12374 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
12376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
12377 (FRAME_BACKCHAIN): Remove.
12378 (FRAME_CR_SAVE): Likewise.
12379 (FRAME_LR_SAVE): Likewise.
12380 (FRAME_COMPILER_DW): Likewise.
12381 (FRAME_LINKER_DW): Likewise.
12382 (FRAME_TOC_SAVE): Likewise.
12383 (FRAME_PARM_SAVE): Likewise.
12384 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
12385 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
12386 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
12387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
12388 (CHECK_SP): Use symbolic stack frame offsets.
12389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
12390 zone" instead of caller's parameter save area for temp storage.
12391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
12392 Likewise. Also, use symbolic stack frame offsets.
12393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
12394 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
12395 our own stack frame instead of the caller's.
12396 (__socket): Use symbolic stack frame offsets.
12398 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12399 Alan Modra <amodra@gmail.com>
12401 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
12403 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
12404 (PPC64_LOCAL_ENTRY_OFFSET): Define.
12405 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
12407 (elf_machine_fixup_plt): Call it.
12408 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
12410 (elf_machine_rela): Update call to elf_machine_plt_conflict.
12411 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12412 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
12413 r2 before calling target.
12415 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12416 Alan Modra <amodra@gmail.com>
12418 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
12419 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
12420 versions of macros to support ELFv2 ABI.
12421 (LOCALENTRY): New macro.
12422 (ENTRY, EALIGN): Use it.
12423 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
12424 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
12425 fall through into ENTRY entry point.
12426 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
12427 Only define if _CALL_ELF != 2.
12429 (elf_machine_matches_host): Verify ABI version matches.
12430 (RTLD_START): Use LOCALENTRY.
12431 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
12432 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
12433 (PLT_ENTRY_WORDS): New macro.
12434 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
12435 (elf_machine_runtime_setup): Support ELFv2 ABI.
12436 (elf_machine_fixup_plt): Likewise.
12437 (elf_machine_plt_conflict): Likewise.
12438 (resolve_ifunc): Likewise.
12439 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
12440 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
12442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
12443 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
12444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12445 (makecontext): Support ELFv2 ABI.
12446 * elf/elf.h (EF_PPC64_ABI): Define.
12448 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12450 * sysdeps/powerpc/powerpc64/sysdep.h
12451 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
12452 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
12453 (ENTRY) [ASSEMBLER]: ... but instead here ...
12454 (EALIGN) [ASSEMBLER]: ... and here.
12455 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
12456 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
12457 (ENTRY_2) [!ASSEMBLER]: Use it.
12458 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
12459 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
12460 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12461 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
12462 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
12463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
12464 Use PPC64_LOAD_FUNCPTR.
12466 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
12468 2013-12-04 Alan Modra <amodra@gmail.com>
12470 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
12471 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
12472 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
12473 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
12475 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
12476 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
12477 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
12478 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
12479 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
12480 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
12482 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12485 (__makecontext): Fix incorrect CFI when backtracing out of
12486 context created via makecontext.
12487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
12488 (__setcontext): Fix incorrect CFI during switch to new context.
12489 (__novec_setcontext): Likewise.
12491 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
12494 * time/strptime_l.c (__strptime_internal): Allow modifiers
12496 * time/tst-strptime.c (day_tests): Add testcase.
12498 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12500 * scripts/bench.pl: Skip over blank lines.
12502 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
12505 * manual/time.texi (Calendar Time): Clarify what timezone functions
12508 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12510 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12512 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
12514 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
12516 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
12517 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
12518 * debug/memset_chk.c (__memset_chk): Likewise.
12519 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
12520 * debug/strncpy_chk.c: Likewise.
12522 2013-12-03 Joseph Myers <joseph@codesourcery.com>
12526 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
12527 (__ieee754_exp): For possibly underflowing results, check size of
12528 result and force underflow exception if required.
12529 * math/auto-libm-test-in: Add more tests of exp.
12530 * math/auto-libm-test-out: Regenerated.
12531 * sysdeps/i386/fpu/libm-test-ulps: Update.
12532 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12535 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
12536 * math/w_exp2f.c (__exp2f): Likewise.
12537 * math/w_exp2l.c (__exp2l): Likewise.
12538 * math/auto-libm-test-in: Do not allow missing errno on exp2
12540 * math/auto-libm-test-out: Regenerated.
12542 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
12545 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
12546 handle filename validation.
12547 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
12550 2013-12-03 Joseph Myers <joseph@codesourcery.com>
12553 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
12554 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
12555 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
12557 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
12558 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
12559 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12560 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
12561 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12562 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
12563 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12564 * math/auto-libm-test-in: Don't allow missing errno from erfc.
12565 Add more erfc tests.
12566 * math/auto-libm-test-out: Regenerated.
12567 * sysdeps/i386/fpu/libm-test-ulps: Update.
12568 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12570 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
12571 exp2, expm1, j0 and j1.
12572 * math/auto-libm-test-out: Regenerated.
12573 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
12574 (erfc_test_data): Likewise.
12575 (exp_test_data): Likewise.
12576 (exp_tonearest_test_data): Likewise.
12577 (exp_towardzero_test_data): Likewise.
12578 (exp_downward_test_data): Likewise.
12579 (exp_upward_test_data): Likewise.
12580 (exp10_test_data): Likewise.
12581 (exp2_test_data): Likewise.
12582 (expm1_test_data): Likewise.
12583 (j0_test_data): Likewise.
12584 (j1_test_data): Likewise.
12585 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
12586 (input_flag_type): Add flag_xfail_rounding.
12587 (input_flags): Add xfail-rounding.
12588 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
12589 (output_for_one_input_case): Handle flag_xfail_rounding.
12590 * sysdeps/i386/fpu/libm-test-ulps: Update.
12591 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12593 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
12596 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
12599 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12602 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
12603 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
12604 (STAP_PROBE0): New macro.
12605 (STAP_PROBE1): Likewise.
12606 (STAP_PROBE2): Likewise.
12607 (STAP_PROBE3): Likewise.
12608 (STAP_PROBE4): Likewise.
12610 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
12612 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
12614 2013-12-02 Steve Ellcey <sellcey@mips.com>
12616 * benchtests/Makefile (bench): Add sqrt.
12617 (LDLIBS-bench-sqrt): New.
12618 * benchtests/sqrt-input: New.
12620 2013-12-02 Pavel Simerda <psimerda@redhat.com>
12622 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
12623 (GAIH_EAI): Likewise.
12624 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
12625 (gaih_inet): Likewise.
12626 (getaddrinfo): Don't use GAIH_EAI.
12628 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
12629 (struct gaih): Remove definition.
12631 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12633 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
12634 Use HERRNOP directly.
12636 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12638 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12640 2013-11-30 Joseph Myers <joseph@codesourcery.com>
12642 * math/gen-auto-libm-tests.c (test_functions): Add more
12643 single-argument functions.
12644 (special_fill_pi_2): New function.
12645 (special_fill_minus_pi_2): Likewise.
12646 (special_fill_pi_6): Likewise.
12647 (special_fill_minus_pi_6): Likewise.
12648 (special_fill_pi_3): Likewise.
12649 (special_fill_2pi_3): Likewise.
12650 (special_fill_e): Likewise.
12651 (special_fill_1_e): Likewise.
12652 (special_fill_e_minus_1): Likewise.
12653 (special_real_inputs): Add more special inputs.
12654 (output_for_one_input_case): Do not require ERANGE on underflow to
12655 zero if round-to-nearest result does not underflow to zero, unless
12656 exact results required.
12657 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
12658 atan, atanh, cbrt, cos and cosh.
12659 * math/auto-libm-test-out: Regenerated.
12660 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
12661 (acos_tonearest_test_data): Likewise.
12662 (acos_towardzero_test_data): Likewise.
12663 (acos_downward_test_data): Likewise.
12664 (acos_upward_test_data): Likewise.
12665 (acosh_test_data): Likewise.
12666 (asin_test_data): Likewise.
12667 (asin_tonearest_test_data): Likewise.
12668 (asin_towardzero_test_data): Likewise.
12669 (asin_upward_test_data): Likewise.
12670 (asinh_test_data): Likewise.
12671 (atan_test_data): Likewise.
12672 (atanh_test_data): Likewise.
12673 (cbrt_test_data): Likewise.
12674 (cos_test_data): Likewise.
12675 (cos_tonearest_test_data): Likewise.
12676 (cos_towardzero_test_data): Likewise.
12677 (cos_downward_test_data): Likewise.
12678 (cos_upward_test_data): Likewise.
12679 (cosh_test_data): Likewise.
12680 (cosh_tonearest_test_data): Likewise.
12681 (cosh_towardzero_test_data): Likewise.
12682 (cosh_downward_test_data): Likewise.
12683 (cosh_upward_test_data): Likewise.
12684 * sysdeps/i386/fpu/libm-test-ulps: Update.
12685 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12687 2013-11-29 Joseph Myers <joseph@codesourcery.com>
12690 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
12691 * math/w_exp10f.c (__exp10f): Likewise.
12692 * math/w_exp10l.c (__exp10l): Likewise.
12693 * math/libm-test.inc (exp10_test_data): Add more tests and expect
12694 errno settings in existing tests.
12697 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
12698 precision control set to double precision.
12699 * sysdeps/i386/fpu/w_sqrt.c: New file.
12700 * math/auto-libm-test-in: Add more tests.
12701 * math/auto-libm-test-out: Update.
12703 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
12704 (sqrt_test_tonearest): New function.
12705 (sqrt_towardzero_test_data): New variable.
12706 (sqrt_test_towardzero): New function.
12707 (sqrt_downward_test_data): New variable.
12708 (sqrt_test_downward): New function.
12709 (sqrt_upward_test_data): New variable.
12710 (sqrt_test_upward): New function.
12711 (main): Call the new functions.
12713 * math/gen-auto-libm-tests.c: New file.
12714 * math/auto-libm-test-in: Likewise.
12715 * math/auto-libm-test-out: New generated file.
12716 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
12718 (%beautify): Add generated representations of zero.
12719 (top level): Set $auto_input and call parse_auto_input.
12720 (beautify): Remove trailing "f" from hex float constants.
12721 (parse_args): Handle XFAIL_TEST.
12722 (convert_condition): New function.
12723 (or_value): Likewise.
12724 (or_cond_value): Likewise.
12725 (generate_testfile): Handle AUTO_TESTS_* lines.
12726 (parse_auto_input): New function.
12727 * math/libm-test.inc (XFAIL_TEST): New macro.
12728 (ERRNO_UNCHANGED): Update value.
12729 (ERRNO_EDOM): Likewise.
12730 (ERRNO_ERANGE): Likewise.
12731 (IGNORE_RESULT): Likewise.
12732 (TEST_COND_flt_32): New macro.
12733 (TEST_COND_dbl_64): Likewise.
12734 (TEST_COND_ldbl_96_intel): Likewise.
12735 (TEST_COND_ldbl_96_m68k): Likewise.
12736 (TEST_COND_ldbl_128): Likewise.
12737 (TEST_COND_ldbl_128ibm): Likewise.
12738 (TEST_COND_long32): Likewise.
12739 (TEST_COND_long64): Likewise.
12740 (TEST_COND_before_rounding): Likewise.
12741 (TEST_COND_after_rounding): Likewise.
12742 (enable_test): Handle XFAIL_TEST flag.
12743 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
12744 with finite results.
12745 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
12746 auto-libm-test-out.
12748 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12749 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12752 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
12753 __tls_get_addr_internal instead of __tls_get_offset in order to
12754 avoid GOT pointer dependency. Make rtld export
12755 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
12756 __tls_get_addr since we are a __tls_get_offset platform.
12757 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
12758 GOT pointer being set up before.
12759 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
12761 2013-11-28 Joseph Myers <joseph@codesourcery.com>
12763 * manual/math.texi (Errors in Math Functions): Document accuracy
12767 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
12768 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
12769 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
12770 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12771 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12772 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12773 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12774 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
12775 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
12776 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12777 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12778 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12779 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12780 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12781 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
12782 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
12784 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
12785 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
12786 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
12787 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
12788 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
12790 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
12792 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
12794 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
12795 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
12796 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
12797 atomic-feupdateenv and flt-rounds.
12798 * sysdeps/powerpc/nofpu/Versions (libc): Add
12799 __atomic_feholdexcept, __atomic_feclearexcept,
12800 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
12801 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
12802 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
12803 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
12804 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
12806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
12809 * manual/arith.texi (FP Exceptions): Document that exceptions may
12810 not be raised when matherr is used.
12811 (Math Error Reporting): Document overflow in directed rounding
12812 modes. Document that errno may not be set when finite values are
12813 returned on overflow. Document intent to set errno on underflow
12814 only for underflow to zero.
12817 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
12818 round-to-nearest then adjust result for other rounding modes.
12819 * include/fenv.h (fegetround): Use libm_hidden_proto.
12820 * math/fegetround.c (fegetround): Use libm_hidden_def.
12821 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
12822 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
12823 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
12824 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
12826 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
12827 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
12828 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
12829 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
12831 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12834 * nss/Versions (libnss_files): Add
12835 _nss_files_gethostbyname3_r.
12836 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
12838 (HOST_DB_LOOKUP): Remove macro.
12839 (_nss_files_gethostbyname_r): Implement function without the
12840 HOST_DB_LOOKUP macro.
12841 (_nss_files_gethostbyname2_r): Likewise.
12843 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
12845 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
12847 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
12849 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
12850 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
12853 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12855 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
12856 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
12857 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
12858 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
12859 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
12860 __fe_nomask_env_priv and attribute_hidden.
12861 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
12862 (libc_feupdateenv_test_ppc): Likewise.
12863 (libc_feresetround_ppc): Likewise.
12864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12865 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
12866 compat_symbol macro.
12867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12868 (__fe_nomask_env): Likewise.
12869 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
12871 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
12873 * string/Makefile: Remove ifunc tests.
12874 * string/test-string.h: Define TEST_IFUNC.
12875 * string/test-bcopy-ifunc.c: Remove.
12876 * string/test-bzero-ifunc.c: Likewise.
12877 * string/test-memccpy-ifunc.c: Likewise.
12878 * string/test-memchr-ifunc.c: Likewise.
12879 * string/test-memcmp-ifunc.c: Likewise.
12880 * string/test-memcpy-ifunc.c: Likewise.
12881 * string/test-memmem-ifunc.c: Likewise.
12882 * string/test-memmove-ifunc.c: Likewise.
12883 * string/test-mempcpy-ifunc.c: Likewise.
12884 * string/test-memrchr-ifunc.c: Likewise.
12885 * string/test-memset-ifunc.c: Likewise.
12886 * string/test-rawmemchr-ifunc.c: Likewise.
12887 * string/test-stpcpy-ifunc.c: Likewise.
12888 * string/test-stpncpy-ifunc.c: Likewise.
12889 * string/test-strcasecmp-ifunc.c: Likewise.
12890 * string/test-strcasestr-ifunc.c: Likewise.
12891 * string/test-strcat-ifunc.c: Likewise.
12892 * string/test-strchr-ifunc.c: Likewise.
12893 * string/test-strchrnul-ifunc.c: Likewise.
12894 * string/test-strcmp-ifunc.c: Likewise.
12895 * string/test-strcpy-ifunc.c: Likewise.
12896 * string/test-strcspn-ifunc.c: Likewise.
12897 * string/test-strlen-ifunc.c: Likewise.
12898 * string/test-strncasecmp-ifunc.c: Likewise.
12899 * string/test-strncat-ifunc.c: Likewise.
12900 * string/test-strncmp-ifunc.c: Likewise.
12901 * string/test-strncpy-ifunc.c: Likewise.
12902 * string/test-strnlen-ifunc.c: Likewise.
12903 * string/test-strpbrk-ifunc.c: Likewise.
12904 * string/test-strrchr-ifunc.c: Likewise.
12905 * string/test-strspn-ifunc.c: Likewise.
12906 * string/test-strstr-ifunc.c: Likewise.
12908 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
12910 * benchtests/Makefile: Remove ifunc tests.
12911 * benchtests/bench-string.h: Define TEST_IFUNC.
12912 * benchtests/bench-bcopy-ifunc.c: Remove.
12913 * benchtests/bench-bzero-ifunc.c: Likewise.
12914 * benchtests/bench-memccpy-ifunc.c: Likewise.
12915 * benchtests/bench-memchr-ifunc.c: Likewise.
12916 * benchtests/bench-memcmp-ifunc.c: Likewise.
12917 * benchtests/bench-memcpy-ifunc.c: Likewise.
12918 * benchtests/bench-memmem-ifunc.c: Likewise.
12919 * benchtests/bench-memmove-ifunc.c: Likewise.
12920 * benchtests/bench-mempcpy-ifunc.c: Likewise.
12921 * benchtests/bench-memrchr-ifunc.c: Likewise.
12922 * benchtests/bench-memset-ifunc.c: Likewise.
12923 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
12924 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
12925 * benchtests/bench-stpcpy-ifunc.c: Likewise.
12926 * benchtests/bench-stpncpy-ifunc.c: Likewise.
12927 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
12928 * benchtests/bench-strcasestr-ifunc.c: Likewise.
12929 * benchtests/bench-strcat-ifunc.c: Likewise.
12930 * benchtests/bench-strchr-ifunc.c: Likewise.
12931 * benchtests/bench-strchrnul-ifunc.c: Likewise.
12932 * benchtests/bench-strcmp-ifunc.c: Likewise.
12933 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
12934 * benchtests/bench-strcpy-ifunc.c: Likewise.
12935 * benchtests/bench-strcspn-ifunc.c: Likewise.
12936 * benchtests/bench-strlen-ifunc.c: Likewise.
12937 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
12938 * benchtests/bench-strncat-ifunc.c: Likewise.
12939 * benchtests/bench-strncmp-ifunc.c: Likewise.
12940 * benchtests/bench-strncpy-ifunc.c: Likewise.
12941 * benchtests/bench-strnlen-ifunc.c: Likewise.
12942 * benchtests/bench-strpbrk-ifunc.c: Likewise.
12943 * benchtests/bench-strrchr-ifunc.c: Likewise.
12944 * benchtests/bench-strsep-ifunc.c: Likewise.
12945 * benchtests/bench-strspn-ifunc.c: Likewise.
12946 * benchtests/bench-strstr-ifunc.c: Likewise.
12948 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
12950 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
12952 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
12954 * resolv/netdb.h: Use __glibc_reserved instead __unused.
12955 * rt/aio.h: Likewise.
12956 * sysdeps/gnu/bits/utmp.h: Likewise.
12957 * sysdeps/gnu/bits/utmpx.h: Likewise.
12958 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
12959 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
12960 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
12961 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
12962 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
12963 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
12964 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
12965 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
12966 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
12967 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
12968 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
12969 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
12970 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
12971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
12972 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12973 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
12974 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
12975 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
12976 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
12977 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
12978 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
12979 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
12980 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
12981 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
12982 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
12983 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12984 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
12985 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
12986 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
12987 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
12988 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
12989 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
12990 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
12991 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
12992 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
12993 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
12994 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
12995 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
12996 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
12997 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
12998 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
12999 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
13001 2013-11-25 Carlos O'Donell <carlos@redhat.com>
13004 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
13005 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
13007 2013-11-25 Joseph Myers <joseph@codesourcery.com>
13009 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
13010 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
13013 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13015 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
13016 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
13017 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
13018 (__fesetround): Remove define.
13019 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
13020 rounding and exceptions handling.
13021 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
13022 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
13023 (__fe_nomask_env): Likewise.
13024 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
13025 __fegetround instead of fegetround.
13026 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
13027 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
13029 2013-11-21 Roland McGrath <roland@hack.frob.com>
13031 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
13034 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
13036 2013-11-21 Meador Inge <meadori@codesourcery.com>
13039 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
13040 (encrypt_r): Likewise.
13041 * malloc/obstack.h (obstack_free): Likewise.
13042 * posix/unistd.h (encrypt): Likewise.
13044 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
13046 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
13047 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
13048 DL_CALL_DT_FINI() that call the functions directly.
13049 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
13050 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
13051 * elf/dl-fini.c: Likewise.
13053 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
13055 * malloc/hooks.c (memalign_check): Add alignment rounding.
13056 * malloc/malloc.c (_mid_memalign): New function.
13057 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
13058 Implement by calling _mid_memalign.
13059 * manual/probes.texi (Memory Allocation Probes): Remove
13060 memory_valloc_retry and memory_pvalloc_retry.
13062 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13064 * locale/programs/locarchive.c (open_archive): Add const
13065 qualifier to ARCHIVEFNAME and copy default fname to
13069 * libio/tst-widetext.input: Rename Oriya to Odia.
13070 * locale/iso-639.def: Likewise.
13072 * manual/probes.texi (Mathematical Function Probes): Add
13073 documentation for sin, cos, asin and acos probes.
13074 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
13075 (__sin32): Add slowasin probe.
13076 (__cos32): Add slowacos probe.
13077 (__mpsin): Add slowsin probe.
13078 (__mpcos): Add slowcos probe.
13080 2013-11-19 Joseph Myers <joseph@codesourcery.com>
13083 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
13084 thread-local __sim_exceptions_thread and global
13085 __sim_exceptions_global.
13086 (__sim_disabled_exceptions): Change to thread-local
13087 __sim_disabled_exceptions_thread and global
13088 __sim_disabled_exceptions_global.
13089 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13090 and global __sim_round_mode_global.
13091 (__simulate_exceptions): Use thread-local floating-point state and
13092 set global state from it as needed.
13093 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
13094 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
13095 __sim_round_mode_thread.
13096 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
13097 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
13098 and global __sim_exceptions_global.
13099 (__sim_disabled_exceptions): Change to thread-local
13100 __sim_disabled_exceptions_thread and global
13101 __sim_disabled_exceptions_global.
13102 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13103 and global __sim_round_mode_global.
13104 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
13105 (SIM_SET_GLOBAL): Likewise.
13106 * sysdeps/powerpc/soft-fp/sfp-machine.h
13107 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
13108 __sim_round_mode_thread.
13109 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
13110 __sim_disabled_exceptions_thread.
13111 (__sim_exceptions): Change to __sim_exceptions_thread.
13112 (__sim_disabled_exceptions): Change to
13113 __sim_disabled_exceptions_thread.
13114 (__sim_round_mode): Change to __sim_round_mode_thread.
13115 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
13116 thread-local floating-point state and set global state from it as
13118 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
13119 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
13120 (__sim_disabled_exceptions): Remove extern declaration.
13121 (feenableexcept): Use thread-local floating-point state and set
13122 global state from it as needed.
13123 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
13124 extern declaration.
13125 (__sim_disabled_exceptions): Likewise.
13126 (__sim_round_mode): Likewise.
13127 (__fegetenv): Use thread-local floating-point state.
13128 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
13129 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13130 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
13131 floating-point state and set global state from it as needed.
13132 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
13133 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
13134 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
13136 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
13137 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
13139 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
13140 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
13141 Use __sim_round_mode_thread.
13142 * math/test-fenv-tls.c: New file.
13143 * math/Makefile (tests): Add test-fenv-tls.
13144 ($(objpfx)test-fenv-tls): Depend on
13145 $(common-objpfx)nptl/libpthread.so.
13147 2013-11-19 Andreas Schwab <schwab@suse.de>
13149 * locale/programs/locale.c (show_info): Decode wordarray elements.
13150 * locale/categories.def (LC_MONETARY): Add element for
13151 _NL_MONETARY_CRNCYSTR.
13152 * locale/C-monetary.c (conversion_rate): New variable.
13153 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
13156 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
13158 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
13159 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
13161 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
13163 * elf/Makefile (tst-auxv): New test.
13164 * elf/tst-auxv.c: New
13165 * elf/rtld.c (dl_main): Adjust AT_EXECFN
13167 2013-11-18 Joseph Myers <joseph@codesourcery.com>
13169 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
13170 (hidden_proto): Caller changed.
13171 (hidden_tls_proto): New macro.
13172 (libc_hidden_tls_proto): Likewise.
13173 (rtld_hidden_tls_proto): Likewise.
13174 (libm_hidden_tls_proto): Likewise.
13175 (libresolv_hidden_tls_proto): Likewise.
13176 (librt_hidden_tls_proto): Likewise.
13177 (libdl_hidden_tls_proto): Likewise.
13178 (libnss_files_hidden_tls_proto): Likewise.
13179 (libnsl_hidden_tls_proto): Likewise.
13180 (libnss_nisplus_hidden_tls_proto): Likewise.
13181 (libutil_hidden_tls_proto): Likewise.
13183 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
13186 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
13187 (decompose_rpath): Defer expansion to fillin_rpath.
13188 (_dl_init_paths): Pass linkmap to fillin_rpath.
13190 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13192 * benchtests/Makefile: Add strsep.
13193 * benchtests/bench-strsep.c: New file: strsep benchtest.
13194 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
13196 2013-11-18 Andreas Schwab <schwab@suse.de>
13198 * locale/programs/locale.c (show_info) [case byte]: Check for
13199 '\377' instead of '\177'.
13200 * locale/C-monetary.c (not_available): Always use "\377".
13201 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
13202 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
13203 detect unavailable sign_posn locale elements.
13204 * locale/localeconv.c (__localeconv): For grouping and
13205 mon_grouping handle "\177" and "\377" like no grouping.
13206 (INT_ELEM): New macro. Use it to set all numeric members.
13207 * locale/programs/ld-monetary.c (monetary_read)
13208 <tok_mon_grouping>: Normalize single -1 to the empty string.
13209 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
13212 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
13215 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
13216 when we match (nil).
13217 * stdio-common/tst-sscanf.c (struct test): Add testcase.
13219 2013-11-16 Joseph Myers <joseph@codesourcery.com>
13221 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
13222 (NO_TEST_INLINE): Update value.
13223 (ERRNO_UNCHANGED): Likewise.
13224 (ERRNO_EDOM): Likewise.
13225 (ERRNO_ERANGE): Likewise.
13226 (IGNORE_RESULT): Likewise.
13227 (check_float_internal): Check signs of NaN results if
13228 TEST_NAN_SIGN used.
13229 (check_complex): Pass TEST_NAN_SIGN flag through to second
13230 check_float_internal call.
13231 (copysign_test_data): Add tests with quiet NaNs as second
13232 argument. Use TEST_NAN_SIGN.
13233 (fabs_test_data): Add test of negative quiet NaN argument. Use
13235 (signbit_test_data): Add tests of quiet NaN argument.
13236 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
13238 * math/gen-libm-test.pl (show_exceptions): Take extra argument
13240 (parse_args): Handle function results specified as IGNORE.
13241 * math/libm-test.inc (IGNORE_RESULT): New macro.
13242 (check_float_internal): Do not check numerical result if flag
13244 (check_complex): Pass through IGNORE_RESULT to second
13245 check_float_internal call.
13246 (check_int): Do not check numerical result if flag IGNORE_RESULT
13248 (check_long): Likewise.
13249 (check_bool): Likewise.
13250 (check_longlong): Likewise.
13251 (lrint_test_data): Add tests of infinite and NaN arguments.
13252 (lrint_tonearest_test_data): Likewise.
13253 (lrint_towardzero_test_data): Likewise.
13254 (lrint_downward_test_data): Likewise.
13255 (lrint_upward_test_data): Likewise.
13256 (llrint_test_data): Likewise.
13257 (llrint_tonearest_test_data): Likewise.
13258 (llrint_towardzero_test_data): Likewise.
13259 (llrint_downward_test_data): Likewise.
13260 (llrint_upward_test_data): Likewise.
13261 (lround_test_data): Likewise.
13262 (llround_test_data): Likewise.
13264 * math/libm-test.inc (NO_TEST_INLINE): New macro.
13265 (ERRNO_UNCHANGED): Update value.
13266 (ERRNO_EDOM): Likewise.
13267 (ERRNO_ERANGE): Likewise.
13268 (NO_TEST_INLINE_FLOAT): New macro.
13269 (NO_TEST_INLINE_DOUBLE): Likewise.
13270 (enable_test): New function.
13271 (RUN_TEST_f_f): Check enable_test before running test.
13272 (RUN_TEST_2_f): Likewise.
13273 (RUN_TEST_fff_f): Likewise.
13274 (RUN_TEST_c_f): Likewise.
13275 (RUN_TEST_f_f1): Likewise.
13276 (RUN_TEST_fF_f1): Likewise.
13277 (RUN_TEST_fI_f1): Likewise.
13278 (RUN_TEST_ffI_f1): Likewise.
13279 (RUN_TEST_c_c): Likewise.
13280 (RUN_TEST_cc_c): Likewise.
13281 (RUN_TEST_f_i): Likewise.
13282 (RUN_TEST_f_i_tg): Likewise.
13283 (RUN_TEST_ff_i_tg): Likewise.
13284 (RUN_TEST_f_b): Likewise.
13285 (RUN_TEST_f_b_tg): Likewise.
13286 (RUN_TEST_f_l): Likewise.
13287 (RUN_TEST_f_L): Likewise.
13288 (RUN_TEST_fFF_11): Likewise.
13289 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
13291 (cosh_test_data): Likewise.
13292 (exp_test_data): Likewise.
13293 (expm1_test_data): Likewise.
13294 (hypot_test_data): Likewise.
13295 (pow_test_data): Likewise.
13296 (sinh_test_data): Likewise.
13297 (tanh_test_data): Likewise.
13298 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
13301 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
13302 tests with quiet NaN input and output.
13303 (acosh_test_data): Likewise.
13304 (asin_test_data): Likewise.
13305 (asinh_test_data): Likewise.
13306 (atan_test_data): Likewise.
13307 (atanh_test_data): Likewise.
13308 (atan2_test_data): Likewise.
13309 (cbrt_test_data): Likewise.
13310 (cos_test_data): Likewise.
13311 (cosh_test_data): Likewise.
13312 (erf_test_data): Likewise.
13313 (erfc_test_data): Likewise.
13314 (exp_test_data): Likewise.
13315 (exp10_test_data): Likewise.
13316 (exp2_test_data): Likewise.
13317 (expm1_test_data): Likewise.
13318 (hypot_test_data): Likewise.
13319 (j0_test_data): Likewise.
13320 (j1_test_data): Likewise.
13321 (jn_test_data): Likewise.
13322 (lgamma_test_data): Likewise.
13323 (log_test_data): Likewise.
13324 (log10_test_data): Likewise.
13325 (log1p_test_data): Likewise.
13326 (log2_test_data): Likewise.
13327 (pow_test_data): Likewise.
13328 (scalb_test_data): Likewise.
13329 (sin_test_data): Likewise.
13330 (sincos_test_data): Likewise.
13331 (sinh_test_data): Likewise.
13332 (tan_test_data): Likewise.
13333 (tanh_test_data): Likewise.
13334 (tgamma_test_data): Likewise.
13335 (y0_test_data): Likewise.
13336 (y1_test_data): Likewise.
13337 (yn_test_data): Likewise.
13340 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
13341 argument being NaN and avoid computations with second argument in
13343 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
13344 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
13345 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
13347 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
13349 * locale/iso-639.def: Add Chitwani Tharu (the).
13351 2013-11-14 Andreas Schwab <schwab@suse.de>
13353 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
13354 word instead of empty string.
13356 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13359 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
13360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13361 (__fe_nomask_env): Likewise.
13363 2013-11-13 Steve Ellcey <sellcey@mips.com>
13365 * benchtests/bench-timing.h: Include time.h.
13367 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
13370 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
13372 * sysdeps/unix/sysv/linux/configure: Regenerated.
13374 2013-11-13 Joseph Myers <joseph@codesourcery.com>
13377 * stdlib/strtod_l.c (round_and_return): Do not consider
13378 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
13379 exponent one less than half the least subnormal exponent.
13380 * stdlib/test-strtod-round-data: Add more tests.
13381 * stdlib/tst-strtod-round.c (tests): Regenerated.
13383 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13386 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
13387 (__fe_mask_env): Likewise.
13388 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
13389 libm_hidden_proto and add function prototype.
13390 (__fe_mask_env): Add function prototype.
13391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13392 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
13393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
13394 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
13395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13396 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
13398 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13400 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
13401 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
13403 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13405 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
13406 of htab_find_slot().
13408 2013-11-11 David S. Miller <davem@davemloft.net>
13411 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
13412 symbol in the non-vis3 case in static builds.
13413 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
13414 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
13415 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
13416 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
13418 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13421 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
13424 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13426 * benchtests/Makefile: Add bench-strtod.
13427 * benchtests/bench-strtod.c: New file: strtod benchtest
13429 2013-11-11 Andreas Schwab <schwab@suse.de>
13432 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
13433 terminating NUL in key length.
13435 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13437 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13438 Add artificial ODP entry for vDSO symbol for PPC64.
13439 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
13440 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
13442 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
13445 * nss/getent.c (services_keys): Recognize services starting with digit.
13447 2013-11-06 David S. Miller <davem@davemloft.net>
13450 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
13451 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
13453 2013-11-06 Will Newton <will.newton@linaro.org>
13455 * manual/memory.texi (Malloc Examples): Remove register
13456 keyword from examples.
13458 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
13460 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
13462 2013-11-04 Joseph Myers <joseph@codesourcery.com>
13465 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
13466 depending on [__GCC_IEC_559 > 0].
13467 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
13468 depending on [__GCC_IEC_559_COMPLEX > 0].
13470 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
13472 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
13475 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
13477 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
13479 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
13482 * malloc/malloc (malloc_info): Do not handle first bin as
13485 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
13487 * locale/iso-639.def: Add Central Nahuatl (nhn).
13489 2013-11-01 Bruno Haible <bruno@clisp.org>
13492 * manual/math.texi (BSD Random): Specify range upper bound as
13495 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
13497 * locale/iso-639.def: Add Meadow Mari (mhr).
13499 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
13501 [BZ #14752], [BZ #15763]
13502 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
13504 * rt/tst_shm.c: Add test for escaping directory.
13506 2013-10-31 Andreas Schwab <schwab@suse.de>
13509 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
13510 followed by 'x' as part of digit sequence.
13511 * stdio-common/tst-sscanf.c (double_tests2): New tests.
13513 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
13516 * configure.ac: allow GNU Make 4.0 and greater.
13517 * configure: Regenerated.
13519 2013-10-30 Will Newton <will.newton@linaro.org>
13522 * malloc/hooks.c (memalign_check): Limit alignment to the
13523 maximum representable power of two.
13524 * malloc/malloc.c (__libc_memalign): Likewise.
13525 * malloc/tst-memalign.c (do_test): Add test for very
13526 large alignment values.
13527 * malloc/tst-posix_memalign.c (do_test): Likewise.
13529 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
13532 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
13533 (munmap_chunk): Likewise.
13534 (mremap_chunk): Likewise.
13536 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
13539 * stdlib/div.c (div): Remove obsolete code.
13540 * stdlib/ldiv.c (ldiv): Likewise.
13541 * stdlib/lldiv.c (lldiv): Likewise.
13543 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13546 * nss/nss_files/files-XXX.c (get_contents_ret): New
13548 (get_contents): New function.
13549 (internal_getent): Use it. Expand size of LINEBUFLEN.
13551 2013-10-30 Mike Frysinger <vapier@gentoo.org>
13553 * configure.in: Moved to ...
13554 * configure.ac: ... here. Change reference to configure.in
13556 * sysdeps/arm/preconfigure.ac: ... here.
13557 configure.in to configure.ac.
13558 * sysdeps/gnu/configure.in: Moved to ...
13559 * sysdeps/gnu/configure.ac: ... here.
13560 * sysdeps/i386/configure.in: Moved to ...
13561 * sysdeps/i386/configure.ac: ... here.
13562 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
13563 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
13564 * sysdeps/mach/configure.in: Moved to ...
13565 * sysdeps/mach/configure.ac: ... here.
13566 * sysdeps/mach/hurd/configure.in: Moved to ...
13567 * sysdeps/mach/hurd/configure.ac: ... here.
13568 * sysdeps/powerpc/configure.in: Moved to ...
13569 * sysdeps/powerpc/configure.ac: ... here.
13570 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
13571 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
13572 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
13573 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
13574 * sysdeps/s390/s390-32/configure.in: Moved to ...
13575 * sysdeps/s390/s390-32/configure.ac: ... here.
13576 * sysdeps/s390/s390-64/configure.in: Moved to ...
13577 * sysdeps/s390/s390-64/configure.ac: ... here.
13578 * sysdeps/sh/configure.in: Moved to ...
13579 * sysdeps/sh/configure.ac: ... here.
13580 * sysdeps/sparc/configure.in: Moved to ...
13581 * sysdeps/sparc/configure.ac: ... here.
13582 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
13583 * sysdeps/unix/sysv/linux/configure.ac: ... here.
13584 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
13585 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
13586 * sysdeps/x86_64/configure.in: Moved to ...
13587 * sysdeps/x86_64/configure.ac: ... here.
13588 * sysdeps/x86_64/preconfigure.in: Moved to ...
13589 * sysdeps/x86_64/preconfigure.ac: ... here.
13590 * aclocal.m4: Change reference to configure.in to configure.ac.
13591 * config.h.in: Likewise.
13592 * manual/install.texi: Likewise.
13593 * manual/maint.texi: Likewise.
13594 * Makefile: Likewise.
13595 * malloc/Makefile: Likewise.
13596 * nscd/Makefile: Likewise.
13597 * Makeconfig: Change reference to configure.in and
13598 preconfigure.in to configure.ac and preconfigure.ac
13600 * INSTALL: Regenerated.
13601 * configure: Likewise.
13602 * sysdeps/gnu/configure: Likewise.
13603 * sysdeps/i386/configure: Likewise.
13604 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
13605 * sysdeps/mach/configure: Likewise.
13606 * sysdeps/mach/hurd/configure: Likewise.
13607 * sysdeps/powerpc/configure: Likewise.
13608 * sysdeps/powerpc/powerpc32/configure: Likewise.
13609 * sysdeps/powerpc/powerpc64/configure: Likewise.
13610 * sysdeps/s390/s390-32/configure: Likewise.
13611 * sysdeps/s390/s390-64/configure: Likewise.
13612 * sysdeps/sh/configure: Likewise.
13613 * sysdeps/sparc/configure: Likewise.
13614 * sysdeps/unix/sysv/linux/configure: Likewise.
13615 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
13616 * sysdeps/x86_64/configure: Likewise.
13617 * sysdeps/x86_64/preconfigure: Likewise.
13619 2013-10-29 Andreas Schwab <schwab@suse.de>
13621 * stdio-common/Makefile (tst-swscanf-ENV): Define.
13623 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13625 * benchtests/pow-inputs: Add new inputs.
13627 * benchtests/exp-inputs: Add new inputs.
13629 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
13630 conditional check for return value.
13631 (__cos32): Likewise.
13633 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13635 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
13636 to provide a boost for large inputs with word alignment.
13637 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
13638 implementation based on optimized PPC64 strcpy.
13639 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
13640 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
13641 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
13642 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
13644 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
13647 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
13649 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
13652 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
13653 * time/tst-strptime.c (day_tests): Add testcase.
13655 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
13658 * manual/pattern.texi: Acknowledge that fnmatch can fail.
13660 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
13663 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
13664 MAP_FAILED on error.
13666 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13669 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
13670 heap for large requests.
13672 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
13675 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
13676 result if the result has no associated interface.
13677 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
13678 interface for all 127.X.Y.Z addresses.
13680 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
13682 * locale/iso-639.def: Add Ligurian (lij)
13684 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
13687 * sunrpc/rpc_main.c: Document rpcgen -5.
13689 2013-10-19 Michael Stahl <mstahl@redhat.com>
13691 * elf/rtld.c (do_preload): Print the reason why preloading failed.
13693 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
13696 * posix/glob.c: Match only directories when trailing slash is present.
13697 * posix/tst-gnuglob.c (my_opendir): Do not open files.
13698 (main): Add testcase.
13700 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
13703 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
13705 2013-10-18 Carlos O'Donell <carlos@redhat.com>
13707 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
13708 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
13709 AUTH_DES and cindex for FIPS 140-2.
13710 (DES Encryption): Add cindex FIPS 46-3.
13712 * locale/locarchive.h (struct locarhandle): Add fname.
13713 * locale/programs/localedef.c (main): Pass ARGV[remaining]
13714 if an optional argument was specified to --list-archive,
13716 * locale/programs/locarchive.c (show_archive_content): Take new
13717 argument fname and pass it via ah.fname to open_archive.
13718 * locale/programs/localedef.h: Update decl.
13719 (open_archive): If AH->fname is non-null, open that file
13720 rather than the default file name, and don't ignore ENOENT.
13721 (create_archive): Set AH.fname to NULL.
13722 (delete_locales_from_archive): Likewise.
13723 (add_locales_to_archive): Likewise.
13724 * locale/programs/locfile.c (write_all_categories): Likewise.
13726 2013-10-18 Joseph Myers <joseph@codesourcery.com>
13727 Aldy Hernandez <aldyh@redhat.com>
13729 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
13730 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
13731 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
13732 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
13733 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
13734 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
13735 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
13736 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
13737 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
13738 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
13739 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
13740 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
13741 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
13742 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
13743 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
13745 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
13747 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
13749 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
13751 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
13752 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
13754 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
13755 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
13756 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
13757 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
13759 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
13760 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
13761 * sysdeps/powerpc/preconfigure: Likewise.
13762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
13764 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
13765 Replace contents of file by #include of <fenv_libc.h>.
13766 * sysdeps/powerpc/soft-fp/sfp-machine.h
13767 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
13769 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
13770 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
13771 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
13772 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
13773 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
13774 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
13775 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
13776 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
13777 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
13778 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
13779 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
13780 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
13781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
13782 Allow copysignl PLT reference to be missing.
13784 2013-10-18 Richard Sandiford <richard@codesourcery.com>
13785 Joseph Myers <joseph@codesourcery.com
13788 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
13790 (add_to_tablewc): Assert sequence of wide characters is nonempty.
13792 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13794 * elf/tst-tls-dlinfo.c: Don't include tls.h.
13795 * elf/tst-tls1.c: Likewise.
13796 * elf/tst-tls10.h: Likewise.
13797 * elf/tst-tls14.c: Likewise.
13798 * elf/tst-tls2.c: Likewise.
13799 * elf/tst-tls3.c: Likewise.
13800 * elf/tst-tls4.c: Likewise.
13801 * elf/tst-tls5.c: Likewise.
13802 * elf/tst-tls6.c: Likewise.
13803 * elf/tst-tls7.c: Likewise.
13804 * elf/tst-tls8.c: Likewise.
13805 * elf/tst-tls9.c: Likewise.
13806 * elf/tst-tlsmod1.c: Likewise.
13807 * elf/tst-tlsmod13.c: Likewise.
13808 * elf/tst-tlsmod13a.c: Likewise.
13809 * elf/tst-tlsmod14a.c: Likewise.
13810 * elf/tst-tlsmod16a.c: Likewise.
13811 * elf/tst-tlsmod16b.c: Likewise.
13812 * elf/tst-tlsmod2.c: Likewise.
13813 * elf/tst-tlsmod3.c: Likewise.
13814 * elf/tst-tlsmod4.c: Likewise.
13815 * elf/tst-tlsmod5.c: Likewise.
13816 * elf/tst-tlsmod6.c: Likewise.
13818 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
13821 * malloc/malloc.c: remove checks for statistics.
13823 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
13826 * inet/inet_net.c (inet_network): Detect additional invalid strings.
13827 * inet/tst-network.c: Add testcase.
13829 2013-10-17 Andreas Schwab <schwab@suse.de>
13832 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
13833 to determine canonical name.
13835 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
13837 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
13838 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
13839 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13840 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13841 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13842 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13843 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13844 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13845 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13846 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13847 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
13848 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13849 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13850 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13851 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13852 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13853 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13854 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13855 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13856 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13857 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13858 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13859 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13860 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
13861 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
13862 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13863 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13864 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
13865 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13866 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
13867 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13868 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13869 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
13870 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13871 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13872 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13873 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13874 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13875 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13876 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13877 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13878 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
13879 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
13880 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13881 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13882 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13883 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13884 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13885 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
13886 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13887 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
13888 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13889 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13890 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
13891 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13892 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13893 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13894 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13896 2013-10-17 Joseph Myers <joseph@codesourcery.com>
13899 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
13900 make result into a quiet NaN.
13902 2013-10-16 Joseph Myers <joseph@codesourcery.com>
13904 * soft-fp/adddf3.c: Fix horizontal whitespace.
13905 * soft-fp/addsf3.c: Likewise.
13906 * soft-fp/addtf3.c: Likewise.
13907 * soft-fp/divdf3.c: Likewise.
13908 * soft-fp/divsf3.c: Likewise.
13909 * soft-fp/divtf3.c: Likewise.
13910 * soft-fp/double.h: Likewise.
13911 * soft-fp/eqdf2.c: Likewise.
13912 * soft-fp/eqsf2.c: Likewise.
13913 * soft-fp/eqtf2.c: Likewise.
13914 * soft-fp/extenddftf2.c: Likewise.
13915 * soft-fp/extended.h: Likewise.
13916 * soft-fp/extendsfdf2.c: Likewise.
13917 * soft-fp/extendsftf2.c: Likewise.
13918 * soft-fp/extendxftf2.c: Likewise.
13919 * soft-fp/fixdfdi.c: Likewise.
13920 * soft-fp/fixdfsi.c: Likewise.
13921 * soft-fp/fixdfti.c: Likewise.
13922 * soft-fp/fixsfdi.c: Likewise.
13923 * soft-fp/fixsfsi.c: Likewise.
13924 * soft-fp/fixsfti.c: Likewise.
13925 * soft-fp/fixtfdi.c: Likewise.
13926 * soft-fp/fixtfsi.c: Likewise.
13927 * soft-fp/fixtfti.c: Likewise.
13928 * soft-fp/fixunsdfdi.c: Likewise.
13929 * soft-fp/fixunsdfsi.c: Likewise.
13930 * soft-fp/fixunsdfti.c: Likewise.
13931 * soft-fp/fixunssfdi.c: Likewise.
13932 * soft-fp/fixunssfsi.c: Likewise.
13933 * soft-fp/fixunssfti.c: Likewise.
13934 * soft-fp/fixunstfdi.c: Likewise.
13935 * soft-fp/fixunstfsi.c: Likewise.
13936 * soft-fp/fixunstfti.c: Likewise.
13937 * soft-fp/floatdidf.c: Likewise.
13938 * soft-fp/floatdisf.c: Likewise.
13939 * soft-fp/floatditf.c: Likewise.
13940 * soft-fp/floatsidf.c: Likewise.
13941 * soft-fp/floatsisf.c: Likewise.
13942 * soft-fp/floatsitf.c: Likewise.
13943 * soft-fp/floattidf.c: Likewise.
13944 * soft-fp/floattisf.c: Likewise.
13945 * soft-fp/floattitf.c: Likewise.
13946 * soft-fp/floatundidf.c: Likewise.
13947 * soft-fp/floatundisf.c: Likewise.
13948 * soft-fp/floatunditf.c: Likewise.
13949 * soft-fp/floatunsidf.c: Likewise.
13950 * soft-fp/floatunsisf.c: Likewise.
13951 * soft-fp/floatunsitf.c: Likewise.
13952 * soft-fp/floatuntidf.c: Likewise.
13953 * soft-fp/floatuntisf.c: Likewise.
13954 * soft-fp/floatuntitf.c: Likewise.
13955 * soft-fp/fmadf4.c: Likewise.
13956 * soft-fp/fmasf4.c: Likewise.
13957 * soft-fp/fmatf4.c: Likewise.
13958 * soft-fp/gedf2.c: Likewise.
13959 * soft-fp/gesf2.c: Likewise.
13960 * soft-fp/getf2.c: Likewise.
13961 * soft-fp/ledf2.c: Likewise.
13962 * soft-fp/lesf2.c: Likewise.
13963 * soft-fp/letf2.c: Likewise.
13964 * soft-fp/muldf3.c: Likewise.
13965 * soft-fp/mulsf3.c: Likewise.
13966 * soft-fp/multf3.c: Likewise.
13967 * soft-fp/negdf2.c: Likewise.
13968 * soft-fp/negsf2.c: Likewise.
13969 * soft-fp/negtf2.c: Likewise.
13970 * soft-fp/op-1.h: Likewise.
13971 * soft-fp/op-2.h: Likewise.
13972 * soft-fp/op-4.h: Likewise.
13973 * soft-fp/op-8.h: Likewise.
13974 * soft-fp/op-common.h: Likewise.
13975 * soft-fp/quad.h: Likewise.
13976 * soft-fp/single.h: Likewise.
13977 * soft-fp/soft-fp.h: Likewise.
13978 * soft-fp/sqrtdf2.c: Likewise.
13979 * soft-fp/sqrtsf2.c: Likewise.
13980 * soft-fp/sqrttf2.c: Likewise.
13981 * soft-fp/subdf3.c: Likewise.
13982 * soft-fp/subsf3.c: Likewise.
13983 * soft-fp/subtf3.c: Likewise.
13984 * soft-fp/truncdfsf2.c: Likewise.
13985 * soft-fp/trunctfdf2.c: Likewise.
13986 * soft-fp/trunctfsf2.c: Likewise.
13987 * soft-fp/trunctfxf2.c: Likewise.
13988 * soft-fp/unorddf2.c: Likewise.
13989 * soft-fp/unordsf2.c: Likewise.
13990 * soft-fp/unordtf2.c: Likewise.
13992 2013-10-15 Joseph Myers <joseph@codesourcery.com>
13994 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
13995 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
13997 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
13999 * elf/dl-libc.c: Clear initfini list after freeing.
14001 2013-10-14 Joseph Myers <joseph@codesourcery.com>
14003 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
14004 * soft-fp/addsf3.c: Likewise.
14005 * soft-fp/addtf3.c: Likewise.
14006 * soft-fp/divdf3.c: Likewise.
14007 * soft-fp/divsf3.c: Likewise.
14008 * soft-fp/divtf3.c: Likewise.
14009 * soft-fp/double.h: Likewise.
14010 * soft-fp/eqdf2.c: Likewise.
14011 * soft-fp/eqsf2.c: Likewise.
14012 * soft-fp/eqtf2.c: Likewise.
14013 * soft-fp/extenddftf2.c: Likewise.
14014 * soft-fp/extended.h: Likewise.
14015 * soft-fp/extendsfdf2.c: Likewise.
14016 * soft-fp/extendsftf2.c: Likewise.
14017 * soft-fp/extendxftf2.c: Likewise.
14018 * soft-fp/fixdfdi.c: Likewise.
14019 * soft-fp/fixdfsi.c: Likewise.
14020 * soft-fp/fixdfti.c: Likewise.
14021 * soft-fp/fixsfdi.c: Likewise.
14022 * soft-fp/fixsfsi.c: Likewise.
14023 * soft-fp/fixsfti.c: Likewise.
14024 * soft-fp/fixtfdi.c: Likewise.
14025 * soft-fp/fixtfsi.c: Likewise.
14026 * soft-fp/fixtfti.c: Likewise.
14027 * soft-fp/fixunsdfdi.c: Likewise.
14028 * soft-fp/fixunsdfsi.c: Likewise.
14029 * soft-fp/fixunsdfti.c: Likewise.
14030 * soft-fp/fixunssfdi.c: Likewise.
14031 * soft-fp/fixunssfsi.c: Likewise.
14032 * soft-fp/fixunssfti.c: Likewise.
14033 * soft-fp/fixunstfdi.c: Likewise.
14034 * soft-fp/fixunstfsi.c: Likewise.
14035 * soft-fp/fixunstfti.c: Likewise.
14036 * soft-fp/floatdidf.c: Likewise.
14037 * soft-fp/floatdisf.c: Likewise.
14038 * soft-fp/floatditf.c: Likewise.
14039 * soft-fp/floatsidf.c: Likewise.
14040 * soft-fp/floatsisf.c: Likewise.
14041 * soft-fp/floatsitf.c: Likewise.
14042 * soft-fp/floattidf.c: Likewise.
14043 * soft-fp/floattisf.c: Likewise.
14044 * soft-fp/floattitf.c: Likewise.
14045 * soft-fp/floatundidf.c: Likewise.
14046 * soft-fp/floatundisf.c: Likewise.
14047 * soft-fp/floatunsidf.c: Likewise.
14048 * soft-fp/floatunsisf.c: Likewise.
14049 * soft-fp/floatuntidf.c: Likewise.
14050 * soft-fp/floatuntisf.c: Likewise.
14051 * soft-fp/floatuntitf.c: Likewise.
14052 * soft-fp/fmadf4.c: Likewise.
14053 * soft-fp/fmasf4.c: Likewise.
14054 * soft-fp/fmatf4.c: Likewise.
14055 * soft-fp/gedf2.c: Likewise.
14056 * soft-fp/gesf2.c: Likewise.
14057 * soft-fp/getf2.c: Likewise.
14058 * soft-fp/ledf2.c: Likewise.
14059 * soft-fp/lesf2.c: Likewise.
14060 * soft-fp/letf2.c: Likewise.
14061 * soft-fp/muldf3.c: Likewise.
14062 * soft-fp/mulsf3.c: Likewise.
14063 * soft-fp/multf3.c: Likewise.
14064 * soft-fp/negdf2.c: Likewise.
14065 * soft-fp/negsf2.c: Likewise.
14066 * soft-fp/negtf2.c: Likewise.
14067 * soft-fp/op-1.h: Likewise.
14068 * soft-fp/op-2.h: Likewise.
14069 * soft-fp/op-4.h: Likewise.
14070 * soft-fp/op-8.h: Likewise.
14071 * soft-fp/op-common.h: Likewise.
14072 * soft-fp/quad.h: Likewise.
14073 * soft-fp/single.h: Likewise.
14074 * soft-fp/soft-fp.h: Likewise.
14075 * soft-fp/sqrtdf2.c: Likewise.
14076 * soft-fp/sqrtsf2.c: Likewise.
14077 * soft-fp/sqrttf2.c: Likewise.
14078 * soft-fp/subdf3.c: Likewise.
14079 * soft-fp/subsf3.c: Likewise.
14080 * soft-fp/subtf3.c: Likewise.
14081 * soft-fp/truncdfsf2.c: Likewise.
14082 * soft-fp/trunctfdf2.c: Likewise.
14083 * soft-fp/trunctfsf2.c: Likewise.
14084 * soft-fp/trunctfxf2.c: Likewise.
14085 * soft-fp/unorddf2.c: Likewise.
14086 * soft-fp/unordsf2.c: Likewise.
14087 * soft-fp/unordtf2.c: Likewise.
14089 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
14092 * misc/error.c (error_tail): Fix possible buffer overflow.
14094 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
14097 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
14100 2013-10-14 P. J. McDermott <pj@pehjota.net>
14103 * elf/ldd.bash.in (try_trace): New function. Delete previous code
14104 testing pipefail option.
14106 2013-10-12 Joseph Myers <joseph@codesourcery.com>
14108 * soft-fp/double.h: Indent preprocessor directives inside #if.
14109 * soft-fp/extended.h: Likewise.
14110 * soft-fp/op-2.h: Likewise.
14111 * soft-fp/op-4.h: Likewise.
14112 * soft-fp/op-common.h: Likewise.
14113 * soft-fp/quad.h: Likewise.
14114 * soft-fp/single.h: Likewise.
14115 * soft-fp/soft-fp.h: Likewise.
14117 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
14119 * iconv/iconv_prog.c: Fix typos.
14120 * stdio-common/psiginfo-data.h: Likewise.
14122 2013-10-12 Reuben Thomas <rrt@sc3d.org>
14125 * locale/setlocale.c: Fix typo.
14127 2013-10-12 Joseph Myers <joseph@codesourcery.com>
14130 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
14131 signaling NaN arguments.
14132 * soft-fp/unordsf2.c (__unordsf2): Likewise.
14133 * soft-fp/unordtf2.c (__unordtf2): Likewise.
14136 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
14137 unordered operands.
14138 * soft-fp/gesf2.c (__gesf2): Likewise.
14139 * soft-fp/getf2.c (__getf2): Likewise.
14140 * soft-fp/ledf2.c (__ledf2): Likewise.
14141 * soft-fp/lesf2.c (__lesf2): Likewise.
14142 * soft-fp/letf2.c (__letf2): Likewise.
14144 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
14145 * soft-fp/eqsf2.c (__eqsf2): Likewise.
14146 * soft-fp/eqtf2.c (__eqtf2): Likewise.
14147 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
14148 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
14149 * soft-fp/fixdfti.c (__fixdfti): Likewise.
14150 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
14151 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
14152 * soft-fp/fixsfti.c (__fixsfti): Likewise.
14153 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
14154 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
14155 * soft-fp/fixtfti.c (__fixtfti): Likewise.
14156 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
14157 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
14158 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
14159 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
14160 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
14161 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
14162 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
14163 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
14164 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
14165 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
14166 * soft-fp/floatdisf.c (__floatdisf): Likewise.
14167 * soft-fp/floatsisf.c (__floatsisf): Likewise.
14168 * soft-fp/floattidf.c (__floattidf): Likewise.
14169 * soft-fp/floattisf.c (__floattisf): Likewise.
14170 * soft-fp/floattitf.c (__floattitf): Likewise.
14171 * soft-fp/floatundidf.c (__floatundidf): Likewise.
14172 * soft-fp/floatundisf.c (__floatundisf): Likewise.
14173 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
14174 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
14175 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
14176 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
14177 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
14178 * soft-fp/gesf2.c (__gesf2): Likewise.
14179 * soft-fp/getf2.c (__getf2): Likewise.
14180 * soft-fp/ledf2.c (__ledf2): Likewise.
14181 * soft-fp/lesf2.c (__lesf2): Likewise.
14182 * soft-fp/letf2.c (__letf2): Likewise.
14184 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
14185 Undefine and redefine.
14186 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
14187 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
14188 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
14189 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
14190 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14191 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
14192 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14193 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
14194 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14195 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
14196 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14197 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
14198 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14199 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
14200 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14203 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
14204 without decrementing exponent if mantissa >= that for the
14205 denominator, not >.
14206 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
14207 denominator, not >. Decrement exponent in < case instead of
14208 incrementing in >= case.
14209 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
14210 without decrementing exponent if mantissa >= that for the
14211 denominator, not >.
14213 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
14214 computing saturated result for unsigned overflow.
14216 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14217 Jeff Law <law@redhat.com>
14219 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
14220 (atan2Mp): Add systemtap probe marker.
14221 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
14222 (__ieee754_log): Add systemtap probe marker.
14223 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
14224 (atanMp): Add systemtap probe marker.
14225 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
14226 (tanMp): Add systemtap probe marker.
14227 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
14228 (__slowexp): Add systemtap probe marker.
14229 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
14230 (__slowpow): Add systemtap probe marker.
14231 * manual/probes.texi: Document probes.
14233 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
14236 * libio/fileops.c (_IO_new_file_write): Return count of bytes
14238 (_IO_new_file_xsputn): Don't return EOF if nothing has been
14240 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
14241 written to buffer but not flushed.
14242 * libio/iofwrite_u.c: Likewise.
14243 * libio/iopadn.c: Return bytes returned even if EOF was
14245 * libio/iowpadn.c: Likewise.
14246 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
14247 if _IO_padn does not write the whole buffer.
14248 [!COMPILE_WPRINTF] (PAD): Likewise.
14250 2013-10-10 David S. Miller <davem@davemloft.net>
14252 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
14255 2013-10-10 Joseph Myers <joseph@codesourcery.com>
14257 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
14258 instead of FSF address.
14259 * soft-fp/fixdfti.c: Likewise.
14260 * soft-fp/fixsfti.c: Likewise.
14261 * soft-fp/fixtfti.c: Likewise.
14262 * soft-fp/fixunsdfti.c: Likewise.
14263 * soft-fp/fixunssfti.c: Likewise.
14264 * soft-fp/fixunstfti.c: Likewise.
14265 * soft-fp/floattidf.c: Likewise.
14266 * soft-fp/floattisf.c: Likewise.
14267 * soft-fp/floattitf.c: Likewise.
14268 * soft-fp/floatuntidf.c: Likewise.
14269 * soft-fp/floatuntisf.c: Likewise.
14270 * soft-fp/floatuntitf.c: Likewise.
14271 * soft-fp/trunctfxf2.c: Likewise.
14273 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
14274 * soft-fp/fixdfti.c: Likewise.
14275 * soft-fp/fixsfti.c: Likewise.
14276 * soft-fp/fixtfti.c: Likewise.
14277 * soft-fp/fixunsdfti.c: Likewise.
14278 * soft-fp/fixunssfti.c: Likewise.
14279 * soft-fp/fixunstfti.c: Likewise.
14280 * soft-fp/floattidf.c: Likewise.
14281 * soft-fp/floattisf.c: Likewise.
14282 * soft-fp/floattitf.c: Likewise.
14283 * soft-fp/floatuntidf.c: Likewise.
14284 * soft-fp/floatuntisf.c: Likewise.
14285 * soft-fp/floatuntitf.c: Likewise.
14286 * soft-fp/trunctfxf2.c: Likewise.
14288 2013-10-10 David S. Miller <davem@davemloft.net>
14290 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14292 2013-10-10 Joseph Myers <joseph@codsourcery.com>
14294 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
14295 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
14296 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
14297 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
14298 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
14299 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
14300 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
14302 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
14303 for NaNs before doing comparisons on argument.
14304 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
14307 2013-10-10 Will Newton <will.newton@linaro.org>
14309 * malloc/hooks.c (memalign_check): Ensure the value of bytes
14310 passed to _int_memalign does not overflow.
14312 2013-10-10 Torvald Riegel <triegel@redhat.com>
14314 * scripts/bench.pl: Add include-sources directive.
14315 * benchtests/README: Update documentation.
14317 2013-10-10 Joseph Myers <joseph@codesourcery.com>
14319 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
14320 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
14321 instead of FP_INIT_ROUNDMODE.
14322 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
14323 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
14326 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
14327 copy class of input value.
14328 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
14329 not handle exceptions.
14330 * soft-fp/negsf2.c (__negsf2): Likewise.
14331 * soft-fp/negtf2.c (__negtf2): Likewise.
14332 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
14334 2013-10-09 Joseph Myers <joseph@codesourcery.com>
14336 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
14337 semicolon. From Linux kernel.
14339 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
14341 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
14343 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
14346 * manual/socket.texi: Added statement about buffer
14347 for gethostbyname2_r.
14349 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
14351 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
14352 Use .p2align directive instead, throughout.
14353 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14354 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
14355 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
14356 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14357 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14358 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
14359 * sysdeps/x86_64/strchr.S: Likewise.
14360 * sysdeps/x86_64/strrchr.S: Likewise.
14362 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
14364 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
14366 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
14368 * sysdeps/generic/math_private.h (__mpsin1): Remove
14370 (__mpcos1): Likewise.
14371 (__mpsin): New argument __range_reduce.
14372 (__mpcos): Likewise.
14373 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14374 (slow): Use __mpsin and __mpcos.
14378 (sloww1): Likewise.
14379 (sloww2): Likewise.
14380 (bsloww): Likewise.
14381 (bsloww1): Likewise.
14382 (bsloww2): Likewise.
14383 (cslow2): Likewise.
14384 (csloww): Likewise.
14385 (csloww1): Likewise.
14386 (csloww2): Likewise.
14387 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
14388 range_reduce. Merge in __mpsin1.
14389 (__mpcos): Likewise.
14390 (__mpsin1): Remove.
14391 (__mpcos1): Likewise.
14393 2013-10-07 Joseph Myers <joseph@codesourcery.com>
14395 * locale/loadlocale.c (_nl_intern_locale_data): Use
14397 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
14398 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
14399 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
14400 obstack data is appropriately aligned.
14401 (obstack_int32_grow_fast): Likewise.
14402 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
14403 * locale/programs/locfile.c (add_locale_uint32): Likewise.
14404 (add_locale_uint32_array): Likewise.
14406 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
14408 * benchtests/Makefile: Remove ARGLIST and RET variables.
14409 ($(objpfx)bench-%.c): Pass only function name to the script.
14410 * benchtests/README: Update documentation.
14411 * benchtests/acos-inputs: Add new directives.
14412 * benchtests/acosh-inputs: Likewise.
14413 * benchtests/asin-inputs: Likewise.
14414 * benchtests/asinh-inputs: Likewise.
14415 * benchtests/atan-inputs: Likewise.
14416 * benchtests/atanh-inputs: Likewise.
14417 * benchtests/cos-inputs: Likewise.
14418 * benchtests/cosh-inputs: Likewise.
14419 * benchtests/exp-inputs: Likewise.
14420 * benchtests/log-inputs: Likewise.
14421 * benchtests/pow-inputs: Likewise.
14422 * benchtests/rint-inputs: Likewise.
14423 * benchtests/sin-inputs: Likewise.
14424 * benchtests/sinh-inputs: Likewise.
14425 * benchtests/tan-inputs: Likewise.
14426 * benchtests/tanh-inputs: Likewise.
14427 * scripts/bench.pl: Add support for new directives.
14429 2013-10-07 Alan Modra <amodra@gmail.com>
14431 * README: Fix careless merge.
14433 2013-10-05 Alan Modra <amodra@gmail.com>
14435 * NEWS: Mention powerpc64le support and bugs fixed.
14436 * README: Both big-endian and little-endian powerpc64 supported.
14438 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
14440 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
14441 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
14442 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
14443 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
14445 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
14447 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
14450 2013-10-04 Joseph Myers <joseph@codesourcery.com>
14452 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
14453 Move -mhard-float appending from
14454 ports/sysdeps/powerpc/powerpc32/Makefile.
14455 [$(with-fp) = yes] (ASFLAGS): Likewise.
14456 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
14457 * sysdeps/powerpc/nofpu: Move directory from
14458 ports/sysdeps/powerpc/nofpu.
14459 * sysdeps/powerpc/soft-fp: Move directory from
14460 ports/sysdeps/powerpc/soft-fp.
14461 * sysdeps/powerpc/powerpc32/405: Move directory from
14462 ports/sysdeps/powerpc/powerpc32/405.
14463 * sysdeps/powerpc/powerpc32/440: Move directory from
14464 ports/sysdeps/powerpc/powerpc32/440.
14465 * sysdeps/powerpc/powerpc32/464: Move directory from
14466 ports/sysdeps/powerpc/powerpc32/464.
14467 * sysdeps/powerpc/powerpc32/476: Move directory from
14468 ports/sysdeps/powerpc/powerpc32/476.
14469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
14470 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
14471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
14472 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
14473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
14474 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
14475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
14476 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
14477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
14478 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
14479 * README: Update for powerpc-*-linux-gnu software floating point
14482 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
14483 case to powerpc/powerpc32*.
14484 * sysdeps/unix/sysv/linux/configure: Regenerated.
14486 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
14487 (_FPU_MASK_OM): Define as 0x04.
14488 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
14489 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
14491 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
14493 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
14495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
14496 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
14498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
14499 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
14501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
14502 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
14503 and setcontext_e500.
14505 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
14507 * locale/iso-3166.def: Update iso-1366.def and related occurrences
14509 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14511 * manual/threads.texi (Default Thread Attributes): Fix typo.
14513 2013-10-04 Will Newton <will.newton@linaro.org>
14515 * malloc/Makefile: Add tst-memalign.
14516 * malloc/tst-memalign.c: New file.
14518 * malloc/tst-posix_memalign.c: Add comments.
14519 (do_test): Add comments and call free on all potentially
14520 allocated pointers. Add space after cast.
14522 * malloc/tst-pvalloc.c: Add comments.
14523 (do_test): Add comments and call free on all potentially
14524 allocated pointers. Remove duplicate check for NULL pointer.
14525 Add space after cast.
14527 * malloc/tst-valloc.c: Add comments.
14528 (do_test): Add comments and call free on all potentially
14529 allocated pointers. Remove duplicate check for NULL pointer.
14530 Add space after cast.
14532 2013-10-04 Alan Modra <amodra@gmail.com>
14534 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14535 Use stdint types in rather than __attribute__((mode())).
14536 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14538 2013-10-04 Alan Modra <amodra@gmail.com>
14540 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14541 Correct handling of unaligned relocs for little-endian.
14542 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14544 2013-10-04 Alan Modra <amodra@gmail.com>
14546 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
14547 * configure: Regenerate.
14548 * nptl/shlib-versions: Powerpc*le starts at 2.18.
14549 * shlib-versions: Likewise.
14551 2013-10-04 Alan Modra <amodra@gmail.com>
14553 * string/tester.c (test_memrchr): Increment reported test cycle.
14555 2013-10-04 Alan Modra <amodra@gmail.com>
14557 * string/test-memcpy.c (do_one_test): When reporting errors, print
14558 string address and don't overrun end of string.
14560 2013-10-04 Alan Modra <amodra@gmail.com>
14562 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
14563 insrdi. Make better use of reg selection to speed exit slightly.
14564 Schedule entry path a little better. Remove useless "are we done"
14565 checks on entry to main loop. Handle wrapping around zero address.
14566 Correct main loop count. Handle single left-over word from main
14567 loop inline rather than by using loop_small. Remove extra word
14568 case in loop_small caused by wrong loop count. Add little-endian
14570 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14571 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
14573 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14574 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
14575 support. Avoid rlwimi.
14576 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
14578 2013-10-04 Alan Modra <amodra@gmail.com>
14580 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
14581 insrdi. Formatting.
14582 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
14583 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14584 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
14585 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
14586 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
14587 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
14589 2013-10-04 Alan Modra <amodra@gmail.com>
14591 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
14592 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14593 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
14594 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
14595 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14596 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14597 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14598 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14599 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
14600 use of regs. Use power7 mtocrf. Tidy function tails.
14602 2013-10-04 Alan Modra <amodra@gmail.com>
14604 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
14605 Formatting. Consistently use rXXX register defines or rN defines.
14606 Use early exit labels that avoid restoring unused non-volatile regs.
14607 Make cr field use more consistent with rWORDn compares. Rename
14608 regs used as shift registers for unaligned loop, using rN defines
14609 for short lifetime/multiple use regs.
14610 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14611 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
14612 addi 1,1,64 to pop stack frame. Simplify return value code.
14613 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14615 2013-10-04 Alan Modra <amodra@gmail.com>
14617 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
14618 support. Correct typos, formatting. Optimize tail. Use insrdi
14619 rather than rlwimi.
14620 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
14621 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
14622 little-endian support. Correct typos.
14623 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
14624 rather than rlwimi.
14625 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
14626 in loop and entry code to keep "and." results.
14627 (strchr): Add little-endian support. Comment. Move cntlzd
14629 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
14631 2013-10-04 Alan Modra <amodra@gmail.com>
14633 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
14634 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
14635 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
14636 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
14638 2013-10-04 Alan Modra <amodra@gmail.com>
14640 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
14641 (rTMP): Define as r11.
14642 (strcmp): Add little-endian support. Optimise tail.
14643 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
14644 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14645 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14646 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14647 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14648 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14649 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14651 2013-10-04 Alan Modra <amodra@gmail.com>
14653 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
14654 little-endian support. Remove unnecessary "are we done" tests.
14655 Handle "s" wrapping around zero and extremely large "size".
14656 Correct main loop count. Handle single left-over word from main
14657 loop inline rather than by using small_loop. Correct comments.
14658 Delete "zero" tail, use "end_max" instead.
14659 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
14661 2013-10-04 Alan Modra <amodra@gmail.com>
14663 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
14664 support. Don't branch over align.
14665 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
14666 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
14667 support. Rearrange tmp reg use to suit. Comment.
14668 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
14670 2013-10-04 Alan Modra <amodra@gmail.com>
14672 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
14674 2013-10-04 Alan Modra <amodra@gmail.com>
14676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
14677 conditional form of branch and link when obtaining pc.
14678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
14680 2013-10-04 Alan Modra <amodra@gmail.com>
14682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
14684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
14685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
14687 2013-10-04 Alan Modra <amodra@gmail.com>
14689 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
14690 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
14691 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
14692 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
14693 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
14694 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
14695 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
14696 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
14697 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
14698 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
14700 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
14701 Alistair Popple <alistair@ozlabs.au.ibm.com>
14702 Alan Modra <amodra@gmail.com>
14705 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
14706 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
14707 _dl_hwcap access for little-endian.
14708 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
14709 destroy vmx regs when saving unaligned.
14710 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
14711 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
14712 destroy vmx regs when saving unaligned.
14714 2013-10-04 Alan Modra <amodra@gmail.com>
14716 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
14717 Don't use a union to pack hi/low value.
14719 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
14721 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
14723 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
14724 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
14725 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
14726 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
14727 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
14729 2013-10-04 Alan Modra <amodra@gmail.com>
14731 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
14732 constants to usual value for .cst8 section, and remove redundant
14734 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
14735 constant for 0x1p52. Load little-endian words of double from
14736 correct stack offsets.
14738 2013-10-04 Alan Modra <amodra@gmail.com>
14740 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
14741 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
14742 words of double from correct stack offsets.
14743 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
14744 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
14745 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
14746 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
14747 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
14748 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
14749 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
14750 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
14751 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
14752 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
14753 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
14754 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
14755 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
14756 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
14757 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
14758 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
14759 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
14761 2013-10-04 Alan Modra <amodra@gmail.com>
14763 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
14764 64-bit int/double union.
14765 (_FPU_SETCW): Likewise.
14766 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
14767 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
14769 2013-10-04 Alan Modra <amodra@gmail.com>
14771 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
14772 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
14774 2013-10-04 Alan Modra <amodra@gmail.com>
14776 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
14777 use vector int constants.
14778 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
14780 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
14782 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
14783 array with long long.
14784 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
14785 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
14786 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
14787 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
14788 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
14789 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
14790 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
14791 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
14792 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
14793 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
14794 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
14795 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
14796 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
14798 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
14800 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
14801 (__signbit): Likewise. Correct for little-endian.
14802 (__signbitl): Call __signbit.
14803 (lrint): Correct for little-endian.
14804 (lrintf): Call lrint.
14806 2013-10-04 Alan Modra <amodra@gmail.com>
14808 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
14809 union 32-bit int array member with 64-bit int array.
14810 (t515, tm256): Double rather than long double.
14811 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
14813 2013-10-04 Alan Modra <amodra@gmail.com>
14815 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
14817 (IEEE854_LONG_DOUBLE_BIAS): Delete.
14818 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
14819 version of math_ldbl.h.
14821 2013-10-04 Alan Modra <amodra@gmail.com>
14823 [BZ #15734], [BZ #15735]
14824 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
14825 all uses of ieee875 long double macros and unions. Simplify test
14826 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
14827 ldbl_extract_mantissa value for ix,iy exponents. Properly
14828 normalize after ldbl_extract_mantissa, and don't add hidden bit
14829 already handled. Don't treat low word of ieee854 mantissa like
14830 low word of IBM long double and mask off bit when testing for
14832 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
14833 all uses of ieee875 long double macros and unions. Simplify tests
14834 for 0.0L and inf. Correct double adjustment of k. Delete dead code
14835 adjusting ha,hb. Simplify code setting kld. Delete two600 and
14836 two1022, instead use their values. Recognise that tests for large
14837 "a" and small "b" are mutually exclusive. Rename vars. Comment.
14838 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
14839 Rewrite all uses of ieee875 long double macros and unions. Simplify
14840 test for 0.0L and nan. Correct negation.
14841 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
14842 ieee875 long double macros and unions. Correct output for large
14843 magnitude x. Correct absolute value calculation.
14844 (__erfcl): Likewise.
14845 * math/libm-test.inc: Add tests for errors discovered in IBM long
14846 double versions of fmodl, remainderl, erfl and erfcl.
14848 2013-10-04 Alan Modra <amodra@gmail.com>
14850 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
14851 all uses of ieee854 long double macros and unions. Simplify tests
14852 for long doubles that are fully specified by the high double.
14853 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
14855 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
14856 Remove dead code too.
14857 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14858 (__ieee754_ynl): Likewise.
14859 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
14860 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
14861 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
14862 Remove dead code too.
14863 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
14864 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
14865 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
14866 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
14868 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
14870 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
14871 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
14872 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
14873 Comment on variable precision.
14874 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
14875 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14877 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
14878 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
14879 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
14880 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
14881 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
14883 2013-10-04 Alan Modra <amodra@gmail.com>
14885 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
14886 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
14887 all uses of ieee854 long double macros and unions.
14888 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
14889 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14890 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
14891 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
14892 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
14893 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
14895 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
14896 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
14897 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
14898 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
14899 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
14900 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
14901 Simplify sign and nan test too.
14902 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
14903 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
14904 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
14905 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
14907 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
14908 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
14910 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14911 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
14912 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
14913 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
14914 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
14915 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
14917 2013-10-04 Alan Modra <amodra@gmail.com>
14919 * stdio-common/printf_size.c (__printf_size): Don't use
14920 union ieee854_long_double in fpnum union.
14921 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
14922 signbit macro to retrieve sign from long double.
14923 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
14924 retrieve sign from long double.
14925 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
14926 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
14927 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
14928 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
14929 * math/test-misc.c (main): Don't use union ieee854_long_double.
14931 2013-10-04 Alan Modra <amodra@gmail.com>
14934 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
14935 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
14936 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
14937 calculation. Remove unnecessary test for denormal exponent.
14938 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
14939 Correct handling of denormals. Avoid undefined shift behaviour.
14940 Correct normalisation of low mantissa when low double is denormal.
14941 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
14942 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
14943 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
14944 Correct normalisation of low mantissa. Test for overflow of high
14945 mantissa and normalise.
14946 (ldbl_nearbyint): Use more readable constant for two52.
14947 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
14948 (__mpn_construct_long_double): Fix test for overflow of high
14949 mantissa and correct normalisation. Avoid undefined shift.
14951 2013-10-04 Alan Modra <amodra@gmail.com>
14953 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
14954 (union ibm_extended_long_double): Define as an array of ieee754_double.
14955 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
14956 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
14957 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
14958 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
14959 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14960 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
14961 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14962 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
14963 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
14964 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
14965 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
14967 2013-10-03 Joseph Myers <joseph@codesourcery.com>
14969 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
14970 page size instead of calling getpagesize.
14972 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
14973 (LOCFILE_ALIGN_MASK): Likewise.
14974 (LOCFILE_ALIGN_UP): Likewise.
14975 (LOCFILE_ALIGNED_P): Likewise.
14976 * locale/programs/ld-collate.c (collate_output): Use the new
14977 macros instead of __alignof__ (int32_t).
14978 * locale/weight.h (findidx): Likewise.
14980 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
14983 * manual/string.texi: Fix strncat and wcsncat.
14985 2013-10-03 Brooks Moses <bmoses@google.com>
14988 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
14989 * Makerules: ...here, and adjust associated comments.
14991 2013-10-02 Will Newton <will.newton@linaro.org>
14993 * malloc/Makefile: Add tst-pvalloc.
14994 * malloc/tst-pvalloc.c: New file.
14996 2013-10-02 Will Newton <will.newton@linaro.org>
14998 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
14999 improve test coverage.
15001 2013-10-02 Will Newton <will.newton@linaro.org>
15003 * malloc/Makefile: Add tst-posix_memalign.
15004 * malloc/tst-posix_memalign.c: New file.
15006 2013-10-01 Eric Blake <eblake@redhat.com>
15008 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
15009 Use __THROWNL rather than __THROW on static functions.
15011 2013-09-30 Petr Machata <pmachata@redhat.com>
15013 * elf/elf.h (R_AARCH64_ABS16): New macro.
15014 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
15015 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
15016 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
15017 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
15018 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
15019 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
15020 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
15021 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
15022 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
15023 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
15024 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
15025 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
15026 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
15027 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
15028 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
15029 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
15030 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
15031 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
15032 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
15033 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
15034 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
15035 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
15036 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
15037 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
15038 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
15039 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
15040 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
15041 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
15042 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
15043 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
15044 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
15045 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
15046 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
15047 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
15048 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
15049 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
15050 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
15051 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
15052 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
15053 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
15054 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
15055 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
15056 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
15057 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
15058 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
15059 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
15060 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
15061 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
15062 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
15063 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
15064 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
15065 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
15066 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
15067 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
15068 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
15069 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
15070 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
15071 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
15072 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
15073 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
15074 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
15075 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
15076 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
15077 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
15078 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
15079 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
15080 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
15081 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
15082 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
15083 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
15084 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
15085 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
15086 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
15087 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
15088 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
15089 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
15090 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
15091 (R_AARCH64_TLSDESC_LDR): Likewise.
15092 (R_AARCH64_TLSDESC_ADD): Likewise.
15093 (R_AARCH64_TLSDESC_CALL): Likewise.
15095 2013-09-30 Andreas Schwab <schwab@suse.de>
15098 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
15099 the nss database lookup.
15100 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15101 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15103 2013-09-28 Mike Frysinger <vapier@gentoo.org>
15105 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
15107 2013-09-28 P. J. McDermott <pj@pehjota.net>
15109 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
15110 ${Bash-specific parameter/pattern/string} parameter expansion.
15111 * sysdeps/unix/make-syscalls.sh: Likewise.
15113 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15115 * sysdeps/sh/stackguard-macros.h: New file.
15117 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
15119 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
15120 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
15121 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
15122 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
15123 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15124 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
15126 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15128 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
15129 Fix thread ID register.
15131 2013-09-25 Joseph Myers <joseph@codesourcery.com>
15133 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
15134 [POSIX || UNIX98]: Require rather than permitting all symbols from
15136 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
15137 element of struct sched_param.
15138 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
15139 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
15140 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
15141 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
15144 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
15146 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
15147 argument calculation.
15149 2013-09-24 Joseph Myers <joseph@codesourcery.com>
15151 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
15153 [POSIX] (pthread_attr_t): Do not require type.
15154 [POSIX] (pthread_cond_t): Likewise.
15155 [POSIX] (pthread_condattr_t): Likewise.
15156 [POSIX] (pthread_key_t): Likewise.
15157 [POSIX] (pthread_mutex_t): Likewise.
15158 [POSIX] (pthread_mutexattr_t): Likewise.
15159 [POSIX] (pthread_once_t): Likewise.
15160 [POSIX] (pthread_t): Likewise.
15161 [POSIX-based standards] (pthread_atfork): Expect function.
15163 2013-09-24 Joseph Myers <joseph@codesourcery.com>
15164 Richard Sandiford <richard@codesourcery.com>
15166 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
15167 (swap_endianness_p): New extern variable.
15168 (set_big_endian): New inline function.
15169 (maybe_swap_uint32): Likewise.
15170 (maybe_swap_uint32_array): Likewise.
15171 (maybe_swap_uint32_obstack): Likewise.
15172 * locale/programs/locfile.c: Include <stdbool.h>.
15173 (swap_endianness_p): New variable.
15174 (add_locale_uint32): Call maybe_swap_uint32.
15175 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
15176 (write_locale_data): Call maybe_swap_uint32_array.
15177 * locale/programs/ld-collate.c (obstack_int32_grow): Call
15179 (obstack_int32_grow_fast): Likewise.
15180 (output_weightwc): Call maybe_swap_uint32_obstack.
15181 (collate_output): Likewise.
15182 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
15183 (OPT_LITTLE_ENDIAN): Likewise.
15184 (options): Add --little-endian and --big-endian options.
15185 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
15186 * locale/programs/locarchive.c: Include "locfile.h".
15190 (create_archive): Use the new macros to access fields of
15191 structures directly mapped from or written to locale archives.
15192 (oldlocrecentcmp): Likewise.
15193 (enlarge_archive): Likewise.
15194 (insert_name): Likewise.
15195 (add_alias): Likewise.
15196 (add_locale): Likewise.
15197 (delete_locales_from_archive): Likewise.
15198 (show_archive_content): Likewise.
15199 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
15202 2013-09-24 Roland McGrath <roland@hack.frob.com>
15204 * manual/freemanuals.texi: Updated from (newly) canonical copy at
15205 http://www.gnu.org/doc/freemanuals.texi.
15206 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
15208 2013-09-24 Will Newton <will.newton@linaro.org>
15210 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
15213 2013-09-23 Joseph Myers <joseph@codesourcery.com>
15215 * locale/hashval.h (compute_hashval): Interpret bytes of key as
15218 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
15220 * manual/threads.texi (POSIX Threads): Fix a typo.
15222 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15225 * string/tst-strcoll-overflow.c: New test case.
15226 * string/Makefile (xtests): Add tst-strcoll-overflow.
15227 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
15228 cache if string sizes may cause integer overflow.
15231 * string/strcoll_l.c (coll_seq): New members rule, idx,
15232 save_idx and back_us.
15233 (get_next_seq_nocache): New function.
15234 (do_compare_nocache): New function.
15235 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
15238 2013-09-23 Carlos O'Donell <carlos@redhat.com>
15241 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
15242 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
15243 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
15246 * elf/Makefile (tests): Add tst-ptrguard1.
15247 (tests-static): Add tst-ptrguard1-static.
15248 (tst-ptrguard1-ARGS): Define.
15249 (tst-ptrguard1-static-ARGS): Define.
15250 * elf/tst-ptrguard1.c: New file.
15251 * elf/tst-ptrguard1-static.c: New file.
15252 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
15253 * sysdeps/i386/stackguard-macros.h: Likewise.
15254 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
15255 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
15256 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
15257 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
15258 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
15259 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
15261 2013-09-23 Hector Marco <hecmargi@upv.es>
15262 Ismael Ripoll <iripoll@disca.upv.es>
15263 Carlos O'Donell <carlos@redhat.com>
15266 * sysdeps/generic/stackguard-macros.h: Define
15267 __pointer_chk_guard_local and POINTER_CHK_GUARD.
15268 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
15269 Define __pointer_chk_guard_local.
15270 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
15271 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
15273 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
15276 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
15278 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
15280 * include/string.h (__ffs): Declare as hidden.
15281 * string/ffs.c (__ffs): Define as hidden.
15282 * sysdeps/i386/ffs.c (__ffs): Likewise.
15283 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
15284 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
15285 * sysdeps/s390/ffs.c (__ffs): Likewise.
15286 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
15288 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
15290 * NEWS: Mention malloc probes.
15292 * malloc/arena.c (new_heap): New memory_heap_new probe.
15293 (grow_heap): New memory_heap_more probe.
15294 (shrink_heap): New memory_heap_less probe.
15295 (heap_trim): New memory_heap_free probe.
15296 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
15297 (systrim): New memory_sbrk_less probe.
15298 * manual/probes.texi: Document them.
15300 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
15301 * manual/probes.texi: Document it.
15303 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
15304 (__libc_realloc): Add memory_realloc_retry probe.
15305 (__libc_memalign): Add memory_memalign_retry probe.
15306 (__libc_valloc): Add memory_valloc_retry probe.
15307 (__libc_pvalloc): Add memory_pvalloc_retry probe.
15308 (__libc_calloc): Add memory_calloc_retry probe.
15309 * manual/probes.texi: Document them.
15311 * malloc/arena.c (get_free_list): Add probe
15312 memory_arena_reuse_free_list.
15313 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
15314 and memory_arena_reuse.
15315 (arena_get2) [!PER_THREAD]: Likewise.
15316 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
15317 memory_arena_reuse_realloc.
15318 * manual/probes.texi: Document them.
15320 * malloc/malloc.c (__libc_free): Add
15321 memory_mallopt_free_dyn_thresholds probe.
15322 (__libc_mallopt): Add multiple memory_mallopt probes.
15323 * manual/probes.texi: Document them.
15325 * malloc/malloc.c: Include stap-probe.h.
15326 (__libc_mallopt): Add memory_mallopt probe.
15327 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
15328 * manual/probes.texi: New.
15329 * manual/Makefile (chapters): Add probes.
15330 * manual/threads.texi: Set next node.
15332 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
15334 [BZ #15963, #13985]
15335 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
15336 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
15337 Add `Chinese' to `nan' entry name.
15339 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15341 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
15342 (POLYNOMIAL): Likewise.
15343 (TAYLOR_SINCOS): Likewise.
15344 (TAYLOR_SLOW): Likewise.
15345 (__sin): Use TAYLOR_SINCOS.
15347 (slow): Use TAYLOR_SLOW.
15349 (bsloww): Likewise.
15350 (csloww): Likewise.
15352 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15354 * stdlib/strtod_l.c: Fix buffer overrun.
15356 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15358 * benchtests/Makefile (bench): Add sincos.
15359 * benchtests/bench-sincos.c: New file.
15361 * math/libm-test.inc (cos_test_data): New test inputs.
15362 (sin_test_data): Likewise.
15364 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
15370 (sloww1): Likewise.
15371 (sloww2): Likewise.
15372 (bsloww1): Likewise.
15373 (bsloww2): Likewise.
15374 (cslow2): Likewise.
15375 (csloww1): Likewise.
15376 (csloww2): Likewise.
15378 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
15383 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
15387 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
15389 * config.h.in (HAVE_MIPS_NAN2008): New macro.
15390 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
15391 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
15392 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
15393 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
15394 * elf/cache.c (print_entry): Handle the new cache flags.
15396 2013-09-18 Joseph Myers <joseph@codesourcery.com>
15397 Aldy Hernandez <aldyh@redhat.com>
15399 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
15400 Change condition to [_SOFT_FLOAT].
15401 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
15402 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
15403 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
15404 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
15405 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
15406 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
15407 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
15408 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
15409 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
15410 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
15411 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
15412 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
15413 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
15414 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
15415 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
15416 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
15419 2013-09-18 Joseph Myers <joseph@codesourcery.com>
15421 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
15422 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15423 (__longjmp): Use LOAD_GP to load saved GPRs.
15424 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
15425 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15426 (__sigsetjmp): Use SAVE_GP to save GPRs.
15428 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
15429 Do not append -msoft-float.
15430 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
15432 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15434 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
15436 2013-09-17 Joseph Myers <joseph@codesourcery.com>
15439 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
15440 (_FPU_GETCW): Use initial "__" on variable and field names but not
15441 on macro parameter name.
15442 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
15443 parentheses around reference to macro parameter.
15445 2013-09-13 Richard Sandiford <richard@codesourcery.com>
15447 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
15449 (ctype_startup): Use uint32_t in cast and sizeof for
15452 2013-09-11 Jia Liu <proljc@gmail.com>
15454 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
15456 [__FreeBSD__]: Likewise.
15458 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
15460 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15461 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
15462 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
15463 (strchr): Remove __strchr_sse42 ifunc selection.
15464 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
15465 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
15467 2013-09-11 Will Newton <will.newton@linaro.org>
15469 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
15470 parameter to RES. Remove hardcoded 1000 value.
15471 * benchtests/bench-skeleton.c (main): Pass RES parameter
15472 to TIMING_INIT and multiply result by 1000.
15474 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15476 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15478 2013-09-11 Andreas Schwab <schwab@suse.de>
15480 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
15482 (O_TMPFILE) [__USE_GNU]: Define.
15483 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
15486 2013-09-11 Will Newton <will.newton@linaro.org>
15489 * malloc/malloc.c (__libc_memalign): Check the value of bytes
15492 2013-09-11 Will Newton <will.newton@linaro.org>
15495 * malloc/malloc.c (__libc_valloc): Check the value of bytes
15498 2013-09-11 Will Newton <will.newton@linaro.org>
15501 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
15504 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
15506 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
15507 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15508 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15509 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15510 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15512 2013-09-10 Allan McRae <allan@archlinux.org>
15515 * manual/arith.texi (Parsing of Floats): Clarify
15519 * manual/install.texi (Running make install): Mention
15521 * INSTALL: Regenerated.
15523 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15525 * csu/init-first.c (_init): Remove the !SHARED condition around
15526 FPU control word initialization.
15527 * elf/dl-support.c (_dl_fpu_control): New variable.
15528 (_dl_aux_init) <AT_FPUCW>: Initialize it.
15529 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
15530 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
15531 * math/test-fpucw-static.c: New file.
15532 * math/test-fpucw-ieee.c: New file.
15533 * math/test-fpucw-ieee-static.c: New file.
15534 * math/Makefile (tests): Add `test-fpucw-ieee' and
15536 (tests-static): New variable.
15537 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
15539 [($(build-shared),yes)]
15540 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
15542 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
15545 2013-09-09 Allan McRae <allan@archlinux.org>
15548 * manual/string.texi (Collation Functions): Fix typo in
15550 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
15553 * stdlib/isomac.c (get_null_defines): Fix memory leak.
15556 * libio/memstream.c (open_memstream): Fix memory leak.
15557 * libio/wmemstream.c (open_wmemstream): Likewise.
15560 * nscd/netgroupcache.c: Fix nesting of ifdefs.
15562 2013-09-09 Will Newton <will.newton@linaro.org>
15564 * malloc/Makefile: Add tst-realloc to tests.
15565 * malloc/tst-realloc.c: New file.
15567 2013-09-09 Allan McRae <allan@archlinux.org>
15570 * COPYING: Update from GNU website to fix FSF address.
15571 * COPYING.LIB: Likewise.
15573 2013-09-06 David S. Miller <davem@davemloft.net>
15575 * po/zh_TW.po: Update Chinese (traditional) translation from
15576 translation project.
15578 2013-09-06 Richard Sandiford <richard@codesourcery.com>
15579 Joseph Myers <joseph@codesourcery.com>
15581 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
15583 (obstack_chunk_alloc): New macro.
15584 (obstack_chunk_free): Likewise.
15585 (record_offset): New function.
15586 (init_locale_data): Likewise.
15587 (align_locale_data): Likewise.
15588 (add_locale_empty): Likewise.
15589 (add_locale_raw_data): Likewise.
15590 (add_locale_raw_obstack): Likewise.
15591 (add_locale_string): Likewise.
15592 (add_locale_wstring): Likewise.
15593 (add_locale_uint32): Likewise.
15594 (add_locale_uint32_array): Likewise.
15595 (add_locale_char): Likewise.
15596 (start_locale_structure): Likewise.
15597 (end_locale_structure): Likewise.
15598 (start_locale_prelude): Likewise.
15599 (end_locale_prelude): Likewise.
15600 (write_locale_data): Take locale_file structure rather than an
15602 * locale/programs/locfile.h: Include "obstack.h".
15603 (struct locale_file): Change to store locale file contents instead
15605 (init_locale_data): New prototype.
15606 (align_locale_data): Likewise.
15607 (add_locale_empty): Likewise.
15608 (add_locale_raw_data): Likewise.
15609 (add_locale_raw_obstack): Likewise.
15610 (add_locale_string): Likewise.
15611 (add_locale_wstring): Likewise.
15612 (add_locale_uint32): Likewise.
15613 (add_locale_uint32_array): Likewise.
15614 (add_locale_char): Likewise.
15615 (start_locale_structure): Likewise.
15616 (end_locale_structure): Likewise.
15617 (start_locale_prelude): Likewise.
15618 (end_locale_prelude): Likewise.
15619 (write_locale_data): Update prototype.
15620 * locale/programs/3level.h (struct TABLE): Remove result field.
15621 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
15622 Use new locale_file interface.
15623 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
15624 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
15625 * locale/programs/ld-address.c (address_output): Use new
15626 locale_file interface.
15627 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
15629 (collate_finish): Don't call collseq_table_finalize.
15630 (collate_output): Use new locale_file interface.
15631 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
15633 (NO_FINALIZE): Change to NO_ADD_LOCALE.
15634 (TABLE): Move defines earlier in file.
15635 (ELEMENT): Likewise.
15636 (DEFAULT): Likewise.
15637 (wctrans_table_add): Move macro and inline function earlier in
15639 (struct wctype_table): Move type earlier in file.
15640 (add_locale_wctype_table): New static prototype.
15641 (struct locale_ctype_t): Use logical types instead of struct iovec
15642 pointers for members.
15643 (ctype_output): Use new locale_file interface.
15644 (wctype_table_finalize): Change to add_locale_wctype_table. Use
15645 new locale_file interface.
15646 (allocate_arrays): Update for use of new locale_file interface.
15647 * locale/programs/ld-identification.c (identification_output): Use
15648 new locale_file interface.
15649 * locale/programs/ld-measurement.c (measurement_output): Likewise.
15650 * locale/programs/ld-messages.c (messages_output): Likewise.
15651 * locale/programs/ld-monetary.c (monetary_output): Likewise.
15652 * locale/programs/ld-name.c (name_output): Likewise.
15653 * locale/programs/ld-numeric.c (numeric_output): Likewise.
15654 * locale/programs/ld-paper.c (paper_output): Likewise.
15655 * locale/programs/ld-telephone.c (telephone_output): Likewise.
15656 * locale/programs/ld-time.c (time_output): Likewise.
15658 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15660 * benchtests/Makefile: Add memrchr benchmark.
15661 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
15662 benchmark as memrchr.
15663 * benchtests/bench-memrchr-ifunc.c: New file.
15664 * benchtests/bench-memrchr.c: New file.
15666 2013-09-06 Will Newton <will.newton@linaro.org>
15668 * benchtests/Makefile (string-bench): Add memcpy.
15670 2013-09-05 Carlos O'Donell <carlos@redhat.com>
15671 Cong Wang <amwang@redhat.com>
15674 * sysdeps/unix/sysv/linux/bits/in.h
15675 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
15676 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
15677 before __USE_KERNEL_IPV6_DEFS uses.
15678 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
15680 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
15681 sockaddr_in6, or ipv6_mreq.
15683 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15685 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
15686 memory access for final bytes in some large inputs.
15687 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
15689 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15691 * string/test-memrchr.c: New file.
15692 * string/test-memrchr-ifunc.c: New file.
15693 * string/Makefile: Add new memrchr testcase.
15695 2013-09-05 Mike Frysinger <vapier@gentoo.org>
15697 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
15698 fanotify_init returns EPERM.
15700 2013-09-04 Joseph Myers <joseph@codesourcery.com>
15702 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
15704 (top level): Treat second token from macro or constant entries for
15705 allowed headers as allowed.
15706 * include/complex.h: Condition internal declarations on
15708 * include/fenv.h: Condition include of <stdbool.h> and internal
15709 declarations on [!_ISOMAC].
15711 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
15714 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
15716 2013-09-04 Joseph Myers <joseph@codesourcery.com>
15718 * configure.in (--enable-versioning): Remove configure option.
15719 (libc_cv_asm_symver_directive): Remove configure test.
15720 (libc_cv_ld_version_script_option): Likewise.
15721 (VERSIONING): Remove variable and AC_SUBST.
15722 (DO_VERSIONING): Remove AC_DEFINE.
15723 * configure: Regenerated.
15724 * config.h.in (DO_VERSIONING): Remove macro.
15725 * Makerules [$(versioning) = yes]: Change conditionals to
15726 [$(build-shared) = yes].
15727 * config.make.in (versioning): Remove variable.
15728 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
15729 [$(build-shared) = yes].
15730 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
15731 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
15732 * elf/Makefile [$(versioning) = yes]: Change conditionals to
15733 [$(build-shared) = yes].
15734 * extra-lib.mk [$(versioning) = yes]: Likewise.
15735 * hurd/Makefile [$(versioning) = yes]: Likewise.
15736 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
15738 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
15740 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
15741 [SHARED && !NO_HIDDEN].
15742 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
15744 [SHARED && DO_VERSIONING]: Likewise..
15745 * libio/Makefile [$(versioning) = yes]: Change conditionals to
15746 [$(build-shared) = yes].
15747 * manual/install.texi (--disable-versioning): Remove
15749 * INSTALL: Regenerated.
15750 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
15752 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
15753 [$(build-shared) = yes].
15754 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
15755 * sysdeps/i386/i686/multiarch/strstr-c.c
15756 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
15757 [SHARED && !NO_HIDDEN].
15758 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
15759 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
15760 * sysdeps/powerpc/powerpc32/dl-machine.c
15761 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
15762 * sysdeps/powerpc/powerpc32/sysdep.h
15763 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
15764 to [SHARED && PIC && !NO_HIDDEN].
15765 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
15766 conditional to [SHARED].
15768 2013-09-04 Will Newton <will.newton@linaro.org>
15770 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
15771 * benchtests/bench-string.h: Include bench-timing.h instead
15772 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
15773 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
15774 call to HP_TIMING_DIFF_INIT.
15775 * benchtests/bench-memccpy.c: Use bench-timing.h macros
15776 instead of hp-timing.h macros.
15777 * benchtests/bench-memchr.c: Likewise.
15778 * benchtests/bench-memcmp.c: Likewise.
15779 * benchtests/bench-memcpy.c: Likewise.
15780 * benchtests/bench-memmem.c: Likewise.
15781 * benchtests/bench-memmove.c: Likewise.
15782 * benchtests/bench-memset.c: Likewise.
15783 * benchtests/bench-rawmemchr.c: Likewise.
15784 * benchtests/bench-strcasecmp.c: Likewise.
15785 * benchtests/bench-strcasestr.c: Likewise.
15786 * benchtests/bench-strcat.c: Likewise.
15787 * benchtests/bench-strchr.c: Likewise.
15788 * benchtests/bench-strcmp.c: Likewise.
15789 * benchtests/bench-strcpy.c: Likewise.
15790 * benchtests/bench-strcpy_chk.c: Likewise.
15791 * benchtests/bench-strlen.c: Likewise.
15792 * benchtests/bench-strncasecmp.c: Likewise.
15793 * benchtests/bench-strncat.c: Likewise.
15794 * benchtests/bench-strncmp.c: Likewise.
15795 * benchtests/bench-strncpy.c: Likewise.
15796 * benchtests/bench-strnlen.c: Likewise.
15797 * benchtests/bench-strpbrk.c: Likewise.
15798 * benchtests/bench-strrchr.c: Likewise.
15799 * benchtests/bench-strspn.c: Likewise.
15800 * benchtests/bench-strstr.c: Likewise.
15802 2013-09-04 Will Newton <will.newton@linaro.org>
15804 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
15806 2013-09-03 Joseph Myers <joseph@codesourcery.com>
15809 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
15810 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
15811 * math/libm-test.inc (lgamma_test_data): Add more tests.
15812 * sysdeps/i386/fpu/libm-test-ulps: Update.
15813 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15815 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
15817 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
15818 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15820 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15821 Add strcmp-sse2-unaligned
15822 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
15824 2013-09-02 Mike Frysinger <vapier@gentoo.org>
15826 * Versions.def (libc): Add GLIBC_2.19.
15828 2013-09-02 Mike Frysinger <vapier@gentoo.org>
15830 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
15831 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
15833 2013-09-02 Joseph Myers <joseph@codesourcery.com>
15836 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
15837 intermediate calculations in recurrence.
15838 (__ieee754_ynf): Likewise.
15839 * math/libm-test.inc (jn_test_data): Do not allow spurious
15840 underflow exception. Add more tests.
15841 (yn_test_data): Add more tests.
15842 * sysdeps/i386/fpu/libm-test-ulps: Update.
15843 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15845 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
15847 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
15849 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
15851 * csu/init-first.c: Fix then/than typos.
15852 * locale/programs/ld-collate.c: Likewise.
15853 * locale/programs/linereader.h: Likewise.
15854 * manual/charset.texi: Likewise.
15855 * manual/filesys.texi: Likewise.
15856 * manual/stdio.texi: Likewise.
15857 * manual/string.texi: Likewise.
15858 * stdlib/fmtmsg.c: Likewise.
15859 * sysdeps/i386/stpncpy.S: Likewise.
15860 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15861 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
15862 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15863 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15865 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
15867 * elf/dl-open.c: Fix typos.
15868 * iconvdata/gbbig5.c: Likewise.
15869 * iconvdata/iso-2022-jp.c: Likewise.
15870 * iconv/gconv_int.h: Likewise.
15871 * iconv/loop.c: Likewise.
15872 * nis/rpcsvc/nis.h: Likewise.
15873 * resolv/ns_name.c: Likewise.
15874 * stdio-common/vfscanf.c: Likewise.
15875 * streams/stropts.h: Likewise.
15876 * sunrpc/rpc_thread.c: Likewise.
15877 * sysdeps/i386/strpbrk.S: Likewise.
15878 * sysdeps/ieee754/k_standard.c: Likewise.
15879 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15880 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15881 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
15882 * sysdeps/mach/hurd/profil.c: Likewise.
15883 * sysdeps/s390/dl-procinfo.h: Likewise.
15884 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
15885 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
15886 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
15887 * sysdeps/x86_64/dl-trampoline.S: Likewise.
15888 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
15890 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
15892 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
15893 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
15895 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
15897 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
15898 aix specific files.
15899 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
15900 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
15901 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
15902 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
15903 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
15904 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
15905 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
15906 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
15908 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
15909 Roland McGrath <roland@hack.frob.com>
15911 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
15912 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
15914 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
15916 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
15917 __executable_start symbol instead of _start.
15919 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
15921 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
15922 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
15924 * sysdeps/gnu/ldsodefs.h: ... this new file.
15926 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
15927 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
15928 instead of ELFOSABI_LINUX.
15930 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
15931 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
15932 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
15933 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
15935 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
15936 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
15937 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
15939 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
15940 (ibm_extended_long_double): Add ieee_nan member.
15941 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
15942 (do_test): New function.
15944 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
15946 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
15947 functions, renamed from truncdfsf_test, trunctfsf_test,
15949 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
15951 (do_test): Run all these.
15953 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
15955 * argp/argp-help.c: Fix typos.
15956 * argp/argp-parse.c: Likewise.
15957 * debug/backtracesyms.c: Likewise.
15958 * elf/elf.h: Likewise.
15959 * malloc/malloc.c: Likewise.
15960 * nis/nis_print.c: Likewise.
15961 * resolv/res_comp.c: Likewise.
15962 * stdlib/stdlib.h: Likewise.
15963 * sunrpc/clnt_tcp.c: Likewise.
15964 * sunrpc/clnt_udp.c: Likewise.
15965 * sunrpc/clnt_unix.c: Likewise.
15966 * sysdeps/unix/bsd/ptsname.c: Likewise.
15967 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
15968 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
15969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
15971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
15973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
15975 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
15977 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15979 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
15980 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15982 2013-08-27 Mike Frysinger <vapier@gentoo.org>
15985 * dlfcn/Makefile (tests): Add bug-dl-leaf.
15986 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
15987 ($(objpfx)bug-dl-leaf): New rule.
15988 ($(objpfx)bug-dl-leaf.so): Likewise.
15989 ($(objpfx)bug-dl-leaf.out): Likewise.
15990 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
15991 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
15992 * dlfcn/bug-dl-leaf.c: New test.
15993 * dlfcn/bug-dl-leaf-lib.c: Likewise.
15994 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
15995 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
15996 (dlclose): Likewise.
15997 (dlmopen): Likewise.
15999 2013-08-27 Roland McGrath <roland@hack.frob.com>
16001 * include/netdb.h [!_ISOMAC]:
16002 Don't include <tls.h>.
16003 (h_errno, __libc_h_errno): Move declaration and macros out of
16006 * include/resolv.h [_RESOLV_H_]:
16007 Don't include <tls.h>.
16008 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
16009 * resolv/res_libc.c: Don't include <tls.h>.
16010 (_res): Use __attribute__ ((nocommon)) in place of
16011 __attribute__ ((section (".bss"))).
16013 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
16014 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
16016 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
16018 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
16019 only under [SIOCGIFCONF && SIOCGIFNETMASK].
16021 * resolv/res_mkquery.c: Include <sys/time.h>.
16023 * inet/ifreq.c: Moved to ...
16024 * sysdeps/unix/ifreq.c: ... here.
16025 * inet/ifreq.c: New file, true stub version.
16027 * socket/sa_len.c: New file.
16028 * socket/Makefile (aux): Add it.
16029 * sysdeps/unix/sysv/linux/Makefile
16030 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
16031 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
16032 and #include <socket/sa_len.c>.
16033 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
16034 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
16036 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
16037 * bits/socket.h: ... here.
16039 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
16040 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
16041 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
16043 2013-08-27 Andreas Schwab <schwab@suse.de>
16046 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
16047 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
16048 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
16049 * string/test-strcasecmp.c (test_main): Run tests in several
16051 * string/test-strncasecmp.c (test_main): Likewise.
16053 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
16054 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
16055 to __strcasecmp_nonascii and __strncasecmp_nonascii.
16056 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
16057 (__strncasecmp_ssse3) [PIC]: Likewise.
16059 2013-08-26 Roland McGrath <roland@hack.frob.com>
16061 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
16063 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
16064 instead of explicitly declaring xdecrypt.
16065 * nis/nss_nis/nis-publickey.c: Likewise.
16067 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16070 * nscd/aicache.c: Include res_hconf.h.
16071 (addhstaiX): Initialize res_hconf.
16073 2013-08-26 Andreas Schwab <schwab@suse.de>
16075 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
16076 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
16078 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16080 * nscd/aicache.c (addhstaiX): Fix indentation.
16082 2013-08-25 Mike Frysinger <vapier@gentoo.org>
16084 * configure.ac: Quote $build_pt_chown test.
16085 * configure: Regenerated.
16087 2013-08-23 Joseph Myers <joseph@codesourcery.com>
16090 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
16091 * math/s_cexpf.c (__cexpf): Likewise.
16092 * math/s_cexpl.c (__cexpl): Likewise.
16093 * math/libm-test.inc (cexp_test_data): Correct expected return
16094 value for NaN + i0. Add another test.
16096 2013-08-22 David S. Miller <davem@davemloft.net>
16098 * po/ca.po: Update Catalan translation from translation project.
16099 * po/uk.po: Add Ukrainian translations from translation project.
16101 2013-08-21 Joseph Myers <joseph@codesourcery.com>
16104 * math/s_fdim.c (__fdim): Check for infinite arguments if result
16105 is infinite, not alongside NaN test.
16106 * math/s_fdimf.c (__fdimf): Likewise.
16107 * math/s_fdiml.c (__fdiml): Likewise.
16108 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
16109 errno is unchanged.
16111 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
16113 * argp/argp-help.c: Fix typos.
16114 * crypt/speeds.c: Likewise.
16115 * csu/check_fds.c: Likewise.
16116 * elf/dl-load.c: Likewise.
16117 * elf/dl-open.c: Likewise.
16118 * elf/reldep3.c: Likewise.
16119 * elf/reldep.c: Likewise.
16120 * elf/sprof.c: Likewise.
16121 * iconv/iconv_charmap.c: Likewise.
16122 * iconv/skeleton.c: Likewise.
16123 * iconv/strtab.c: Likewise.
16124 * io/lockf64.c: Likewise.
16125 * libio/libioP.h: Likewise.
16126 * resolv/gai_notify.c: Likewise.
16127 * resolv/ns_name.c: Likewise.
16128 * resolv/ns_samedomain.c: Likewise.
16129 * resolv/res_send.c: Likewise.
16130 * stdlib/random.c: Likewise.
16131 * sunrpc/rpc/xdr.h: Likewise.
16132 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
16133 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
16134 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
16135 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
16136 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
16137 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
16138 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
16139 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
16140 * sysdeps/mach/hurd/check_fds.c: Likewise.
16141 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
16142 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16143 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16144 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
16145 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16146 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
16147 * sysdeps/pthread/aio_notify.c: Likewise.
16148 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
16149 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
16150 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
16151 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
16152 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
16154 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16156 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
16157 version if bit_Slow_SSE4_2 is set.
16158 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16159 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16161 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16164 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
16165 trampoline stack frame information.
16166 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
16167 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
16168 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
16169 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
16170 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
16171 * sysdeps/unix/sysv/linux/powerpc/init-first.c
16172 (_libc_vdso_platform_setup): Initialize the signal trampolines.
16173 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
16175 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
16176 interrupting a syscall and set with option SA_SIGINFO.
16178 2013-08-20 Joseph Myers <joseph@codesourcery.com>
16181 * math/s_cproj.c (__cproj): Only return an infinity if one part of
16182 argument is infinite.
16183 * math/s_cprojf.c (__cprojf): Likewise.
16184 * math/s_cprojl.c (__cprojl): Likewise.
16185 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
16186 * math/libm-test.inc (cproj_test_data): Add more tests.
16188 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
16190 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
16191 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
16192 size. Use __ffs to determine corresponding shift.
16194 2013-08-20 Joseph Myers <joseph@codesourcery.com>
16195 Roland McGrath <roland@hack.frob.com>
16197 * Makefile (INSTALL): Remove trailing blank lines from output of
16200 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16202 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
16203 Align 32 bit compat elf_greg to 8 bytes.
16205 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
16207 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
16209 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16211 * string/strcoll_l.c (coll_seq): New structure.
16212 (get_next_seq_cached): New function.
16213 (get_next_seq): New function.
16214 (do_compare): New function.
16215 (STRCOLL): Use GNU style definition. Simplify implementation
16216 by using get_next_seq, get_next_seq_cached and do_compare.
16218 2013-08-16 Florian Weimer <fweimer@redhat.com>
16222 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
16224 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
16226 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
16227 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
16228 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
16230 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
16231 GETDENTS_64BIT_ALIGNED.
16232 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16233 * manual/filesys.texi (Reading/Closing Directory): Document
16234 ENAMETOOLONG return value of readdir_r. Recommend readdir more
16236 * manual/conf.texi (Limits for Files): Add portability note to
16237 NAME_MAX, PATH_MAX.
16238 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
16240 2013-08-13 Andreas Schwab <schwab@suse.de>
16243 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
16245 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
16246 LDBL_MAX_EXP >= 16384]: Add tests for it.
16248 2013-08-12 David S. Miller <davem@davemloft.net>
16250 * version.h (RELEASE): Set to "development".
16251 (VERSION): Set to "2.18.90".
16252 * NEWS: Add 2.19 section.
16254 2013-08-03 David S. Miller <davem@davemloft.net>
16256 * po/ko.po: Update Korean translation from translation project.
16258 2013-08-01 David S. Miller <davem@davemloft.net>
16260 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
16261 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
16264 2013-07-30 David S. Miller <davem@davemloft.net>
16266 * po/fr.po: Update French translation from translation project.
16268 2013-07-28 David S. Miller <davem@davemloft.net>
16270 * po/cs.po: Update Czech translation from translation project.
16272 * po/sv.po: Update Swedish translation from translation project.
16274 2013-07-27 David S. Miller <davem@davemloft.net>
16276 * po/eo.po: Update Esperanto translation from translation project.
16278 * po/vi.po: Update Vietnamese translation from translation project.
16280 * po/de.po: Update German translation from translation project.
16282 2013-07-26 David S. Miller <davem@davemloft.net>
16284 * po/bg.po: Update Bulgarian translation from translation project.
16286 * po/nl.po: Update Dutch translation from translation project.
16287 * po/pl.po: Update Polish translation from translation project.
16288 * po/ru.po: Update Russian translation from translation project.
16290 2013-07-24 David S. Miller <davem@davemloft.net>
16292 * po/libc.pot: Update.
16294 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16296 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
16297 variable page size.
16298 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
16299 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
16300 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
16302 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16304 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
16306 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16307 Andreas Schwab <schwab@suse.de>
16308 Roland McGrath <roland@hack.frob.com>
16309 Joseph Myers <joseph@codesourcery.com>
16310 Carlos O'Donell <carlos@redhat.com>
16313 * config.h.in: Define HAVE_PT_CHOWN.
16314 * config.make.in (build-pt-chown): New variable.
16315 * configure.in (--enable-pt_chown): New configure option.
16316 * configure: Regenerate.
16317 * login/Makefile: Include Makeconfig. Build pt_chown only if
16318 build-pt-chown is enabled.
16319 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
16320 pt_chown to fix pty ownership.
16321 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
16323 * manual/install.texi (Configuring and compiling): Mention
16324 --enable-pt_chown. Add @findex for grantpt.
16325 * INSTALL: Regenerate.
16327 2013-07-20 David S. Miller <davem@davemloft.net>
16329 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
16330 difference between 32-bit and 64-bit.
16332 2013-07-15 Carlos O'Donell <carlos@redhat.com>
16335 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
16336 Avoid system header dependency with -ffreestanding.
16337 ($(objpfx)bits/syscall%d): Likewise.
16339 2013-07-13 David S. Miller <davem@davemloft.net>
16341 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
16342 underflows from atanl/atan2l due to bug 15319.
16343 (casinh_test_data): Likewise.
16345 2013-07-07 David S. Miller <davem@davemloft.net>
16347 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
16349 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
16351 * sysdeps/i386/fpu/libm-test-ulps: Update.
16352 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16354 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16356 * configure.in (--enable-lock-elision): Fix message text.
16357 * INSTALL: Regenerate.
16358 * configure: Regenerate.
16360 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16362 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16364 2013-07-03 Andreas Jaeger <aj@suse.de>
16366 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
16368 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
16369 (ptrace_peeksiginfo_args): Add.
16370 (__ptrace_peeksiginfo_flags): Add.
16371 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16372 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16373 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16375 2013-07-03 Allan McRae <allan@archlinux.org>
16377 * sysdeps/i386/fpu/libm-test-ulps: Update.
16379 2013-07-02 David S. Miller <davem@davemloft.net>
16381 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16383 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
16385 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16387 2013-07-02 Joseph Myers <joseph@codesourcery.com>
16389 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
16390 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16392 2013-07-02 Andi Kleen <ak@linux.intel.com>
16394 * config.h.in (ENABLE_LOCK_ELISION): Add.
16395 * configure.in (--enable-lock-elision): Add option.
16396 * manual/install.texi: Document --enable lock elision.
16397 * configure: Regenerate
16398 * INSTALL: Regenerate.
16400 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
16402 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
16403 SSE4.2 strcasecmp for libc.a.
16404 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
16406 2013-07-02 Joseph Myers <joseph@codesourcery.com>
16409 * soft-fp/op-common.h (_FP_FMA): New macro.
16410 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
16411 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
16412 (_FP_MUL_MEAT_1_imm): ... here.
16413 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
16414 (_FP_MUL_MEAT_1_wide): ... here.
16415 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
16416 (_FP_MUL_MEAT_1_hard): ... here.
16417 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
16418 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
16419 (_FP_MUL_MEAT_2_wide): ... here.
16420 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
16421 (_FP_MUL_MEAT_2_wide_3mul): ... here.
16422 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
16423 (_FP_MUL_MEAT_2_gmp): ... here.
16424 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
16425 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
16426 (_FP_MUL_MEAT_4_wide): ... here.
16427 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
16428 (_FP_MUL_MEAT_4_gmp): ... here.
16429 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
16430 (_FP_WFRACBITS_DW_S): Likewise.
16431 (_FP_WFRACXBITS_DW_S): Likewise.
16432 (_FP_HIGHBIT_DW_S): Likewise.
16433 (FP_FMA_S): Likewise.
16434 (_FP_FRAC_HIGH_DW_S): Likewise.
16435 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
16436 (_FP_WFRACBITS_DW_D): Likewise.
16437 (_FP_WFRACXBITS_DW_D): Likewise.
16438 (_FP_HIGHBIT_DW_D): Likewise.
16439 (FP_FMA_D): Likewise.
16440 (_FP_FRAC_HIGH_DW_D): Likewise.
16441 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
16442 (_FP_WFRACBITS_DW_E): Likewise.
16443 (_FP_WFRACXBITS_DW_E): Likewise.
16444 (_FP_HIGHBIT_DW_E): Likewise.
16445 (FP_FMA_E): Likewise.
16446 (_FP_FRAC_HIGH_DW_E): Likewise.
16447 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
16448 (_FP_WFRACBITS_DW_Q): Likewise.
16449 (_FP_WFRACXBITS_DW_Q): Likewise.
16450 (_FP_HIGHBIT_DW_Q): Likewise.
16451 (FP_FMA_Q): Likewise.
16452 (_FP_FRAC_HIGH_DW_Q): Likewise.
16453 * soft-fp/fmasf4.c: New file.
16454 * soft-fp/fmadf4.c: Likewise.
16455 * soft-fp/fmatf4.c: Likewise.
16457 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16459 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
16460 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
16462 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
16464 (index_Slow_SSE4_2): Likewise.
16465 (index_Prefer_PMINUB_for_stringop): Likewise.
16466 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
16467 bit_Slow_SSE4_2 is set.
16468 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16469 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16471 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16473 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
16474 rtld_global._dl_hwcap2.
16475 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
16477 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
16478 POWER8 feature descriptions defined in _dl_hwcap2.
16479 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
16480 string handling for POWER8 feature bits.
16481 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
16482 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
16483 _dl_powerpc_cap_flags.
16484 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
16485 * sysdeps/powerpc/rtld-global-offsets.sym
16486 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
16487 _dl_hwcap2 in the rtld_global_ro structure.
16489 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16491 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
16492 hardware capabilities in support of AT_HWCAP2.
16493 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
16494 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
16496 (_dl_show_auxv): Add support for calling _dl_procinfo to display
16497 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
16498 explicitly the unknown a_type display mechanism is used.
16499 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
16500 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
16502 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
16503 to macro prototype for AT_HWCAP2 support.
16504 * sysdeps/i386/dl-procinfo.h: Likewise.
16505 * sysdeps/s390/dl-procinfo.h: Likewise.
16506 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
16507 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
16508 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
16509 return -1 for unknown a_type display fallback.
16510 * sysdeps/sparc/dl-procinfo.h: Likewise.
16511 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
16512 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
16514 2013-06-28 Joseph Myers <joseph@codesourcery.com>
16516 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
16517 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
16519 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
16522 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
16523 mprotect making __stack_prot writable.
16525 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
16526 Joseph Myers <joseph@codesourcery.com>
16528 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
16529 as being properly aligned.
16531 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
16533 * dlfcn/modstatic5.c: New file.
16534 * dlfcn/tststatic5.c: New file.
16535 * dlfcn/Makefile (tests): Add tststatic5.
16536 (tests-static): Likewise.
16537 (modules-names): Add modstatic5.
16538 (tststatic5-ENV): New variable.
16539 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
16542 * elf/dl-support.c (_dl_main_map): New variable.
16543 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
16544 (_dl_nns, _dl_load_adds): Set to 1.
16545 (_dl_initial_searchlist): Refer to _dl_main_map.
16546 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
16547 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
16548 call to _dl_get_origin.
16549 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
16551 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
16552 * dlfcn/modstatic3.c: New file.
16553 * dlfcn/tststatic3.c: New file.
16554 * dlfcn/tststatic4.c: New file.
16555 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
16556 (tests-static): Likewise.
16557 (modules-names): Add modstatic3.
16558 (tststatic3-ENV, tststatic4-ENV): New variables.
16559 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
16560 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
16562 2013-06-26 Joseph Myers <joseph@codesourcery.com>
16564 * configure.in (CC): Require GCC version 4.4 or later.
16565 * configure: Regenerated.
16566 * manual/install.texi (Tools for Compilation): Update GCC version
16568 * INSTALL: Regenerated.
16570 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16573 * string/test-memcmp.c (check2): New.
16574 (main): Call check2.
16576 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
16578 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
16581 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
16583 (dl_open_worker) [!SHARED]: ... here.
16585 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16587 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
16589 2013-06-25 Richard Henderson <rth@redhat.com>
16591 * locale/programs/locarchive.c: Include <libc-internal.h>
16593 2013-06-25 Joseph Myers <joseph@codesourcery.com>
16595 * manual/texinfo.tex: Update to version 2013-06-21.17, with
16596 trailing whitespace removed.
16598 2013-06-24 Mike Frysinger <vapier@gentoo.org>
16601 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
16602 * locale/programs/locarchive.c: Include libc-mmap.h.
16603 (prepare_address_space): Take two new outputs (the mmap base and len).
16604 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
16606 (create_archive): Declare new mmap base and len values for
16607 prepare_address_space, and store the result in ah.
16608 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
16609 (enlarge_archive): If ah->mmap_base is not NULL, use that and
16610 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16611 Declare new mmap base and len values for
16612 prepare_address_space, and store the result in new_ah.
16613 (open_archive): Declare new mmap base and len values for
16614 prepare_address_space, and store the result in ah.
16615 (close_archive): If ah->mmap_base is not NULL, use that and
16616 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16617 * sysdeps/generic/libc-mmap.h: New file.
16619 2013-06-24 Mike Frysinger <vapier@gentoo.org>
16621 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
16622 (ALIGN_UP): Likewise.
16623 (PTR_ALIGN_DOWN): Likewise.
16624 (PTR_ALIGN_UP): Likewise.
16626 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16628 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
16629 entry mapped to PPC_PLATFORM_POWER8.
16630 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
16632 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
16633 (_dl_string_platform): Add case for exporting platform position for
16635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
16636 search path to sysdeps/powerpc/powerpc32/power8 directory.
16637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
16638 search path to sysdeps/powerpc/powerpc64/power8 directory.
16639 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
16640 power7 directories.
16641 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
16642 power7 directories.
16644 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
16646 * INSTALL: Regenerate.
16648 * nscd/connections.c (nscd_init): Fix comment.
16650 2013-06-22 Joseph Myers <joseph@codesourcery.com>
16652 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
16655 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
16656 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
16658 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
16660 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
16662 (DL_DST_REQ_STATIC): Remove macro.
16664 2013-06-21 Joseph Myers <joseph@codesourcery.com>
16667 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
16668 with a shift of 0 bits.
16670 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
16672 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
16675 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16678 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
16680 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16682 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
16683 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
16684 accepts -fno-tree-loop-distribute-patterns.
16685 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
16686 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
16688 * string/memset.c (memset): Likewise.
16689 * string/test-memmove.c (simple_memmove): Disable loop transformation
16691 * string/test-memset.c (simple_memset): Likewise.
16692 * benchtests/bench-memmove.c (simple_memmove): Likewise.
16693 * benchtests/bench-memset.c (simple_memset): Likewise.
16694 * configure: Regenerated.
16696 2013-06-20 Joseph Myers <joseph@codesourcery.com>
16698 * math/test-misc.c (main): Ignore fesetround failure when failures
16699 of subsequent rounding tests would be ignored.
16702 * math/fedisblxcpt.c (fedisableexcept): Return 0.
16703 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
16704 * math/fegetenv.c (__fegetenv): Return 0.
16705 * math/fegetexcept.c (fegetexcept): Return 0.
16706 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
16708 * math/feholdexcpt.c (feholdexcept): Return 0.
16709 * math/fesetenv.c (__fesetenv): Return 0.
16710 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
16711 argument FE_TONEAREST.
16712 * math/feupdateenv.c (__feupdateenv): Return 0.
16713 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
16715 2013-06-18 Roland McGrath <roland@hack.frob.com>
16717 * elf/rtld-Rules (rtld-compile-command.S): New variable.
16718 (rtld-compile-command.s, rtld-compile-command.c): New variables.
16719 ($(objpfx)rtld-%.os rules): Use them.
16721 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16723 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
16726 2013-06-17 Roland McGrath <roland@hack.frob.com>
16728 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
16729 length of target pattern, then descending length of dependency pattern.
16730 * configure.in (AWK): Require gawk 3.1.2 or newer.
16731 * manual/install.texi (Tools for Compilation): Say that we do.
16732 * configure: Regenerated.
16734 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
16735 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
16736 * scripts/sysd-rules.awk: ... this new script.
16737 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
16738 than a glob-style pattern.
16740 2013-06-17 Joseph Myers <joseph@codesourcery.com>
16742 * math/test-misc.c (main): Do not treat incorrectly rounded
16743 conversions as failure unless ROUNDING_TESTS passes.
16745 2013-06-15 Joseph Myers <joseph@codesourcery.com>
16748 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
16749 restore exception state around main square root computation, then
16750 check for inexactness explicitly.
16752 * math/libm-test.inc (fma_test_data): Add another test.
16754 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16756 * manual/threads.texi (Non-POSIX Extensions): New document
16757 node. Document pthread_getattr_default_np and
16758 pthread_setattr_default_np.
16760 * Versions.def (libpthread): Add GLIBC_2.18.
16761 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
16762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16766 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16768 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16770 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
16772 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16774 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16776 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
16778 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
16781 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16783 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16784 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
16786 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16787 H.J. Lu <hjl.tools@gmail.com>
16790 * sysdeps/x86_64/rtld-memset.c: Remove file.
16791 * sysdeps/x86_64/rtld-memset.S: New file.
16793 2013-06-14 Joseph Myers <joseph@codesourcery.com>
16795 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
16796 (test_in_one_mode): Take arguments for whether the rounding mode
16797 is supported for each floating-point type.
16798 (do_test): Pass new arguments to test_in_one_mode using
16801 2013-06-13 Roland McGrath <roland@hack.frob.com>
16803 * posix/tst-waitid.c (do_test): Distinguish different instances of
16804 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
16805 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
16806 before entering the kernel for waitpid.
16808 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16810 * NEWS: Fix note on clock function precision. Text by Roland
16813 2013-06-13 Roland McGrath <roland@hack.frob.com>
16815 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
16816 it into place only when and if the sanity check passes.
16818 2013-06-13 Joseph Myers <joseph@codesourcery.com>
16820 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
16821 output for whether conversion result is exact. Take argument
16822 indicating whether type is IBM long double.
16823 (round_for_all): Change need_exact field to ibm_ld.
16824 * stdlib/tst-strtod-round.c (struct exactness): New type.
16825 (struct test): Change bool ld_ok field to struct exactness exact.
16826 (TEST): Update all definitions for change to field.
16827 (tests): Regenerate array contents.
16828 (test_in_one_mode): Take pointer to new field instead of old ld_ok
16829 field value. Check for IBM long double here.
16830 (do_test): Update calls to test_in_one_mode.
16832 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16835 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
16836 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
16838 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16841 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
16842 generated by the compiler on loop optimizations.
16843 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
16844 general definitions.
16846 2013-06-12 Joseph Myers <joseph@codesourcery.com>
16848 * math/bug-nextafter.c: Include <math-tests.h>.
16849 (main): Only test for exceptions if EXCEPTION_TESTS is true for
16851 * math/bug-nexttoward.c: Include <math-tests.h>.
16852 (main): Only test for exceptions if EXCEPTION_TESTS is true for
16854 * math/test-misc.c: Include <math-tests.h>.
16855 (main): Only test for exceptions if EXCEPTION_TESTS is true for
16858 2013-06-12 Andreas Jaeger <aj@suse.de>
16860 * po/ia.po: Update Interlingua translation from translation
16863 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16865 * include/fenv.h: Include stdbool.h.
16866 (struct rm_ctx): New structure.
16867 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
16869 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
16870 (SET_RESTORE_ROUNDF): Likewise.
16871 (SET_RESTORE_ROUNDL): Likewise.
16872 (SET_RESTORE_ROUND_NOEX): Likewise.
16873 (SET_RESTORE_ROUND_NOEXF): Likewise.
16874 (SET_RESTORE_ROUND_NOEXL): Likewise.
16875 (SET_RESTORE_ROUND_53BIT): Likewise.
16876 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
16877 (libc_feresetround_noexf_ctx): Likewise.
16878 (libc_feresetround_noexl_ctx): Likewise.
16879 (libc_feholdsetround_53bit_ctx): Likewise.
16880 (libc_feresetround_53bit_ctx): Likewise.
16881 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
16882 (libc_feholdexcept_setround_sse_ctx): New function.
16883 (libc_fesetenv_sse_ctx): Likewise.
16884 (libc_feupdateenv_sse_ctx): Likewise.
16885 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
16886 (libc_feholdexcept_setround_387_ctx): Likewise.
16887 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
16888 (libc_feholdsetround_387_prec_ctx): Likewise.
16889 (libc_feholdsetround_387_ctx): Likewise.
16890 (libc_feholdsetround_387_53bit_ctx): Likewise.
16891 (libc_feholdsetround_sse_ctx): Likewise.
16892 (libc_feresetround_sse_ctx): Likewise.
16893 (libc_feresetround_387_ctx): Likewise.
16894 (libc_feupdateenv_387_ctx): Likewise.
16895 (libc_feholdexcept_setroundf_ctx): Define macro.
16896 (libc_fesetenvf_ctx): Likewise.
16897 (libc_feupdateenvf_ctx): Likewise.
16898 (libc_feholdsetroundf_ctx): Likewise.
16899 (libc_feresetroundf_ctx): Likewise.
16900 (libc_feholdexcept_setround_ctx): Likewise.
16901 (libc_fesetenv_ctx): Likewise.
16902 (libc_feupdateenv_ctx): Likewise.
16903 (libc_feholdsetround_ctx): Likewise.
16904 (libc_feresetround_ctx): Likewise.
16905 (libc_feholdexcept_setroundl_ctx): Likewise.
16906 (libc_feupdateenvl_ctx): Likewise.
16907 (libc_feholdsetroundl_ctx): Likewise.
16908 (libc_feresetroundl_ctx): Likewise.
16909 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
16910 (libc_feresetround_53bit_ctx): Likewise.
16912 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16914 * locale/iso-639.def: Convert to UTF-8.
16916 2013-06-11 Joseph Myers <joseph@codesourcery.com>
16918 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
16919 (EXCEPTION_TESTS_double): Likewise.
16920 (EXCEPTION_TESTS_long_double): Likewise.
16921 (EXCEPTION_TESTS): Likewise.
16922 * math/libm-test.inc (test_exceptions): Only test exceptions if
16923 EXCEPTION_TESTS (FLOAT).
16925 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16927 * benchtests/Makefile (string-bench): Add strcpy_chk and
16929 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
16930 * benchtests/bench-stpcpy_chk.c: New file.
16931 * benchtests/bench-strcpy_chk-ifunc.c: New file.
16932 * benchtests/bench-strcpy_chk.c: New file.
16933 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
16935 (do_test): Likewise.
16937 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16939 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
16940 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
16941 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
16942 with tabs where appropriate.
16943 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
16945 [PPC_PLATFORM_PPC440]: Likewise.
16946 [PPC_PLATFORM_PPC464]: Likewise.
16947 [PPC_PLATFORM_PPC476]: Likewise.
16948 (_dl_string_platform): Add support for detecting ppc405, ppc440,
16949 ppc464, and ppc476 platform strings merging from ports/
16952 2013-06-11 Andreas Schwab <schwab@suse.de>
16955 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
16956 (from_ucs4_idx): Regenerate.
16957 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
16958 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
16959 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
16960 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
16961 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
16962 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
16963 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
16964 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
16965 from FROM_LOOP and TO_LOOP specific macros.
16966 (BODY): Handle combining characters.
16967 * iconvdata/BIG5HKSCS.irreversible: Update.
16968 * iconvdata/BIG5HKSCS.precomposed: New file.
16969 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
16971 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
16973 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16975 * include/sys/time.h: Fix indentation and add copyright header.
16977 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
16978 (do_test): Likewise.
16979 * string/test-memchr.c (do_one_test): Likewise.
16980 (do_test): Likewise.
16981 * string/test-memcmp.c (do_one_test): Likewise.
16982 (do_test): Likewise.
16983 * string/test-memcpy.c (do_one_test): Likewise.
16984 (do_test): Likewise.
16985 * string/test-memmem.c (do_one_test): Likewise.
16986 (do_test): Likewise.
16987 (do_random_tests): Likewise.
16988 * string/test-memmove.c (do_one_test): Likewise.
16989 (do_test): Likewise.
16990 * string/test-memset.c (do_one_test): Likewise.
16991 (do_test): Likewise.
16992 * string/test-rawmemchr.c (do_one_test): Likewise.
16993 (do_test): Likewise.
16994 * string/test-strcasecmp.c (do_one_test): Likewise.
16995 (do_test): Likewise.
16996 * string/test-strcasestr.c (do_one_test): Likewise.
16997 (do_test): Likewise.
16998 * string/test-strcat.c (do_one_test): Likewise.
16999 (do_test): Likewise.
17000 * string/test-strchr.c (do_one_test): Likewise.
17001 (do_test): Likewise.
17002 * string/test-strcmp.c (do_one_test): Likewise.
17003 (do_test): Likewise.
17004 * string/test-strcpy.c (do_one_test): Likewise.
17005 (do_test): Likewise.
17006 * string/test-string.h: Likewise.
17007 (test_init): Likewise.
17008 * string/test-strlen.c (do_one_test): Likewise.
17009 (do_test): Likewise.
17010 * string/test-strncasecmp.c (do_one_test): Likewise.
17011 (do_test): Likewise.
17012 * string/test-strncat.c (do_one_test): Likewise.
17013 (do_test): Likewise.
17014 * string/test-strncmp.c (do_one_test): Likewise.
17015 (do_test_limit): Likewise.
17016 (do_test): Likewise.
17017 * string/test-strncpy.c (do_one_test): Likewise.
17018 (do_test): Likewise.
17019 * string/test-strnlen.c (do_one_test): Likewise.
17020 (do_test): Likewise.
17021 * string/test-strpbrk.c (do_one_test): Likewise.
17022 (do_test): Likewise.
17023 * string/test-strrchr.c (do_one_test): Likewise.
17024 (do_test): Likewise.
17025 * string/test-strspn.c (do_one_test): Likewise.
17026 (do_test): Likewise.
17027 * string/test-strstr.c (do_one_test): Likewise.
17028 (do_test): Likewise.
17030 * benchtests/Makefile (string-bench): Add string benchmarks.
17031 * benchtests/bench-bcopy-ifunc.c: New file.
17032 * benchtests/bench-bcopy.c: New file.
17033 * benchtests/bench-bzero-ifunc.c: New file.
17034 * benchtests/bench-bzero.c: New file.
17035 * benchtests/bench-memccpy-ifunc.c: New file.
17036 * benchtests/bench-memccpy.c: New file.
17037 * benchtests/bench-memchr-ifunc.c: New file.
17038 * benchtests/bench-memchr.c: New file.
17039 * benchtests/bench-memcmp-ifunc.c: New file.
17040 * benchtests/bench-memcmp.c: New file.
17041 * benchtests/bench-memmem-ifunc.c: New file.
17042 * benchtests/bench-memmem.c: New file.
17043 * benchtests/bench-memmove-ifunc.c: New file.
17044 * benchtests/bench-memmove.c: New file.
17045 * benchtests/bench-mempcpy-ifunc.c: New file.
17046 * benchtests/bench-mempcpy.c: New file.
17047 * benchtests/bench-memset-ifunc.c: New file.
17048 * benchtests/bench-memset.c: New file.
17049 * benchtests/bench-rawmemchr-ifunc.c: New file.
17050 * benchtests/bench-rawmemchr.c: New file.
17051 * benchtests/bench-stpcpy-ifunc.c: New file.
17052 * benchtests/bench-stpcpy.c: New file.
17053 * benchtests/bench-stpncpy-ifunc.c: New file.
17054 * benchtests/bench-stpncpy.c: New file.
17055 * benchtests/bench-strcasecmp-ifunc.c: New file.
17056 * benchtests/bench-strcasecmp.c: New file.
17057 * benchtests/bench-strcasestr-ifunc.c: New file.
17058 * benchtests/bench-strcasestr.c: New file.
17059 * benchtests/bench-strcat-ifunc.c: New file.
17060 * benchtests/bench-strcat.c: New file.
17061 * benchtests/bench-strchr-ifunc.c: New file.
17062 * benchtests/bench-strchr.c: New file.
17063 * benchtests/bench-strchrnul-ifunc.c: New file.
17064 * benchtests/bench-strchrnul.c: New file.
17065 * benchtests/bench-strcmp-ifunc.c: New file.
17066 * benchtests/bench-strcmp.c: New file.
17067 * benchtests/bench-strcpy-ifunc.c: New file.
17068 * benchtests/bench-strcpy.c: New file.
17069 * benchtests/bench-strcspn-ifunc.c: New file.
17070 * benchtests/bench-strcspn.c: New file.
17071 * benchtests/bench-strlen-ifunc.c: New file.
17072 * benchtests/bench-strlen.c: New file.
17073 * benchtests/bench-strncasecmp-ifunc.c: New file.
17074 * benchtests/bench-strncasecmp.c: New file.
17075 * benchtests/bench-strncat-ifunc.c: New file.
17076 * benchtests/bench-strncat.c: New file.
17077 * benchtests/bench-strncmp-ifunc.c: New file.
17078 * benchtests/bench-strncmp.c: New file.
17079 * benchtests/bench-strncpy-ifunc.c: New file.
17080 * benchtests/bench-strncpy.c: New file.
17081 * benchtests/bench-strnlen-ifunc.c: New file.
17082 * benchtests/bench-strnlen.c: New file.
17083 * benchtests/bench-strpbrk-ifunc.c: New file.
17084 * benchtests/bench-strpbrk.c: New file.
17085 * benchtests/bench-strrchr-ifunc.c: New file.
17086 * benchtests/bench-strrchr.c: New file.
17087 * benchtests/bench-strspn-ifunc.c: New file.
17088 * benchtests/bench-strspn.c: New file.
17089 * benchtests/bench-strstr-ifunc.c: New file.
17090 * benchtests/bench-strstr.c: New file.
17092 * benchtests/Makefile: Disable parallel execution of targets.
17093 (string-bench): Add memcpy.
17094 (benchset): New variable to store a list of benchmark sets.
17095 (bench-func): Renamed from bench.
17096 (bench-set): New target.
17097 (bench): Depend on bench-func and bench-set.
17098 * benchtests/README: Add section on benchmark sets.
17099 * benchtests/bench-memcpy-ifunc.c: New file.
17100 * benchtests/bench-memcpy.c: New file.
17101 * benchtests/bench-string.h: New file.
17103 2013-06-11 Andreas Schwab <schwab@suse.de>
17106 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
17107 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
17108 values in the triple.
17109 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
17110 terminator in the group key.
17112 2013-06-11 Andreas Jaeger <aj@suse.de>
17114 * po/zh_TW.po: Update Chinese (traditional) translation from
17115 translation project.
17117 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17119 * include/time.h (__clock_gettime): Add libc_hidden_proto.
17120 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
17121 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
17122 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17123 (clock_getcpuclockid): Likewise.
17124 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
17125 Add weak_alias and libc_hidden_def.
17126 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
17127 * rt/clock_gettime.c (clock_gettime): Rename to
17128 __clock_gettime. Add weak_alias and libc_hidden_def.
17129 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
17130 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
17131 __clock_nanosleep. Add weak_alias and libc_hidden_def.
17132 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
17133 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
17135 * rt/clock_settime.c (clock_settime): Rename to
17136 __clock_settime. Add weak_alias and libc_hidden_def.
17137 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
17139 2013-06-10 Joseph Myers <joseph@codesourcery.com>
17141 * mach/err_boot.sub: Remove trailing whitespace.
17142 * mach/err_ipc.sub: Likewise.
17143 * mach/err_mach.sub: Likewise.
17145 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
17146 (ROUNDING_TESTS_double): Likewise.
17147 (ROUNDING_TESTS_long_double): Likewise.
17148 (ROUNDING_TESTS): Likewise.
17149 * math/libm-test.inc: Include <math-tests.h>.
17150 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
17151 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
17152 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
17153 (IF_ROUND_INIT_FE_UPWARD): Likewise.
17155 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17157 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
17160 2013-06-08 Joseph Myers <joseph@codesourcery.com>
17162 * sysdeps/gnu/errlist.awk: Do not generate space at end of
17163 otherwise empty TRANS lines.
17164 * sysdeps/gnu/errlist.c: Regenerated.
17166 * catgets/gencat.c (error_print): Use (void) in function
17168 * crypt/crypt_util.c (__init_des): Likewise.
17169 * crypt/speeds.c (Stop): Likewise.
17171 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
17172 * inet/ruserpass.c (token): Likewise.
17173 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
17174 * intl/localealias.c (extend_alias_table): Likewise.
17175 * intl/plural-exp.c (init_germanic_plural): Likewise.
17176 * libio/fcloseall.c (__fcloseall): Likewise.
17177 * libio/genops.c (_IO_flush_all): Likewise.
17178 (_IO_flush_all_linebuffered): Likewise.
17179 (_IO_cleanup): Likewise.
17180 (_IO_iter_begin): Likewise.
17181 (_IO_iter_end): Likewise.
17182 (_IO_list_lock): Likewise.
17183 (_IO_list_unlock): Likewise.
17184 (_IO_list_resetlock): Likewise.
17185 * libio/getchar.c (getchar): Likewise.
17186 * libio/getchar_u.c (getchar_unlocked): Likewise.
17187 * libio/getwchar.c (getwchar): Likewise.
17188 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
17189 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
17190 * login/getpt.c (__getpt): Likewise.
17191 * login/tst-utmp.c (main): Likewise.
17192 * malloc/hooks.c (__malloc_check_init): Likewise.
17193 * malloc/malloc.c (__malloc_stats): Likewise.
17194 * malloc/mtrace.c (tr_break): Likewise.
17195 (mtrace): Likewise.
17196 (muntrace): Likewise.
17197 * misc/fstab.c (endfsent): Likewise.
17198 * misc/getclktck.c (__getclktck): Likewise.
17199 * misc/getdtsz.c (__getdtablesize): Likewise.
17200 * misc/gethostid.c (gethostid): Likewise.
17201 * misc/getpagesize.c (__getpagesize): Likewise.
17202 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
17203 (__get_nprocs): Likewise.
17204 (__get_phys_pages): Likewise.
17205 (__get_avphys_pages): Likewise.
17206 * misc/getttyent.c (getttyent): Likewise.
17207 (setttyent): Likewise.
17208 (endttyent): Likewise.
17209 * misc/getusershell.c (getusershell): Likewise.
17210 (endusershell): Likewise.
17211 (setusershell): Likewise.
17212 (initshells): Likewise.
17213 * misc/hsearch.c (__hdestroy): Likewise.
17214 * misc/sync.c (sync): Likewise.
17215 * misc/syslog.c (closelog_internal): Likewise.
17216 (closelog): Likewise.
17217 * misc/ttyslot.c (ttyslot): Likewise.
17218 * misc/vhangup.c (vhangup): Likewise.
17219 * posix/fork.c (__fork): Likewise.
17220 * posix/getegid.c (__getegid): Likewise.
17221 * posix/geteuid.c (__geteuid): Likewise.
17222 * posix/getgid.c (__getgid): Likewise.
17223 * posix/getpid.c (__getpid): Likewise.
17224 * posix/getppid.c (__getppid): Likewise.
17225 * posix/getuid.c (__getuid): Likewise.
17226 * posix/pause.c (pause): Likewise.
17227 * posix/setpgrp.c (setpgrp): Likewise.
17228 * posix/setsid.c (__setsid): Likewise.
17229 * posix/test-vfork.c (noop): Likewise.
17230 * resolv/gethnamaddr.c (_endhtent): Likewise.
17231 (_gethtent): Likewise.
17232 (ht_endhostent): Likewise.
17233 (gethostent): Likewise.
17234 (dns_service): Likewise.
17235 * stdlib/drand48.c (drand48): Likewise.
17236 * stdlib/lrand48.c (lrand48): Likewise.
17237 * stdlib/mrand48.c (mrand48): Likewise.
17238 * stdlib/rand.c (rand): Likewise.
17239 * stdlib/random.c (__random): Likewise.
17240 * stdlib/setenv.c (clearenv): Likewise.
17241 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
17242 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
17243 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
17244 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
17245 (__get_nprocs): Likewise.
17246 (__get_phys_pages): Likewise.
17247 (__get_avphys_pages): Likewise.
17248 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
17249 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
17250 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
17251 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
17252 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
17253 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
17254 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
17255 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
17256 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
17257 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
17258 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
17259 * sysdeps/mach/hurd/sync.c (sync): Likewise.
17260 * sysdeps/posix/clock.c (clock): Likewise.
17261 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
17262 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
17263 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
17264 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
17265 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
17266 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
17267 (__get_nprocs_conf): Likewise.
17268 (__get_phys_pages): Likewise.
17269 (__get_avphys_pages): Likewise.
17270 * time/clock.c (clock): Likewise.
17271 * time/tzset.c (__tzname_max): Likewise.
17273 2013-06-07 Joseph Myers <joseph@codesourcery.com>
17275 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
17276 (__bswap_32): Do not use "register".
17277 * crypt/crypt.c (_ufc_doit_r): Likewise.
17278 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
17279 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
17280 * gmon/gmon.c (__monstartup): Likewise.
17281 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
17282 * hurd/hurdmalloc.c (more_memory): Likewise.
17283 (malloc): Likewise.
17285 (realloc): Likewise.
17286 (malloc_fork_prepare): Likewise.
17287 (malloc_fork_parent): Likewise.
17288 (malloc_fork_child): Likewise.
17289 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
17290 (_svcauth_des): Likewise.
17291 * inet/inet_lnaof.c (inet_lnaof): Likewise.
17292 * inet/inet_net.c (inet_network): Likewise.
17293 * inet/inet_netof.c (inet_netof): Likewise.
17294 * inet/rcmd.c (__validuser2_sa): Likewise.
17295 * io/fts.c (fts_open): Likewise.
17296 (fts_load): Likewise.
17297 (fts_close): Likewise.
17298 (fts_read): Likewise.
17299 (fts_children): Likewise.
17300 (fts_build): Likewise.
17301 (fts_stat): Likewise.
17302 (fts_sort): Likewise.
17303 (fts_alloc): Likewise.
17304 (fts_lfree): Likewise.
17305 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
17306 (_IO_file_xsgetn): Likewise.
17307 (_IO_file_xsgetn_mmap): Likewise.
17308 * libio/iofopncook.c (_IO_cookie_read): Likewise.
17309 (_IO_cookie_write): Likewise.
17310 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
17311 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
17312 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
17313 * malloc/obstack.c (_obstack_begin): Likewise.
17314 (_obstack_begin_1): Likewise.
17315 (_obstack_newchunk): Likewise.
17316 (_obstack_allocated_p): Likewise.
17317 (obstack_free): Likewise.
17318 (_obstack_memory_used): Likewise.
17319 * misc/getttyent.c (getttynam): Likewise.
17320 (getttyent): Likewise.
17323 * misc/getusershell.c (initshells): Likewise.
17324 * misc/syslog.c (__vsyslog_chk): Likewise.
17325 * misc/ttyslot.c (ttyslot): Likewise.
17326 * nis/nis_hash.c (__nis_hash): Likewise.
17327 * posix/fnmatch_loop.c (FCT): Likewise.
17328 * posix/getconf.c (print_all): Likewise.
17330 * posix/getopt.c (exchange): Likewise.
17331 * posix/glob.c (globfree): Likewise.
17332 (prefix_array): Likewise.
17333 (__glob_pattern_type): Likewise.
17334 * resolv/arpa/nameser.h (NS_GET16): Likewise.
17335 (NS_GET32): Likewise.
17336 (NS_PUT16): Likewise.
17337 (NS_PUT32): Likewise.
17338 * resolv/gethnamaddr.c (getanswer): Likewise.
17339 (gethostbyname2): Likewise.
17340 (gethostbyaddr): Likewise.
17341 (_gethtent): Likewise.
17342 (_gethtbyname2): Likewise.
17343 (_gethtbyaddr): Likewise.
17344 * resolv/ns_print.c (dst_s_get_int16): Likewise.
17345 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
17346 * resolv/res_init.c (__res_vinit): Likewise.
17347 (net_mask): Likewise.
17348 * resolv/res_mkquery.c (outchar): Likewise.
17350 * stdio-common/printf_fp.c (outchar): Likewise.
17352 * stdio-common/printf_fphex.c (outchar): Likewise.
17354 * stdio-common/printf_size.c (outchar): Likewise.
17356 * stdio-common/test_rdwr.c (main): Likewise.
17357 * stdio-common/tfformat.c (matches): Likewise.
17358 * stdio-common/vfprintf.c (outchar): Likewise.
17359 (printf_unknown): Likewise.
17360 (buffered_vfprintf): Likewise.
17361 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
17362 * stdio-common/xbug.c (AppendToBuffer): Likewise.
17363 (ReadFile): Likewise.
17364 * stdlib/qsort.c (SWAP): Likewise.
17365 (_quicksort): Likewise.
17366 * stdlib/setenv.c (__add_to_environ): Likewise.
17367 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17368 * stdlib/strtol_l.c (__strtol_l): Likewise.
17369 * stdlib/tst-strtod.c (main): Likewise.
17370 * stdlib/tst-strtol.c (main): Likewise.
17371 * stdlib/tst-strtoll.c (main): Likewise.
17372 * string/bits/string2.h (__strcmp_cc): Likewise.
17373 (__strcmp_cg): Likewise.
17374 (__strcspn_c1): Likewise.
17375 (__strcspn_c2): Likewise.
17376 (__strcspn_c3): Likewise.
17377 (__strspn_c1): Likewise.
17378 (__strspn_c2): Likewise.
17379 (__strspn_c3): Likewise.
17380 (__strsep_1c): Likewise.
17381 (__strsep_2c): Likewise.
17382 (__strsep_3c): Likewise.
17383 * string/memccpy.c (__memccpy): Likewise.
17384 * string/stpcpy.c (__stpcpy): Likewise.
17385 * string/strcmp.c (strcmp): Likewise.
17386 * string/strrchr.c (strrchr): Likewise.
17387 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
17389 * sysdeps/mach/hurd/getcwd.c
17390 (_hurd_canonicalize_directory_name_internal): Likewise.
17391 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
17392 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
17393 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
17394 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
17395 Likewise, in both definitions.
17396 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
17398 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
17399 64] (__bswap_64): Likewise.
17400 * time/test_time.c (main): Likewise.
17401 * time/tzfile.c (__tzfile_read): Likewise.
17402 (__tzfile_compute): Likewise.
17403 * time/tzset.c (__tzset_parse_tz): Likewise.
17404 (tzset_internal): Likewise.
17405 (compute_change): Likewise.
17406 * wcsmbs/wcscat.c (__wcscat): Likewise.
17407 * wcsmbs/wcschr.c (wcschr): Likewise.
17408 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
17409 * wcsmbs/wcscspn.c (wcscspn): Likewise.
17410 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
17411 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
17412 * wcsmbs/wcsspn.c (wcsspn): Likewise.
17413 * wcsmbs/wcsstr.c (wcsstr): Likewise.
17414 * wcsmbs/wmemchr.c (wmemchr): Likewise.
17415 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17416 * wcsmbs/wmemset.c (wmemset): Likewise.
17418 2013-06-06 Joseph Myers <joseph@codesourcery.com>
17420 * scripts/config.guess: Update to version 2013-05-16.
17421 * scripts/config.sub: Update to version 2013-04-24.
17422 * scripts/install-sh: Update to version 2011-11-20.07.
17423 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
17424 * scripts/move-if-change: Update to version 2012-01-06 07:23.
17426 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
17428 * debug/fgetws_u_chk.c: Fix leading whitespaces.
17429 * elf/sln.c: Likewise.
17430 * hurd/hurd/ioctl.h: Likewise.
17431 * hurd/hurdmalloc.c: Likewise.
17432 * hurd/xattr.c: Likewise.
17433 * include/shlib-compat.h: Likewise.
17434 * inet/ruserpass.c: Likewise.
17435 * libio/iofgets_u.c: Likewise.
17436 * libio/iofgetws_u.c: Likewise.
17437 * locale/programs/ld-identification.c: Likewise.
17438 * locale/programs/ld-time.c: Likewise.
17439 * mach/msg-destroy.c: Likewise.
17440 * nss/nss_files/files-netgrp.c: Likewise.
17441 * resolv/res_data.c: Likewise.
17442 * soft-fp/op-1.h: Likewise.
17443 * soft-fp/op-2.h: Likewise.
17444 * soft-fp/op-4.h: Likewise.
17445 * soft-fp/op-common.h: Likewise.
17446 * stdio-common/printf_fphex.c: Likewise.
17447 * stdlib/strtod_l.c: Likewise.
17448 * sunrpc/rpc/clnt.h: Likewise.
17449 * sysdeps/generic/framestate.c: Likewise.
17450 * sysdeps/i386/bsd-_setjmp.S: Likewise.
17451 * sysdeps/i386/bsd-setjmp.S: Likewise.
17452 * sysdeps/i386/__longjmp.S: Likewise.
17453 * sysdeps/i386/setjmp.S: Likewise.
17454 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17455 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17456 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17457 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17458 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17459 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
17460 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17461 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17462 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17463 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
17464 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17465 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17466 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17467 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17468 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17469 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17470 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17471 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
17472 * sysdeps/ieee754/support.c: Likewise.
17473 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17474 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
17475 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
17476 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
17477 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
17478 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
17479 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
17480 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
17481 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
17482 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
17483 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
17484 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
17485 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
17486 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
17487 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
17488 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
17489 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
17492 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
17494 * posix/transbug.c: Remove executable mode.
17496 2013-06-05 Joseph Myers <joseph@codesourcery.com>
17498 * crypt/speeds.c: Remove trailing whitespace.
17499 * dlfcn/default.c: Likewise.
17500 * elf/ifuncdep2.c: Likewise.
17501 * elf/ifuncmain1.c: Likewise.
17502 * elf/ifuncmain1vis.c: Likewise.
17503 * elf/testobj.h: Likewise.
17504 * elf/tst-stackguard1.c: Likewise.
17505 * gmon/sys/gmon.h: Likewise.
17506 * hurd/hurdmsg.c: Likewise.
17507 * hurd/new-fd.c: Likewise.
17508 * hurd/ports-get.c: Likewise.
17509 * iconvdata/ibm1008_420.c: Likewise.
17510 * inet/tst-getni1.c: Likewise.
17511 * inet/tst-getni2.c: Likewise.
17512 * libio/ioungetc.c: Likewise.
17513 * libio/wfiledoalloc.c: Likewise.
17514 * manual/libm-err-tab.pl: Likewise.
17515 * math/w_dremf.c: Likewise.
17516 * misc/ftruncate.c: Likewise.
17517 * posix/bug-glob2.c: Likewise.
17518 * posix/tst-pcre.c: Likewise.
17519 * posix/wait4.c: Likewise.
17520 * resolv/README: Likewise.
17521 * resolv/res_debug.h: Likewise.
17522 * resolv/tst-inet_ntop.c: Likewise.
17523 * setjmp/bug269-setjmp.c: Likewise.
17524 * soft-fp/extended.h: Likewise.
17525 * soft-fp/op-1.h: Likewise.
17526 * soft-fp/op-2.h: Likewise.
17527 * soft-fp/op-4.h: Likewise.
17528 * soft-fp/op-8.h: Likewise.
17529 * soft-fp/testit.c: Likewise.
17530 * stdio-common/bug16.c: Likewise.
17531 * stdlib/random.c: Likewise.
17532 * sunrpc/rpcsvc/rquota.x: Likewise.
17533 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
17534 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17535 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17536 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17537 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17538 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17539 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17540 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17541 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17542 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17543 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17544 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17545 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17546 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17547 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17548 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17549 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17550 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17551 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17552 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17553 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17554 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17555 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
17556 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
17557 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17558 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17559 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17560 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
17561 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17562 * sysdeps/ieee754/s_lib_version.c: Likewise.
17563 * sysdeps/mach/hurd/check_fds.c: Likewise.
17564 * sysdeps/mach/hurd/getsockname.c: Likewise.
17565 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
17566 * sysdeps/mach/hurd/recvfrom.c: Likewise.
17567 * sysdeps/powerpc/bits/link.h: Likewise.
17568 * sysdeps/powerpc/dl-procinfo.c: Likewise.
17569 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
17570 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
17571 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
17572 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
17573 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
17574 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
17575 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
17576 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
17577 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
17578 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
17579 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
17580 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
17581 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
17582 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
17583 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
17584 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
17585 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
17586 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
17587 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
17588 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
17589 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
17590 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17591 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
17592 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
17593 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
17594 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
17595 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
17596 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
17597 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
17598 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
17599 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
17600 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17601 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17602 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
17603 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
17604 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
17605 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
17606 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
17607 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
17608 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
17609 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
17610 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
17611 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
17612 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
17613 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
17614 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
17615 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
17616 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
17617 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
17618 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17619 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17620 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
17621 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
17622 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
17623 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
17624 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
17625 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17626 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
17627 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
17628 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
17629 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
17630 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
17631 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
17632 * sysdeps/powerpc/sysdep.h: Likewise.
17633 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17634 * sysdeps/s390/s390-64/sub_n.S: Likewise.
17635 * sysdeps/sh/dl-trampoline.S: Likewise.
17636 * sysdeps/sh/memset.S: Likewise.
17637 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
17638 * sysdeps/sh/strlen.S: Likewise.
17639 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
17640 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
17641 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
17642 * sysdeps/sparc/sparc32/rem.S: Likewise.
17643 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
17644 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
17645 * sysdeps/sparc/sparc32/strchr.S: Likewise.
17646 * sysdeps/sparc/sparc32/udiv.S: Likewise.
17647 * sysdeps/sparc/sparc32/urem.S: Likewise.
17648 * sysdeps/sparc/sparc64/add_n.S: Likewise.
17649 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17650 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
17651 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
17652 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
17653 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
17654 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
17655 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
17656 * sysdeps/unix/bsd/times.c: Likewise.
17657 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
17658 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
17659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
17660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
17661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
17662 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
17663 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
17664 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
17665 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
17666 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
17667 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
17668 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
17669 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
17670 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17671 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
17672 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
17673 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
17674 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
17675 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
17676 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
17677 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
17678 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
17679 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17680 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
17681 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
17682 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
17683 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
17684 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17685 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
17686 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
17687 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
17688 * sysdeps/x86_64/strcspn.S: Likewise.
17690 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17692 * locale/C-translit.h: Revert #include <stdint.h> because this is a
17693 generated file. Regenerate properly from gen-translit.pl.
17694 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
17695 locale/C-translit.h.
17697 2013-06-05 Andreas Schwab <schwab@suse.de>
17700 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
17701 week as 6 instead of -1.
17702 * time/tst-strptime.c (day_tests): Add test case.
17704 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17706 * sysdeps/generic/math_private.h
17707 (libc_feholdexcept_setround_53bit): Replace with
17708 libc_feholdsetround_53bit.
17709 (libc_feupdateenv_53bit): Replace with
17710 libc_feresetround_53bit.
17711 (SET_RESTORE_ROUND_53BIT): Adjust.
17713 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
17715 * string/test-strchrnul.c: Add copyright header.
17717 * posix/tst-getaddrinfo4.c: Increase test timeout.
17719 2013-06-03 Carlos O'Donell <carlos@redhat.com>
17722 * math/libm-test.inc (MAX_EXP): Remove
17724 (ulp): Use MIN_EXP - MANT_DIG.
17725 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
17727 2013-05-31 Carlos O'Donell <carlos@redhat.com>
17729 * po/be.po: Revert last change.
17730 * po/zh_CN.po: Likewise.
17731 * po/header.pot: Likewise.
17733 2013-05-31 Joseph Myers <joseph@codesourcery.com>
17735 * Makefile ($(common-objpfx)linkobj/libc.so): Define
17736 link-libc-deps to empty as target-specific variable.
17737 * Makerules (link-libc-args): New variable.
17738 (libc-for-link): Likewise.
17739 (link-libc-deps): Likewise.
17740 (lib%.so): Depend on $(link-libc-deps). Link with
17742 (build-module): Link with $(link-libc-args).
17743 (build-module-asneeded): Likewise.
17744 (build-module-helper-objlist): Filter out $(link-libc-deps) from
17746 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
17747 target-specific variable.
17748 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
17749 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
17750 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
17752 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
17754 ($(objpfx)libpcprofile.so): Likewise.
17755 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
17757 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
17758 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
17759 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
17761 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
17762 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
17763 * login/Makefile ($(objpfx)libutil.so): Likewise.
17764 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
17765 * math/Makefile ($(objpfx)libm.so): Likewise.
17766 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
17767 $(objpfx)libnsl.so): Define libc-for-link as target-specific
17768 variable instead of depending directly on libc.
17769 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
17770 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
17772 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
17774 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
17775 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
17776 ($(objpfx)libanl.so): Likewise.
17777 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
17779 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
17781 * sysdeps/i386/fpu/Makefile: Remove file.
17782 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
17783 ($(objpfx)libm.so): Remove dependency on ld.so.
17785 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
17788 * nis/yp_xdr.c (XDRMAXNAME): Define.
17789 (XDRMAXRECORD): Define.
17790 (xdr_domainname): Use XDRMAXNAME.
17791 (xdr_mapname): Likewise.
17792 (xdr_peername): Likewise.
17793 (xdr_keydat): Use XDRMAXRECORD.
17794 (xdr_valdat): Likewise.
17796 2013-05-30 Jeff Law <law@redhat.com>
17799 * manual/errno.texi (ESTALE): Update to account for more than
17800 just NFS file systems.
17801 * sysdeps/gnu/errlist.c: Regenerated.
17803 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17806 * elf/Makefile (tests): Add tst-null-argv.
17807 (modules-names): Add tst-null-argv-lib.
17808 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
17809 (tst-null-argv-ENV): Set environment for tst-null-argv.
17810 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
17811 (RTLD_PROGNAME): New macro.
17812 * elf/tst-null-argv.c: New test case.
17813 * elf/tst-null-argv-lib.c: Library for test case.
17814 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
17815 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
17816 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
17817 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
17818 * elf/dl-init.c (call_init): Likewise.
17819 (_dl_init): Likewise.
17820 * elf/dl-load.c (print_search_path): Likewise.
17821 (_dl_map_object): Likewise.
17822 * elf/dl-lookup.c (do_lookup_x): Likewise.
17823 (add_dependency): Likewise.
17824 (_dl_lookup_symbol_x): Likewise.
17825 (_dl_debug_bindings): Likewise.
17826 * elf/dl-open.c (_dl_show_scope): Likewise.
17827 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
17828 * elf/dl-version.c (match_symbol): Likewise.
17829 (_dl_check_map_versions): Likewise.
17830 * elf/rtld.c (dl_main): Likewise.
17831 (print_unresolved): Use RTLD_PROGNAME.
17832 (print_missing_version): Likewise.
17833 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
17834 (elf_machine_rela): Likewise.
17835 * sysdeps/powerpc/powerpc32/dl-machine.c
17836 (__process_machine_rela): Likewise.
17837 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17839 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
17841 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
17843 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17844 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
17846 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
17848 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
17850 2013-05-28 Carlos O'Donell <carlos@redhat.com>
17852 * po/be.po: Add descriptive title.
17853 * po/zh_CN.po: Likewise.
17854 * po/header.pot: Likewise.
17856 2013-05-28 Mike Frysinger <vapier@gentoo.org>
17858 * locale/programs/locarchive.c (create_archive): Inlucde fname in
17860 (enlarge_archive): Likewise.
17862 2013-05-28 Ben North <ben@redfrontdoor.org>
17864 * manual/arith.texi (frexp): It is the magnitude of the return
17865 value which lies in [0.5, 1), not the return value itself.
17867 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17869 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17871 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
17873 * stdio-common/bug26.c (main): Correct fscanf template.
17875 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
17876 declare _dl_skip_args.
17878 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
17881 * manual/platform.texi: Add missing @end deftypefun.
17883 2013-05-24 Joseph Myers <joseph@codesourcery.com>
17886 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
17887 bit of mantissa of 2^16382.
17888 * math/libm-test.inc (hypot_test_data): Add more tests.
17890 * math/libm-test.inc: Add drem and pow10 to list of tested
17892 (pow10_test): New function.
17893 (drem_test): Likewise.
17894 (drem_test_tonearest): Likewise.
17895 (drem_test_towardzero): Likewise.
17896 (drem_test_downward): Likewise.
17897 (drem_test_upward): Likewise.
17898 (main): Call the new functions.
17900 * math/libm-test.inc (finite_test_data): Remove.
17901 (finite_test): Run tests from isfinite_test_data.
17902 (gamma_test_data): Remove.
17903 (gamma_test): Run tests from lgamma_test_data.
17904 * sysdeps/i386/fpu/libm-test-ulps: Update.
17905 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17907 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17909 * manual/platform.texi: Add PowerPC PPR function set documentation.
17910 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
17913 2013-05-24 Carlos O'Donell <carlos@redhat.com>
17915 * math/libm-test.inc (MAX_EXP): Define.
17917 (ulp): New function.
17918 (check_float_internal): Use ULPDIFF.
17919 (cpow_test): Disable failing test.
17920 (check_ulp): Test ulp() implemetnation.
17921 (main): Call check_ulp before starting tests.
17923 2013-05-24 Joseph Myers <joseph@codesourcery.com>
17925 * math/gen-libm-test.pl (generate_testfile): Do not handle
17926 START_DATA and END_DATA.
17927 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
17929 (acos_tonearest_test_data): Likewise.
17930 (acos_towardzero_test_data): Likewise.
17931 (acos_downward_test_data): Likewise.
17932 (acos_upward_test_data): Likewise.
17933 (acosh_test_data): Likewise.
17934 (asin_test_data): Likewise.
17935 (asin_tonearest_test_data): Likewise.
17936 (asin_towardzero_test_data): Likewise.
17937 (asin_downward_test_data): Likewise.
17938 (asin_upward_test_data): Likewise.
17939 (asinh_test_data): Likewise.
17940 (atan_test_data): Likewise.
17941 (atanh_test_data): Likewise.
17942 (atan2_test_data): Likewise.
17943 (cabs_test_data): Likewise.
17944 (cacos_test_data): Likewise.
17945 (cacosh_test_data): Likewise.
17946 (carg_test_data): Likewise.
17947 (casin_test_data): Likewise.
17948 (casinh_test_data): Likewise.
17949 (catan_test_data): Likewise.
17950 (catanh_test_data): Likewise.
17951 (cbrt_test_data): Likewise.
17952 (ccos_test_data): Likewise.
17953 (ccosh_test_data): Likewise.
17954 (ceil_test_data): Likewise.
17955 (cexp_test_data): Likewise.
17956 (cimag_test_data): Likewise.
17957 (clog_test_data): Likewise.
17958 (clog10_test_data): Likewise.
17959 (conj_test_data): Likewise.
17960 (copysign_test_data): Likewise.
17961 (cos_test_data): Likewise.
17962 (cos_tonearest_test_data): Likewise.
17963 (cos_towardzero_test_data): Likewise.
17964 (cos_downward_test_data): Likewise.
17965 (cos_upward_test_data): Likewise.
17966 (cosh_test_data): Likewise.
17967 (cosh_tonearest_test_data): Likewise.
17968 (cosh_towardzero_test_data): Likewise.
17969 (cosh_downward_test_data): Likewise.
17970 (cosh_upward_test_data): Likewise.
17971 (cpow_test_data): Likewise.
17972 (cproj_test_data): Likewise.
17973 (creal_test_data): Likewise.
17974 (csin_test_data): Likewise.
17975 (csinh_test_data): Likewise.
17976 (csqrt_test_data): Likewise.
17977 (ctan_test_data): Likewise.
17978 (ctan_tonearest_test_data): Likewise.
17979 (ctan_towardzero_test_data): Likewise.
17980 (ctan_downward_test_data): Likewise.
17981 (ctan_upward_test_data): Likewise.
17982 (ctanh_test_data): Likewise.
17983 (ctanh_tonearest_test_data): Likewise.
17984 (ctanh_towardzero_test_data): Likewise.
17985 (ctanh_downward_test_data): Likewise.
17986 (ctanh_upward_test_data): Likewise.
17987 (erf_test_data): Likewise.
17988 (erfc_test_data): Likewise.
17989 (exp_test_data): Likewise.
17990 (exp_tonearest_test_data): Likewise.
17991 (exp_towardzero_test_data): Likewise.
17992 (exp_downward_test_data): Likewise.
17993 (exp_upward_test_data): Likewise.
17994 (exp10_test_data): Likewise.
17995 (exp2_test_data): Likewise.
17996 (expm1_test_data): Likewise.
17997 (fabs_test_data): Likewise.
17998 (fdim_test_data): Likewise.
17999 (finite_test_data): Likewise.
18000 (floor_test_data): Likewise.
18001 (fma_test_data): Likewise.
18002 (fma_towardzero_test_data): Likewise.
18003 (fma_downward_test_data): Likewise.
18004 (fma_upward_test_data): Likewise.
18005 (fmax_test_data): Likewise.
18006 (fmin_test_data): Likewise.
18007 (fmod_test_data): Likewise.
18008 (fpclassify_test_data): Likewise.
18009 (frexp_test_data): Likewise.
18010 (gamma_test_data): Likewise.
18011 (hypot_test_data): Likewise.
18012 (ilogb_test_data): Likewise.
18013 (isfinite_test_data): Likewise.
18014 (isgreater_test_data): Likewise.
18015 (isgreaterequal_test_data): Likewise.
18016 (isinf_test_data): Likewise.
18017 (isless_test_data): Likewise.
18018 (islessequal_test_data): Likewise.
18019 (islessgreater_test_data): Likewise.
18020 (isnan_test_data): Likewise.
18021 (isnormal_test_data): Likewise.
18022 (issignaling_test_data): Likewise.
18023 (isunordered_test_data): Likewise.
18024 (j0_test_data): Likewise.
18025 (j1_test_data): Likewise.
18026 (jn_test_data): Likewise.
18027 (ldexp_test_data): Likewise.
18028 (lgamma_test_data): Likewise.
18029 (lrint_test_data): Likewise.
18030 (lrint_tonearest_test_data): Likewise.
18031 (lrint_towardzero_test_data): Likewise.
18032 (lrint_downward_test_data): Likewise.
18033 (lrint_upward_test_data): Likewise.
18034 (llrint_test_data): Likewise.
18035 (llrint_tonearest_test_data): Likewise.
18036 (llrint_towardzero_test_data): Likewise.
18037 (llrint_downward_test_data): Likewise.
18038 (llrint_upward_test_data): Likewise.
18039 (log_test_data): Likewise.
18040 (log10_test_data): Likewise.
18041 (log1p_test_data): Likewise.
18042 (log2_test_data): Likewise.
18043 (logb_test_data): Likewise.
18044 (logb_downward_test_data): Likewise.
18045 (lround_test_data): Likewise.
18046 (llround_test_data): Likewise.
18047 (modf_test_data): Likewise.
18048 (nearbyint_test_data): Likewise.
18049 (nextafter_test_data): Likewise.
18050 (nexttoward_test_data): Likewise.
18051 (pow_test_data): Likewise.
18052 (pow_tonearest_test_data): Likewise.
18053 (pow_towardzero_test_data): Likewise.
18054 (pow_downward_test_data): Likewise.
18055 (pow_upward_test_data): Likewise.
18056 (remainder_test_data): Likewise.
18057 (remainder_tonearest_test_data): Likewise.
18058 (remainder_towardzero_test_data): Likewise.
18059 (remainder_downward_test_data): Likewise.
18060 (remainder_upward_test_data): Likewise.
18061 (remquo_test_data): Likewise.
18062 (rint_test_data): Likewise.
18063 (rint_tonearest_test_data): Likewise.
18064 (rint_towardzero_test_data): Likewise.
18065 (rint_downward_test_data): Likewise.
18066 (rint_upward_test_data): Likewise.
18067 (round_test_data): Likewise.
18068 (scalb_test_data): Likewise.
18069 (scalbn_test_data): Likewise.
18070 (scalbln_test_data): Likewise.
18071 (signbit_test_data): Likewise.
18072 (sin_test_data): Likewise.
18073 (sin_tonearest_test_data): Likewise.
18074 (sin_towardzero_test_data): Likewise.
18075 (sin_downward_test_data): Likewise.
18076 (sin_upward_test_data): Likewise.
18077 (sincos_test_data): Likewise.
18078 (sinh_test_data): Likewise.
18079 (sinh_tonearest_test_data): Likewise.
18080 (sinh_towardzero_test_data): Likewise.
18081 (sinh_downward_test_data): Likewise.
18082 (sinh_upward_test_data): Likewise.
18083 (sqrt_test_data): Likewise.
18084 (tan_test_data): Likewise.
18085 (tan_tonearest_test_data): Likewise.
18086 (tan_towardzero_test_data): Likewise.
18087 (tan_downward_test_data): Likewise.
18088 (tan_upward_test_data): Likewise.
18089 (tanh_test_data): Likewise.
18090 (tgamma_test_data): Likewise.
18091 (trunc_test_data): Likewise.
18092 (y0_test_data): Likewise.
18093 (y1_test_data): Likewise.
18094 (yn_test_data): Likewise.
18095 (significand_test_data): Likewise.
18097 * math/gen-libm-test.pl (@functions): Remove variable.
18098 (generate_testfile): Don't handle START and END lines.
18099 * math/libm-test.inc (START): New macro.
18101 (END_COMPLEX): Likewise.
18102 (acos_test): Use END macro without arguments.
18103 (acos_test_tonearest): Likewise.
18104 (acos_test_towardzero): Likewise.
18105 (acos_test_downward): Likewise.
18106 (acos_test_upward): Likewise.
18107 (acosh_test): Likewise.
18108 (asin_test): Likewise.
18109 (asin_test_tonearest): Likewise.
18110 (asin_test_towardzero): Likewise.
18111 (asin_test_downward): Likewise.
18112 (asin_test_upward): Likewise.
18113 (asinh_test): Likewise.
18114 (atan_test): Likewise.
18115 (atanh_test): Likewise.
18116 (atan2_test): Likewise.
18117 (cabs_test): Likewise.
18118 (cacos_test): Use END_COMPLEX macro without arguments.
18119 (cacosh_test): Likewise.
18120 (carg_test): Use END macro without arguments.
18121 (casin_test): Use END_COMPLEX macro without arguments.
18122 (casinh_test): Likewise.
18123 (catan_test): Likewise.
18124 (catanh_test): Likewise.
18125 (cbrt_test): Use END macro without arguments.
18126 (ccos_test): Use END_COMPLEX macro without arguments.
18127 (ccosh_test): Likewise.
18128 (ceil_test): Use END macro without arguments.
18129 (cexp_test): Use END_COMPLEX macro without arguments.
18130 (cimag_test): Use END macro without arguments.
18131 (clog_test): Use END_COMPLEX macro without arguments.
18132 (clog10_test): Likewise.
18133 (conj_test): Likewise.
18134 (copysign_test): Use END macro without arguments.
18135 (cos_test): Likewise.
18136 (cos_test_tonearest): Likewise.
18137 (cos_test_towardzero): Likewise.
18138 (cos_test_downward): Likewise.
18139 (cos_test_upward): Likewise.
18140 (cosh_test): Likewise.
18141 (cosh_test_tonearest): Likewise.
18142 (cosh_test_towardzero): Likewise.
18143 (cosh_test_downward): Likewise.
18144 (cosh_test_upward): Likewise.
18145 (cpow_test): Use END_COMPLEX macro without arguments.
18146 (cproj_test): Likewise.
18147 (creal_test): Use END macro without arguments.
18148 (csin_test): Use END_COMPLEX macro without arguments.
18149 (csinh_test): Likewise.
18150 (csqrt_test): Likewise.
18151 (ctan_test): Likewise.
18152 (ctan_test_tonearest): Likewise.
18153 (ctan_test_towardzero): Likewise.
18154 (ctan_test_downward): Likewise.
18155 (ctan_test_upward): Likewise.
18156 (ctanh_test): Likewise.
18157 (ctanh_test_tonearest): Likewise.
18158 (ctanh_test_towardzero): Likewise.
18159 (ctanh_test_downward): Likewise.
18160 (ctanh_test_upward): Likewise.
18161 (erf_test): Use END macro without arguments.
18162 (erfc_test): Likewise.
18163 (exp_test): Likewise.
18164 (exp_test_tonearest): Likewise.
18165 (exp_test_towardzero): Likewise.
18166 (exp_test_downward): Likewise.
18167 (exp_test_upward): Likewise.
18168 (exp10_test): Likewise.
18169 (exp2_test): Likewise.
18170 (expm1_test): Likewise.
18171 (fabs_test): Likewise.
18172 (fdim_test): Likewise.
18173 (finite_test): Likewise.
18174 (floor_test): Likewise.
18175 (fma_test): Likewise.
18176 (fma_test_towardzero): Likewise.
18177 (fma_test_downward): Likewise.
18178 (fma_test_upward): Likewise.
18179 (fmax_test): Likewise.
18180 (fmin_test): Likewise.
18181 (fmod_test): Likewise.
18182 (fpclassify_test): Likewise.
18183 (frexp_test): Likewise.
18184 (gamma_test): Likewise.
18185 (hypot_test): Likewise.
18186 (ilogb_test): Likewise.
18187 (isfinite_test): Likewise.
18188 (isgreater_test): Likewise.
18189 (isgreaterequal_test): Likewise.
18190 (isinf_test): Likewise.
18191 (isless_test): Likewise.
18192 (islessequal_test): Likewise.
18193 (islessgreater_test): Likewise.
18194 (isnan_test): Likewise.
18195 (isnormal_test): Likewise.
18196 (issignaling_test): Likewise.
18197 (isunordered_test): Likewise.
18198 (j0_test): Likewise.
18199 (j1_test): Likewise.
18200 (jn_test): Likewise.
18201 (ldexp_test): Likewise.
18202 (lgamma_test): Likewise.
18203 (lrint_test): Likewise.
18204 (lrint_test_tonearest): Likewise.
18205 (lrint_test_towardzero): Likewise.
18206 (lrint_test_downward): Likewise.
18207 (lrint_test_upward): Likewise.
18208 (llrint_test): Likewise.
18209 (llrint_test_tonearest): Likewise.
18210 (llrint_test_towardzero): Likewise.
18211 (llrint_test_downward): Likewise.
18212 (llrint_test_upward): Likewise.
18213 (log_test): Likewise.
18214 (log10_test): Likewise.
18215 (log1p_test): Likewise.
18216 (log2_test): Likewise.
18217 (logb_test): Likewise.
18218 (logb_test_downward): Likewise.
18219 (lround_test): Likewise.
18220 (llround_test): Likewise.
18221 (modf_test): Likewise.
18222 (nearbyint_test): Likewise.
18223 (nextafter_test): Likewise.
18224 (nexttoward_test): Likewise.
18225 (pow_test): Likewise.
18226 (pow_test_tonearest): Likewise.
18227 (pow_test_towardzero): Likewise.
18228 (pow_test_downward): Likewise.
18229 (pow_test_upward): Likewise.
18230 (remainder_test): Likewise.
18231 (remainder_test_tonearest): Likewise.
18232 (remainder_test_towardzero): Likewise.
18233 (remainder_test_downward): Likewise.
18234 (remainder_test_upward): Likewise.
18235 (remquo_test): Likewise.
18236 (rint_test): Likewise.
18237 (rint_test_tonearest): Likewise.
18238 (rint_test_towardzero): Likewise.
18239 (rint_test_downward): Likewise.
18240 (rint_test_upward): Likewise.
18241 (round_test): Likewise.
18242 (scalb_test): Likewise.
18243 (scalbn_test): Likewise.
18244 (scalbln_test): Likewise.
18245 (signbit_test): Likewise.
18246 (sin_test): Likewise.
18247 (sin_test_tonearest): Likewise.
18248 (sin_test_towardzero): Likewise.
18249 (sin_test_downward): Likewise.
18250 (sin_test_upward): Likewise.
18251 (sincos_test): Likewise.
18252 (sinh_test): Likewise.
18253 (sinh_test_tonearest): Likewise.
18254 (sinh_test_towardzero): Likewise.
18255 (sinh_test_downward): Likewise.
18256 (sinh_test_upward): Likewise.
18257 (sqrt_test): Likewise.
18258 (tan_test): Likewise.
18259 (tan_test_tonearest): Likewise.
18260 (tan_test_towardzero): Likewise.
18261 (tan_test_downward): Likewise.
18262 (tan_test_upward): Likewise.
18263 (tanh_test): Likewise.
18264 (tgamma_test): Likewise.
18265 (trunc_test): Likewise.
18266 (y0_test): Likewise.
18267 (y1_test): Likewise.
18268 (yn_test): Likewise.
18269 (significand_test): Likewise.
18271 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
18274 * libio/genops.c (_IO_no_init): Initialize wide struct info.
18276 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
18279 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
18280 __ppc_mdoio and __ppc_mdoom.
18281 * manual/platform.texi: Document new functions __ppc_yield,
18282 __ppc_mdoio and __ppc_mdoom.
18284 2013-05-22 Carlos O'Donell <carlos@redhat.com>
18286 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
18287 (main): Mention "tls" pseudo-hwcap is legacy.
18288 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
18290 2013-05-22 Joseph Myers <joseph@codesourcery.com>
18292 * math/gen-libm-test.pl (parse_args): Output only string of
18293 arguments as text for test name, not full call or descriptions of
18294 tests for extra outputs.
18295 (generate_testfile): Do not pass function name to parse_args.
18296 Generate this_func variable from START.
18297 * math/libm-test.inc (struct test_f_f_data): Rename test_name
18299 (struct test_ff_f_data): Likewise.
18300 (test_ff_f_data_nexttoward): Likewise.
18301 (struct test_fi_f_data): Likewise.
18302 (struct test_fl_f_data): Likewise.
18303 (struct test_if_f_data): Likewise.
18304 (struct test_fff_f_data): Likewise.
18305 (struct test_c_f_data): Likewise.
18306 (struct test_f_f1_data): Likewise. Remove field extra_name.
18307 (struct test_fF_f1_data): Likewise.
18308 (struct test_ffI_f1_data): Likewise.
18309 (struct test_c_c_data): Rename test_name field to arg_str.
18310 (struct test_cc_c_data): Likewise.
18311 (struct test_f_i_data): Likewise.
18312 (struct test_ff_i_data): Likewise.
18313 (struct test_f_l_data): Likewise.
18314 (struct test_f_L_data): Likewise.
18315 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
18317 (COMMON_TEST_SETUP): New macro.
18318 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
18319 (COMMON_TEST_CLEANUP): Likewise.
18320 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
18321 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
18323 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
18324 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
18326 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
18327 (RUN_TEST_fff_f): Take argument string. Call new setup and
18329 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
18330 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
18332 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
18333 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
18335 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18336 (RUN_TEST_fF_f1): Take argument string. Call new setup and
18338 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18339 (RUN_TEST_fI_f1): Take argument string. Call new setup and
18341 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18342 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
18344 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18345 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
18347 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
18348 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
18350 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
18351 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
18353 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
18354 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
18356 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
18357 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
18359 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
18360 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
18362 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
18363 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
18365 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
18366 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
18368 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
18369 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
18371 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
18372 (RUN_TEST_fFF_11): Take argument string. Call new setup and
18374 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
18376 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
18378 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
18379 to _sifields.sigfault.
18380 (si_addr_lsb): Define new macro.
18381 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
18382 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18383 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
18385 2013-05-03 Carlos O'Donell <carlos at redhat.com>
18388 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
18390 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
18392 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
18393 loading the domain.
18395 2013-05-22 Joseph Myers <joseph@codesourcery.com>
18397 * math/gen-libm-test.pl (parse_args): Do not include expected
18398 result in test name.
18399 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
18400 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18401 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18402 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18403 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18404 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18406 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
18408 * benchtests/Makefile: Sort function entries.
18410 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
18411 tanh, asinh, acosh, atanh.
18412 * benchtests/acos-inputs: New file.
18413 * benchtests/acosh-inputs: New file.
18414 * benchtests/asin-inputs: New file.
18415 * benchtests/asinh-inputs: New file.
18416 * benchtests/atanh-inputs: New file.
18417 * benchtests/cosh-inputs: New file.
18418 * benchtests/log-inputs: New file.
18419 * benchtests/sinh-inputs: New file.
18420 * benchtests/tanh-inputs: New file.
18422 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
18425 * posix/tst-getaddrinfo4.c: New test.
18426 * posix/Makefile (tests): Add it.
18428 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18431 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
18432 when no services were used.
18433 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
18434 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
18436 2013-05-21 Andreas Schwab <schwab@suse.de>
18439 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
18440 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
18442 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
18443 redundant variable declarations and reallocation of buffer when
18444 parsing as IPv6 address. Always set NSS status when called from
18445 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
18446 buffer too small. Correct computation of needed size.
18447 * nss/Makefile (tests): Add test-digits-dots.
18448 * nss/test-digits-dots.c: New test.
18450 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18452 * benchtests/Makefile: Remove instructions for adding
18454 * benchtests/README: New file to explain how to execute and
18455 enhance the benchmark tests.
18457 2013-05-21 Andreas Schwab <schwab@suse.de>
18460 * setjmp/Makefile (tests): Add tst-sigsetjmp.
18461 * setjmp/tst-sigsetjmp.c: New test.
18463 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
18465 * sysdeps/x86_64/memset.S (memset): New implementation.
18466 (__bzero): Likewise.
18467 (__memset_tail): New function.
18469 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
18471 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
18472 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
18473 __memcpy_sse2_unaligned ifunc selection.
18474 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18475 Add memcpy-sse2-unaligned.S.
18476 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18477 Add: __memcpy_sse2_unaligned.
18479 2013-05-19 Joseph Myers <joseph@codesourcery.com>
18482 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
18483 math_force_eval before restoring floating-point envrionment.
18484 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
18485 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
18487 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
18489 (__nearbyintl): Use math_force_eval before restoring
18490 floating-point environment.
18491 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
18493 * math/gen-libm-test.pl (special_functions): Remove.
18494 (parse_args): Don't handle TEST_extra. Handle functions with no
18496 * math/libm-test.inc (struct test_sincos_data): Replace with
18497 struct test_fFF_11_data.
18498 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
18499 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
18500 (sincos_test_data): Change element type to struct
18501 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
18502 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
18503 RUN_TEST_LOOP_sincos.
18504 * math/README.libm-test: Don't mention special handling of
18505 individual functions.
18506 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
18507 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18508 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18509 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18510 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18513 * math/gen-libm-test.pl (get_variable): Remove function.
18514 (parse_args): Don't show pointer parameters to call in test
18515 names. Use "extra output N" in test names for extra outputs
18516 rather than naming variables.
18518 2013-05-18 Joseph Myers <joseph@codesourcery.com>
18521 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
18522 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
18523 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
18525 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
18527 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
18530 * math/gen-libm-test.pl (@tests): Remove variable.
18531 ($count): Likewise.
18532 (new_test): Remove function.
18533 (show_exceptions): New function.
18534 (special_functions): Use show_exceptions instead of new_test.
18535 (parse_args): Likewise.
18536 (generate_testfile): Pass only function name in generated call to
18537 print_max_error or print_complex_max_error.
18538 (get_ulps): Do not handle complex tests specially.
18539 (output_test): Rename to ...
18540 (get_all_ulps_for_test): ... this. Return a string rather than
18541 printing to a file. Require ulps to be present.
18542 (output_ulps): Generate arrays rather than #defines.
18543 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
18544 (struct ulp_data): New type.
18545 (BUILD_COMPLEX_ULP): Remove macro.
18546 (compare_ulp_data): New function.
18547 (find_ulps): Likewise.
18548 (find_test_ulps): Likewise.
18549 (find_function_ulps): Likewise.
18550 (find_complex_function_ulps): Likewise.
18551 (print_max_error): Determine allowed ulps using
18552 find_function_ulps.
18553 (print_complex_max_error): Determine allowed ulps using
18554 find_complex_function_ulps.
18555 (check_float_internal): Determine max ulps using find_test_ulps.
18556 (check_float): Do not take max_ulp parameter. Update call to
18557 check_float_internal.
18558 (check_complex): Likewise.
18559 (check_int): Do not take max_ulp parameter.
18560 (check_long): Likewise.
18561 (check_bool): Likewise.
18562 (check_longlong): Likewise.
18563 (struct test_f_f_data): Remove max_ulp field.
18564 (struct test_ff_f_data): Likewise.
18565 (struct test_ff_f_data_nexttoward): Likewise.
18566 (struct test_fi_f_data): Likewise.
18567 (struct test_fl_f_data): Likewise.
18568 (struct test_if_f_data): Likewise.
18569 (struct test_fff_f_data): Likewise.
18570 (struct test_c_f_data): Likewise.
18571 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
18572 (struct test_fF_f1_data): Likewise.
18573 (struct test_ffI_f1_data): Likewise.
18574 (struct test_c_c_data): Remove max_ulp field.
18575 (struct test_cc_c_data): Likewise.
18576 (struct test_f_i_data): Likewise.
18577 (struct test_ff_i_data): Likewise.
18578 (struct test_f_l_data): Likewise.
18579 (struct test_f_L_data): Likewise.
18580 (struct test_sincos_data): Likewise.
18581 (RUN_TEST_f_f): Do not handle ulps.
18582 (RUN_TEST_LOOP_f_f): Likewise.
18583 (RUN_TEST_2_f): Likewise.
18584 (RUN_TEST_LOOP_2_f): Likewise.
18585 (RUN_TEST_fff_f): Likewise.
18586 (RUN_TEST_LOOP_fff_f): Likewise.
18587 (RUN_TEST_c_f): Likewise.
18588 (RUN_TEST_LOOP_c_f): Likewise.
18589 (RUN_TEST_f_f1): Likewise.
18590 (RUN_TEST_LOOP_f_f1): Likewise.
18591 (RUN_TEST_fF_f1): Likewise.
18592 (RUN_TEST_LOOP_fF_f1): Likewise.
18593 (RUN_TEST_fI_f1): Likewise.
18594 (RUN_TEST_LOOP_fI_f1): Likewise.
18595 (RUN_TEST_ffI_f1): Likewise.
18596 (RUN_TEST_LOOP_ffI_f1): Likewise.
18597 (RUN_TEST_c_c): Likewise.
18598 (RUN_TEST_LOOP_c_c): Likewise.
18599 (RUN_TEST_cc_c): Likewise.
18600 (RUN_TEST_LOOP_cc_c): Likewise.
18601 (RUN_TEST_f_i): Likewise.
18602 (RUN_TEST_LOOP_f_i): Likewise.
18603 (RUN_TEST_f_i_tg): Likewise.
18604 (RUN_TEST_LOOP_f_i_tg): Likewise.
18605 (RUN_TEST_ff_i_tg): Likewise.
18606 (RUN_TEST_LOOP_ff_i_tg): Likewise.
18607 (RUN_TEST_f_b): Likewise.
18608 (RUN_TEST_LOOP_f_b): Likewise.
18609 (RUN_TEST_f_b_tg): Likewise.
18610 (RUN_TEST_LOOP_f_b_tg): Likewise.
18611 (RUN_TEST_f_l): Likewise.
18612 (RUN_TEST_LOOP_f_l): Likewise.
18613 (RUN_TEST_f_L): Likewise.
18614 (RUN_TEST_LOOP_f_L): Likewise.
18615 (RUN_TEST_sincos): Likewise.
18616 (RUN_TEST_LOOP_sincos): Likewise.
18618 2013-05-17 Joseph Myers <joseph@codesourcery.com>
18622 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
18623 main case of finite arguments, set rounding mode to FE_TONEAREST
18624 and discard exceptions.
18625 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
18627 (remainder_tonearest_test_data): New variable.
18628 (remainder_test_tonearest): New function.
18629 (remainder_towardzero_test_data): New variable.
18630 (remainder_test_towardzero): New function.
18631 (remainder_downward_test_data): New variable.
18632 (remainder_test_downward): New function.
18633 (remainder_upward_test_data): New variable.
18634 (remainder_test_upward): New function.
18635 (main): Call the new test functions.
18637 * math/libm-test.inc (struct test_f_f1_data): Remove field
18639 (struct test_fF_f1_data): Likewise.
18640 (struct test_ffI_f1_data): Likewise.
18641 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
18642 based on value of EXTRA_EXPECTED.
18643 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18644 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
18645 EXTRA_VAR based on value of EXTRA_EXPECTED.
18646 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18647 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
18648 EXTRA_VAR based on value of EXTRA_EXPECTED.
18649 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18650 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
18651 EXTRA_VAR based on value of EXTRA_EXPECTED.
18652 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18653 * math/gen-libm-test.pl (parse_args): Don't output initializers
18654 for extra output values.
18656 * math/libm-test.inc (check_int): Expect result to be exactly
18657 equal to expected value and do not handle ulps.
18658 (check_long): Likewise.
18659 (check_longlong): Likewise.
18661 * math/libm-test.inc (ceil_test_data): Test for "inexact"
18663 (cimag_test_data): Likewise.
18664 (conj_test_data): Likewise.
18665 (copysign_test_data): Likewise.
18666 (cproj_test_data): Likewise.
18667 (creal_test_data): Likewise.
18668 (fabs_test_data): Likewise.
18669 (fdim_test_data): Likewise.
18670 (finite_test_data): Likewise.
18671 (floor_test_data): Likewise.
18672 (fmax_test_data): Likewise.
18673 (fmin_test_data): Likewise.
18674 (fmod_test_data): Likewise.
18675 (fpclassify_test_data): Likewise.
18676 (frexp_test_data): Likewise.
18677 (ilogb_test_data): Likewise.
18678 (isfinite_test_data): Likewise.
18679 (isgreater_test_data): Likewise.
18680 (isgreaterequal_test_data): Likewise.
18681 (isinf_test_data): Likewise.
18682 (isless_test_data): Likewise.
18683 (islessequal_test_data): Likewise.
18684 (islessgreater_test_data): Likewise.
18685 (isnan_test_data): Likewise.
18686 (isnormal_test_data): Likewise.
18687 (issignaling_test_data): Likewise.
18688 (isunordered_test_data): Likewise.
18689 (ldexp_test_data): Likewise.
18690 (lrint_test_data): Likewise.
18691 (lrint_test_data) [TEST_FLOAT]: Disable one test.
18692 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
18693 (lrint_tonearest_test_data): Test for "inexact" exceptions.
18694 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18695 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
18696 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
18698 (lrint_towardzero_test_data): Test for "inexact" exceptions.
18699 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
18700 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
18701 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
18703 (lrint_downward_test_data): Test for "inexact" exceptions.
18704 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
18705 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
18706 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
18708 (lrint_upward_test_data): Test for "inexact" exceptions.
18709 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
18711 (llrint_test_data): Test for "inexact" exceptions.
18712 (llrint_test_data) [TEST_FLOAT]: Disable one test.
18713 (llrint_tonearest_test_data): Test for "inexact" exceptions.
18714 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18715 (llrint_towardzero_test_data): Test for "inexact" exceptions.
18716 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
18717 (llrint_downward_test_data): Test for "inexact" exceptions.
18718 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
18719 (llrint_upward_test_data): Test for "inexact" exceptions.
18720 (logb_test_data): Likewise.
18721 (logb_downward_test_data): Likewise.
18722 (nextafter_test_data): Likewise.
18723 (nexttoward_test_data): Likewise.
18724 (remainder_test_data): Likewise.
18725 (remquo_test_data): Likewise.
18726 (scalbn_test_data): Likewise.
18727 (scalbln_test_data): Likewise.
18728 (signbit_test_data): Likewise.
18729 (sqrt_test_data): Likewise.
18730 (significand_test_data): Likewise.
18732 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18735 * benchtests/bench-modf.c (struct args): Mark arg0 as
18737 * scripts/bench.pl: Mark members of struct args as volatile.
18739 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18742 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
18743 negative infinity on POWER6 or lower.
18744 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
18746 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
18749 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
18750 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
18751 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
18752 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
18753 (_FP_SETQNAN): New macro.
18754 (_FP_SETQNAN_SEMIRAW): Likewise.
18755 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
18756 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
18757 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
18758 (FP_EXTEND): Use _FP_FRAC_SNANP.
18759 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
18760 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
18762 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
18764 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
18767 2013-05-16 Joseph Myers <joseph@codesourcery.com>
18769 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
18770 with DIVIDE_BY_ZERO_EXCEPTION.
18771 (gamma_test_data): Likewise.
18772 (lgamma_test_data): Likewise.
18773 (log_test_data): Likewise.
18774 (log10_test_data): Likewise.
18775 (log2_test_data): Likewise.
18776 (tgamma_test_data): Likewise.
18778 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
18779 (acos_test_tonearest): Likewise.
18780 (acos_test_towardzero): Likewise.
18781 (acos_test_downward): Likewise.
18782 (acos_test_upward): Likewise.
18783 (acosh_test): Likewise.
18784 (asin_test): Likewise.
18785 (asin_test_tonearest): Likewise.
18786 (asin_test_towardzero): Likewise.
18787 (asin_test_downward): Likewise.
18788 (asin_test_upward): Likewise.
18789 (asinh_test): Likewise.
18790 (atan_test): Likewise.
18791 (atanh_test): Likewise.
18792 (atan2_test): Likewise.
18793 (cabs_test): Likewise.
18794 (cacos_test): Likewise.
18795 (cacosh_test): Likewise.
18796 (casin_test): Likewise.
18797 (casinh_test): Likewise.
18798 (catan_test): Likewise.
18799 (catanh_test): Likewise.
18800 (cbrt_test): Likewise.
18801 (ccos_test): Likewise.
18802 (ccosh_test): Likewise.
18803 (cexp_test): Likewise.
18804 (clog_test): Likewise.
18805 (clog10_test): Likewise.
18806 (cos_test): Likewise.
18807 (cos_test_tonearest): Likewise.
18808 (cos_test_towardzero): Likewise.
18809 (cos_test_downward): Likewise.
18810 (cos_test_upward): Likewise.
18811 (cosh_test): Likewise.
18812 (cosh_test_tonearest): Likewise.
18813 (cosh_test_towardzero): Likewise.
18814 (cosh_test_downward): Likewise.
18815 (cosh_test_upward): Likewise.
18816 (cpow_test): Likewise.
18817 (csin_test): Likewise.
18818 (csinh_test): Likewise.
18819 (csqrt_test): Likewise.
18820 (ctan_test): Likewise.
18821 (ctan_test_tonearest): Likewise.
18822 (ctan_test_towardzero): Likewise.
18823 (ctan_test_downward): Likewise.
18824 (ctan_test_upward): Likewise.
18825 (ctanh_test): Likewise.
18826 (ctanh_test_tonearest): Likewise.
18827 (ctanh_test_towardzero): Likewise.
18828 (ctanh_test_downward): Likewise.
18829 (ctanh_test_upward): Likewise.
18830 (erf_test): Likewise.
18831 (erfc_test): Likewise.
18832 (exp_test): Likewise.
18833 (exp_test_tonearest): Likewise.
18834 (exp_test_towardzero): Likewise.
18835 (exp_test_downward): Likewise.
18836 (exp_test_upward): Likewise.
18837 (exp10_test): Likewise.
18838 (exp2_test): Likewise.
18839 (expm1_test): Likewise.
18840 (fmod_test): Likewise.
18841 (gamma_test): Likewise.
18842 (hypot_test): Likewise.
18843 (j0_test): Likewise.
18844 (j1_test): Likewise.
18845 (jn_test): Likewise.
18846 (lgamma_test): Likewise.
18847 (log_test): Likewise.
18848 (log10_test): Likewise.
18849 (log1p_test): Likewise.
18850 (log2_test): Likewise.
18851 (logb_test_downward): Likewise.
18852 (pow_test): Likewise.
18853 (pow_test_tonearest): Likewise.
18854 (pow_test_towardzero): Likewise.
18855 (pow_test_downward): Likewise.
18856 (pow_test_upward): Likewise.
18857 (remainder_test): Likewise.
18858 (remquo_test): Likewise.
18859 (sin_test): Likewise.
18860 (sin_test_tonearest): Likewise.
18861 (sin_test_towardzero): Likewise.
18862 (sin_test_downward): Likewise.
18863 (sin_test_upward): Likewise.
18864 (sincos_test): Likewise.
18865 (sinh_test): Likewise.
18866 (sinh_test_tonearest): Likewise.
18867 (sinh_test_towardzero): Likewise.
18868 (sinh_test_downward): Likewise.
18869 (sinh_test_upward): Likewise.
18870 (sqrt_test): Likewise.
18871 (tan_test): Likewise.
18872 (tan_test_tonearest): Likewise.
18873 (tan_test_towardzero): Likewise.
18874 (tan_test_downward): Likewise.
18875 (tan_test_upward): Likewise.
18876 (tanh_test): Likewise.
18877 (tgamma_test): Likewise.
18878 (y0_test): Likewise.
18879 (y1_test): Likewise.
18880 (yn_test): Likewise.
18882 * math/gen-libm-test.pl (adjust_arg): Remove function.
18883 (special_function): Remove argument $in_func. Only handle
18884 generating output for tables of tests, not inside functions.
18885 (parse_args): Likewise.
18886 (generate_testfile): Remove variable $in_func. Update call to
18888 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
18889 (MINUS_ZERO_INIT): Rename macro to minus_zero.
18890 (PLUS_INFTY_INIT): Rename macro to plus_infty.
18891 (MINUS_INFTY_INIT): Rename macro to minus_infty.
18892 (QNAN_VALUE_INIT): Rename macro to qnan_value.
18893 (MAX_VALUE_INIT): Rename macro to max_value.
18894 (MIN_VALUE_INIT): Rename macro to min_value.
18895 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
18896 (plus_zero): Remove variable.
18897 (minus_zero): Likewise.
18898 (plus_infty): Likewise.
18899 (minus_infty): Likewise.
18900 (qnan_value): Likewise.
18901 (max_value): Likewise.
18902 (min_value): Likewise.
18903 (min_subnorm_value): Likewise.
18905 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18907 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
18908 uint64_t or uint32_t usage.
18909 * crypt/sha256-block.c: Likewise.
18910 * crypt/sha256-crypt.c: Likewise.
18911 * crypt/sha256.c: Likewise.
18912 * crypt/sha512-block.c: Likewise.
18913 * crypt/sha512-crypt.c: Likewise.
18914 * crypt/sha512.c: Likewise.
18915 * debug/backtrace-tst.c: Likewise.
18916 * debug/pcprofiledump.c: Likewise.
18917 * elf/cache.c: Likewise.
18918 * elf/dl-cache.c: Likewise.
18919 * elf/dl-misc.c: Likewise.
18920 * elf/dl-profile.c: Likewise.
18921 * elf/dl-support.c: Likewise.
18922 * elf/ldconfig.c: Likewise.
18923 * elf/sprof.c: Likewise.
18924 * iconv/dummy-repertoire.c: Likewise.
18925 * iconv/iconv_charmap.c: Likewise.
18926 * iconv/skeleton.c: Likewise.
18927 * iconvdata/8bit-generic.c: Likewise.
18928 * iconvdata/cp737.h: Likewise.
18929 * iconvdata/cp775.h: Likewise.
18930 * iconvdata/ibm1008.h: Likewise.
18931 * iconvdata/ibm1025.h: Likewise.
18932 * iconvdata/ibm1046.h: Likewise.
18933 * iconvdata/ibm1097.h: Likewise.
18934 * iconvdata/ibm1112.h: Likewise.
18935 * iconvdata/ibm1122.h: Likewise.
18936 * iconvdata/ibm1123.h: Likewise.
18937 * iconvdata/ibm1124.h: Likewise.
18938 * iconvdata/ibm1129.h: Likewise.
18939 * iconvdata/ibm1130.h: Likewise.
18940 * iconvdata/ibm1132.h: Likewise.
18941 * iconvdata/ibm1133.h: Likewise.
18942 * iconvdata/ibm1137.h: Likewise.
18943 * iconvdata/ibm1140.h: Likewise.
18944 * iconvdata/ibm1141.h: Likewise.
18945 * iconvdata/ibm1142.h: Likewise.
18946 * iconvdata/ibm1143.h: Likewise.
18947 * iconvdata/ibm1144.h: Likewise.
18948 * iconvdata/ibm1145.h: Likewise.
18949 * iconvdata/ibm1146.h: Likewise.
18950 * iconvdata/ibm1147.h: Likewise.
18951 * iconvdata/ibm1148.h: Likewise.
18952 * iconvdata/ibm1149.h: Likewise.
18953 * iconvdata/ibm1153.h: Likewise.
18954 * iconvdata/ibm1154.h: Likewise.
18955 * iconvdata/ibm1155.h: Likewise.
18956 * iconvdata/ibm1156.h: Likewise.
18957 * iconvdata/ibm1157.h: Likewise.
18958 * iconvdata/ibm1158.h: Likewise.
18959 * iconvdata/ibm1160.h: Likewise.
18960 * iconvdata/ibm1161.h: Likewise.
18961 * iconvdata/ibm1162.h: Likewise.
18962 * iconvdata/ibm1163.h: Likewise.
18963 * iconvdata/ibm1164.h: Likewise.
18964 * iconvdata/ibm1166.h: Likewise.
18965 * iconvdata/ibm1167.h: Likewise.
18966 * iconvdata/ibm12712.h: Likewise.
18967 * iconvdata/ibm1390.h: Likewise.
18968 * iconvdata/ibm1399.h: Likewise.
18969 * iconvdata/ibm16804.h: Likewise.
18970 * iconvdata/ibm4517.h: Likewise.
18971 * iconvdata/ibm4899.h: Likewise.
18972 * iconvdata/ibm4909.h: Likewise.
18973 * iconvdata/ibm4971.h: Likewise.
18974 * iconvdata/ibm5347.h: Likewise.
18975 * iconvdata/ibm803.h: Likewise.
18976 * iconvdata/ibm856.h: Likewise.
18977 * iconvdata/ibm901.h: Likewise.
18978 * iconvdata/ibm902.h: Likewise.
18979 * iconvdata/ibm9030.h: Likewise.
18980 * iconvdata/ibm9066.h: Likewise.
18981 * iconvdata/ibm921.h: Likewise.
18982 * iconvdata/ibm922.h: Likewise.
18983 * iconvdata/ibm9448.h: Likewise.
18984 * iconvdata/isiri-3342.h: Likewise.
18985 * iconvdata/jis0201.h: Likewise.
18986 * include/link.h: Likewise.
18987 * include/netdb.h: Likewise.
18988 * inet/check_native.c: Likewise.
18989 * inet/check_pf.c: Likewise.
18990 * inet/getipv4sourcefilter.c: Likewise.
18991 * inet/getnameinfo.c: Likewise.
18992 * inet/getsourcefilter.c: Likewise.
18993 * inet/htonl.c: Likewise.
18994 * inet/setipv4sourcefilter.c: Likewise.
18995 * inet/setsourcefilter.c: Likewise.
18996 * inet/test-inet6_opt.c: Likewise.
18997 * inet/tst-network.c: Likewise.
18998 * locale/C-collate.c: Likewise.
18999 * locale/C-ctype.c: Likewise.
19000 * locale/C-time.c: Likewise.
19001 * locale/C-translit.h: Likewise.
19002 * locale/loadarchive.c: Likewise.
19003 * locale/programs/3level.h: Likewise.
19004 * locale/programs/charmap.c: Likewise.
19005 * locale/programs/charmap.h: Likewise.
19006 * locale/programs/ld-address.c: Likewise.
19007 * locale/programs/ld-collate.c: Likewise.
19008 * locale/programs/ld-ctype.c: Likewise.
19009 * locale/programs/ld-identification.c: Likewise.
19010 * locale/programs/ld-measurement.c: Likewise.
19011 * locale/programs/ld-messages.c: Likewise.
19012 * locale/programs/ld-monetary.c: Likewise.
19013 * locale/programs/ld-name.c: Likewise.
19014 * locale/programs/ld-numeric.c: Likewise.
19015 * locale/programs/ld-paper.c: Likewise.
19016 * locale/programs/ld-telephone.c: Likewise.
19017 * locale/programs/ld-time.c: Likewise.
19018 * locale/programs/linereader.c: Likewise.
19019 * locale/programs/locale.c: Likewise.
19020 * locale/programs/locarchive.c: Likewise.
19021 * locale/programs/locfile.h: Likewise.
19022 * locale/programs/repertoire.c: Likewise.
19023 * locale/programs/simple-hash.c: Likewise.
19024 * locale/programs/simple-hash.h: Likewise.
19025 * malloc/memusage.c: Likewise.
19026 * malloc/memusagestat.c: Likewise.
19027 * nis/nis_defaults.c: Likewise.
19028 * nis/nis_hash.c: Likewise.
19029 * nis/nis_print.c: Likewise.
19030 * nis/nis_xdr.c: Likewise.
19031 * nscd/connections.c: Likewise.
19032 * nscd/hstcache.c: Likewise.
19033 * nscd/nscd_gethst_r.c: Likewise.
19034 * nscd/nscd_getserv_r.c: Likewise.
19035 * nscd/nscd_helper.c: Likewise.
19036 * nscd/servicescache.c: Likewise.
19037 * nss/makedb.c: Likewise.
19038 * nss/nss_db/db-XXX.c: Likewise.
19039 * nss/nss_db/db-initgroups.c: Likewise.
19040 * nss/nss_db/db-netgrp.c: Likewise.
19041 * nss/nss_files/files-network.c: Likewise.
19042 * nss/nss_files/files-parse.c: Likewise.
19043 * posix/bug-regex5.c: Likewise.
19044 * posix/fnmatch_loop.c: Likewise.
19045 * posix/regcomp.c: Likewise.
19046 * posix/regexec.c: Likewise.
19047 * posix/tst-rfc3484-2.c: Likewise.
19048 * posix/tst-rfc3484-3.c: Likewise.
19049 * posix/tst-rfc3484.c: Likewise.
19050 * resolv/nss_dns/dns-canon.c: Likewise.
19051 * resolv/nss_dns/dns-network.c: Likewise.
19052 * resolv/res_init.c: Likewise.
19053 * resolv/res_mkquery.c: Likewise.
19054 * resolv/tst-aton.c: Likewise.
19055 * stdlib/cxa_atexit.c: Likewise.
19056 * stdlib/cxa_finalize.c: Likewise.
19057 * stdlib/gen-fpioconst.c: Likewise.
19058 * stdlib/strtol_l.c: Likewise.
19059 * string/tst-endian.c: Likewise.
19060 * sunrpc/auth_des.c: Likewise.
19061 * sunrpc/clnt_udp.c: Likewise.
19062 * sunrpc/rtime.c: Likewise.
19063 * sunrpc/svcauth_des.c: Likewise.
19064 * sunrpc/xdr.c: Likewise.
19065 * sunrpc/xdr_intXX_t.c: Likewise.
19066 * sunrpc/xdr_rec.c: Likewise.
19067 * sysdeps/generic/ldconfig.h: Likewise.
19068 * sysdeps/generic/ldsodefs.h: Likewise.
19069 * sysdeps/generic/memusage.h: Likewise.
19070 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
19071 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
19072 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
19073 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
19074 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19075 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19076 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
19077 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
19078 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19079 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19080 * sysdeps/posix/getaddrinfo.c: Likewise.
19081 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19082 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19083 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
19084 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19085 * sysdeps/powerpc/test-gettimebase.c: Likewise.
19086 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
19087 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
19088 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
19089 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
19090 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
19091 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
19092 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
19093 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
19094 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
19095 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
19096 * sysdeps/x86_64/dl-tls.h: Likewise.
19097 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
19098 * time/alt_digit.c: Likewise.
19099 * time/era.c: Likewise.
19100 * wcsmbs/tst-c16c32-1.c: Likewise.
19102 2013-05-16 Joseph Myers <joseph@codesourcery.com>
19104 * math/libm-test.inc (struct test_sincos_data): New type.
19105 (RUN_TEST_LOOP_sincos): New macro.
19106 (sincos_test_data): New variable.
19107 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
19109 2013-05-16 Richard Henderson <rth@redhat.com>
19111 * math/atest-exp2.c (LIMB64): New macro.
19112 (CONSTSZ): New macro.
19113 (mp_exp1, mp_exp_m1, mp_log2): New variables.
19115 (print_mpn_fp): ... to function scope.
19116 (read_mpn_hex): Remove.
19117 (get_log2): Remove.
19118 (exp2_mpn): Use mp_log2.
19119 (main): Use mp_exp1.
19121 2013-05-16 Joseph Myers <joseph@codesourcery.com>
19123 * math/libm-test.inc: Remove comment about not testing "inexact"
19125 (INEXACT_EXCEPTION): New macro.
19126 (NO_INEXACT_EXCEPTION): Likewise.
19127 (INVALID_EXCEPTION_OK): Update value.
19128 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19129 (OVERFLOW_EXCEPTION_OK): Likewise.
19130 (UNDERFLOW_EXCEPTION_OK): Likewise.
19131 (IGNORE_ZERO_INF_SIGN): Likewise.
19132 (ERRNO_UNCHANGED): Likewise.
19133 (ERRNO_EDOM): Likewise.
19134 (ERRNO_ERANGE): Likewise.
19135 (test_exceptions): Handle testing "inexact" exceptions.
19136 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
19137 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
19138 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
19139 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
19141 (rint_towardzero_test_data): Likewise.
19142 (rint_downward_test_data): Likewise.
19143 (rint_upward_test_data): Likewise.
19145 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
19146 with OVERFLOW_EXCEPTION.
19147 (exp10_test_data): Likewise.
19148 (exp2_test_data): Likewise.
19149 (expm1_test_data): Likewise.
19150 (lgamma_test_data): Likewise.
19151 (pow_test_data): Likewise.
19152 (tgamma_test_data): Likewise.
19153 (yn_test_data): Remove duplicate test of overflow.
19155 * math/libm-test.inc (struct test_cc_c_data): New type.
19156 (RUN_TEST_LOOP_cc_c): New macro.
19157 (cpow_test_data): New variable.
19158 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
19160 * math/libm-test.inc (struct test_f_L_data): New type.
19161 (RUN_TEST_LOOP_f_L): New macro.
19162 (llrint_test_data): New variable.
19163 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
19164 (llrint_tonearest_test_data): New variable.
19165 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
19166 (llrint_towardzero_test_data): New variable.
19167 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
19168 (llrint_downward_test_data): New variable.
19169 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
19170 (llrint_upward_test_data): New variable.
19171 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
19172 (llround_test_data): New variable.
19173 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
19175 2013-05-13 Peter Collingbourne <pcc@google.com>
19177 * math/atest-exp2.c (get_log2): Remove const attribute.
19179 2013-05-15 Joseph Myers <joseph@codesourcery.com>
19181 * math/libm-test.inc (struct test_f_l_data): New type.
19182 (RUN_TEST_LOOP_f_l): New macro.
19183 (lrint_test_data): New variable.
19184 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
19185 (lrint_tonearest_test_data): New variable.
19186 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
19187 (lrint_towardzero_test_data): New variable.
19188 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
19189 (lrint_downward_test_data): New variable.
19190 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
19191 (lrint_upward_test_data): New variable.
19192 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
19193 (lround_test_data): New variable.
19194 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
19196 2013-05-15 Peter Collingbourne <pcc@google.com>
19198 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
19199 (EXTRACT_WORDS64) Use where appropriate.
19200 (INSERT_WORDS64) Likewise.
19202 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
19203 constraints with x constraints.
19204 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
19206 * malloc/obstack.c (_obstack_compat): Add initializer.
19208 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
19210 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
19211 si_trapno and add si_addr_lsb to _sifields.sigfault.
19212 (si_trapno): Remove macro.
19213 (si_addr_lsb): Define new macro.
19214 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19216 2013-05-15 Joseph Myers <joseph@codesourcery.com>
19218 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
19219 instead of TEST_f_l.
19220 (llrint_test_tonearest): Likewise.
19221 (llrint_test_towardzero): Likewise.
19222 (llrint_test_downward): Likewise.
19223 (llrint_test_upward): Likewise.
19224 (llround_test): Likewise.
19226 * math/libm-test.inc (struct test_f_i_data): Add comment.
19227 (RUN_TEST_LOOP_f_b): New macro.
19228 (RUN_TEST_LOOP_f_b_tg): Likewise.
19229 (finite_test_data): New variable.
19230 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
19231 (isfinite_test_data): New variable.
19232 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19233 (isinf_test_data): New variable.
19234 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19235 (isnan_test_data): New variable.
19236 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19237 (isnormal_test_data): New variable.
19238 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19239 (issignaling_test_data): New variable.
19240 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19241 (signbit_test_data): New variable.
19242 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19244 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
19245 with INVALID_EXCEPTION.
19246 (acosh_test_data): Likewise.
19247 (asin_test_data): Likewise.
19248 (atanh_test_data): Likewise.
19249 (fmod_test_data): Likewise.
19250 (log_test_data): Likewise.
19251 (log10_test_data): Likewise.
19252 (log2_test_data): Likewise.
19253 (pow_test_data): Likewise.
19254 (sqrt_test_data): Likewise.
19255 (y0_test_data): Likewise.
19256 (y1_test_data): Likewise.
19257 (yn_test_data): Likewise.
19259 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
19262 * math/libm-test.inc (struct test_ff_i_data): New type.
19263 (RUN_TEST_LOOP_ff_i_tg): New macro.
19264 (isgreater_test_data): New variable.
19265 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19266 (isgreaterequal_test_data): New variable.
19267 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19268 (isless_test_data): New variable.
19269 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19270 (islessequal_test_data): New variable.
19271 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19272 (islessgreater_test_data): New variable.
19273 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19274 (isunordered_test_data): New variable.
19275 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19277 2013-05-14 David S. Miller <davem@davemloft.net>
19279 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19281 2013-05-14 Joseph Myers <joseph@codesourcery.com>
19283 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
19285 * math/libm-test.inc (struct test_fF_f1_data): Change type of
19287 (struct test_f_i_data): Change type of max_ulp to int.
19289 * math/libm-test.inc (test_ffI_f1_data): New type.
19290 (RUN_TEST_LOOP_ffI_f1): New macro.
19291 (remquo_test_data): New variable.
19292 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
19294 * setjmp/tst-setjmp-fp.c: New file.
19295 * setjmp/Makefile (tests): Add tst-setjmp-fp.
19296 (link-libm): New variable.
19297 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
19299 * math/libm-test.inc (struct test_f_i_data): New type.
19300 (RUN_TEST_LOOP_f_i): New macro.
19301 (RUN_TEST_LOOP_f_i_tg): Likewise.
19302 (fpclassify_test_data): New variable.
19303 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
19304 (ilogb_test_data): New variable.
19305 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
19307 * math/libm-test.inc (scalbln_test): Correct function name in END
19310 * math/libm-test.inc (struct test_f_f1_data): Add comment.
19311 (RUN_TEST_LOOP_fI_f1): New macro.
19312 (frexp_test_data): New variable.
19313 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
19315 * math/libm-test.inc (struct test_fF_f1_data): New type.
19316 (RUN_TEST_LOOP_fF_f1): New macro.
19317 (modf_test_data): New variable.
19318 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
19320 * math/libm-test.inc (struct test_f_f1_data): New type.
19321 (RUN_TEST_LOOP_f_f1): New macro.
19322 (gamma_test_data): New variable.
19323 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
19324 (lgamma_test_data): New variable.
19325 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
19327 2013-05-13 Carlos O'Donell <carlos@redhat.com>
19329 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
19330 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
19331 (main): Comment "tls" pseudo-hwcap.
19333 2013-05-13 Joseph Myers <joseph@codesourcery.com>
19335 * math/libm-test.inc (struct test_fl_f_data): New type.
19336 (RUN_TEST_LOOP_fl_f): New variable.
19337 (scalbln_test_data): New variable.
19338 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
19340 * math/libm-test.inc (struct test_fi_f_data): New type.
19341 (RUN_TEST_LOOP_fi_f): New macro.
19342 (ldexp_test_data): New variable.
19343 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
19344 (scalbn_test_data): New variable.
19345 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
19347 * math/libm-test.inc (struct test_c_f_data): New type.
19348 (RUN_TEST_LOOP_c_f): New macro.
19349 (cabs_test_data): New variable.
19350 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
19351 (carg_test_data): New variable.
19352 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
19353 (cimag_test_data): New variable.
19354 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
19355 (creal_test_data): New variable.
19356 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
19358 * math/libm-test.inc (struct test_if_f_data): New type.
19359 (RUN_TEST_LOOP_if_f): New macro.
19360 (jn_test_data): New variable.
19361 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
19362 (yn_test_data): New variable.
19363 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
19365 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
19367 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19369 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
19370 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
19372 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
19374 * benchtests/Makefile (CPPFLAGS-nonlib): Add
19375 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
19376 (bench-deps): Add bench-timing.h.
19377 * benchtests-bench-skeleton.c: Include bench-timing.h.
19378 (main): Use TIMING_* macros instead of clock_gettime.
19379 * benchtests/bench-timing.h: New file.
19382 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
19383 Renamed from _LIB_VERSION.
19384 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
19386 2013-05-12 Joseph Myers <joseph@codesourcery.com>
19388 * math/libm-test.inc (struct test_fff_f_data): New type.
19389 (RUN_TEST_LOOP_fff_f): New macro.
19390 (fma_test_data): New variable.
19391 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
19392 (fma_towardzero_test_data): New variable.
19393 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
19394 (fma_downward_test_data): New variable.
19395 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
19396 (fma_upward_test_data): New variable.
19397 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
19399 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
19400 (struct test_c_c_data): New type.
19401 (RUN_TEST_LOOP_c_c): New macro.
19402 (cacos_test_data): New variable.
19403 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
19404 (cacosh_test_data): New variable.
19405 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
19406 (casin_test_data): New variable.
19407 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
19408 (casinh_test_data): New variable.
19409 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
19410 (catan_test_data): New variable.
19411 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
19412 (catanh_test_data): New variable.
19413 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
19414 (ccos_test_data): New variable.
19415 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
19416 (ccosh_test_data): New variable.
19417 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
19418 (cexp_test_data): New variable.
19419 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
19420 (clog_test_data): New variable.
19421 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
19422 (clog10_test_data): New variable.
19423 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
19424 (conj_test_data): New variable.
19425 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
19426 (cproj_test_data): New variable.
19427 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
19428 (csin_test_data): New variable.
19429 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
19430 (csinh_test_data): New variable.
19431 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
19432 (csqrt_test_data): New variable.
19433 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
19434 (ctan_test_data): New variable.
19435 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
19436 (ctan_tonearest_test_data): New variable.
19437 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19438 (ctan_towardzero_test_data): New variable.
19439 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19440 (ctan_downward_test_data): New variable.
19441 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19442 (ctan_upward_test_data): New variable.
19443 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19444 (ctanh_test_data): New variable.
19445 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
19446 (ctanh_tonearest_test_data): New variable.
19447 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19448 (ctanh_towardzero_test_data): New variable.
19449 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19450 (ctanh_downward_test_data): New variable.
19451 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19452 (ctanh_upward_test_data): New variable.
19453 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19454 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
19457 * math/libm-test.inc (struct test_ff_f_data): New type.
19458 (struct test_ff_f_data_nexttoward): Likewise.
19459 (RUN_TEST_LOOP_2_f): New macro.
19460 (RUN_TEST_LOOP_ff_f): Likewise.
19461 (atan2_test_data): New variable.
19462 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
19463 (copysign_test_data): New variable.
19464 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
19465 (fdim_test_data): New variable.
19466 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
19467 (fmax_test_data): New variable.
19468 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
19469 (fmin_test_data): New variable.
19470 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
19471 (fmod_test_data): New variable.
19472 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
19473 (hypot_test_data): New variable.
19474 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
19475 (nextafter_test_data): New variable.
19476 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
19477 (nexttoward_test_data): New variable.
19478 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
19479 (pow_test_data): New variable.
19480 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
19481 (pow_tonearest_test_data): New variable.
19482 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
19483 (pow_towardzero_test_data): New variable.
19484 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
19485 (pow_downward_test_data): New variable.
19486 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
19487 (pow_upward_test_data): New variable.
19488 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
19489 (remainder_test_data): New variable.
19490 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
19491 (scalb_test_data): New variable.
19492 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
19493 * sysdeps/i386/fpu/libm-test-ulps: Update.
19495 2013-05-11 Joseph Myers <joseph@codesourcery.com>
19497 * math/libm-test.inc (fma_test): Use max_value instead of local
19499 (nextafter_test): Likewise.
19501 * math/libm-test.inc (acos_towardzero_test_data): New variable.
19502 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19503 (acos_downward_test_data): New variable.
19504 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19505 (acos_upward_test_data): New variable.
19506 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19507 (acosh_test_data): New variable.
19508 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
19509 (asin_test_data): New variable.
19510 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
19511 (asin_tonearest_test_data): New variable.
19512 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19513 (asin_towardzero_test_data): New variable.
19514 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19515 (asin_downward_test_data): New variable.
19516 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19517 (asin_upward_test_data): New variable.
19518 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19519 (asinh_test_data): New variable.
19520 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
19521 (atan_test_data): New variable.
19522 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
19523 (atanh_test_data): New variable.
19524 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
19525 (cbrt_test_data): New variable.
19526 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
19527 (ceil_test_data): New variable.
19528 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
19529 (cos_test_data): New variable.
19530 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
19531 (cos_tonearest_test_data): New variable.
19532 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19533 (cos_towardzero_test_data): New variable.
19534 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19535 (cos_downward_test_data): New variable.
19536 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19537 (cos_upward_test_data): New variable.
19538 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19539 (cosh_test_data): New variable.
19540 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
19541 (cosh_tonearest_test_data): New variable.
19542 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19543 (cosh_towardzero_test_data): New variable.
19544 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19545 (cosh_downward_test_data): New variable.
19546 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19547 (cosh_upward_test_data): New variable.
19548 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19549 (erf_test_data): New variable.
19550 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
19551 (erfc_test_data): New variable.
19552 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
19553 (exp_test_data): New variable.
19554 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
19555 (exp_tonearest_test_data): New variable.
19556 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19557 (exp_towardzero_test_data): New variable.
19558 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19559 (exp_downward_test_data): New variable.
19560 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19561 (exp_upward_test_data): New variable.
19562 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19563 (exp10_test_data): New variable.
19564 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
19565 (exp2_test_data): New variable.
19566 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
19567 (expm1_test_data): New variable.
19568 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
19569 (fabs_test_data): New variable.
19570 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
19571 (floor_test_data): New variable.
19572 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
19573 (j0_test_data): New variable.
19574 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
19575 (j1_test_data): New variable.
19576 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
19577 (log_test_data): New variable.
19578 (log_test): Run tests with RUN_TEST_LOOP_f_f.
19579 (log10_test_data): New variable.
19580 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
19581 (log1p_test_data): New variable.
19582 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
19583 (log2_test_data): New variable.
19584 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
19585 (logb_test_data): New variable.
19586 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
19587 (logb_downward_test_data): New variable.
19588 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19589 (nearbyint_test_data): New variable.
19590 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
19591 (rint_test_data): New variable.
19592 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
19593 (rint_tonearest_test_data): New variable.
19594 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19595 (rint_towardzero_test_data): New variable.
19596 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19597 (rint_downward_test_data): New variable.
19598 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19599 (rint_upward_test_data): New variable.
19600 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19601 (round_test_data): New variable.
19602 (round_test): Run tests with RUN_TEST_LOOP_f_f.
19603 (sin_test_data): New variable.
19604 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
19605 (sin_tonearest_test_data): New variable.
19606 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19607 (sin_towardzero_test_data): New variable.
19608 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19609 (sin_downward_test_data): New variable.
19610 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19611 (sin_upward_test_data): New variable.
19612 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19613 (sinh_test_data): New variable.
19614 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
19615 (sinh_tonearest_test_data): New variable.
19616 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19617 (sinh_towardzero_test_data): New variable.
19618 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19619 (sinh_downward_test_data): New variable.
19620 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19621 (sinh_upward_test_data): New variable.
19622 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19623 (sqrt_test_data): New variable.
19624 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
19625 (tan_test_data): New variable.
19626 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
19627 (tan_tonearest_test_data): New variable.
19628 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19629 (tan_towardzero_test_data): New variable.
19630 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19631 (tan_downward_test_data): New variable.
19632 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19633 (tan_upward_test_data): New variable.
19634 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19635 (tanh_test_data): New variable.
19636 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
19637 (tgamma_test_data): New variable.
19638 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
19639 (trunc_test_data): New variable.
19640 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
19641 (y0_test_data): New variable.
19642 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
19643 (y1_test_data): New variable.
19644 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
19645 (significand_test_data): New variable.
19646 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
19648 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
19651 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
19653 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
19655 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
19657 2013-05-10 Andreas Jaeger <aj@suse.de>
19660 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
19661 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
19663 2013-05-10 Joseph Myers <joseph@codesourcery.com>
19665 * math/gen-libm-test.pl (adjust_arg): New function.
19666 (special_functions): Handle generating output in both functions
19668 (parse_args): Likewise.
19669 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
19670 $in_func argument to parse_args.
19671 * math/libm-test.inc (struct test_f_f_data): New type.
19672 (IF_ROUND_INIT_): New macro.
19673 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
19674 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
19675 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
19676 (IF_ROUND_INIT_FE_UPWARD): Likewise.
19677 (ROUND_RESTORE_): Likewise.
19678 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
19679 (ROUND_RESTORE_FE_TONEAREST): Likewise.
19680 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
19681 (ROUND_RESTORE_FE_UPWARD): Likewise.
19682 (RUN_TEST_LOOP_f_f): New macro.
19683 (acos_test_data): New variable.
19684 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
19685 (acos_tonearest_test_data): New variable.
19686 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19688 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19690 * benchtests/bench-skeleton.c (startup): Fix coding style.
19692 2013-05-10 Joseph Myers <joseph@codesourcery.com>
19695 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
19696 negative infinity argument.
19697 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
19698 negative infinity argument.
19699 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
19700 negative infinity argument.
19701 * math/libm-test.inc (tgamma_test): Expect errno to be set for
19704 2013-05-10 Florian Weimer <fweimer@redhat.com>
19706 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
19707 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
19708 * iconv/iconv_prog.c (main): Likewise.
19709 * locale/programs/charmap-dir.c (charmap_readdir)
19710 (fopen_uncompressed): Likewise.
19711 * locale/programs/locfile.c (siblings_uncached)
19712 (write_locale_data): Use lstat64 instead of lstat.
19713 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
19716 2013-05-10 Andreas Jaeger <aj@suse.de>
19719 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
19721 Include <locale.h>.
19723 2013-05-09 Carlos O'Donell <carlos@redhat.com>
19725 * elf/dl-close.c (_dl_close_worker): Add comments.
19727 2013-05-09 Joseph Myers <joseph@codesourcery.com>
19730 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
19732 (__ieee754_rem_pio2l): Update comments.
19735 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
19737 (__ieee754_rem_pio2l): Update comments.
19739 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
19740 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
19742 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
19745 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
19746 (M_PI_34_LOG10El): Likewise.
19747 (M_PI2_LOG10El): Likewise.
19748 (M_PI4_LOG10El): Likewise.
19749 (M_PI_LOG10El): Likewise.
19751 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19753 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19755 2013-05-08 Joseph Myers <joseph@codesourcery.com>
19757 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
19758 (MINUS_ZERO_INIT): Likewise.
19759 (PLUS_INFTY_INIT): Likewise.
19760 (MINUS_INFTY_INIT): Likewise.
19761 (QNAN_VALUE_INIT): Likewise.
19762 (MAX_VALUE_INIT): Likewise.
19763 (MIN_VALUE_INIT): Likewise.
19764 (MIN_SUBNORM_VALUE_INIT): Likewise.
19765 (plus_zero): Initialize with PLUS_ZERO_INIT.
19766 (minus_zero): Initialize with MINUS_ZERO_INIT.
19767 (plus_infty): Initialize with PLUS_INFTY_INIT.
19768 (minus_infty): Initialize with MINUS_INFTY_INIT.
19769 (qnan_value): Initialize with QNAN_VALUE_INIT.
19770 (max_value): Initialize with MAX_VALUE_INIT.
19771 (min_value): Initialize with MIN_VALUE_INIT.
19772 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
19774 * math/libm-test.inc (RUN_TEST_if_f): New macro.
19775 (jn_test): Use TEST_if_f instead of TEST_ff_f.
19776 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
19777 (yn_test): Use TEST_if_f instead of TEST_ff_f.
19779 * math/libm-test.inc (RUN_TEST_f_f): New macro.
19780 (RUN_TEST_2_f): Likewise.
19781 (RUN_TEST_ff_f): Likewise.
19782 (RUN_TEST_fi_f): Likewise.
19783 (RUN_TEST_fl_f): Likewise.
19784 (RUN_TEST_fff_f): Likewise.
19785 (RUN_TEST_c_f): Likewise.
19786 (RUN_TEST_f_f1): Likewise.
19787 (RUN_TEST_fF_f1): Likewise.
19788 (RUN_TEST_fI_f1): Likewise.
19789 (RUN_TEST_ffI_f1): Likewise.
19790 (RUN_TEST_c_c): Likewise.
19791 (RUN_TEST_cc_c): Likewise.
19792 (RUN_TEST_f_i): Likewise.
19793 (RUN_TEST_f_i_tg): Likewise.
19794 (RUN_TEST_ff_i_tg): Likewise.
19795 (RUN_TEST_f_b): Likewise.
19796 (RUN_TEST_f_b_tg): Likewise.
19797 (RUN_TEST_f_l): Likewise.
19798 (RUN_TEST_f_L): Likewise.
19799 (RUN_TEST_sincos): Likewise.
19800 * math/gen-libm-test.pl (new_test): Take new argument to indicate
19801 whether to show exceptions. Do not include ");\n" in return
19803 (special_functions): Output call to RUN_TEST_sincos instead of
19804 check_float calls. Update calls to new_test.
19805 (parse_args): Output call to single RUN_TEST_* macro instead of
19806 check_* calls and other assignments. Update calls to new_test.
19812 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
19813 input to result for tgamma overflow.
19814 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
19815 (gamma_coeff): New variable.
19816 (NCOEFF): New macro.
19817 (gamma_positive): New function.
19818 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
19819 underflow here. Use gamma_positive instead of exp (lgamma) for
19821 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
19822 (gamma_coeff): New variable.
19823 (NCOEFF): New macro.
19824 (gammaf_positive): New function.
19825 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
19826 underflow here. Use gamma_positive instead of exp (lgamma) for
19828 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
19829 (gamma_coeff): New variable.
19830 (NCOEFF): New macro.
19831 (gammal_positive): New function.
19832 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
19833 underflow here. Use gamma_positive instead of exp (lgamma) for
19835 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
19836 (gamma_coeff): New variable.
19837 (NCOEFF): New macro.
19838 (gammal_positive): New function.
19839 (__ieee754_gammal_r): Handle positive infinity, overflow and
19840 underflow here. Handle NaN the same as positive infinity. Remove
19841 check x < 0xffffffff for negative integers. Use gamma_positive
19842 instead of exp (lgamma) for other arguments.
19843 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
19844 (gamma_coeff): New variable.
19845 (NCOEFF): New macro.
19846 (gammal_positive): New function.
19847 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
19848 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
19849 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
19850 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
19851 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
19852 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
19853 * sysdeps/generic/math_private.h (__gamma_productf): New
19855 (__gamma_product): Likewise.
19856 (__gamma_productl): Likewise.
19857 * math/Makefile (libm-calls): Add gamma_product.
19858 * math/libm-test.inc (tgamma_test): Add more tests.
19859 * sysdeps/i386/fpu/libm-test-ulps: Update.
19860 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19862 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
19864 * benchtests/bench-skeleton.c (main): Preheat CPU.
19866 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
19868 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
19870 2013-05-07 Roland McGrath <roland@hack.frob.com>
19872 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
19873 and _dl_skip_args_internal.
19875 2013-05-07 Carlos O'Donell <carlos@redhat.com>
19877 * manual/message.texi (Message Translation): Talk about users.
19878 Message to key mapping impacts design.
19880 2013-05-06 Roland McGrath <roland@hack.frob.com>
19882 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
19884 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
19886 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
19887 * sysdeps/wordsize-64/glob64.c: ... here.
19889 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
19890 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
19893 * debug/getlogin_r_chk.c: Moved to ...
19894 * login/getlogin_r_chk.c: ... here.
19895 * debug/Makefile (routines): Move getlogin_r_chk to ...
19896 * login/Makefile (routines): ... here.
19897 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
19898 * login/Versions (libc: GLIBC_2.4): ... here.
19900 * io/poll.c (__poll): Renamed from poll.
19901 Add libc_hidden_def.
19902 (poll): Define as weak alias.
19904 * debug/ptsname_r_chk.c: Moved to ...
19905 * login/ptsname_r_chk.c: ... here.
19906 * debug/Makefile (routines): Move ptsname_r_chk to ...
19907 * login/Makefile (routines): ... here.
19908 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
19909 * login/Versions (libc: GLIBC_2.4): ... here.
19911 * posix/getlogin.c: Moved to ...
19912 * login/getlogin.c: ... here.
19913 * posix/getlogin_r.c: Moved to ...
19914 * login/getlogin_r.c: ... here.
19915 * posix/getlogin_r.c: Moved to ...
19916 * login/getlogin_r.c: ... here.
19917 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
19918 * login/Makefile (routines): ... here.
19919 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
19920 * login/Versions (libc: GLIBC_2.0): ... here.
19922 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
19923 (setrlimit): Define as weak alias.
19925 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
19926 Call __ names for open, ftruncate, and close.
19927 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
19928 (truncate): Define as weak alias.
19930 2013-05-06 Joseph Myers <joseph@codesourcery.com>
19932 * math/gen-libm-test.pl (parse_args): Initialize x before each
19933 test of frexp, modf and remquo.
19935 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
19936 test signgam value.
19938 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19942 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
19944 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19946 2013-05-06 Roland McGrath <roland@hack.frob.com>
19948 * elf/dl-writev.h: New file.
19949 * elf/dl-misc.c: Include it.
19950 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
19951 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
19953 2013-05-04 Joseph Myers <joseph@codesourcery.com>
19955 * math/libm-test.inc (noXFails): Remove variable.
19956 (noXPasses): Likewise.
19957 (BUILD_COMPLEX_INT): Remove macro.
19958 (print_screen): Remove xfail argument.
19959 (print_screen_max_error): Likewise.
19960 (update_stats): Likewise.
19961 (print_max_error): Likewise. Update calls to other affected
19963 (print_complex_max_error): Likewise.
19964 (test_single_exception): Update calls to print_screen.
19965 (test_single_errno): Likewise.
19966 (check_float_internal): Remove xfail argument. Update calls to
19967 other affected functions.
19968 (check_float): Likewise.
19969 (check_complex): Likewise.
19970 (check_int): Likewise.
19971 (check_long): Likewise.
19972 (check_bool): Likewise.
19973 (check_longlong): Likewise.
19974 (main): Don't print noXFails and noXPasses.
19975 * math/gen-libm-test.pl (top level): Don't mention expected
19976 failure handling in comment.
19977 (new_test): Don't handle expected failures.
19978 (parse_args): Don't mention expected failure handling in comment.
19979 (generate_testfile): Don't handle expected failures.
19980 (parse_ulps): Likewise.
19981 (print_ulps_file): Likewise.
19982 (get_failure): Remove function.
19983 (output_test): Don't handle expected failures.
19984 * make/README.libm-test: Don't mention expected failure handling.
19986 * math/libm-test.inc (plus_zero): Make const. Add initializer.
19987 (minus_zero): Likewise.
19988 (plus_infty): Likewise.
19989 (minus_infty): Likewise.
19990 (qnan_value): Likewise.
19991 (max_value): Likewise.
19992 (min_value): Likewise.
19993 (min_subnorm_value): Likewise.
19994 (initialize): Do not initialize those variables dynamically.
19996 2013-05-03 Roland McGrath <roland@hack.frob.com>
19998 * io/open.c (__open_2): Moved to ...
19999 * io/open_2.c: ... this new file.
20000 * io/open64.c (__open64_2): Moved to ...
20001 * io/open64_2.c: ... this new file.
20002 * io/openat.c (__openat_2): Moved to ...
20003 * io/openat_2.c: ... this new file.
20004 * io/openat64.c (__openat64_2): Moved to ...
20005 * io/openat64_2.c: ... this new file.
20006 * io/Makefile (routines): Add them.
20007 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
20008 * sysdeps/unix/sysv/linux/open_2.c: File removed.
20009 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
20010 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
20011 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
20012 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
20013 (__openat64): Add hidden_ver.
20014 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
20015 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
20017 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
20018 Separately conditionalize setting of GLRO(dl_sysinfo) so
20019 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
20020 as well, but the actual setting is only under [NEED_DL_SYSINFO].
20022 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20024 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
20025 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
20027 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
20028 * sysdeps/unix/sysv/linux/powerpc/init-first.c
20029 (_libc_vdso_platform_setup): Add __vdso_time initialization.
20030 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
20031 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
20033 2013-05-03 Joseph Myers <joseph@codesourcery.com>
20035 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
20036 test signgam value.
20038 * math/libm-test.inc (hypot_test): Do not use
20039 IGNORE_ZERO_INF_SIGN.
20041 2013-05-03 Andreas Jaeger <aj@suse.de>
20043 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
20045 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
20046 (PF_MAX): Adjust for VSOCK change.
20048 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20050 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20052 2013-05-02 Carlos O'Donell <carlos@redhat.com>
20055 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
20056 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
20057 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
20059 2013-05-02 David S. Miller <davem@davemloft.net>
20061 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20063 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
20065 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
20067 2013-05-01 Roland McGrath <roland@hack.frob.com>
20069 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
20071 2013-05-01 Richard Smith <richard@metafoo.co.uk>
20074 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
20075 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20076 Use __attribute__ ((__gnu_inline__)).
20077 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20078 Don't use __attribute__ ((__gnu_inline__)).
20080 2013-05-01 Joseph Myers <joseph@codesourcery.com>
20083 * math/s_catan.c (__catan): Handle small real or imaginary part of
20084 input specially to avoid spurious underflow.
20085 * math/s_catanf.c (__catanf): Likewise.
20086 * math/s_catanh.c (__catanh): Likewise.
20087 * math/s_catanhf.c (__catanhf): Likewise.
20088 * math/s_catanhl.c (__catanhl): Likewise.
20089 * math/s_catanl.c (__catanl): Likewise.
20090 * math/libm-test.inc (catan_test): Add more tests.
20091 (catanh_test): Likewise.
20092 * sysdeps/i386/fpu/libm-test-ulps: Update.
20093 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20095 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20097 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20099 2013-04-30 Joseph Myers <joseph@codesourcery.com>
20102 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
20103 accurately for denominator in atan2.
20104 * math/s_catanf.c (__catanf): Likewise.
20105 * math/s_catanh.c (__catanh): Likewise.
20106 * math/s_catanhf.c (__catanhf): Likewise.
20107 * math/s_catanhl.c (__catanhl): Likewise.
20108 * math/s_catanl.c (__catanl): Likewise.
20109 * math/libm-test.inc (catan_test): Add more tests.
20110 (catanh_test): Likewise.
20111 * sysdeps/i386/fpu/libm-test-ulps: Update.
20112 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20114 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20116 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
20118 * benchtests/Makefile (bench): Remove slow benchmarks.
20119 * benchtests/atan-inputs: Add slow benchmark inputs.
20120 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
20121 (BENCH_FUNC): Accept variant offset.
20123 * benchtests/bench-skeleton.c (main): Run benchmark for each
20125 * benchtests/cos-inputs: Add slow benchmark inputs.
20126 * benchtests/exp-inputs: Likewise.
20127 * benchtests/pow-inputs: Likewise.
20128 * benchtests/sin-inputs: Likewise.
20129 * benchtests/slowatan-inputs: Remove.
20130 * benchtests/slowatan.c: Remove.
20131 * benchtests/slowcos-inputs: Remove.
20132 * benchtests/slowcos.c: Remove.
20133 * benchtests/slowexp-inputs: Remove.
20134 * benchtests/slowexp.c: Remove.
20135 * benchtests/slowpow-inputs: Remove.
20136 * benchtests/slowpow.c: Remove.
20137 * benchtests/slowsin-inputs: Remove.
20138 * benchtests/slowsin.c: Remove.
20139 * benchtests/slowtan-inputs: Remove.
20140 * benchtests/slowtan.c: Remove.
20141 * benchtests/tan-inputs: Add slow benchmark inputs.
20142 * scripts/bench.pl: Parse comments and directives.
20144 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
20146 ($(objpfx)bench-%.c): Remove *-ITER.
20147 * benchtests/bench-modf.c: Remove definition of ITER.
20148 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
20149 (main): Loop for DURATION seconds instead of fixed number of
20151 * scripts/bench.pl: Don't expect iterations in parameters.
20153 2013-04-29 Roland McGrath <roland@hack.frob.com>
20155 * io/fchdir.c (__fchdir): Renamed from fchdir.
20156 (fchdir): Define as weak alias.
20158 2013-04-29 Joseph Myers <joseph@codesourcery.com>
20160 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
20161 (ERRNO_EDOM): Likewise.
20162 (ERRNO_ERANGE): Likewise.
20163 (noErrnoTests): New variable.
20164 (init_max_error): Set errno to 0.
20165 (test_single_errno): New function.
20166 (test_errno): Likewise.
20167 (check_float_internal): Call test_errno. Set errno to 0.
20168 (check_complex): Refer to errno tests in comment.
20169 (check_int): Call test_errno. Set errno to 0.
20170 (check_long): Likewise.
20171 (check_bool): Likewise.
20172 (check_longlong): Likewise.
20173 (cos_test): Use ERRNO_* flags for errno tests instead of
20175 (expm1_test): Likewise.
20176 (fmod_test): Likewise.
20177 (ilogb_test): Likewise.
20178 (lgamma_test): Likewise.
20179 (pow_test): Likewise.
20180 (remainder_test): Likewise.
20181 (sin_test): Likewise.
20182 (tan_test): Likewise.
20183 (yn_test): Likewise.
20184 (initialize): Set errno to 0.
20185 (main): Print number of errno tests.
20186 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
20188 2013-04-29 Andreas Jaeger <aj@suse.de>
20191 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
20195 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
20196 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
20200 * stdlib/random.c (__initstate): Return NULL if
20204 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
20205 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
20208 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20210 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20212 2013-04-29 Joseph Myers <joseph@codesourcery.com>
20214 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
20215 of individual tests.
20216 (casin_test): Likewise.
20217 (casinh_test): Likewise.
20219 2013-04-27 Joseph Myers <joseph@codesourcery.com>
20222 * math/s_catan.c (__catan): Handle arguments with large real or
20223 imaginary part separately without squaring.
20224 * math/s_catanf.c (__catanf): Likewise.
20225 * math/s_catanh.c (__catanh): Likewise.
20226 * math/s_catanhf.c (__catanhf): Likewise.
20227 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20229 (__catanhl): Handle arguments with large real or imaginary part
20230 separately without squaring.
20231 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20233 (__catanl): Handle arguments with large real or imaginary part
20234 separately without squaring.
20235 * math/libm-test.inc (catan_test): Add more tests.
20236 (catanh_test): Likewise.
20237 * sysdeps/i386/fpu/libm-test-ulps: Update.
20238 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20240 2013-04-27 Andreas Jaeger <aj@suse.de>
20243 * stdlib/stdlib.h: Update guards for qecvt.
20244 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
20247 2013-04-27 Allan McRae <allan@archlinux.org>
20249 * sysdeps/i386/fpu/libm-test-ulps: Update.
20251 2013-04-26 Joseph Myers <joseph@codesourcery.com>
20254 * math/s_catan.c: Include <float.h>.
20255 (__catan): Ensure underflow exception occurs for underflowed
20257 * math/s_catanf.c: Include <float.h>.
20258 (__catanf): Ensure underflow exception occurs for underflowed
20260 * math/s_catanh.c: Include <float.h>.
20261 (__catanh): Ensure underflow exception occurs for underflowed
20263 * math/s_catanhf.c: Include <float.h>.
20264 (__catanhf): Ensure underflow exception occurs for underflowed
20266 * math/s_catanhl.c: Include <float.h>.
20267 (__catanhl): Ensure underflow exception occurs for underflowed
20269 * math/s_catanl.c: Include <float.h>.
20270 (__catanl): Ensure underflow exception occurs for underflowed
20272 * math/libm-test.inc (catan_test): Add more tests.
20273 (catanh_test): Likewise.
20276 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
20277 underflowed result.
20278 * math/s_ccoshf.c (__ccoshf): Likewise.
20279 * math/s_ccoshl.c (__ccoshl): Likewise.
20280 * math/s_csin.c (__csin): Likewise.
20281 * math/s_csinf.c (__csinf): Likewise.
20282 * math/s_csinh.c (__csinh): Likewise.
20283 * math/s_csinhf.c (__csinhf): Likewise.
20284 * math/s_csinhl.c (__csinhl): Likewise.
20285 * math/s_csinl.c (__csinl): Likewise.
20286 * math/libm-test.inc (ccos_test): Add more tests.
20287 (ccosh_test): Likewise.
20288 (csin_test): Likewise.
20289 (csinh_test): Likewise.
20291 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20293 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
20294 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
20295 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
20296 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
20297 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
20298 powerpc/power5+/fpu folders.
20299 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
20302 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
20304 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20306 2013-04-25 Joseph Myers <joseph@codesourcery.com>
20308 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
20309 additions to variable.
20310 [$(config-machine) = x86_64] (modules-names): Likewise.
20311 ($(objpfx)tst-audit3): Remove dependency.
20312 ($(objpfx)tst-audit3.out): Likewise.
20313 ($(objpfx)tst-audit4): Likewise.
20314 ($(objpfx)tst-audit4.out): Likewise.
20315 ($(objpfx)tst-audit5): Likewise.
20316 ($(objpfx)tst-audit5.out): Likewise.
20317 ($(objpfx)tst-audit6): Likewise.
20318 ($(objpfx)tst-audit6.out): Likewise.
20319 ($(objpfx)tst-audit7): Likewise.
20320 ($(objpfx)tst-audit7.out): Likewise.
20321 (tst-audit3-ENV): Remove variable.
20322 (tst-audit4-ENV): Likewise.
20323 (tst-audit5-ENV): Likewise.
20324 (tst-audit6-ENV): Likewise.
20325 (tst-audit7-ENV): Likewise.
20326 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
20327 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
20328 addition to variable.
20329 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
20330 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
20331 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
20332 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
20333 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
20334 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
20335 tst-audit3, tst-audit4 and tst-audit5.
20336 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
20337 tst-audit6 and tst-audit7.
20338 [$(subdir) = elf] (modules-names): Add audit modules for those
20340 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
20341 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
20342 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
20343 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
20344 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
20345 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
20346 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
20347 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
20348 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
20349 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
20350 [$(subdir) = elf] (tst-audit3-ENV): New variable.
20351 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
20352 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
20353 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
20354 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
20355 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
20357 [$(subdir) = elf && $(config-cflags-avx) = yes]
20358 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
20359 [$(subdir) = elf && $(config-cflags-avx) = yes]
20360 (CFLAGS-tst-auditmod4a.c): Likewise.
20361 [$(subdir) = elf && $(config-cflags-avx) = yes]
20362 (CFLAGS-tst-auditmod4b.c): Likewise.
20363 [$(subdir) = elf && $(config-cflags-avx) = yes]
20364 (CFLAGS-tst-auditmod6b.c): Likewise.
20365 [$(subdir) = elf && $(config-cflags-avx) = yes]
20366 (CFLAGS-tst-auditmod6c.c): Likewise.
20367 [$(subdir) = elf && $(config-cflags-avx) = yes]
20368 (CFLAGS-tst-auditmod7b.c): Likewise.
20369 * elf/tst-audit3.c: Move to ...
20370 * sysdeps/x86_64/tst-audit3.c: ... here.
20371 * elf/tst-audit4.c: Move to ...
20372 * sysdeps/x86_64/tst-audit4.c: ... here.
20373 * elf/tst-audit5.c: Move to ...
20374 * sysdeps/x86_64/tst-audit5.c: ... here.
20375 * elf/tst-audit6.c: Move to ...
20376 * sysdeps/x86_64/tst-audit6.c: ... here.
20377 * elf/tst-audit7.c: Move to ...
20378 * sysdeps/x86_64/tst-audit7.c: ... here.
20379 * elf/tst-auditmod3a.c: Move to ...
20380 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
20381 * elf/tst-auditmod3b.c: Move to ...
20382 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
20383 * elf/tst-auditmod4a.c: Move to ...
20384 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
20385 * elf/tst-auditmod4b.c: Move to ...
20386 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
20387 * elf/tst-auditmod5a.c: Move to ...
20388 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
20389 * elf/tst-auditmod5b.c: Move to ...
20390 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
20391 * elf/tst-auditmod6a.c: Move to ...
20392 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
20393 * elf/tst-auditmod6b.c: Move to ...
20394 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
20395 * elf/tst-auditmod6c.c: Move to ...
20396 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
20397 * elf/tst-auditmod7a.c: Move to ...
20398 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
20399 * elf/tst-auditmod7b.c: Move to ...
20400 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
20402 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
20405 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
20406 define unconditionally.
20407 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
20408 define unconditionally.
20409 (INT8_C, INT16_C, etc.): Likewise.
20411 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
20413 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
20414 __ehdr_start with hidden visibility.
20416 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
20418 2013-04-24 Carlos O'Donell <carlos@redhat.com>
20420 * math/libm-test.inc (cos_test): Use accurate hex constants.
20421 (sincost_test): Likewise.
20423 2013-04-24 Joseph Myers <joseph@codesourcery.com>
20425 * math/libm-test.inc (catan_test): Add more tests.
20426 (catanh_test): Likewise.
20428 * math/s_catanf.c (__catanf): Use suffixed floating-point
20430 * math/s_catanhf.c (__catanhf): Likewise.
20431 * math/s_catanhl.c (__catanhl): Likewise.
20432 * math/s_catanl.c (__catanl): Likewise.
20435 * math/s_catan.c (__catan): Calculate imaginary part of result
20436 with log1p not log unless computing log of number close to 0.
20437 * math/s_catanf.c (__catanf): Likewise.
20438 * math/s_catanl.c (__catanl): Likewise.
20439 * math/s_catanh.c (__catanh): Calculate real part of result with
20440 log1p not log unless computing log of number close to 0.
20441 * math/s_catanhf.c (__catanhf): Likewise.
20442 * math/s_catanhl.c (__catanhl): Likewise.
20443 * math/libm-test.inc (catan_test): Add more tests.
20444 (catanh_test): Likewise.
20445 * sysdeps/i386/fpu/libm-test-ulps: Update.
20446 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20448 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
20450 * benchtests/Makefile: Mention files in which fast and slow
20451 paths of math functions are implemented.
20453 2013-04-23 Roland McGrath <roland@hack.frob.com>
20455 * sysdeps/posix/timespec_get.c: New file.
20457 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20459 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
20461 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
20463 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
20464 powerpc/power5/fpu folders.
20465 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
20466 * benchtests/Makefile: Add modf testcase.
20467 * benchtests/bench-modf.c: New file: Benchmark test for mo
20469 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
20472 * time/Makefile (tests): Add tst-strptime-whitespace.
20473 * time/strptime_l.c (get_number): Use ISSPACE.
20474 (__strptime_internal): Likewise.
20475 * time/tst-strptime-whitespace.c: New test case.
20477 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
20479 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
20481 (_nss_files_init): Set it here.
20483 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
20485 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
20486 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
20489 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
20491 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
20493 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
20495 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
20498 2013-04-21 David S. Miller <davem@davemloft.net>
20500 * po/ru.po: Update Russion translation from translation project.
20502 2013-04-17 Adam Conrad <adconrad@0c3.net>
20504 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
20507 2013-04-17 Carlos O'Donell <carlos@redhat.com>
20509 * configure.in: Remove i386 configure warning. Remove i386 case.
20510 * configure: Regenerate.
20511 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
20512 Add example to error message.
20513 * sysdeps/i386/configure: Regenerate.
20515 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20517 * benchtests/Makefile (bench): Add cos, tan, slowcos and
20519 * benchtests/cos-inputs: New file.
20520 * benchtests/slowcos-inputs: New file.
20521 * benchtests/slowcos.c: New file.
20522 * benchtests/slowtan-inputs: New file.
20523 * benchtests/slowtan.c: New file.
20524 * benchtests/tan-inputs: New file.
20526 2013-04-16 Roland McGrath <roland@hack.frob.com>
20528 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
20531 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20533 * benchtests/Makefile: Include cppflags-iterator.mk to add
20534 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
20536 * Makefile.in (bench-clean): New target.
20537 * benchtests/Makefile (bench-clean): Likewise.
20539 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
20541 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
20543 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
20545 * stdio-common/tstdiomisc.c: Fix coding-style violation.
20547 2013-04-15 Andreas Schwab <schwab@suse.de>
20549 * nscd/grpcache.c (cache_addgr): Properly check for short write.
20550 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20551 * nscd/pwdcache.c (cache_addpw): Likewise.
20552 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
20555 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20557 * benchtests/Makefile (bench): Write all output to
20558 bench-out.tmp together.
20560 2013-04-15 Andreas Schwab <schwab@suse.de>
20562 * nscd/nscd.c (main): Don't fork again after closing files.
20564 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20566 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
20568 * benchtests/Rules (bench-deps): Collect dependencies into a
20569 single variable. Add Makefile to dependencies.
20570 ($(objpfx)bench-%.c): Depend on bench-deps.
20572 2013-04-12 Roland McGrath <roland@hack.frob.com>
20573 Xavier Roche <roche+kml2@exalead.com>
20576 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
20577 just that it's a file descriptor.
20578 * manual/llio.texi (Synchronizing AIO Operations): Update description
20579 for EBADF error from aio_fsync.
20581 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
20583 * Rules (bench): Move target definition...
20584 * benchtests/Makefile: ... here.
20586 2013-04-11 Carlos O'Donell <carlos@redhat.com>
20588 * math/libm-test.inc (cos_test): Fix PI/2 test.
20589 (sincos_test): Likewise.
20590 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
20591 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
20593 2013-04-11 Andreas Schwab <schwab@suse.de>
20596 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
20597 accept exponent character only when digits were seen.
20598 * stdio-common/Makefile (tests): Add bug26.
20599 * stdio-common/bug26.c: New file.
20602 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
20605 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20607 * Makeconfig (rtld-prefix): Define built linker prefix.
20608 * Rules (run-bench): Use it.
20609 * math/Makefile (run-regen-ulps): Likewise.
20611 * Rules (bench): Remove eval.
20613 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20614 Roland McGrath <roland@hack.frob.com>
20615 Ondrej Bilka <neleai@seznam.cz>
20618 * time/getdate.c: Include ctype.h and alloca.h.
20619 (__getdate_r): Trim leading and trailing spaces of input.
20620 * time/tst-getdate.c (tests): Add tests with leading and
20623 2013-04-08 Roland McGrath <roland@hack.frob.com>
20626 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
20627 when computing value.
20629 2013-04-06 Carlos O'Donell <carlos@redhat.com>
20631 * math/README.libm-test (How can I generate "libm-test-ulps"?):
20632 Use testrun.sh to run libm tests.
20635 * elf/dl-open.c (dl_open_worker): memset all of seen array.
20637 2013-04-06 Marko Myllynen <myllynen@redhat.com>
20640 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
20642 2013-04-06 Carlos O'Donell <carlos@redhat.com>
20644 * Makefile.in (regen-ulps): New target.
20645 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
20646 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
20647 [ifneq (no,$(PERL)] (regen-ulps): New target.
20648 [ifeq (no,$(PERL)] (regen-ulps): New target.
20649 * math/libm-test.inc (ulps_file_name): Define.
20650 (output_dir): New variable.
20651 (options): Add "output-dir" option.
20652 (parse_opt): Handle 'o' case.
20653 (main): If output_dir is non-NULL use it as a prefix
20655 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
20657 2013-04-06 Carlos O'Donell <carlos@redhat.com>
20659 [BZ #10060, #10062]
20660 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
20661 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
20662 fail configure if __sync_val_compare_and_swap is not inlined.
20663 * sysdeps/i386/configure: Regenerate.
20664 * configure.in: Build for i686 when configured for i386.
20665 * configure: Regenerate.
20666 * README: Remove i386 reference.
20668 2013-04-06 Carlos O'Donell <carlos@redhat.com>
20670 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
20671 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20673 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
20675 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
20676 (lmsnanval): New variables.
20677 (F): Add conversion tests.
20678 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
20679 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
20681 * stdio-common/tstdiomisc.c (F): Properly collect individual
20684 [BZ #14686, #15336]
20685 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
20686 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
20687 Instead, use input NaN values or generate a qNaN by arithmetic
20688 operation. Also fix bugs to comply with the standard.
20689 * math/libm-test.inc (remainder_test): Add more tests.
20691 [BZ #15335, #15342]
20692 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
20693 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
20694 input NaN values or generate a qNaN by arithmetic operation.
20696 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
20699 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
20702 2013-04-03 Joseph Myers <joseph@codesourcery.com>
20705 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
20706 underflowed result.
20707 * math/s_cexpf.c (__cexpf): Likewise.
20708 * math/s_cexpl.c (__cexpl): Likewise.
20709 * math/libm-test.inc (cexp_test): Add more tests.
20711 2013-04-03 Andreas Schwab <schwab@suse.de>
20714 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
20715 order arrays from heap if bigger than alloca cutoff.
20717 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
20719 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
20720 (SNAN_TESTS_double): Refer to GCC PR56831.
20721 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
20724 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
20726 * Rules (bench): Move bench.out after the run is complete.
20728 * Rules (bench): Echo currently running benchmark.
20730 * benchtests/Makefile (bench): Add atan and slowatan.
20731 * benchtests/atan-inputs: New file.
20732 * benchtests/slowatan-inputs: New file.
20733 * benchtests/slowatan.c: New file.
20735 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
20736 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
20740 * sysdeps/unix/sysv/linux/kernel-features.h
20741 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
20742 __ASSUME_XFS_RESTRICTED_CHOWN.
20743 * sysdeps/unix/sysv/linux/pathconf.c
20744 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
20745 Save and restore errno.
20747 2013-04-02 Joseph Myers <joseph@codesourcery.com>
20750 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
20751 arguments using __kernel_casinh.
20752 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
20753 arguments using __kernel_casinhf.
20754 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
20755 arguments using __kernel_casinhl.
20756 * math/libm-test.inc (cacosh_test): Add more tests.
20757 * sysdeps/i386/fpu/libm-test-ulps: Update.
20758 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20760 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20762 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
20763 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
20765 * bench/Makefile (bench): Add sin and slowsin.
20766 * benchtests/sin-inputs: New file.
20767 * benchtests/slowsin-inputs: New file.
20768 * benchtests/slowsin.c: New file.
20770 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
20771 (bench): Add slowexp and slowpow.
20772 (exp-ITER): Increase iterations.
20773 (pow-ITER): Likewise.
20774 * benchtests/exp-inputs: Change input.
20775 * benchtests/pow-inputs: Likewise.
20776 * benchtests/slowexp-inputs: New file.
20777 * benchtests/slowexp.c: New file.
20778 * benchtests/slowpow-inputs: New file.
20779 * benchtests/slowpow.c: New file.
20781 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20783 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
20785 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
20786 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
20787 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
20788 * benchtests/Makefile: Add rint benchtest.
20789 * benchtests/rint-inputs: Input for rint benchtest.
20791 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
20793 * Versions.def (libm): Add GLIBC_2.18.
20794 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
20795 hidden libm prototypes.
20796 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
20797 * math/Makefile (libm-calls): Add s_issignaling.
20798 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
20799 __issignalingf, __issignalingl. Adjust all libm.abilist files.
20800 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
20802 * math/math.h [__USE_GNU] (issignaling): New macro.
20803 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
20804 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
20805 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
20806 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
20807 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
20808 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
20809 * manual/arith.texi (issignaling): New section.
20810 * manual/libm-err-tab.pl (@all_functions): Update comment.
20811 * math/gen-libm-test.pl (parse_args): Apply special handling for
20813 * math/libm-test.inc (print_float, issignaling_test): New
20815 (check_float_internal): Add issignaling checks.
20816 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
20817 default definition.
20818 * sysdeps/powerpc/math-tests.h: New file.
20819 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
20821 * math/test-snan.c (TEST_FUNC): Likewise.
20823 2013-03-30 David S. Miller <davem@davemloft.net>
20825 * po/de.po: Update from translation team.
20827 2013-03-30 Joseph Myers <joseph@codesourcery.com>
20830 * math/k_casinh.c (__kernel_casinh): Handle arguments with
20831 imaginary part less than 1.0 and real part less than 0.5
20833 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20834 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20835 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
20836 (cacos_test): Add more tests.
20837 (casin_test): Likewise.
20838 (casinh_test): Likewise.
20839 * sysdeps/i386/fpu/libm-test-ulps: Update.
20840 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20842 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20844 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
20845 ONE with its value.
20847 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
20848 (__pow_mp): Replace ONE and MONE with their values.
20849 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20850 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
20851 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20852 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
20853 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20854 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20856 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
20858 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
20859 (__pow_mp): Replace ZERO and MZERO with their values.
20860 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
20861 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20862 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20863 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20864 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20865 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
20868 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
20870 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
20872 2013-03-28 Roland McGrath <roland@hack.frob.com>
20874 * include/stdlib.h [!SHARED] (__call_tls_dtors):
20875 Declare with __attribute__ ((weak)).
20876 * stdlib/exit.c (__libc_atexit) [!SHARED]:
20877 Call __call_tls_dtors only if it's not NULL.
20879 2013-03-28 Roland McGrath <roland@hack.frob.com>
20881 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
20882 didn't do it already, then set _dl_phdr and _dl_phnum based on the
20883 magic __ehdr_start linker symbol if it's defined.
20884 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
20885 them up here if it was already done.
20887 * elf/dl-support.c (_dl_phdr): Make pointer to const.
20888 (_dl_aux_init): Use const in cast when setting it.
20889 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
20890 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
20891 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
20893 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
20895 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
20896 * csu/libc-tls.c: Nor here.
20897 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
20899 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
20900 (__libc_message): Never call vsyslog.
20902 2013-03-28 Alan Modra <amodra@gmail.com>
20904 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
20906 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
20909 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20912 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
20914 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20916 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20919 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
20920 Don't add gid passed as argument.
20922 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
20924 2013-03-27 Joseph Myers <joseph@codesourcery.com>
20927 * math/k_casinh.c (__kernel_casinh): Handle arguments with
20928 imaginary part between 1.0 and 1.5 and real part less than 0.5
20930 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20931 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20932 * math/libm-test.inc (cacos_test): Add more tests.
20933 (casin_test): Likewise.
20934 (casinh_test): Likewise.
20935 * sysdeps/i386/fpu/libm-test-ulps: Update.
20936 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20938 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20940 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
20943 (denorm): Likewise.
20944 (__dbl_mp): Likewise.
20945 (add_magnitudes): Likewise.
20946 (sub_magnitudes): Likewise.
20954 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
20956 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
20957 (__dubcos): Likewise.
20958 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
20959 (__ieee754_acos): Likewise.
20960 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
20961 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
20962 (__exp1): Likewise.
20963 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20964 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
20966 (my_log2): Likewise.
20967 (checkint): Likewise.
20968 * sysdeps/ieee754/dbl-64/e_remainder.c
20969 (__ieee754_remainder): Likewise.
20970 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20971 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
20972 (bsloww): Likewise.
20973 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20975 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
20976 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
20977 MANTISSA_STORE_T to store computations on mantissa. Use
20978 macros for rounding and division.
20979 (denorm): Likewise.
20980 (__dbl_mp): Likewise.
20981 (add_magnitudes): Likewise.
20982 (sub_magnitudes): Likewise.
20985 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
20986 powers of two in terms of TWOPOW macro.
20987 (mp_no): Make type of mantissa as MANTISSA_T.
20988 [!RADIXI]: Define RADIXI.
20989 [!TWO52]: Define TWO52.
20990 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
20992 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20994 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
20995 llroundl symbol when building for PPC32.
20997 2013-03-24 Mark H Weaver <mhw@netris.org>
20999 * manual/arith.texi (Normalization Functions): Fix prototypes for
21000 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
21002 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21005 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
21006 high value to check if expl overflow.
21007 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
21008 to check for underflow and overflow.
21009 * math/libm-test.inc: Add exp test.
21011 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
21014 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
21017 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21019 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
21022 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
21024 * math/gen-libm-test.pl (parse_args, special_functions): Properly
21025 wrap blocks consisting of several statements.
21027 * sysdeps/generic/math-tests.h: New file.
21028 * sysdeps/i386/fpu/math-tests.h: Likewise.
21029 * math/test-snan.c: Include it.
21030 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
21032 2013-03-21 Joseph Myers <joseph@codesourcery.com>
21035 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
21036 (__ieee754_j0l): Do not improve calculations using cos of twice
21037 input for inputs above LDBL_MAX / 2.0L.
21038 (__ieee754_y0l): Likewise.
21039 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
21040 (__ieee754_j1l): Do not improve calculations using cos of twice
21041 input for inputs above LDBL_MAX / 2.0L.
21042 (__ieee754_y1l): Likewise.
21043 * math/libm-test.inc (j0_test): Add another test.
21044 (j1_test): Likewise.
21045 (y0_test): Likewise.
21046 (y1_test): Likewise.
21047 * sysdeps/i386/fpu/libm-test-ulps: Update.
21049 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21051 * Rules ($(objpfx)bench-%.c): Include code from a C source
21054 2013-03-21 Joseph Myers <joseph@codesourcery.com>
21057 * math/k_casinh.c (__kernel_casinh): Handle arguments with
21058 imaginary part 1.0 and real part less than 0.5 specially.
21059 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21060 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21061 * math/libm-test.inc (cacos_test): Add more tests.
21062 (casin_test): Likewise.
21063 (casinh_test): Likewise.
21064 * sysdeps/i386/fpu/libm-test-ulps: Update.
21065 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21067 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21069 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
21070 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
21072 2013-03-20 Joseph Myers <joseph@codesourcery.com>
21074 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
21075 * config.make.in (config-cflags-sse4): Remove variable.
21076 (config-cflags-avx): Likewise.
21077 (config-cflags-sse2avx): Likewise.
21078 (config-cflags-novzeroupper): Likewise.
21079 (config-asflags-i686): Likewise.
21080 (have-mfma4): Likewise.
21081 (have-as-vis3): Likewise.
21083 * configure.in (MIG): Do not AC_SUBST.
21084 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
21085 (libc_cv_cc_sse4): Do not AC_SUBST.
21086 (libc_cv_cc_avx): Likewise.
21087 (libc_cv_cc_sse2avx): Likewise.
21088 (libc_cv_cc_novzeroupper): Likewise.
21089 (libc_cv_cc_fma4): Likewise.
21090 (libc_cv_as_i686): Likewise.
21091 (libc_cv_sparc_as_vis3): Likewise.
21092 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
21094 (config-asflags-i686): Likewise.
21095 (config-cflags-avx): Likewise.
21096 (config-cflags-sse2avx): Likewise.
21097 (have-mfma4): Likewise.
21098 (config-cflags-novzeroupper): Likewise.
21099 * sysdeps/mach/configure.in (MIG): Likewise.
21100 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
21101 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
21103 (config-cflags-avx): Likewise.
21104 (config-cflags-sse2avx): Likewise.
21105 (have-mfma4): Likewise.
21106 (config-cflags-novzeroupper): Likewise.
21107 * configure: Regenerated.
21108 * sysdeps/i386/configure: Likewise.
21109 * sysdeps/mach/configure: Likewise.
21110 * sysdeps/sparc/configure: Likewise.
21111 * sysdeps/x86_64/configure: Likewise.
21113 2013-03-20 Roland McGrath <roland@hack.frob.com>
21116 * locale/programs/localedef.c (options): Put N_ translation marker
21117 on argument names, not just descriptions.
21119 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21121 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
21123 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
21126 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
21128 2013-03-19 Roland McGrath <roland@hack.frob.com>
21130 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
21131 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
21132 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
21133 [!BEFORE_ABORT] (before_abort): New function.
21134 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
21135 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
21136 (writev_for_fatal): New function.
21137 (WRITEV_FOR_FATAL): New macro; call that.
21138 (backtrace_and_maps): New function.
21139 (BEFORE_ABORT): New macro; call that.
21140 (struct str_list): Type removed.
21141 (__libc_message, __libc_fatal): Functions removed.
21142 Include <sysdeps/posix/libc_fatal.c> instead.
21144 2013-03-19 Joseph Myers <joseph@codesourcery.com>
21146 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
21148 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
21151 2013-03-19 Andreas Schwab <schwab@suse.de>
21153 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
21154 * sysdeps/gnu/configure: Regenerate.
21156 * configure.in: Substitute libc_cv_rtlddir.
21157 * configure: Regenerate.
21158 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
21159 * Makeconfig (rtlddir, inst_rtlddir): New variables.
21160 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
21161 * elf/Makefile (install-others, CFLAGS-interp.c)
21162 (ldso_install, common-ldd-rewrite): Likewise.
21163 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
21164 $(inst_slibdir)/$(rtld-installed-name).
21165 * scripts/rellns-sh: Add -p option.
21166 * Makerules (make-shlib-link): Use rellns-sh to get relative name
21169 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21171 * manual/nptl.texi: Renamed to ...
21172 * manual/threads.texi: ... this.
21173 * manual/Makefile (chapters): Update.
21175 2013-03-18 Roland McGrath <roland@hack.frob.com>
21178 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
21179 on argument names, not just descriptions.
21180 * malloc/memusagestat.c (options): Likewise.
21181 * nss/getent.c (options): Likewise.
21183 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
21186 * iconv/iconv_prog.c (options): Put N_ translation marker
21187 on argument names, not just descriptions.
21188 * iconv/iconvconfig.c (options): Likewise.
21190 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
21192 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
21193 implementation which is faster on all x86_64 architectures.
21194 Tested on AMD, Intel Nehalem, SNB, IVB.
21195 * sysdeps/x86_64/strnlen.S: Likewise.
21197 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21198 Remove all multiarch strlen and strnlen versions.
21199 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
21200 Remove strlen and strnlen related parts.
21202 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
21203 Inline strlen part.
21204 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
21206 * sysdeps/x86_64/multiarch/strlen.S: Remove.
21207 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
21208 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
21209 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
21210 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
21211 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
21213 2013-03-17 Carlos O'Donell <carlos@redhat.com>
21215 * manual/memory.texi (Malloc Tunable Parameters):
21216 Sort parameters alphabetically. Add comments for missing entries.
21218 2013-03-17 David S. Miller <davem@davemloft.net>
21220 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21222 2013-03-16 Joseph Myers <joseph@codesourcery.com>
21225 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
21226 for arguments at most half maximum finite value.
21227 * math/libm-test.inc (j0_test): Add more tests.
21228 (j1_test): Likewise.
21229 (y0_test): Likewise.
21230 (y1_test): Likewise.
21231 * sysdeps/i386/fpu/libm-test-ulps: Update.
21232 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21235 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
21236 1 / x and functions P and Q for arguments above 0x1p256L.
21237 (__ieee754_y0l): Likewise.
21238 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
21239 (__ieee754_y1l): Likewise.
21240 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
21241 (j1_test): Likewise.
21242 (y0_test): Likewise.
21243 (y1_test): Likewise.
21245 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
21247 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
21250 2013-03-15 Roland McGrath <roland@hack.frob.com>
21252 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
21253 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
21254 zero since it's initialized to EXEC_PAGESIZE.
21256 * sysdeps/unix/sysv/linux/ldsodefs.h
21257 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
21258 * sysdeps/generic/ldsodefs.h: ... here.
21260 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
21262 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
21264 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
21266 * math/test-snan.c: Renamed from
21267 sysdeps/powerpc/fpu/test-powerpc-snan.c.
21268 * math/Makefile (tests): Add test-snan.
21269 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
21272 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
21273 SUFFIX. Initialize qNaN_var with __builtin_nan family of
21275 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
21276 __builtin_nan family of functions.
21277 * math/libm-test.inc (initialize): Initialize qnan_value with
21278 __builtin_nan family of functions.
21279 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
21281 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
21283 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
21284 storage class. Initialize qNaN_var and sNaN_var with
21285 __builtin_nan and __builtin_nans families of functions,
21288 * math/libm-test.inc (acosh_test): Also test with qNaN input.
21289 (sqrt_test): Remove duplicate test with qNaN input.
21290 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
21291 (round_test, signbit_test, significand_test): Note missing +/-Inf
21292 as well as qNaN tests.
21294 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
21295 qNaN_var. Fix a few strings, too.
21296 * math/libm-test.inc (nan_value): Rename to qnan_value.
21297 * math/gen-libm-test.pl (%beautify): Adjust to that.
21298 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
21299 * math/test-misc.c (main): Likewise.
21300 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
21301 to __qnan_bytes, and __qnan_union, respectively.
21302 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
21304 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
21305 and lqnanval, respectively.
21306 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
21307 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
21308 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
21309 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
21311 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
21312 * math/test-misc.c (main) [__x86_64__]: Enable test for long
21315 * math/test-misc.c (main): Fix copy'n'pastos.
21316 * misc/tst-efgcvt.c (special): Likewise.
21318 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
21319 Remove declarations.
21321 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21323 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
21324 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
21325 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
21326 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
21328 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21330 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
21331 macro to return vdso values correctly in IFUNC implementations.
21332 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
21333 Optimization by using IFUNC.
21335 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21336 Richard Henderson <rth@redhat.com>
21337 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21339 * Makefile.in (bench): New target.
21340 * NEWS: Mention the benchmark framework.
21341 * Rules (bench): Likewise.
21342 (binaries-bench): Generate binaries for functions to
21344 * benchtests/Makefile: New makefile for benchmark tests.
21345 * benchtests/bench-skeleton.c: New skeleton file for benchmark
21347 * benchtests/exp-inputs: New input file for EXP function.
21348 * benchtests/pow-inputs: New input file for POW function.
21349 * scripts/bench.pl: New script to generate source files for
21350 benchmark programs.
21352 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21354 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21355 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
21356 computations on mantissa. Use macros for rounding and
21358 (denorm): Likewise.
21359 (__dbl_mp): Likewise.
21360 (add_magnitudes): Likewise.
21361 (sub_magnitudes): Likewise.
21364 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
21365 powers of two in terms of TWOPOW macro.
21366 (mp_no): Make type of mantissa as MANTISSA_T.
21367 [!RADIXI]: Define RADIXI.
21368 [!TWO52]: Define TWO52.
21369 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21371 * manual/nptl.texi (cindex): Modify threads to pthreads.
21373 2013-03-15 Joseph Myers <joseph@codesourcery.com>
21375 * sysdeps/x86_64/preconfigure: Regenerated.
21377 2013-03-14 Joseph Myers <joseph@codesourcery.com>
21380 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
21382 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
21383 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
21385 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
21386 * math/libm-test.inc (j0_test): Do not allow one spurious
21387 underflow exception.
21388 (y1_test): Likewise.
21390 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21392 * manual/Makefile (chapters): Add nptl.
21393 * manual/debug.texi (Debugging Support): Add link to Threads
21395 * manual/nptl.texi: New file.
21397 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
21399 2013-03-14 Petr Baudis <pasky@ucw.cz>
21401 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
21402 for non-NULL pointer before the memory validity test. Pointed
21403 out by Holger Brunck <holger.brunck@keymile.com>.
21405 2013-03-13 Andreas Schwab <schwab@suse.de>
21407 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
21410 2013-03-13 Joseph Myers <joseph@codesourcery.com>
21412 * timezone/zic.c: Update from tzcode 2013b.
21414 2013-03-12 Carlos O'Donell <carlos@redhat.com>
21416 * manual/install.texi (Configuring and compiling):
21417 Mention i686 and i586.
21418 * INSTALL: Regenerate.
21420 2013-03-12 Roland McGrath <roland@hack.frob.com>
21422 * sysdeps/init_array/elf-init.c: New file.
21424 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
21425 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
21427 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
21428 __gmon_start__ as global, but as static with a .preinit_array pointer.
21429 * sysdeps/init_array/gmon-start.c: New file. Use that.
21430 * sysdeps/init_array/crti.S: New file, empty except for comments.
21431 * sysdeps/init_array/crtn.S: Likewise.
21433 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
21435 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
21437 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21438 Remove Prefer_SSE_for_memop.
21439 * sysdeps/x86_64/multiarch/init-arch.h: Remove
21440 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
21441 HAS_PREFER_SSE_FOR_MEMOP.
21442 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
21444 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21445 Remove bzero, memset ifunc support.
21446 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
21447 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
21448 * sysdeps/x86_64/multiarch/memset.S: Likewise.
21449 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21451 2013-03-11 Andreas Schwab <schwab@suse.de>
21454 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
21456 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
21457 (GLIBC_2.16): Remove pthread_atfork.
21459 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
21461 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
21462 (ptestcases.h): Likewise.
21464 2013-03-08 Roland McGrath <roland@hack.frob.com>
21466 * Makeconfig ($(common-objpfx)config.status): Depend on
21467 sysdeps/*/preconfigure{,.in} too.
21469 2013-03-08 Joseph Myers <joseph@codesourcery.com>
21471 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
21472 (__free_hook): Use void * instead of __malloc_ptr_t.
21473 (__malloc_hook): Likewise.
21474 (__realloc_hook): Likewise.
21475 (__memalign_hook): Likewise.
21476 (__after_morecore_hook): Likewise.
21477 * malloc/arena.c (save_malloc_hook): Likewise.
21478 (save_free_hook): Likewise.
21479 * malloc/hooks.c (malloc_hook_ini): Likewise.
21480 (realloc_hook_ini): Likewise.
21481 (memalign_hook_ini): Likewise.
21482 * malloc/malloc.c (malloc_hook_ini): Likewise.
21483 (realloc_hook_ini): Likewise.
21484 (memalign_hook_ini): Likewise.
21485 (__free_hook): Likewise.
21486 (__malloc_hook): Likewise.
21487 (__realloc_hook): Likewise.
21488 (__memalign_hook): Likewise.
21489 (__libc_malloc): Likewise.
21490 (__libc_free): Likewise.
21491 (__libc_realloc): Likewise.
21492 (__libc_memalign): Likewise.
21493 (__libc_valloc): Likewise.
21494 (__libc_pvalloc): Likewise.
21495 (__libc_calloc): Likewise.
21496 (__posix_memalign): Likewise.
21497 * malloc/morecore.c (__sbrk): Likewise.
21498 (__default_morecore): Likewise.
21500 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
21502 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
21503 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
21504 __malloc_ptrdiff_t.
21506 * malloc/malloc.h (__malloc_size_t): Remove macro.
21507 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
21509 (old_memalign_hook): Likewise.
21510 (old_realloc_hook): Likewise.
21511 (struct hdr): Likewise.
21513 (mallochook): Likewise.
21514 (memalignhook): Likewise.
21515 (reallochook): Likewise.
21516 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
21517 (tr_old_realloc_hook): Likewise.
21518 (tr_old_memalign_hook): Likewise.
21519 (tr_mallochook): Likewise.
21520 (tr_reallochook): Likewise.
21521 (tr_memalignhook): Likewise.
21523 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21525 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
21526 default_ldbl_pack and using as default implementation.
21527 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
21529 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
21530 redundant definition.
21531 (ldbl_insert_mantissa): Likewise.
21532 (ldbl_canonicalize): Likewise.
21533 (ldbl_nearbyint): Likewise.
21534 (ldbl_pack): Rename to ldbl_pack_ppc.
21535 (ldbl_unpack): Rename to ldbl_unpack_ppc.
21536 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
21537 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
21539 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
21541 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
21542 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
21543 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
21544 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
21545 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
21546 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
21547 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
21548 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
21550 2013-03-07 Andreas Jaeger <aj@suse.de>
21552 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21555 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
21557 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
21558 Include mpa.h and declare __MPEXP.
21559 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
21560 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21561 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21562 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
21563 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21564 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21565 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
21567 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
21568 (__slowpow): Use long double EXPL and LOGL functions to
21570 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21571 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21572 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
21573 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21574 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21575 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
21577 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
21578 intermediate variable to calculate exponent.
21580 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
21584 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
21585 [!NO__SQR]: Define __sqr.
21586 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
21587 and NO__SQR. Remove all code except __mul and __sqr. Include
21588 sysdeps/ieee754/dbl-64/mpa.c.
21589 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21592 * posix/Makefile (tests): Add tst-pathconf.
21593 * posix/tst-pathconf.c: New test case.
21594 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
21596 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
21598 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
21600 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
21602 2013-03-06 Andreas Jaeger <aj@suse.de>
21604 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
21605 definition via __MAP_ANONYMOUS.
21607 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
21608 it's not part of Linux headers.
21610 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
21611 (MAP_HUGE_MASK): Define.
21613 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21615 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21616 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21618 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21619 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21621 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21622 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
21624 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21626 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
21627 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
21628 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
21629 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
21630 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
21631 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
21633 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
21636 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21637 Handle f2fs and efivarfs.
21639 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
21642 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
21643 (EFIVARFS_MAGIC): Add.
21644 (F2FS_LINK_MAX): Add.
21646 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21648 * stdio-common/vfprintf.c: Replace __builtin_expect with
21651 2013-03-06 Joseph Myers <joseph@codesourcery.com>
21654 * sysdeps/generic/bp-sym.h: Remove file.
21655 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
21656 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
21657 <bp-sym.h> and <bp-asm.h>.
21658 (__longjmp): Don't use BP_SYM.
21659 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
21661 (memcpy): Don't use BP_SYM.
21662 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
21663 <bp-sym.h> and <bp-asm.h>.
21664 (memcpy): Don't use BP_SYM.
21665 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
21667 (memcpy): Don't use BP_SYM.
21668 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
21670 (memset): Don't use BP_SYM.
21671 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21672 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21673 (__bzero): Don't use BP_SYM.
21674 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21675 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21676 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
21677 <bp-sym.h> and <bp-asm.h>.
21678 (memcmp): Don't use BP_SYM. Remove comment about bounded
21680 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
21681 <bp-sym.h> and <bp-asm.h>.
21682 (memcpy): Don't use BP_SYM.
21683 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
21684 <bp-sym.h> and <bp-asm.h>.
21685 (memset): Don't use BP_SYM.
21686 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21687 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21688 (__bzero): Don't use BP_SYM.
21689 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21690 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21691 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
21692 <bp-sym.h> and <bp-asm.h>.
21693 (strncmp): Don't use BP_SYM. Remove comment about bounded
21695 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
21696 <bp-sym.h> and <bp-asm.h>.
21697 (memcpy): Don't use BP_SYM.
21698 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
21699 <bp-sym.h> and <bp-asm.h>.
21700 (memset): Don't use BP_SYM.
21701 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21702 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21703 (__bzero): Don't use BP_SYM.
21704 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21705 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21706 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
21707 <bp-sym.h> and <bp-asm.h>.
21708 (__memchr): Don't use BP_SYM.
21709 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
21710 <bp-sym.h> and <bp-asm.h>.
21711 (memcmp): Don't use BP_SYM. Remove comment about bounded
21713 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
21714 <bp-sym.h> and <bp-asm.h>.
21715 (memcpy): Don't use BP_SYM.
21716 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
21717 <bp-sym.h> and <bp-asm.h>.
21718 (__mempcpy): Don't use BP_SYM.
21719 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
21720 <bp-sym.h> and <bp-asm.h>.
21721 (__memrchr): Don't use BP_SYM.
21722 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
21723 <bp-sym.h> and <bp-asm.h>.
21724 (memset): Don't use BP_SYM.
21725 (__bzero): Likewise.
21726 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
21727 <bp-sym.h> and <bp-asm.h>.
21728 (__rawmemchr): Don't use BP_SYM.
21729 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
21730 <bp-sym.h> and <bp-asm.h>.
21731 (__STRCMP): Don't use BP_SYM.
21732 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
21733 <bp-sym.h> and <bp-asm.h>.
21734 (strchr): Don't use BP_SYM.
21735 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
21736 <bp-sym.h> and <bp-asm.h>.
21737 (__strchrnul): Don't use BP_SYM.
21738 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
21739 <bp-sym.h> and <bp-asm.h>.
21740 (strlen): Don't use BP_SYM.
21741 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
21742 <bp-sym.h> and <bp-asm.h>.
21743 (strncmp): Don't use BP_SYM. Remove comment about bounded
21745 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
21746 <bp-sym.h> and <bp-asm.h>.
21747 (__strnlen): Don't use BP_SYM.
21748 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
21749 <bp-sym.h> and <bp-asm.h>.
21750 (__GI__setjmp): Don't use BP_SYM.
21751 (_setjmp): Likewise.
21752 (__sigsetjmp): Likewise.
21753 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
21754 (L(start_addresses)): Don't use BP_SYM.
21755 (_start): Likewise.
21756 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
21758 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
21759 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
21760 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21761 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21762 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
21764 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
21765 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
21766 about bounded pointers.
21767 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21768 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21769 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
21771 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
21772 about bounded pointers. Remove GKM FIXME comments.
21773 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21774 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
21776 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
21777 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
21778 Remove GKM FIXME comments.
21779 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21780 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21781 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
21783 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
21784 about bounded pointers. Remove GKM FIXME comment.
21785 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
21787 (strncmp): Don't use BP_SYM. Remove comment about bounded
21789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
21790 <bp-sym.h> and <bp-asm.h>.
21791 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
21792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
21793 <bp-sym.h> and <bp-asm.h>.
21794 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
21797 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21799 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
21802 2013-03-05 David S. Miller <davem@davemloft.net>
21804 * po/es.po: Update from translation team.
21806 2013-03-05 Andreas Jaeger <aj@suse.de>
21808 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
21809 <bits/mman-linux.h>.
21810 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21812 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
21813 <bits/mman-linux.h> to end of file.
21814 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21816 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
21817 <bits/mman-linux.h> to end of file.
21818 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21820 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
21821 <bits/mman-linux.h> to end of file.
21823 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
21824 (MCL_CURRENT, MCL_FUTURE): Define here.
21826 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21829 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
21831 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
21833 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21835 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
21836 fourth parameter needed for rt_sigprocmask syscall.
21837 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
21838 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
21839 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
21840 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
21841 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
21842 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
21844 2013-03-04 Joseph Myers <joseph@codesourcery.com>
21847 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
21848 comment about bounded pointers.
21849 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
21850 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
21852 2013-03-04 Andreas Jaeger <aj@suse.de>
21854 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
21855 common definitions.
21857 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
21858 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
21859 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
21860 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21861 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
21862 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21864 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21867 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
21868 __ieee754_sqrl instead of __sqrl.
21870 2013-03-01 Joseph Myers <joseph@codesourcery.com>
21872 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
21873 * sysdeps/powerpc/fpu_control.h: ... here.
21874 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
21875 * sysdeps/powerpc/bits/fenvinline.h: ... here.
21876 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
21877 * sysdeps/powerpc/bits/mathinline.h: ... here.
21879 2013-03-01 Roland McGrath <roland@hack.frob.com>
21881 * elf/dl-hwcaps.c (_dl_important_hwcaps):
21882 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
21883 to just [NEED_DL_SYSINFO_DSO].
21884 * elf/dl-support.c: Likewise.
21885 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
21886 * elf/rtld.c (dl_main): Likewise.
21887 * elf/setup-vdso.h (setup_vdso): Likewise.
21888 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
21889 * sysdeps/unix/sysv/linux/dl-sysdep.c
21890 (_dl_discover_osversion): Likewise.
21892 2013-03-01 Carlos O'Donell <carlos@redhat.com>
21894 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
21895 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
21897 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
21899 * NEWS: Mention libm performance improvements and non-x86 PI
21902 * csu/libc-start.c (__pthread_initialize_minimal): Change
21903 function arguments.
21904 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
21906 2013-02-28 Joseph Myers <joseph@codesourcery.com>
21909 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
21910 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
21911 <bp-sym.h> and <bp-asm.h>.
21912 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21913 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
21915 (memcpy): Don't use BP_SYM.
21916 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
21918 (__mpn_add_n): Don't use BP_SYM.
21919 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
21920 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
21922 (__mpn_addmul_1): Don't use BP_SYM.
21923 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21924 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
21926 (_setjmp): Don't use BP_SYM.
21927 (__novmx_setjmp): Likewise.
21928 (__GI__setjmp): Likewise.
21929 (__vmx_setjmp): Likewise.
21930 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
21932 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
21933 (__bzero): Don't use BP_SYM.
21934 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21935 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21936 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
21937 <bp-sym.h> and <bp-asm.h>.
21938 (memcpy): Don't use BP_SYM.
21939 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
21940 <bp-sym.h> and <bp-asm.h>.
21941 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21942 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
21943 <bp-sym.h> and <bp-asm.h>.
21944 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21945 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
21947 (__mpn_lshift): Don't use BP_SYM.
21948 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21949 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
21951 (memset): Don't use BP_SYM.
21952 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21953 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21954 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
21956 (__mpn_mul_1): Don't use BP_SYM.
21957 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21958 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
21959 <bp-sym.h> and <bp-asm.h>.
21960 (memcmp): Don't use BP_SYM.
21961 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
21962 <bp-sym.h> and <bp-asm.h>.
21963 (memcpy): Don't use BP_SYM.
21964 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
21965 <bp-sym.h> and <bp-asm.h>.
21966 (memset): Don't use BP_SYM.
21967 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
21968 <bp-sym.h> and <bp-asm.h>.
21969 (strncmp): Don't use BP_SYM.
21970 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
21971 <bp-sym.h> and <bp-asm.h>.
21972 (memcpy): Don't use BP_SYM.
21973 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
21974 <bp-sym.h> and <bp-asm.h>.
21975 (memset): Don't use BP_SYM.
21976 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
21977 <bp-sym.h> and <bp-asm.h>.
21978 (__memchr): Don't use BP_SYM.
21979 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
21980 <bp-sym.h> and <bp-asm.h>.
21981 (memcmp): Don't use BP_SYM.
21982 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
21983 <bp-sym.h> and <bp-asm.h>.
21984 (memcpy): Don't use BP_SYM.
21985 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
21986 <bp-sym.h> and <bp-asm.h>.
21987 (__mempcpy): Don't use BP_SYM.
21988 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
21989 <bp-sym.h> and <bp-asm.h>.
21990 (__memrchr): Don't use BP_SYM.
21991 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
21992 <bp-sym.h> and <bp-asm.h>.
21993 (memset): Don't use BP_SYM.
21994 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
21995 <bp-sym.h> and <bp-asm.h>.
21996 (__rawmemchr): Don't use BP_SYM.
21997 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
21998 <bp-sym.h> and <bp-asm.h>.
21999 (__STRCMP): Don't use BP_SYM.
22000 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
22001 <bp-sym.h> and <bp-asm.h>.
22002 (strchr): Don't use BP_SYM.
22003 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
22004 <bp-sym.h> and <bp-asm.h>.
22005 (__strchrnul): Don't use BP_SYM.
22006 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
22007 <bp-sym.h> and <bp-asm.h>.
22008 (strlen): Don't use BP_SYM.
22009 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
22010 <bp-sym.h> and <bp-asm.h>.
22011 (strncmp): Don't use BP_SYM.
22012 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
22013 <bp-sym.h> and <bp-asm.h>.
22014 (__strnlen): Don't use BP_SYM.
22015 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
22017 (__mpn_rshift): Don't use BP_SYM.
22018 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22019 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
22020 <bp-sym.h> and <bp-asm.h>.
22021 (__sigsetjmp): Don't use BP_SYM.
22022 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
22023 (L(start_addresses)): Don't use BP_SYM.
22024 (_start): Likewise.
22025 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
22027 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
22028 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22029 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22030 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
22032 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
22033 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22034 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22035 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
22037 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
22039 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22040 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
22042 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
22044 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22045 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22046 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
22048 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
22050 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
22052 (strncmp): Don't use BP_SYM,
22053 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
22055 (__mpn_sub_n): Don't use BP_SYM.
22056 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22057 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
22059 (__mpn_submul_1): Don't use BP_SYM.
22060 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
22062 <bp-sym.h> and <bp-asm.h>.
22063 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
22064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
22065 <bp-sym.h> and <bp-asm.h>.
22066 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
22069 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22071 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
22072 Use ZK to minimize writes to Z.
22073 (sub_magnitudes): Simplify code a bit.
22074 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
22075 Use ZK to minimize writes to Z.
22076 (sub_magnitudes): Simplify code a bit.
22078 2013-02-27 Roland McGrath <roland@hack.frob.com>
22080 * csu/gmon-start.c: Add special exception to license text.
22082 2013-02-27 Richard Henderson <rth@redhat.com>
22084 * scripts/config.guess: Update from config.git.
22085 * scripts/config.sub: Likewise.
22087 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22089 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
22091 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
22093 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
22095 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
22097 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
22099 2013-02-26 Roland McGrath <roland@hack.frob.com>
22101 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
22102 [$(build-shared = yes].
22104 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22106 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
22107 (__mul): Reduce iterations for calculating mantissa.
22109 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
22111 (__mpranred): Likewise.
22114 * malloc/memusagestat.c (main): Draw graphs for heap and stack
22115 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
22117 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
22119 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
22120 Define __attribute__.
22122 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22124 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
22126 * posix/regex_internal.h (__attribute): Remove.
22127 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
22128 (re_string_context_at): Likewise.
22129 (bitset_not): Use __attribute__ and mark function as possibly
22131 (bitset_merge): Likewise.
22132 (bitset_mask): Likewise.
22133 (re_string_char_size_at): Likewise.
22134 (re_string_wchar_at): Likewise.
22135 (re_string_elem_size_at): Likewise.
22137 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22139 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
22143 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
22147 (denorm): Likewise.
22148 (__dbl_mp): Likewise.
22149 (add_magnitudes): Likewise.
22150 (sub_magnitudes): Likewise.
22154 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
22157 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
22160 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
22163 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
22164 up changes with default code.
22165 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
22168 2013-02-24 Allan McRae <allan@archlinux.org>
22170 * manual/socket.texi (The Internet Namespace): Order menu items
22171 to match that in the file.
22173 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
22174 node listing of the info page menu.
22176 2013-02-21 Joseph Myers <joseph@codesourcery.com>
22179 * sysdeps/i386/bp-asm.h: Remove file.
22180 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22181 (PARMS): Do not use macros from bp-asm.h.
22185 (__mpn_add_n): Do not use BP_SYM
22186 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
22188 (PARMS): Do not use macros from bp-asm.h.
22191 (__mpn_addmul_1): Do not use BP_SYM
22192 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
22194 (PARMS): Do not use macros from bp-asm.h.
22195 (SIGMSK): Likewise.
22196 (_setjmp): Likewise. Do not use BP_SYM.
22197 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
22199 (PARMS): Do not use macros from bp-asm.h.
22200 (SIGMSK): Likewise.
22201 (setjmp): Likewise. Do not use BP_SYM.
22202 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
22204 (PARMS): Do not use macros from bp-asm.h.
22205 (__frexp): Do not use BP_SYM.
22207 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
22209 (PARMS): Do not use macros from bp-asm.h.
22210 (__frexpf): Do not use BP_SYM.
22211 (frexpf): Likewise.
22212 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
22214 (PARMS): Do not use macros from bp-asm.h.
22215 (__frexpl): Do not use BP_SYM.
22216 (frexpl): Likewise.
22217 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
22219 (PARMS): Do not use macros from bp-asm.h.
22220 (__remquo): Do not use BP_SYM.
22221 (remquo): Likewise.
22222 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
22224 (PARMS): Do not use macros from bp-asm.h.
22225 (__remquof): Do not use BP_SYM.
22226 (remquof): Likewise.
22227 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
22229 (PARMS): Do not use macros from bp-asm.h.
22230 (__remquol): Do not use BP_SYM.
22231 (remquol): Likewise.
22232 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
22234 (PARMS): Do not use macros from bp-asm.h.
22237 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
22238 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
22240 (PARMS): Do not use macros from bp-asm.h.
22241 (strlen): Do not use BP_SYM.
22242 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
22244 (PARMS): Do not use macros from bp-asm.h.
22248 (__mpn_add_n): Do not use BP_SYM.
22249 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
22251 (PARMS): Do not use macros from bp-asm.h.
22254 (__mpn_addmul_1): Do not use BP_SYM.
22255 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
22258 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
22260 (PARMS): Do not use macros from bp-asm.h.
22263 (__mpn_lshift): Do not use BP_SYM.
22264 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
22266 (PARMS): Do not use macros from bp-asm.h.
22270 (memcpy): Likewise. Do not use BP_SYM.
22271 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
22272 libc_hidden_def and weak_alias.
22273 (mempcpy): Do not use BP_SYM in weak_alias.
22274 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
22276 (PARMS): Do not use macros from bp-asm.h.
22279 [!BZERO_P] (CHR): Likewise.
22280 (memset): Likewise. Do not use BP_SYM.
22281 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
22283 (PARMS): Do not use macros from bp-asm.h.
22286 (__mpn_mul_1): Do not use BP_SYM.
22287 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
22289 (PARMS): Do not use macros from bp-asm.h.
22292 (__mpn_rshift): Do not use BP_SYM.
22293 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
22295 (PARMS): Do not use macros from bp-asm.h.
22298 (strchr): Likewise. Do not use BP_SYM.
22299 (index): Do not use BP_SYM in weak_alias.
22300 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
22302 (PARMS): Do not use macros from bp-asm.h.
22305 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
22306 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
22308 (PARMS): Do not use macros from bp-asm.h.
22309 (strlen): Do not use BP_SYM.
22310 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
22312 (PARMS): Do not use macros from bp-asm.h.
22316 (__mpn_sub_n): Do not use BP_SYM.
22317 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
22319 (PARMS): Do not use macros from bp-asm.h.
22322 (__mpn_submul_1): Do not use BP_SYM.
22323 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
22325 (PARMS): Do not use macros from bp-asm.h.
22329 (__mpn_add_n): Do not use BP_SYM.
22330 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
22333 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
22335 (PARMS): Do not use macros from bp-asm.h.
22338 (memcmp): Do not use BP_SYM.
22339 (bcmp): Do not use BP_SYM in weak_alias.
22340 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
22342 (PARMS): Do not use macros from bp-asm.h.
22346 (memcpy): Likewise. Do not use BP_SYM.
22347 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
22349 (PARMS): Do not use macros from bp-asm.h.
22353 (memmove): Likewise. Do not use BP_SYM.
22354 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
22356 (PARMS): Do not use macros from bp-asm.h.
22360 (__mempcpy): Likewise. Do not use BP_SYM.
22361 (mempcpy): Do not use BP_SYM in weak_alias.
22362 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
22364 (PARMS): Do not use macros from bp-asm.h.
22367 [!BZERO_P] (CHR): Likewise.
22368 (memset): Likewise. Do not use BP_SYM.
22369 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
22371 (PARMS): Do not use macros from bp-asm.h.
22373 (strcmp): Do not use BP_SYM.
22374 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
22376 (PARMS): Do not use macros from bp-asm.h.
22379 [USE_AS_STRTOK_R] (SAVE): Likewise.
22380 (FUNCTION): Likewise. Do not use BP_SYM.
22381 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
22383 (strtok_r): Likewise.
22384 (__GI___strtok_r): Likewise.
22385 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22386 (PARMS): Do not use macros from bp-asm.h.
22389 (__mpn_lshift): Do not use BP_SYM.
22390 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22391 (PARMS): Do not use macros from bp-asm.h.
22394 (__memchr): Do not use BP_SYM.
22395 (memchr): Do not use BP_SYM in weak_alias.
22396 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22397 (PARMS): Do not use macros from bp-asm.h.
22400 (memcmp): Do not use BP_SYM.
22401 (bcmp): Do not use BP_SYM in weak_alias.
22402 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
22403 (PARMS): Do not use macros from bp-asm.h.
22406 (__mpn_mul_1): Do not use BP_SYM.
22407 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
22409 (PARMS): Do not use macros from bp-asm.h.
22412 (__rawmemchr): Do not use BP_SYM.
22413 (rawmemchr): Do not use BP_SYM in weak_alias.
22414 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22415 (PARMS): Do not use macros from bp-asm.h.
22418 (__mpn_rshift): Do not use BP_SYM.
22419 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22420 (PARMS): Do not use macros from bp-asm.h.
22421 (SIGMSK): Likewise.
22422 (__sigsetjmp): Likewise. Do not use BP_SYM.
22423 * sysdeps/i386/start.S: Do not include "bp-sym.h".
22424 (_start): Do not use BP_SYM.
22425 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
22426 (PARMS): Do not use macros from bp-asm.h.
22429 (__stpcpy): Likewise. Do not use BP_SYM.
22430 (stpcpy): Do not use BP_SYM in weak_alias.
22431 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
22433 (PARMS): Do not use macros from bp-asm.h.
22437 (__stpncpy): Likewise. Do not use BP_SYM.
22438 (stpncpy): Do not use BP_SYM in weak_alias.
22439 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22440 (PARMS): Do not use macros from bp-asm.h.
22443 (strchr): Likewise. Do not use BP_SYM.
22444 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
22446 (PARMS): Do not use macros from bp-asm.h.
22449 (__strchrnul): Likewise. Do not use BP_SYM.
22450 (strchrnul): Do not use BP_SYM in weak_alias.
22451 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
22453 (PARMS): Do not use macros from bp-asm.h.
22455 (strcspn): Do not use BP_SYM.
22456 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
22458 (PARMS): Do not use macros from bp-asm.h.
22461 (strpbrk): Likewise. Do not use BP_SYM.
22462 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
22464 (PARMS): Do not use macros from bp-asm.h.
22467 (strrchr): Likewise. Do not use BP_SYM.
22468 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
22469 (PARMS): Do not use macros from bp-asm.h.
22471 (strspn): Do not use BP_SYM.
22472 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
22473 (PARMS): Do not use macros from bp-asm.h.
22477 (FUNCTION): Likewise. Do not use BP_SYM.
22478 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
22480 (strtok_r): Likewise.
22481 (__GI___strtok_r): Likewise.
22482 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22483 (PARMS): Do not use macros from bp-asm.h.
22487 (__mpn_sub_n): Do not use BP_SYM.
22488 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
22490 (PARMS): Do not use macros from bp-asm.h.
22493 (__mpn_submul_1): Do not use BP_SYM.
22494 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
22496 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
22498 (PARMS): Do not use macros from bp-asm.h.
22503 (__clone): Do not use BP_SYM.
22504 (clone): Do not use BP_SYM in weak_alias.
22505 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
22507 (PARMS): Do not use macros from bp-asm.h.
22509 (__mmap64): Do not use BP_SYM.
22510 (mmap64): Do not use BP_SYM in weak_alias.
22511 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
22512 <bp-sym.h> and <bp-asm.h>.
22513 (PARMS): Do not use macros from bp-asm.h.
22514 (__posix_fadvise64_l64): Do not use BP_SYM.
22515 * sysdeps/unix/sysv/linux/i386/semtimedop.S
22516 (PARMS): Do not use macros from bp-asm.h.
22518 (semtimedop): Do not use BP_SYM.
22519 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
22522 2013-02-21 Allan McRae <allan@archlinux.org>
22524 * manual/message.texi (Charset conversion in gettext):
22525 Move @end statement to beginning of line.
22527 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22529 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
22531 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
22534 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
22535 (denorm): Likewise.
22536 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
22537 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
22539 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22541 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
22542 tail-call to the resolved function if pltexit isn't needed.
22544 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22546 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
22547 or Y being zero as being unlikely.
22548 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
22551 2013-02-20 Carlos O'Donell <carlos@redhat.com>
22553 * manual/nss.texi (System Databases and Name Service Switch):
22554 Remove frobnicate @pxref.
22556 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
22558 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22559 __attribute__ ((unused)) to __attribute__ ((__unused__)).
22561 2013-02-20 Petr Machata <pmachata@redhat.com>
22563 * elf/elf.h (R_ARM_TARGET1): New macro.
22564 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
22565 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
22566 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
22567 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
22568 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
22569 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
22570 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
22571 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
22572 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
22573 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
22574 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
22575 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
22576 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
22577 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
22578 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
22579 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
22580 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
22581 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
22582 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
22583 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
22584 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
22585 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
22586 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
22587 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
22588 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
22589 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
22590 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
22591 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
22592 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
22593 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
22594 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
22595 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
22596 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
22597 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
22598 (R_ARM_THM_GOT_BREL12): Likewise.
22599 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
22600 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
22601 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
22602 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
22603 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
22604 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
22605 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
22606 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
22607 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
22609 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
22611 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22612 __attribute_used__ to __attribute__ ((unused)).
22614 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22616 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
22618 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
22619 comment formatting.
22620 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
22622 2013-02-19 Joseph Myers <joseph@codesourcery.com>
22625 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
22627 (ENTER): Remove both macro definitions.
22629 (CHECK_BOUNDS_LOW): Likewise.
22630 (CHECK_BOUNDS_HIGH): Likewise.
22631 (CHECK_BOUNDS_BOTH): Likewise.
22632 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
22633 (RETURN_BOUNDED_POINTER): Likewise.
22634 (RETURN_NULL_BOUNDED_POINTER): Likewise.
22635 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
22636 (POP_ERRNO_LOCATION_RETURN): Likewise.
22637 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
22638 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22639 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
22641 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22642 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
22643 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
22644 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
22645 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
22646 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
22647 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
22648 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
22649 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
22650 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
22651 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
22652 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
22653 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22654 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
22656 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22657 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
22659 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22660 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
22661 * sysdeps/i386/i586/memset.S (memset): Likewise.
22662 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
22663 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22664 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
22666 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22667 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
22668 Change uses of L(2) to L(out).
22669 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
22670 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
22671 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
22672 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22673 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
22675 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22676 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
22678 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22679 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
22680 (RETURN): Do not use macro LEAVE.
22681 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
22682 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
22683 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
22684 * sysdeps/i386/i686/memset.S (memset): Likewise.
22685 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
22686 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
22687 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22688 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
22690 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22691 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
22692 L(1_2) and L(1_3) into L(1).
22693 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22694 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
22695 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22696 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
22697 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22698 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
22699 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
22700 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22701 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
22703 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
22704 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22705 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
22706 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
22707 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
22708 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22709 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
22710 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
22711 * sysdeps/i386/strcspn.S (strcspn): Likewise.
22712 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
22713 * sysdeps/i386/strrchr.S (strrchr): Likewise.
22714 * sysdeps/i386/strspn.S (strspn): Likewise.
22715 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
22717 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22718 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
22719 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22720 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
22721 L(1_3) into L(1_1).
22722 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
22723 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22724 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
22726 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22728 2013-02-19 Jakub Jelinek <jakub@redhat.com>
22730 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
22733 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22735 * math/atest-exp.c (exp_mpn): Remove ROUND.
22736 * math/atest-exp2.c (exp_mpn): Likewise.
22737 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
22739 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
22740 * stdlib/tst-tls-atexit-lib.c: Likewise.
22741 * stdlib/tst-tls-atexit.c: Likewise.
22743 2013-02-18 Mike Frysinger <vapier@gentoo.org>
22745 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
22746 and __attribute_alloc_size__.
22748 2013-02-18 Mike Frysinger <vapier@gentoo.org>
22750 * include/programs/xmalloc.h: Change __attribute_alloc_size to
22751 __attribute_alloc_size__.
22752 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
22753 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
22755 2013-02-18 Mike Frysinger <vapier@gentoo.org>
22757 * include/programs/xmalloc.h: New file.
22758 * catgets/gencat.c: Include it.
22759 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
22760 * elf/pldd.c: Likewise.
22761 * iconv/iconv_charmap.c: Likewise.
22762 * iconv/iconvconfig.c: Likewise.
22763 * iconv/strtab.c: Likewise.
22764 * locale/programs/locale.c: Likewise.
22765 * locale/programs/localedef.h: Likewise.
22766 * locale/programs/simple-hash.c: Likewise.
22767 * nscd/nscd.h: Likewise.
22768 * nss/makedb.c: Likewise.
22769 * sysdeps/generic/ldconfig.h: Likewise.
22771 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22773 * Versions.def: Add GLIBC_2.18.
22774 * include/link.h (struct link_map): New member l_tls_dtor_count.
22775 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
22776 (__call_tls_dtors): Likewise.
22777 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
22778 __cxa_thread_atexit_impl.
22779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22783 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
22785 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
22787 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22788 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
22790 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
22792 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22793 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
22795 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
22796 (tests): Add test case tst-tls-atexit.
22797 (modules-names): Add shared library for tst-tls-atexit.
22798 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
22799 (GLIBC_PRIVATE): Add __call_tls_dtors.
22800 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
22802 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
22803 * stdlib/tst-tls-atexit.c: New test case.
22804 * stdlib/tst-tls-atexit-lib.c: New test case.
22806 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
22808 * elf/Versions (ld): Add _dl_find_dso_for_object.
22809 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
22810 * elf/dl-open.c (_dl_find_dso_for_object): New function.
22811 (dl_open_worker): Use _dl_find_dso_for_object.
22812 * elf/dl-sym.c (do_sym): Likewise.
22813 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
22815 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22817 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
22818 Syntactic changes only.
22819 (_dl_runtime_profile): Do a tail-call to the resolved function.
22821 2013-02-17 Joseph Myers <joseph@codesourcery.com>
22824 * sysdeps/x86_64/bp-asm.h: Remove file.
22825 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
22826 <bp-sym.h> and <bp-asm.h>.
22827 (__clone): Do not use BP_SYM.
22828 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
22829 <bp-sym.h> and <bp-asm.h>.
22830 * sysdeps/unix/x86_64/sysdep.S: Likewise.
22831 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
22833 (_setjmp): Do not use BP_SYM.
22834 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
22836 (setjmp): Do not use BP_SYM.
22837 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
22839 (mempcpy): Do not use BP_SYM in weak_alias.
22840 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
22842 (strchr): Do not use BP_SYM.
22843 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
22845 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
22846 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
22847 (_start): Do not use BP_SYM.
22848 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
22850 (strcat): Do not use BP_SYM.
22851 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
22853 (STRCMP): Do not use BP_SYM.
22854 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
22856 (STRCPY): Do not use BP_SYM.
22857 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
22859 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
22861 (FUNCTION): Do not use BP_SYM.
22862 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
22864 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
22866 2013-02-17 Andreas Jaeger <aj@suse.de>
22868 * time/Versions: Sort entries.
22869 * string/Versions: Likewise.
22870 * resolv/Versions: Likewise.
22871 * posix/Versions: Likewise.
22872 * iconv/Versions: Likewise.
22873 * elf/Versions: Likewise.
22874 * wcsmbs/Versions: Likewise.
22876 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22878 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
22879 loop termination condition.
22881 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
22882 variable to calculate EZ.
22885 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
22886 the lower precision input.
22888 2013-02-15 Joseph Myers <joseph@codesourcery.com>
22891 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
22892 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
22893 (run-via-rtld-prefix): Do not handle %-bp tests.
22894 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
22895 (all-object-suffixes): Remove .ob.
22896 (bppfx): Remove variable.
22897 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
22898 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
22899 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
22900 [$(build-bounded) = yes] (libtype.ob): Likewise.
22901 * Makerules (elide-routines.ob): Remove variable.
22902 (do-tests-clean): Do not handle *-bp.out.
22903 (common-mostlyclean): Do not handle *-bp and *-bp.out.
22904 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
22905 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
22906 (tests): Do not include $(tests-bp.out).
22907 (xtests): Do not include $(xtests-bp.out).
22908 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
22909 [$(build-bounded) = yes] ($(addprefix
22910 $(objpfx),$(binaries-bounded))): Remove rule.
22911 ($(objpfx)%-bp.out): Remove rule.
22912 * config.make.in (build-bounded): Remove variable.
22913 * crypt/Makefile [$(build-bounded) = yes]
22914 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
22915 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
22916 append to variable.
22917 [$(build-bounded) = yes] (install-lib): Likewise.
22918 [$(build-bounded) = yes] (generated): Likewise.
22919 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
22921 * intl/Makefile [$(build-bounded) = yes]
22922 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
22923 * math/Makefile [$(build-bounded) = yes]
22924 ($(tests:%=$(objpfx)%-bp): Likewise.
22925 * misc/Makefile [$(build-bounded) = yes]
22926 ($(objpfx)tst-tsearch-bp): Likewise.
22927 * nptl/Makeconfig (bounded-thread-library): Remove variable.
22928 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
22930 * string/Makefile (o-objects.ob): Remove variable.
22931 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
22932 (CFLAGS-.ob): Remove variable.
22933 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
22934 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
22935 both definitions of variable.
22936 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
22937 (ASFLAGS-.ob): Remove variable.
22939 2013-02-14 Joseph Myers <joseph@codesourcery.com>
22942 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
22943 Remove __BOUNDED_POINTERS__ from condition.
22944 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
22945 * string/bits/string2.h [!__NO_STRING_INLINES &&
22946 !__BOUNDED_POINTERS__]: Likewise.
22947 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
22949 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
22950 Remove conditional code.
22951 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
22952 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
22953 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
22957 * csu/libc-start.c: Do not include <bp-sym.h>.
22958 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
22959 * elf/dl-open.c: Do not include <bp-sym.h>.
22960 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
22961 * math/fegetenv.c: Do not include <bp-sym.h>.
22962 (fegetenv): Do not use BP_SYM in versioned symbols.
22963 * nptl/sysdeps/pthread/bits/libc-lockP.h
22964 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
22966 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22967 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
22968 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22969 (__pthread_mutex_destroy): Likewise.
22970 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22971 (__pthread_mutex_lock): Likewise.
22972 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22973 (__pthread_mutex_trylock): Likewise.
22974 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22975 (__pthread_mutex_unlock): Likewise.
22976 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22977 (__pthread_mutexattr_init): Likewise.
22978 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22979 (__pthread_mutexattr_destroy): Likewise.
22980 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22981 (__pthread_mutexattr_settype): Likewise.
22982 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22983 (__pthread_rwlock_init): Likewise.
22984 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22985 (__pthread_rwlock_destroy): Likewise.
22986 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22987 (__pthread_rwlock_rdlock): Likewise.
22988 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22989 (__pthread_rwlock_tryrdlock): Likewise.
22990 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22991 (__pthread_rwlock_wrlock): Likewise.
22992 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22993 (__pthread_rwlock_trywrlock): Likewise.
22994 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22995 (__pthread_rwlock_unlock): Likewise.
22996 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22997 (__pthread_key_create): Likewise.
22998 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22999 (__pthread_setspecific): Likewise.
23000 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23001 (__pthread_getspecific): Likewise.
23002 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
23004 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23005 (_pthread_cleanup_push_defer): Likewise.
23006 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23007 (_pthread_cleanup_pop_restore): Likewise.
23008 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23009 (pthread_setcancelstate): Likewise.
23010 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
23012 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
23013 (memchr): Do not use BP_SYM in weak_alias.
23014 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
23015 (fegetenv): Do not use BP_SYM in versioned symbols.
23016 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
23017 (fesetenv): Do not use BP_SYM in versioned symbols.
23018 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23019 (feupdateenv): Do not use BP_SYM in versioned symbols.
23020 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23021 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23022 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
23023 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
23024 (open64): Do not use BP_SYM in weak_alias.
23025 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
23026 (fegetenv): Do not use BP_SYM in versioned symbols.
23027 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
23028 (fesetenv): Do not use BP_SYM in versioned symbols.
23029 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23030 (feupdateenv): Do not use BP_SYM in versioned symbols.
23031 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
23032 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
23033 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
23034 (feraiseexcept): Do not use BP_SYM in versioned symbols.
23035 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23036 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23037 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
23039 (__libc_start_main): Do not use BP_SYM.
23041 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23043 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
23044 redundant return line.
23046 (denorm): Likewise.
23047 (dbl_mp): Likewise.
23048 (sub_magnitudes): Likewise.
23054 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
23056 (denorm): Likewise.
23057 (dbl_mp): Likewise.
23058 (sub_magnitudes): Likewise.
23065 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
23067 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
23068 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
23071 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
23072 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
23073 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
23074 of __mul for squares.
23075 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
23077 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
23079 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
23080 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23082 2013-02-13 Joseph Myers <joseph@codesourcery.com>
23085 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
23087 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
23088 prototype or function definition. Rename ubp_* variables and
23089 parameters. Remove argv definitions conditional on
23090 [__BOUNDED_POINTERS__].
23091 * debug/backtrace.c (__backtrace): Do not use __unbounded.
23092 * elf/dl-runtime.c (_dl_fixup): Likewise.
23093 * include/set-hooks.h (RUN_HOOK): Likewise.
23094 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
23096 * string/strcpy.c (strcpy): Do not use __unbounded.
23097 * sysdeps/generic/frame.h (struct layout): Likewise.
23098 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
23099 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
23100 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
23101 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
23102 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
23103 (__backtrace): Likewise.
23104 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
23106 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
23107 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
23108 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
23110 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
23111 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
23112 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
23113 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23114 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
23115 Do not use __unbounded.
23116 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
23117 Rename __unboundedrlimits parameter to rlimits in prototype.
23118 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
23119 Do not use __unbounded.
23120 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
23121 not use __ptrvalue.
23122 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23123 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
23124 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23125 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
23126 __ptrvalue or __unbounded.
23127 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
23128 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
23130 (__new_msgctl): Do not use __ptrvalue.
23131 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
23133 (__libc_msgrcv): Do not use __ptrvalue.
23134 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
23135 startup_info): Do not use __unbounded.
23136 (__libc_start_main): Likewise. Rename ubp_* variables and
23137 parameters. Remove argv definitions conditional on
23138 [__BOUNDED_POINTERS__].
23139 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
23141 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
23143 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
23145 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
23147 (__new_shmctl): Do not use __ptrvalue.
23148 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
23149 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
23151 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
23152 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
23153 (__libc_sigaction): Likewise.
23154 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
23155 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
23157 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23159 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
23161 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
23163 * string/mempcpy.c: Implement by calling memcpy.
23165 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
23167 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
23169 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
23172 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
23173 values in the mantissa.
23175 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
23176 minimize writes to Z.
23177 (sub_magnitudes): Simplify code a bit.
23179 2013-02-12 Roland McGrath <roland@hack.frob.com>
23181 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
23182 from the message. The linker prefixes all warnings with that already.
23184 2013-02-12 Andreas Schwab <schwab@suse.de>
23187 * posix/regexec.c (extend_buffers): Add parameter min_len.
23188 (check_matching): Pass minimum needed length.
23189 (clean_state_log_if_needed): Likewise.
23190 (get_subexp): Likewise.
23191 * posix/Makefile (tests): Add bug-regex34.
23192 (bug-regex34-ENV): Define.
23193 * posix/bug-regex34.c: New file.
23196 * posix/regcomp.c (parse_bracket_exp): When looking up collating
23197 elements compare against the byte sequence of it, not its name.
23198 * posix/Makefile (tests): Add bug-regex35.
23199 (bug-regex35-ENV): Define.
23200 * posix/bug-regex35.c: New file.
23202 2013-02-11 Tom de Vries <tom@codesourcery.com>
23204 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
23206 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
23207 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
23208 (CHECK_EOL): Add undef.
23210 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
23212 * bits/stdlib-bsearch.h: New file.
23213 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
23214 * stdlib/stdlib.h: Likewise.
23216 2013-02-11 Roland McGrath <roland@hack.frob.com>
23218 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
23219 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
23221 * manual/search.texi (Array Search Function): Add missing const in
23223 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
23224 declaration to use rlim_t.
23225 (Basic Scheduling Functions): Remove erroneous const from
23226 sched_getparam prototype. Remove erroneous * from
23227 sched_get_priority_max and sched_get_priority_min prototypes.
23228 (Resource Usage): Fix summary @comment on vtimes to refer to
23229 sys/vtimes.h rather than vtimes.h.
23230 Add missing *s in vtimes prototype.
23231 (Limits on Resources): Fix ulimit prototype to return long int.
23232 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
23233 prototypes to use long int rather than double.
23234 (BSD Random): Fix initstate and setstate to use char *, not void *.
23235 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
23236 prototype to make second argument 'struct aiocb64 *const[]'.
23237 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
23238 (Status of AIO Operations): Remove erroneous const in aio_return and
23239 aio_return64 prototypes.
23240 (Synchronizing I/O): Fix sync prototype to return void.
23241 * manual/startup.texi (Suboptions): Remove an erroneous const in
23242 getsubopt prototype.
23243 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
23244 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
23245 use size_t rather than int.
23246 (Scanning All Users): Likewise for getpwent_r.
23247 (Setting Groups): Add missing const to setgroups prototype.
23248 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
23249 * manual/socket.texi (Host Names): Fix gethostbyaddr and
23250 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
23251 'const void *' rather than 'const char *'.
23252 (Host Address Functions): Likewise for inet_ntop.
23253 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
23254 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
23255 ssize_t for return value.
23256 (Sending Data): Likewise for send, sendto, sendmsg.
23257 (Socket Option Functions): Add a missing const in setsockopt prototype.
23258 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
23259 use wchar_t for the argument.
23260 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
23261 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
23263 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
23264 double/float/long double for second argument.
23265 Fix return types of significand, significandf, significandl.
23266 * manual/filesys.texi (Setting Permissions): Use mode_t for second
23267 argument in fchmod prototype.
23268 (File Owner): Use uid_t and gid_t in fchown prototype.
23269 (File Times): Add const to utimes, futimes, and lutimes prototypes.
23270 (Making Special Files): Use mode_t and dev_t in mknod prototype.
23271 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
23272 use 'const struct dirent **' as argument types to CMP function pointer
23274 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
23275 (File Times): Fix summary magic @comment for struct utimbuf and utime
23276 to refer to utime.h, not time.h.
23277 * manual/string.texi (Argz Functions): Add missing const in
23278 argz_extract and argz_next prototypes.
23279 (Finding Tokens in a String): Likewise for basename.
23280 (String/Array Comparison): Fix typo in wcscasecmp prototype.
23281 (Copying and Concatenation): Fix typo in wmemmove prototype.
23282 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
23283 (Signal Stack): Remove erroneous const in sigstack prototype.
23284 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
23286 (Simple Calendar Time): Likewise for stime.
23287 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
23289 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
23290 say sys/sysctl.h instead.
23291 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
23292 and vsyslog prototypes.
23294 2013-02-11 Tom de Vries <tom@codesourcery.com>
23296 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
23299 2013-02-11 Roland McGrath <roland@hack.frob.com>
23301 * misc/sys/mman.h: Fix typo in mremap comment.
23303 2013-02-08 Roland McGrath <roland@hack.frob.com>
23305 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
23306 the '\0' terminator.
23308 2013-02-08 Joseph Myers <joseph@codesourcery.com>
23311 * debug/segfault.c: Don't include <bp-checks.h>.
23312 * sysdeps/generic/bp-checks.h: Remove file.
23313 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
23314 (__GETDENTS): Don't use CHECK_N.
23315 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
23316 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
23317 (__getgroups): Don't use CHECK_N.
23318 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
23319 (setgroups): Don't use CHECK_N.
23320 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
23321 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
23322 (__libc_msgrcv): Don't use CHECK_N.
23323 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
23324 (__libc_msgsnd): Don't use CHECK_N.
23325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
23327 (__libc_pread): Don't use CHECK_N.
23328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
23329 include <bp-checks.h>.
23330 (__libc_pread64): Don't use CHECK_N.
23331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
23332 include <bp-checks.h>.
23333 (__libc_pwrite): Don't use CHECK_N.
23334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
23335 include <bp-checks.h>.
23336 (__libc_pwrite64): Don't use CHECK_N.
23337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
23339 (__libc_pread): Don't use CHECK_N.
23340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
23341 include <bp-checks.h>.
23342 (__libc_pread64): Don't use CHECK_N.
23343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
23344 include <bp-checks.h>.
23345 (__libc_pwrite): Don't use CHECK_N.
23346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
23347 include <bp-checks.h>.
23348 (__libc_pwrite64): Don't use CHECK_N.
23349 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
23350 (do_pread): Don't use CHECK_N.
23351 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
23352 (do_pread64): Don't use CHECK_N.
23353 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
23354 (do_pwrite): Don't use CHECK_N.
23355 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
23356 (do_pwrite64): Don't use CHECK_N.
23357 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
23358 (__libc_readv): Don't use CHECK_N.
23359 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
23360 (semop): Don't use CHECK_N.
23361 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
23363 (semtimedop): Don't use CHECK_N.
23364 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
23365 (__libc_pread): Don't use CHECK_N.
23366 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
23368 (__libc_pread64): Don't use CHECK_N.
23369 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
23371 (__libc_pwrite): Don't use CHECK_N.
23372 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
23374 (__libc_pwrite64): Don't use CHECK_N.
23375 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
23377 (__libc_msgrcv): Don't use CHECK_N.
23378 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
23379 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
23380 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
23381 (__libc_writev): Don't use CHECK_N.
23383 2013-02-08 Roland McGrath <roland@hack.frob.com>
23385 * string/strcpy.c: Removed unused variable.
23387 * Makeconfig (+sysdep-includes): Define with := rather than =.
23388 Use an existing include/ subdir of each sysdeps dir before it.
23390 2013-02-08 Carlos O'Donell <carlos@redhat.com>
23392 * nscd/connection.c (register_traced_file): Comment function.
23393 [HAVE_INOTIFY] (union __inev): Define.
23394 [HAVE_INOTIFY] (inotify_check_files): New function.
23395 [HAVE_INOTIFY] (clear_db_cache): Likewise.
23396 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
23398 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
23400 2013-02-08 Carlos O'Donell <carlos@redhat.com>
23402 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
23403 loaded if not already and that a failure is permanent.
23405 2013-02-08 Carlos O'Donell <carlos@redhat.com>
23408 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
23409 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
23411 2013-02-08 Joseph Myers <joseph@codesourcery.com>
23414 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
23415 (CHECK_1_NULL_OK): Likewise.
23416 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
23417 (__fxstat): Do not use CHECK_1.
23418 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
23420 (___fxstat64): Do not use CHECK_1.
23421 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
23423 (__fxstatat): Do not use CHECK_1.
23424 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
23426 (__fxstatat64): Do not use CHECK_1.
23427 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
23429 (__fxstat): Do not use CHECK_1.
23430 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
23432 (__fxstatat): Do not use CHECK_1.
23433 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
23435 (__getresgid): Do not use CHECK_1.
23436 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
23438 (__getresuid): Do not use CHECK_1.
23439 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
23441 (__lxstat): Do not use CHECK_1.
23442 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
23444 (__old_msgctl): Do not use CHECK_1.
23445 (__new_msgctl): Likewise.
23446 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
23448 (__new_setrlimit): Do not use CHECK_1.
23449 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
23451 (__old_shmctl): Do not use CHECK_1.
23452 (__new_shmctl): Likewise.
23453 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
23455 (__xstat): Do not use CHECK_1.
23456 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
23457 (__lxstat): Do not use CHECK_1.
23458 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
23460 (___lxstat64): Do not use CHECK_1.
23461 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
23462 (__old_msgctl): Do not use CHECK_1.
23463 (__new_msgctl): Likewise.
23464 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
23466 (__gettimeofday): Do not use CHECK_1.
23467 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
23468 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
23469 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
23471 (__gettimeofday): Do not use CHECK_1.
23472 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
23473 (__old_shmctl): Do not use CHECK_1_NULL_OK.
23474 (__new_shmctl): Do not use CHECK_1.
23475 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
23477 (do_sigtimedwait): Do not use CHECK_1.
23478 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
23480 (do_sigwaitinfo): Do not use CHECK_1.
23481 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
23483 (msgctl): Do not use CHECK_1.
23484 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
23486 (shmctl): Do not use CHECK_1.
23487 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
23488 (ustat): Do not use CHECK_1.
23489 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
23491 (__fxstat): Do not use CHECK_1.
23492 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
23494 (__fxstatat): Do not use CHECK_1.
23495 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
23497 (__lxstat): Do not use CHECK_1.
23498 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
23500 (__xstat): Do not use CHECK_1.
23501 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
23502 (__xstat): Do not use CHECK_1.
23503 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
23504 (___xstat64): Do not use CHECK_1.
23507 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
23509 (CHECK_BOUNDS_HIGH): Likewise.
23510 * string/strcpy.c: Do not include <bp-checks.h>.
23511 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
23513 2013-02-07 Roland McGrath <roland@hack.frob.com>
23515 * nscd/nscd-client.h (__nscd_drop_map_ref):
23516 Add __attribute__ ((unused)).
23517 * nis/nss-nisplus.h (niserr2nss): Likewise.
23519 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
23520 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
23522 * csu/libc-tls.c (init_static_tls, init_slotinfo):
23523 Remove inline keyword.
23524 * include/rounding-mode.h (round_away): Likewise.
23525 * libio/wfileops.c (adjust_wide_data): Likewise.
23526 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
23527 (__m128i_strloadu_tolower): Likewise.
23528 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
23529 (__m128i_strloadu_tolower): Likewise.
23530 * time/mktime.c (ydhms_diff): Likewise.
23531 * locale/elem-hash.h (elem_hash): Likewise.
23532 * locale/setlocale.c (setdata): Likewise.
23533 * posix/regex_internal.h (re_string_char_size_at): Likewise.
23534 (re_string_wchar_at): Likewise.
23535 (bitset_not, bitset_merge, bitset_mask): Likewise.
23536 [!(__GNUC__ > 3)] (inline): Remove macro.
23537 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
23538 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
23539 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
23540 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
23541 * string/memcmp.c (memcmp_bytes): Likewise.
23542 * locale/programs/locarchive.c (compute_hashval): Likewise.
23543 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
23544 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
23545 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
23546 * nss/getent.c (print_rpc, print_protocols): Likewise.
23547 (print_passwd, print_group, print_aliases): Likewise.
23548 * nis/nss-nisplus.h (niserr2nss): Likewise.
23549 * nscd/connections.c (restart_p): Likewise.
23550 Change return type to bool.
23552 2013-02-05 Roland McGrath <roland@hack.frob.com>
23554 * Makeconfig (all-Depend-files): Add existing
23555 $(sorted-subdirs:=/Depend) files.
23556 (all-subdirs): Remove nss.
23557 * sysdeps/unix/inet/Subdirs: Add it here instead.
23558 * hesiod/Depend: New file.
23560 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
23561 instead of calling alloca.
23563 * io/lseek.c (__lseek): Rename to __libc_lseek.
23564 Define __lseek as an alias.
23566 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
23568 2013-02-04 Carlos O'Donell <carlos@redhat.com>
23570 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
23571 else clause and remove check for non-standard endianness.
23573 2013-02-04 David S. Miller <davem@davemloft.net>
23575 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23577 2013-02-04 Joseph Myers <joseph@codesourcery.com>
23580 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
23581 (__ubp_memchr): Remove prototype.
23582 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
23583 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23584 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
23585 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23586 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
23588 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
23589 (__ubp_memchr): Likewise.
23590 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
23591 (__ubp_memchr): Likewise.
23592 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
23593 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
23594 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
23595 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
23597 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
23598 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
23599 (__getcwd): Do not use CHECK_STRING.
23600 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
23602 (__real_chown): Do not use CHECK_STRING.
23603 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
23605 (fchownat): Do not use CHECK_STRING.
23606 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
23608 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
23610 (__lchown): Do not use CHECK_STRING.
23611 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23612 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23613 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23614 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
23615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
23616 include <bp-checks.h>.
23617 (truncate64): Do not use CHECK_STRING.
23618 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
23620 (__real_chown): Do not use CHECK_STRING.
23621 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
23623 (__lchown): Do not use CHECK_STRING.
23624 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
23626 (__chown): Do not use CHECK_STRING.
23627 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
23629 (truncate64): Do not use CHECK_STRING.
23630 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
23632 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
23633 (__xmknod): Do not use CHECK_STRING.
23634 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
23636 (__xmknodat): Do not use CHECK_STRING.
23637 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23638 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
23640 2013-02-04 Andreas Schwab <schwab@suse.de>
23643 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
23644 * include/netdb.h: Likewise for h_errno.
23645 * elf/tst-stackguard1.c: Include <tls.h>.
23647 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
23649 * elf/link.h (struct link_map): Extend the l_addr comment.
23650 * include/link.h (struct link_map): Likewise.
23652 2013-02-01 Joseph Myers <joseph@codesourcery.com>
23655 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
23656 (BOUNDED_1): Remove macro.
23657 * debug/backtrace.c: Don't include <bp-checks.h>.
23658 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
23659 (__backtrace): Likewise.
23660 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
23662 (__backtrace): Don't use BOUNDED_1.
23663 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
23665 (__backtrace): Don't use BOUNDED_1.
23666 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
23667 (__backtrace): Don't use BOUNDED_1.
23668 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
23669 (shmat): Don't use BOUNDED_N.
23671 2013-01-31 Joseph Myers <joseph@codesourcery.com>
23674 * sysdeps/generic/bp-start.h: Remove file.
23675 * csu/libc-start.c: Don't include <bp-start.h>.
23676 (LIBC_START_MAIN): Set up __environ directly instead of using
23677 INIT_ARGV_and_ENVIRON.
23678 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
23682 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
23684 (CHECK_FCNTL): Likewise.
23685 (CHECK_N_PAGES): Likewise.
23688 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
23690 (CHECK_SIGSET_NULL_OK): Likewise.
23691 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
23693 (sigpending): Don't use CHECK_SIGSET.
23694 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
23696 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23697 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
23699 (do_sigsuspend): Don't use CHECK_SIGSET.
23700 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
23702 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
23703 (do_sigwait): Don't use CHECK_SIGSET.
23704 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
23706 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
23707 include <bp-checks.h>.
23708 (sigpending): Don't use CHECK_SIGSET.
23709 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
23710 include <bp-checks.h>.
23711 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23712 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
23714 (sigpending): Don't use CHECK_SIGSET.
23715 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
23717 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23720 * sysdeps/generic/bp-semctl.h: Remove file.
23721 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
23722 <bp-checks.h> and <bp-semctl.h>.
23723 (__old_semctl): Don't use CHECK_SEMCTL.
23724 (__new_semctl): Likewise.
23725 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
23727 (__old_semctl): Don't use CHECK_SEMCTL.
23728 (__new_semctl): Likewise.
23729 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
23730 <bp-checks.h> and <bp-semctl.h>.
23731 (__old_semctl): Don't use CHECK_SEMCTL.
23732 (__new_semctl): Likewise.
23733 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
23734 <bp-checks.h> and <bp-semctl.h>.
23735 (semctl): Don't use CHECK_SEMCTL.
23738 * Makerules (elide-bp-thunks): Remove variable.
23739 (elide-routines.oS): Don't use $(elide-bp-thunks).
23740 (elide-routines.os): Likewise.
23741 (elide-routines.o): Likewise.
23742 (elide-routines.op): Likewise.
23743 (elide-routines.og): Likewise.
23744 (objects): Don't use $(bp-thunks).
23745 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
23747 (common-generated): Do not add s-proto-bp.d.
23748 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
23751 Do not generate makefile rules for bounded-pointer thunks.
23752 * sysdeps/generic/bp-thunks.h: Remove file.
23753 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
23754 * sysdeps/unix/s-proto-bp.S: Likewise.
23757 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
23758 parts of result separately when argument is not close to line from
23759 -i to i and one part of argument is small.
23760 * math/k_casinhf.c (__kernel_casinhf): Likewise.
23761 * math/k_casinhl.c (__kernel_casinhl): Likewise.
23762 * math/libm-test.inc (cacos_test): Add more tests.
23763 (casin_test): Likewise.
23764 (casinh_test): Likewise.
23765 * sysdeps/i386/fpu/libm-test-ulps: Update.
23766 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23768 2013-01-31 David S. Miller <davem@davemloft.net>
23770 * po/de.po: Update from translation team.
23772 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
23774 * time/tzfile.c: Include stdint.h for SIZE_MAX.
23776 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
23778 * configure.in (_AC_PROG_CC_C89): New definition.
23779 * configure: Regenerate.
23781 * configure.in (AC_PROG_CPP): New definition.
23782 * configure: Regenerate.
23784 2013-01-23 Joseph Myers <joseph@codesourcery.com>
23786 * debug/tst-backtrace.h: New file.
23787 * debug/tst-backtrace2.c: Include tst-backtrace.h.
23788 (ret): Remove variable.
23790 (FAIL): Remove macro.
23791 (NO_INLINE): Likewise.
23792 (fn1): Use match function instead of strstr.
23793 * debug/tst-backtrace3.c: Include tst-backtrace.h.
23794 (ret): Remove variable.
23796 (FAIL): Remove macro.
23797 (NO_INLINE): Likewise.
23798 (fn): Use match function instead of strstr.
23799 * debug/tst-backtrace4.c: Include tst-backtrace.h.
23800 (ret): Remove variable.
23802 (FAIL): Remove macro.
23803 (NO_INLINE): Likewise.
23804 (handle_signal): Use match function instead of strstr.
23805 * debug/tst-backtrace5.c: Include tst-backtrace.h.
23806 (ret): Remove variable.
23808 (FAIL): Remove macro.
23809 (NO_INLINE): Likewise.
23810 (handle_signal): Use match function instead of strstr.
23812 2013-01-23 Roland McGrath <roland@hack.frob.com>
23814 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
23816 2013-01-23 David S. Miller <davem@davemloft.net>
23818 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
23819 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
23820 argument of CAS if possible.
23821 * sysdeps/sparc/sparc64/bits/atomic.h
23822 (__arch_compare_and_exchange_val_32_acq): Likewise.
23823 (__arch_compare_and_exchange_val_64_acq): Likewise.
23825 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
23827 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
23828 * sysdeps/posix/ulimit.c: ... this.
23829 Include <limits.h>.
23830 * sysdeps/unix/bsd/ulimit.c: Remove file.
23832 2013-01-23 Adam Conrad <adconrad@0c3.net>
23834 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
23835 (LDFLAGS-tst-array5): Likewise.
23837 2013-01-23 Joseph Myers <joseph@codesourcery.com>
23840 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
23841 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
23842 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
23843 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
23845 2013-01-21 David S. Miller <davem@davemloft.net>
23847 * sysdeps/sparc/backtrace.c: New file.
23848 * sysdeps/sparc/sparc32/backtrace.h: New file.
23849 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
23850 * sysdeps/sparc/sparc64/backtrace.h: New file.
23851 * sysdeps/sparc/sparc64/backtrace.c: Delete.
23852 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
23855 2013-01-21 Andreas Schwab <schwab@suse.de>
23858 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
23861 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
23863 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
23865 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23867 2013-01-18 Joseph Myers <joseph@codesourcery.com>
23868 Mark Mitchell <mark@codesourcery.com>
23869 Tom de Vries <tom@codesourcery.com>
23870 Paul Pluzhnikov <ppluzhnikov@google.com>
23872 * debug/tst-backtrace2.c: New file.
23873 * debug/tst-backtrace3.c: Likewise.
23874 * debug/tst-backtrace4.c: Likewise.
23875 * debug/tst-backtrace5.c: Likewise.
23876 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
23877 (CFLAGS-tst-backtrace3.c): Likewise.
23878 (CFLAGS-tst-backtrace4.c): Likewise.
23879 (CFLAGS-tst-backtrace5.c): Likewise.
23880 (LDFLAGS-tst-backtrace2): Likewise.
23881 (LDFLAGS-tst-backtrace3): Likewise.
23882 (LDFLAGS-tst-backtrace4): Likewise.
23883 (LDFLAGS-tst-backtrace5): Likewise.
23884 (tests): Add new tests tst-backtrace2, tst-backtrace3,
23885 tst-backtrace4 and tst-backtrace5.
23887 2013-01-18 Anton Blanchard <anton@samba.org>
23888 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23890 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
23891 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
23892 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
23893 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
23894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23895 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
23896 "+r" and remove output regs list as redundant. Add explicit inline
23897 asm to specify register of return val to work around compiler codegen
23898 bug. Remove (int) cast on return value. Add return type parameter to
23899 use in macro so that this macro does not truncate return value for
23901 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
23902 pass to INTERNAL_VSYSCALL_NCS.
23903 (INLINE_VSYSCALL): Add 'long int' as return type to
23904 INTERNAL_VSYSCALL_NCS macro invocation.
23905 (INTERNAL_VSYSCALL): Add 'long int' as return type to
23906 INTERNAL_VSYSCALL_NCS macro invocation.
23907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23909 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23912 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
23913 Fix application of SIMD FP exception mask.
23915 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
23916 mp_no from a power of two.
23917 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
23918 __mpexp_twomm1. Use __pow_mp.
23920 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
23923 2013-01-17 David S. Miller <davem@davemloft.net>
23925 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23927 2013-01-17 Joseph Myers <joseph@codesourcery.com>
23930 * include/complex.h: Condition contents on [!_COMPLEX_H].
23931 (__kernel_casinhf): New prototype.
23932 (__kernel_casinh): Likewise.
23933 (__kernel_casinhl): Likewise.
23934 * math/Makefile (libm_calls): Add k_casinh.
23935 * math/k_casinh.c: New file.
23936 * math/k_casinhf.c: Likewise.
23937 * math/k_casinhl.c: Likewise.
23938 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
23939 finite nonzero arguments.
23940 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
23941 finite nonzero arguments.
23942 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
23943 finite nonzero arguments.
23944 * math/s_casinh.c: Do not include <float.h>.
23945 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
23946 * math/s_casinhf.c: Do not include <float.h>.
23947 (__casinhf): Move code for finite nonzero arguments to
23949 * math/s_casinhl.c: Do not include <float.h>.
23950 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
23952 (__casinhl): Move code for finite nonzero arguments to
23954 * math/libm-test.inc (cacos_test): Add more tests.
23955 * sysdeps/i386/fpu/libm-test-ulps: Update.
23956 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23958 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
23960 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
23961 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
23962 [!HAVE_MREMAP]: Remove [defined linux] case.
23963 * malloc/arena.c: Do not include <malloc-sysdep.h>.
23965 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
23967 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
23969 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
23971 * elf/elf.h (R_386_SIZE32): New relocation.
23972 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
23974 (elf_machine_rela): Likewise.
23975 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
23976 R_X86_64_SIZE64 and R_X86_64_SIZE32.
23978 2013-01-17 Joseph Myers <joseph@codesourcery.com>
23980 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
23981 (FP_FAST_FMA): Do not define.
23982 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
23983 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
23984 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
23985 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
23986 !_SOFT_FLOAT]: Likewise.
23987 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
23988 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
23990 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
23991 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
23992 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
23993 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
23994 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
23995 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
23998 2013-01-16 Andreas Schwab <schwab@suse.de>
24001 * include/stdlib.h (__mktemp): Add declaration.
24002 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
24003 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
24005 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24007 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
24009 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
24010 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
24011 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
24013 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
24014 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
24016 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
24018 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
24019 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
24020 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
24022 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
24023 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
24025 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
24027 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
24029 2013-01-15 David S. Miller <davem@davemloft.net>
24031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24032 trunc{,f} to libm-sysdep_routes.
24033 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
24036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
24037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
24039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
24041 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
24042 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
24043 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
24044 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
24045 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
24046 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
24047 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
24048 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
24050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24051 nearbyint{,f} to libm-sysdep_routes.
24052 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
24055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
24057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
24059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
24061 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
24062 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
24063 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
24065 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
24066 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
24068 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
24069 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
24070 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
24072 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
24073 libc_feholdexcept and libc_fesetenv.
24075 2013-01-15 Mike Frysinger <vapier@gentoo.org>
24077 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
24079 2013-01-14 David S. Miller <davem@davemloft.net>
24081 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
24082 (SPARC_ASM_VIS2_IFUNC): Likewise.
24083 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
24084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
24085 use of 'siam' instruction.
24086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
24088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
24090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
24092 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
24093 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
24094 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
24095 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
24096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
24098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
24100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
24102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
24104 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
24105 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
24106 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
24107 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
24108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
24110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
24111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
24114 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
24115 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
24116 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
24117 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
24118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
24119 routines to libm-sysdep_routines.
24120 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24123 fdim/fdimf to libm-sysdep_routines.
24124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
24126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
24127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
24129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
24130 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
24131 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
24132 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
24133 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
24134 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
24135 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
24137 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24139 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
24140 to optimize copies.
24142 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
24143 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24144 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24146 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
24147 local variable MPTWO.
24148 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24151 2013-01-13 Mike Frysinger <vapier@gentoo.org>
24153 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
24156 2013-01-13 Mike Frysinger <vapier@gentoo.org>
24158 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
24160 2013-01-13 Mike Frysinger <vapier@gentoo.org>
24162 * manual/pattern.texi (glob_t): Document gl_flags.
24163 (glob64_t): Likewise.
24165 2013-01-11 David S. Miller <davem@davemloft.net>
24167 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
24168 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
24169 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
24170 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
24171 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
24172 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
24173 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
24174 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
24175 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
24176 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
24177 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
24178 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
24179 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
24181 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24182 sparc V9 rather than using V8 code.
24183 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24184 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24186 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
24188 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
24191 2013-01-11 Roland McGrath <roland@hack.frob.com>
24193 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
24194 not in the main loop.
24195 * configure: Regenerated.
24197 2013-01-11 Joseph Myers <joseph@codesourcery.com>
24199 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
24200 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
24202 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
24203 [!__GLIBC_HAVE_LONG_LONG] case.
24204 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
24205 condition to just #else.
24206 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
24207 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
24208 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
24209 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
24211 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
24212 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24213 #elif condition to just #else.
24214 * sysdeps/unix/sysv/linux/sys/sysmacros.h
24215 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
24216 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24217 #elif condition to just #else.
24219 2013-01-11 Steve Ellcey <sellcey@mips.com>
24221 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
24222 (EF_MIPS_ARCH_64): Fix value.
24223 (EF_MIPS_ARCH_32R2): New.
24224 (EF_MIPS_ARCH_64R2): New.
24226 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
24228 * Makeconfig (+link-pie-before-libc): New.
24229 (+link-pie-after-libc): Likewise.
24230 (+link-pie-tests): Likewise.
24231 (+link-pie): Rewritten.
24232 (link-before-libc): Remove $(config-LDFLAGS).
24233 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
24234 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
24235 (config-LDFLAGS): Renamed to ...
24236 (rtld-LDFLAGS): This.
24237 (rtld-tests-LDFLAGS): New macro.
24238 (link-libc-rpath-link): Likewise.
24239 (link-libc-tests-rpath-link): Likewise.
24240 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
24241 (link-libc): Prepand $(link-libc-rpath-link).
24242 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
24243 (test-program-prefix): New macro.
24244 (test-via-rtld-prefix): Likewise.
24245 (test-program-cmd): Likewise.
24246 (host-test-program-cmd): Likewise.
24247 * Makefile ($(common-objpfx)testrun.sh): Replace
24248 $(run-program-prefix) with $(test-program-prefix).
24249 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
24251 ($(common-objpfx)shlib.lds): Likewise.
24252 (build-module-helper): Likewise.
24253 ($(common-objpfx)format.lds): Likewise.
24254 * Rules (binaries-pie-tests): New.
24255 (binaries-pie-notests): Likewise.
24256 (binaries-pie): Rewritten.
24257 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
24258 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
24259 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
24260 (make-test-out): Replace $(host-built-program-cmd) with
24261 $(host-test-program-cmd).
24262 * config.make.in (build-hardcoded-path-in-tests): New variable.
24263 * configure.in (--enable-hardcoded-path-in-tests): New configure
24265 (hardcoded_path_in_tests): New AC_SUBST.
24266 * configure: Regenerated.
24267 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
24268 $(built-program-cmd) with $(test-program-cmd).
24269 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
24270 (test_program_cmd): This.
24271 * elf/Makefile ($(objpfx)order.out): Run test with
24272 $(test-program-prefix).
24273 ($(objpfx)order2.out): Likewise.
24274 ($(objpfx)tst-initorder.out): Likewise.
24275 ($(objpfx)tst-initorder2.out): Likewise.
24276 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
24277 $(test-program-cmd).
24278 ($(objpfx)tst-array1-static.out): Likewise.
24279 ($(objpfx)tst-array2.out): Likewise.
24280 ($(objpfx)tst-array3.out): Likewise.
24281 ($(objpfx)tst-array4.out): Likewise.
24282 ($(objpfx)tst-array5.out): Likewise.
24283 ($(objpfx)tst-array5-static.out): Likewise.
24284 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
24285 $(test-program-cmd).
24286 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
24287 $(run-program-prefix) with $(test-program-prefix).
24288 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
24289 (test_program_prefix): This.
24290 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
24291 $(run-program-prefix) with $(test-program-prefix).
24292 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
24293 (test_program_prefix): This.
24294 * iconvdata/tst-tables.sh: Likewise.
24295 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
24296 $(run-program-prefix) with $(test-program-prefix).
24297 ($(objpfx)tst-translit.out): Likewise.
24298 ($(objpfx)tst-gettext2.out): Likewise.
24299 ($(objpfx)tst-gettext4.out): Likewise.
24300 ($(objpfx)tst-gettext6.out): Likewise.
24301 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
24302 (test_program_prefix): This.
24303 * intl/tst-gettext2.sh: Likewise.
24304 * intl/tst-gettext4.sh Likewise.
24305 * intl/tst-gettext6.sh: Likewise.
24306 * intl/tst-translit.sh: Likewise.
24307 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
24308 with $(test-program-cmd).
24309 * libio/Makefile ($(objpfx)test-freopen.out): Replace
24310 $(run-program-prefix) with $(test-program-prefix).
24311 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
24312 (test_program_prefix): This.
24313 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
24314 $(run-program-prefix) with $(test-program-prefix).
24315 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
24316 (test_program_prefix): This.
24317 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
24318 * posix/Makefile ($(objpfx)globtest.out): Replace
24319 $(run-via-rtld-prefix) and $(test-wrapper) with
24320 $(test-program-prefix) and $(test-via-rtld-prefix).
24321 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
24322 $(test-program-prefix).
24323 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
24324 $(host-test-program-cmd).
24325 (tst-spawn-ARGS): Likewise.
24326 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
24327 $(test-program-prefix).
24328 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
24329 (test_via_rtld_prefix): This.
24330 (test_wrapper): Renamed to ...
24331 (test_program_prefix): This.
24332 (run_program_prefix): Replaced by test_program_prefix.
24333 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
24334 (test_program_prefix): This.
24335 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
24336 with $(host-test-program-cmd).
24337 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
24338 $(run-program-prefix) with $(test-program-prefix).
24339 ($(objpfx)tst-printf.out): Likewise.
24340 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
24341 $(test-program-cmd).
24342 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
24343 (test_program_prefix): This.
24344 * stdio-common/tst-unbputc.sh: Likewise.
24345 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
24346 $(run-program-prefix) with $(test-program-prefix).
24347 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
24348 (test_program_prefix): This.
24349 * string/Makefile ($(objpfx)tst-svc.out): Replace
24350 $(built-program-cmd) with $(test-program-cmd).
24352 2013-01-11 Andreas Jaeger <aj@suse.de>
24355 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
24356 value. Sync with Linux 3.7.
24358 2013-01-10 David S. Miller <davem@davemloft.net>
24360 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
24361 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24362 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24364 2013-01-10 Roland McGrath <roland@hack.frob.com>
24366 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
24368 * configure: Regenerated.
24370 2013-01-10 David S. Miller <davem@davemloft.net>
24372 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24373 sparc V9 rather than using V8 code.
24374 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24375 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24377 2013-01-10 Roland McGrath <roland@hack.frob.com>
24379 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
24380 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
24381 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
24382 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
24383 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
24384 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
24385 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
24386 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
24387 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
24388 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
24389 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
24390 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
24391 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
24392 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
24393 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
24394 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
24395 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
24396 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
24397 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
24398 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
24399 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
24400 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
24401 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
24402 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
24403 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
24404 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
24405 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
24407 2013-01-10 David S. Miller <davem@davemloft.net>
24409 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24411 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
24413 * posix/Makefile (tests-static): New variable.
24414 (tests): Add $(tests-static).
24415 (tst-exec-static-ARGS): New variable.
24416 (tst-spawn-static-ARGS): Likewise.
24417 * posix/tst-exec-static.c: New file.
24418 * posix/tst-spawn-static.c: Likewise.
24419 * posix/tst-exec.c: Support run directly.
24420 * posix/tst-spawn.c: Likewise.
24422 2013-01-10 Joseph Myers <joseph@codesourcery.com>
24424 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
24426 * math/bits/mathcalls.h (llrint): Likewise.
24427 (llround): Likewise.
24428 * stdlib/stdlib.h (struct drand48_data): Likewise.
24429 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
24430 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
24431 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
24433 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
24435 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
24436 (elf_greg_t): Likewise.
24437 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
24438 (__jmp_buf): Likewise.
24439 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
24441 (llrint): Likewise, for all definitions.
24442 (llrintl): Likewise.
24444 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
24445 Remove [__GNUC__] condition.
24446 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
24447 condition to just [__USE_ISOC99].
24448 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
24450 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
24453 * sysdeps/unix/sysv/linux/x86/bits/environments.h
24454 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
24456 (_POSIX_V6_ILP32_OFF32): Likewise.
24457 (_XBS5_ILP32_OFF32): Likewise.
24458 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
24459 (__ILP32_OFFBIG_LDFLAGS): Likewise.
24461 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24463 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
24465 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
24466 doubles __mpexp_twomm1. Adjust usage.
24467 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
24470 2013-01-10 Andreas Schwab <schwab@suse.de>
24473 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
24474 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
24476 2013-01-09 David S. Miller <davem@davemloft.net>
24479 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
24480 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
24481 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
24482 (TCP_FASTOPEN): Define.
24483 (tcp_repair_opt): New structure.
24484 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
24486 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
24487 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
24488 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
24489 (tcp_cookie_transactions): New structure.
24491 2013-01-09 Anton Blanchard <anton@samba.org>
24493 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
24494 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
24495 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
24496 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
24498 2013-01-09 Joseph Myers <joseph@codesourcery.com>
24500 * include/features.h (__USE_ANSI): Remove.
24502 2013-01-09 Roland McGrath <roland@hack.frob.com>
24504 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
24506 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
24508 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
24510 * sysdeps/s390/fpu/libm-test-ulps: Update.
24512 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24514 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
24518 (denorm): Likewise.
24519 (__mp_dbl): Likewise.
24520 (__dbl_mp): Likewise.
24521 (add_magnitudes): Likewise.
24522 (sub_magnitudes): Likewise.
24528 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
24532 (denorm): Likewise.
24533 (__mp_dbl): Likewise.
24534 (__dbl_mp): Likewise.
24535 (add_magnitudes): Likewise.
24536 (sub_magnitudes): Likewise.
24542 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
24546 (denorm): Likewise.
24547 (__mp_dbl): Likewise.
24548 (__dbl_mp): Likewise.
24549 (add_magnitudes): Likewise.
24550 (sub_magnitudes): Likewise.
24557 2013-01-08 Joseph Myers <joseph@codesourcery.com>
24559 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
24560 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
24561 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
24562 2 && __USE_EXTERN_INLINES]: Likewise.
24564 2013-01-08 Andreas Jaeger <aj@suse.de>
24567 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
24569 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24570 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24572 2013-01-07 Anton Blanchard <anton@samba.org>
24574 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
24575 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
24576 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
24577 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
24578 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
24579 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24580 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
24581 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
24582 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24583 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24584 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24585 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24586 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24587 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24588 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
24589 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24590 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24591 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24592 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
24593 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
24594 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
24595 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
24596 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24597 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
24598 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
24599 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
24600 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24601 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
24602 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
24603 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24604 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
24605 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24606 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24607 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24608 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24609 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24610 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24611 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24612 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
24613 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
24614 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
24615 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24616 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24618 2013-01-07 Joseph Myers <joseph@codesourcery.com>
24620 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
24621 (__MALLOC_PMT): Likewise.
24622 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
24623 [__GNUC__], only on [_LIBC].
24624 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24625 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
24626 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24627 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
24628 forward declaration.
24629 (realloc_hook_ini): Likewise.
24630 (memalign_hook_ini): Likewise.
24631 (__libc_memalign): Do not use __MALLOC_PMT in variable
24633 (__libc_valloc): Likewise.
24634 (__libc_pvalloc): Likewise.
24635 (__libc_calloc): Likewise.
24636 (__posix_memalign): Likewise.
24639 * math/s_casinh.c: Include <float.h>.
24640 (__casinh): Do not do computation with squaring and square root
24641 for large arguments.
24642 * math/s_casinhf.c: Include <float.h>.
24643 (__casinhf): Do not do computation with squaring and square root
24644 for large arguments.
24645 * math/s_casinhl.c: Include <float.h>.
24646 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
24647 (__casinhl): Do not do computation with squaring and square root
24648 for large arguments.
24649 * math/libm-test.inc (casin_test): Add more tests.
24650 (casinh_test): Likewise.
24651 * sysdeps/i386/fpu/libm-test-ulps: Update.
24652 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24654 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
24656 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
24657 (__x86_64_raw_data_cache_size): Likewise.
24658 (__x86_64_data_cache_size_half): Likewise.
24659 (__x86_64_raw_data_cache_size_half): Likewise.
24660 (__x86_64_shared_cache_size): Likewise.
24661 (__x86_64_raw_shared_cache_size): Likewise.
24662 (__x86_64_shared_cache_size_half): Likewise.
24663 (__x86_64_raw_shared_cache_size_half): Likewise.
24664 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
24666 (__x86_data_cache_size): This.
24667 (__x86_64_raw_data_cache_size): Renamed to ...
24668 (__x86_raw_data_cache_size): This.
24669 (__x86_64_data_cache_size_half): Renamed to ...
24670 (__x86_data_cache_size_half): This.
24671 (__x86_64_raw_data_cache_size_half): Renamed to ...
24672 (__x86_raw_data_cache_size_half): This.
24673 (__x86_64_shared_cache_size): Renamed to ...
24674 (__x86_shared_cache_size): This.
24675 (__x86_64_raw_shared_cache_size): Renamed to ...
24676 (__x86_raw_shared_cache_size): This.
24677 (__x86_64_shared_cache_size_half): Renamed to ...
24678 (__x86_shared_cache_size_half): This.
24679 (__x86_64_raw_shared_cache_size_half): Renamed to ...
24680 (__x86_raw_shared_cache_size_half): This.
24681 * sysdeps/x86_64/memcpy.S: Updated.
24682 * sysdeps/x86_64/memset.S: Likewise.
24683 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24684 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24685 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24687 2013-01-04 David S. Miller <davem@davemloft.net>
24689 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24691 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
24693 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
24694 1 to avoid redefinition warning.
24695 (__USE_GNU): Don't define.
24696 (init_signaling_nan): Protoize.
24698 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24700 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24702 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
24703 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
24704 (__cpymn): Likewise.
24705 (norm): Remove commented code.
24706 (denorm): Likewise.
24707 (__mp_dbl): Likewise.
24709 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
24710 (__cpymn): Likewise.
24711 (norm): Remove commented code.
24712 (denorm): Likewise.
24713 (__mp_dbl): Likewise.
24716 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
24717 mp_no value for 1.0 and 2.0.
24718 (norm): Use RADIXI instead of radixi.d.
24719 (denorm): Likewise.
24720 (__mul): Use 0.0 instead of zero.d.
24721 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
24722 mp_no value for 1.0 and 2.0.
24723 (norm): Use RADIXI instead of radixi.d.
24724 (denorm): Likewise.
24725 (__mul): Use 0.0 instead of zero.d.
24727 2013-01-04 Joseph Myers <joseph@codesourcery.com>
24730 * math/s_casinh.c (__casinh): Reduce finite argument to first
24731 quadrant then set signs of results at the end.
24732 * math/s_casinhf.c (__casinhf): Likewise.
24733 * math/s_casinhl.c (__casinhl): Likewise.
24734 * math/libm-test.inc (casin_test): Add more tests.
24735 (casinh_test): Likewise.
24736 * sysdeps/i386/fpu/libm-test-ulps: Update.
24737 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24739 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24741 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
24743 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
24745 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
24747 (denorm): Likewise.
24748 (__mp_dbl): Likewise.
24751 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
24752 and adjust the header comment.
24754 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
24755 variable name from declaration.
24757 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
24759 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24760 Initialize COMMON_CPUID_INDEX_7 element.
24761 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
24762 (CPUID_RTM): Likewise.
24763 (HAS_RTM): Likewise.
24764 (COMMON_CPUID_INDEX_7): New enum.
24766 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
24769 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
24770 size is zero, record memory as freed.
24772 2013-01-03 Andreas Jaeger <aj@suse.de>
24774 * po/ia.po: Add new Interlingua translation.
24776 2012-01-03 Allan McRae <allan@archlinux.org>
24778 * locale/programs/localedef.c: Fix description of '--posix' flag.
24780 2013-01-02 Joseph Myers <joseph@codesourcery.com>
24782 * NEWS: Update dates in second copyright notice.
24783 * README: Update copyright dates in example.
24784 * manual/libc.texinfo: Update copyright dates.
24785 * scripts/test-installation.pl: Update copyright date in --version
24788 * hurd/ctty-input.c: Fix copyright notice formatting.
24789 * hurd/ctty-output.c: Likewise.
24790 * hurd/dtable.c: Likewise.
24791 * hurd/hurd-raise.c: Likewise.
24792 * hurd/hurdprio.c: Likewise.
24793 * hurd/msgportdemux.c: Likewise.
24794 * misc/sys/file.h: Likewise.
24795 * misc/sys/ioctl.h: Likewise.
24796 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
24797 * sysdeps/mach/hurd/chdir.c: Likewise.
24798 * sysdeps/mach/hurd/fchdir.c: Likewise.
24799 * sysdeps/mach/hurd/rename.c: Likewise.
24800 * sysdeps/mach/hurd/rmdir.c: Likewise.
24801 * sysdeps/mach/hurd/seekdir.c: Likewise.
24802 * sysdeps/mach/hurd/setsid.c: Likewise.
24803 * sysdeps/posix/wait3.c: Likewise.
24805 * All files with FSF copyright notices: Update copyright dates
24806 using scripts/update-copyrights.
24807 * intl/plural.c: Regenerated.
24808 * locale/programs/charmap-kw.h: Likewise.
24809 * locale/programs/locfile-kw.h: Likewise.
24811 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
24813 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
24816 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
24817 calculation loop and add branch prediction.
24819 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
24820 check access beyond bounds of m1np.
24822 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
24824 (__inv): Remove local variable MPTWO to use the global
24826 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
24827 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
24829 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
24830 MP3HALFS static const.
24832 2013-01-01 David S. Miller <davem@davemloft.net>
24834 * po/ca.po: Update from translation team.
24836 2013-01-01 Joseph Myers <joseph@codesourcery.com>
24838 * scripts/update-copyrights: New file.
24839 * Makeconfig: Reformat copyright notice.
24840 * ctype/ctype.h: Likewise.
24841 * debug/swprintf_chk.c: Likewise.
24842 * elf/dl-cache.c: Likewise.
24843 * elf/dl-debug.c: Likewise.
24844 * elf/dl-object.c: Likewise.
24845 * grp/initgroups.c: Likewise.
24846 * hurd/Makefile: Likewise.
24847 * hurd/hurd/signal.h: Likewise.
24848 * hurd/hurdfault.c: Likewise.
24849 * hurd/hurdioctl.c: Likewise.
24850 * hurd/hurdlookup.c: Likewise.
24851 * hurd/intr-msg.c: Likewise.
24852 * iconv/gconv_open.c: Likewise.
24853 * libio/swprintf.c: Likewise.
24854 * locale/lc-ctype.c: Likewise.
24855 * locale/nl_langinfo.c: Likewise.
24856 * mach/Machrules: Likewise.
24857 * mach/Makefile: Likewise.
24858 * malloc/obstack.h: Likewise.
24859 * manual/Makefile: Likewise.
24860 * manual/tsort.awk: Likewise.
24861 * misc/bits/stab.def: Likewise.
24862 * nis/nis_print_group_entry.c: Likewise.
24863 * nis/nis_table.c: Likewise.
24864 * nis/nss_compat/compat-pwd.c: Likewise.
24865 * nis/nss_compat/compat-spwd.c: Likewise.
24866 * po/Makefile: Likewise.
24867 * posix/fnmatch.c: Likewise.
24868 * posix/regex.h: Likewise.
24869 * resolv/Makefile: Likewise.
24870 * resolv/nss_dns/dns-network.c: Likewise.
24871 * resolv/res_hconf.c: Likewise.
24872 * scripts/gen-sorted.awk: Likewise.
24873 * soft-fp/soft-fp.h: Likewise.
24874 * stdio-common/printf.h: Likewise.
24875 * stdlib/monetary.h: Likewise.
24876 * stdlib/random.c: Likewise.
24877 * stdlib/random_r.c: Likewise.
24878 * sysdeps/generic/Makefile: Likewise.
24879 * sysdeps/gnu/Makefile: Likewise.
24880 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
24881 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24882 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24883 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24884 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24885 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24886 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24887 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24888 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24889 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24890 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
24891 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
24892 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
24893 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
24894 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
24895 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
24896 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
24897 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24898 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24899 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24900 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
24901 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
24902 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
24903 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
24904 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
24905 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
24906 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
24907 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
24908 * sysdeps/mach/hurd/errnos.awk: Likewise.
24909 * sysdeps/mach/hurd/fork.c: Likewise.
24910 * sysdeps/mach/hurd/getcwd.c: Likewise.
24911 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
24912 * sysdeps/mach/hurd/mmap.c: Likewise.
24913 * sysdeps/mach/hurd/utimes.c: Likewise.
24914 * sysdeps/mach/hurd/xmknod.c: Likewise.
24915 * sysdeps/posix/profil.c: Likewise.
24916 * sysdeps/posix/readdir_r.c: Likewise.
24917 * sysdeps/powerpc/bits/mathdef.h: Likewise.
24918 * sysdeps/powerpc/bits/setjmp.h: Likewise.
24919 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
24920 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
24921 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24922 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
24923 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24924 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
24925 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24926 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
24927 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24928 * sysdeps/pthread/lio_listio.c: Likewise.
24929 * sysdeps/sparc/dl-procinfo.h: Likewise.
24930 * sysdeps/unix/i386/sysdep.S: Likewise.
24931 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
24932 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
24933 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
24934 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
24935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24936 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
24937 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
24938 * sysdeps/unix/sysv/linux/speed.c: Likewise.
24939 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
24940 * sysdeps/wordsize-32/divdi3.c: Likewise.
24941 * time/sys/time.h: Likewise.
24942 * wcsmbs/Makefile: Likewise.
24944 2013-01-01 David S. Miller <davem@davemloft.net>
24946 * po/fr.po: Update from translation team.
24948 * catgets/gencat.c: Update copyright year.
24949 * csu/version.c: Likewise.
24950 * debug/catchsegv.sh: Likewise.
24951 * debug/pcprofiledump.c: Likewise.
24952 * debug/xtrace.sh: Likewise.
24953 * elf/ldconfig.c: Likewise.
24954 * elf/ldd.bash.in: Likewise.
24955 * elf/pldd.c: Likewise.
24956 * elf/sotruss.ksh: Likewise.
24957 * elf/sprof.c: Likewise.
24958 * iconv/iconv_prog.c: Likewise.
24959 * iconv/iconvconfig.c: Likewise.
24960 * locale/programs/locale.c: Likewise.
24961 * locale/programs/localedef.c: Likewise.
24962 * login/programs/pt_chown.c: Likewise.
24963 * malloc/memusage.sh: Likewise.
24964 * malloc/memusagestat.c: Likewise.
24965 * malloc/mtrace.pl: Likewise.
24966 * nscd/nscd.c: Likewise.
24967 * nss/getent.c: Likewise.
24968 * nss/makedb.c: Likewise.
24969 * posix/getconf.c: Likewise.
24971 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
24973 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
24976 2012-12-30 Mike Frysinger <vapier@gentoo.org>
24978 * math/bits/mathcalls.h (modf): Use __nonnull.
24980 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24982 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
24983 (split): Use macro CN instead of the bare value.
24984 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
24986 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
24987 instead of the bare value.
24988 (power1): Likewise.
24990 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24992 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
24994 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24996 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
24998 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
24999 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25000 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
25001 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
25003 2012-12-28 Andreas Jaeger <aj@suse.de>
25005 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
25006 values are from Linux 3.7.
25008 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
25009 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
25011 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25013 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
25016 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
25018 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
25019 variables with preprocessor constants.
25020 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25021 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
25022 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
25024 2012-12-27 Bruno Haible <bruno@clisp.org>
25027 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
25030 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25032 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
25033 and use variable directly.
25034 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
25036 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
25038 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
25039 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25041 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25042 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
25043 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
25044 include directive. Remove local variable MPONE.
25045 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
25046 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
25047 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25049 2012-12-25 David S. Miller <davem@davemloft.net>
25051 * version.h (RELEASE): Set to "development".
25052 (VERSION): Set to "2.17.90".
25053 * NEWS: Add 2.18 section.
25055 2012-12-21 David S. Miller <davem@davemloft.net>
25057 * po/hr.po: Update from translation team.
25059 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25061 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
25063 2012-12-19 Steve Ellcey <sellcey@mips.com>
25065 * NEWS: Mention new memcpy for MIPS.
25067 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25069 * manual/contrib.texi (Contributors): Spelling correction.
25071 2012-12-15 David S. Miller <davem@davemloft.net>
25073 * po/ru.po: Update from translation team.
25075 2012-12-13 David S. Miller <davem@davemloft.net>
25077 * NEWS: Mention IFUNC testsuite enhancements.
25079 * po/pl.po: Update from translation team.
25080 * po/bg.po: Likewise.
25082 * manual/contrib.texi (Contributors): Update entries for Hongjiu
25083 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
25085 2012-12-11 David S. Miller <davem@davemloft.net>
25087 * po/sv.po: Update from translation team.
25089 * po/vi.po: Update from translation team.
25091 * po/cs.po: Update from translation team.
25093 * po/de.po: Update from translation team.
25094 * po/eo.po: Likewise.
25095 * po/nl.po: Likewise.
25097 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25100 * manual/argp.texi (Argp Helper Functions): Move node to follow
25101 Argp Parsing State.
25104 * manual/conf.texi (Limits on File System Capacity): Mention if
25105 terminating null is included in the max size.
25107 2012-12-10 Andreas Jaeger <aj@suse.de>
25109 * po/cs.po: Update from translation team.
25111 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
25113 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
25114 void pointer and cast to uintptr_t.
25115 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
25117 * sysdeps/s390/s390-64/memcpy.S: Likewise.
25118 * sysdeps/s390/s390-64/memset.S: Likewise.
25120 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
25123 * menual/message.texi (Message Translation): Fix typos.
25124 (Helper programs for gettext): Likewise.
25126 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
25129 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
25132 2012-12-07 David S. Miller <davem@davemloft.net>
25134 * po/libc.pot: Update.
25136 2012-12-07 Richard Henderson <rth@redhat.com>
25139 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
25140 normal/normal case to before the switch.
25141 (_FP_DIV): Likewise.
25143 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
25144 Mike Frysinger <vapier@gentoo.org>
25146 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
25147 check for __NR_fadvise64_64.
25149 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
25151 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
25152 0, not just to plain "0" as a statement.
25153 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
25156 2012-12-06 Joseph Myers <joseph@codesourcery.com>
25158 * NEWS: Use sourceware.org in Bugzilla URL.
25160 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
25162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
25163 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25165 * stdio-common/tst-put-error.c (do_test): Add newline to the
25166 padded test to ensure flush.
25168 2012-12-05 Jeff Law <law@redhat.com>
25170 * sunrpc/etc.rpc (fedfs_admin): Add entry.
25172 2012-12-05 Joseph Myers <joseph@codesourcery.com>
25174 * README: Don't refer to ports add-on as distributed separately.
25175 Mention AArch64 in list of systems supported in the ports add-on.
25177 * LICENSES: Add more non-FSF copyright and license notices.
25179 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
25182 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
25184 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
25185 10000 as width of padded output.
25187 2012-12-04 Joseph Myers <joseph@codesourcery.com>
25189 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
25191 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
25192 variable LX with __attribute__ ((unused)).
25193 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
25195 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
25196 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25197 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
25198 with __attribute__ ((unused)).
25200 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
25202 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
25204 2012-12-04 Joseph Myers <joseph@codesourcery.com>
25206 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
25207 (CFLAGS-nldbl-acos.c): New variable.
25208 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
25209 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
25210 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
25211 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
25212 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
25213 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
25214 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
25215 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
25216 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
25217 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
25218 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
25219 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
25220 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
25221 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
25222 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
25223 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
25224 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
25225 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
25226 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
25227 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
25228 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
25229 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
25230 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
25231 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
25232 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
25233 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
25234 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
25235 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
25236 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
25237 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
25238 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
25239 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
25240 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
25241 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
25242 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
25243 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
25244 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
25245 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
25246 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
25247 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
25248 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
25249 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
25250 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
25251 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
25252 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
25253 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
25254 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
25255 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
25256 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
25257 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
25258 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
25259 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
25260 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
25261 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
25262 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
25263 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
25264 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
25265 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
25266 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
25267 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
25268 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
25269 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
25270 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
25271 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
25272 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
25273 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
25274 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
25275 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
25276 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
25277 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
25278 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
25279 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
25280 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
25281 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
25282 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
25283 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
25284 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
25285 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
25286 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
25287 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
25288 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
25289 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
25290 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
25291 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
25292 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
25293 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
25294 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
25295 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
25296 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
25297 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
25298 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
25299 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
25300 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
25301 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
25302 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
25303 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
25304 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
25306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25307 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25310 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
25311 whole low double instead of just low 47 bits when splitting values
25314 2012-12-03 Allan McRae <allan@archlinux.org>
25316 * manual/stdio.texi (Predefined Printf Handlers): Remove
25317 @hsep and @vsep usage.
25319 2012-12-03 Mike Frysinger <vapier@gentoo.org>
25321 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
25322 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
25324 2012-12-03 Jeff Law <law@redhat.com>
25326 * time/sys/time.h (settimeofday): Do not mark TV argument
25329 2012-12-01 Mike Frysinger <vapier@gentoo.org>
25331 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
25332 when currently writing and seek to current position when not.
25333 * libio/Makefile (tests): Remove bug-fclose1.
25334 * libio/bug-fclose1.c: Delete.
25336 2012-12-01 Joseph Myers <joseph@codesourcery.com>
25338 * manual/arith.texi (feenableexcept): Fix typo.
25339 (fedisableexcept): Likewise.
25341 2012-11-30 Roland McGrath <roland@hack.frob.com>
25343 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
25344 second, differently-typed declaration, rather than a cast.
25346 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
25348 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
25349 * include/rpc/svc.h: ... here.
25351 2012-11-30 Aurelien Jarno <aurel32@debian.org>
25354 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
25355 depending n and resplen2 to catch cases where answer
25358 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
25360 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
25361 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
25363 2012-11-29 Mike Frysinger <vapier@gentoo.org>
25365 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
25367 2012-11-29 Roland McGrath <roland@hack.frob.com>
25369 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
25371 2012-11-28 Jeff Law <law@redhat.com>
25374 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
25375 dataset_temporary. Track alloca usage into alloca_used.
25376 If dataset is large allocate and release it via malloc/free.
25378 2012-06-04 Florian Weimer <fweimer@redhat.com>
25381 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
25383 2012-11-28 David S. Miller <davem@davemloft.net>
25385 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25387 2012-11-28 Joseph Myers <joseph@codesourcery.com>
25390 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
25391 of pi/2 rounded to nearest to 64 bits.
25392 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
25393 nearest to 64 bits.
25394 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
25397 2012-11-28 Jeff Law <law@redhat.com>
25398 Martin Osvald <mosvald@redhat.com>
25401 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
25402 * sunrpc/svc.c: Include time.h.
25403 (__svc_accept_failed): New function.
25404 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
25405 any reason other than EINTR, call __svc_accept_failed.
25406 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
25407 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
25409 2012-11-28 Andreas Schwab <schwab@suse.de>
25411 * scripts/abilist.awk: Also handle indirect functions in .opd
25414 2012-11-28 Joseph Myers <joseph@codesourcery.com>
25417 * sysdeps/x86/fpu/powl_helper.c: New file.
25418 * sysdeps/x86/fpu/Makefile: Likewise.
25419 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
25421 (__ieee754_powl): Use __powl_helper for finite arguments except
25422 integer exponents below 8.
25423 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
25425 (__ieee754_powl): Use __powl_helper for finite arguments except
25426 integer exponents below 8.
25427 * math/libm-test.inc (pow_test): Add more tests and enable some
25428 previously disabled tests.
25429 * sysdeps/i386/fpu/libm-test-ulps: Update.
25430 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25432 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25433 Carlos O'Donell <carlos_odonell@mentor.com>
25435 * nss/makedb.c (is_prime): Assert that input is odd and greater
25436 than 4. Note that fact in a comment too.
25437 (next_prime): Add 4 to input.
25439 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25442 * libio/Makefile (tests): Add test case tst-fwrite-error.
25443 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
25444 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
25445 * libio/tst-fwrite-error.c: New test case.
25447 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
25449 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
25450 before casting to void *.
25451 * include/libc-internal.h (__pointer_type): New macro.
25452 (__integer_if_pointer_type_sub): Likewise.
25453 (__integer_if_pointer_type): Likewise.
25454 (cast_to_integer): Likewise.
25455 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
25456 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
25457 before casting to atomic64_t.
25458 (atomic_exchange_acq): Likewise.
25459 (__arch_exchange_and_add_body): Likewise.
25460 (__arch_add_body): Likewise.
25461 (atomic_add_negative): Likewise.
25462 (atomic_add_zero): Likewise.
25464 2012-11-26 Joseph Myers <joseph@codesourcery.com>
25466 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
25467 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
25468 (add_fdes): Likewise.
25469 (linear_search_fdes): Likewise.
25470 (binary_search_unencoded_fdes): Likewise.
25472 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
25474 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
25476 2012-11-24 Adam Conrad <adconrad@0c3.net>
25478 * configure.in: Autodetect C++ header directories.
25479 * configure: Regenerated.
25481 2012-11-23 Mike Frysinger <vapier@gentoo.org>
25483 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
25485 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
25487 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25489 2012-11-22 Joseph Myers <joseph@codesourcery.com>
25491 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
25492 LDBL_MANT_DIG == 106]: Disable some tests.
25493 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
25495 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
25499 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
25500 input for small inputs. Return +/- pi/2 for large inputs.
25501 * math/libm-test.inc (atan_test): Add more tests.
25503 * sysdeps/generic/unwind-dw2-fde-glibc.c
25504 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
25505 __attribute__ ((unused)).
25508 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
25509 x * y if x and y are nonzero and z is zero.
25512 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
25513 nonzero exponents with absolute value below 0x1p-117 to +/-
25517 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
25518 up arguments below 2**-450, not just those below 2**-500.
25519 * math/libm-test.inc (hypot_test): Add another test.
25522 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
25523 Return a+b for ratio over 2**120, not 2**60.
25524 * math/libm-test.inc (hypot_test): Add another test.
25526 * math/libm-test.inc (clog_test): Use
25527 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
25528 (clog10_test): Likewise.
25531 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
25533 2012-11-22 Andreas Schwab <schwab@suse.de>
25535 * sysdeps/i386/fpu/libm-test-ulps: Update.
25537 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
25539 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
25540 printf output with newline.
25542 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
25545 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
25546 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
25547 -z nodlopen, -z initfirst and -z execstack support.
25548 * configure: Regenerated.
25550 * elf/elf.h (DF_1_NODIRECT): New macro.
25551 (DF_1_IGNMULDEF): Likewise.
25552 (DF_1_NOKSYMS): Likewise.
25553 (DF_1_NOHDR): Likewise.
25554 (DF_1_EDITED): Likewise.
25555 (DF_1_NORELOC): Likewise.
25556 (DF_1_SYMINTPOSE): Likewise.
25557 (DF_1_GLOBAUDIT): Likewise.
25558 (DF_1_SINGLETON): Likewise.
25559 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
25560 DT_1_SUPPORTED_MASK bits.
25561 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
25563 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
25565 * sysdeps/unix/make-syscalls.sh: Document prefixes.
25567 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
25569 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
25572 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
25573 (sendmmsg): Move declarations...
25574 * socket/sys/socket.h: ... here.
25575 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
25576 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
25578 * socket/recvmmsg.c: ... this new file.
25579 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
25580 (sendmmsg): Rename to __sendmmsg, create weak alias and make
25581 definition of __sendmmsg hidden.
25582 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
25583 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
25584 Move ENOSYS stub into and include it from...
25585 * socket/sendmmsg.c: ... this new file.
25586 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
25587 (sysdep_routines): Move recvmmsg and sendmmsg...
25588 * socket/Makefile (routines): ... here.
25589 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
25590 (GLIBC_PRIVATE): Add __sendmmsg.
25591 * include/sys/socket.h (__sendmmsg): Add declarations.
25592 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
25595 2012-11-20 Joseph Myers <joseph@codesourcery.com>
25597 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
25598 variable I1 with __attribute__ ((unused)).
25599 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
25601 2012-11-19 Joseph Myers <joseph@codesourcery.com>
25603 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
25604 DUMMY variables with __attribute__ ((unused)).
25606 * bits/byteswap.h: Include <bits/types.h>.
25607 (__bswap_64): Use __uint64_t instead of unsigned long long int.
25609 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
25611 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
25612 string_t. Do not manually set errno.
25613 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
25614 length with __strnlen. Make sure to both set errno and return it on
25617 2012-11-19 David S. Miller <davem@davemloft.net>
25619 With help from Joseph Myers.
25620 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
25621 very large arguments properly.
25622 * math/libm-test.inc (atan_test): New tests.
25623 (atan2_test): New tests.
25624 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25625 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25627 2012-11-19 Joseph Myers <joseph@codesourcery.com>
25630 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
25633 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
25634 [POSIX] (EADDRNOTAVAIL): Likewise.
25635 [POSIX] (EAFNOSUPPORT): Likewise.
25636 [POSIX] (EALREADY): Likewise.
25637 [POSIX] (ECONNABORTED): Likewise.
25638 [POSIX] (ECONNREFUSED): Likewise.
25639 [POSIX] (ECONNRESET): Likewise.
25640 [POSIX] (EDESTADDRREQ): Likewise.
25641 [POSIX] (EDQUOT): Likewise.
25642 [POSIX] (EHOSTUNREACH): Likewise.
25643 [POSIX] (EIDRM): Likewise.
25644 [POSIX] (EISCONN): Likewise.
25645 [POSIX] (ELOOP): Likewise.
25646 [POSIX] (EMULTIHOP): Likewise.
25647 [POSIX] (ENETDOWN): Likewise.
25648 [POSIX] (ENETUNREACH): Likewise.
25649 [POSIX] (ENOBUFS): Likewise.
25650 [POSIX] (ENODATA): Likewise.
25651 [POSIX] (ENOLINK): Likewise.
25652 [POSIX] (ENOMSG): Likewise.
25653 [POSIX] (ENOPROTOOPT): Likewise.
25654 [POSIX] (ENOSR): Likewise.
25655 [POSIX] (ENOSTR): Likewise.
25656 [POSIX] (ENOTCONN): Likewise.
25657 [POSIX] (ENOTSOCK): Likewise.
25658 [POSIX] (EOPNOTSUPP): Likewise.
25659 [POSIX] (EOVERFLOW): Likewise.
25660 [POSIX] (EPROTO): Likewise.
25661 [POSIX] (EPROTONOSUPPORT): Likewise.
25662 [POSIX] (EPROTOTYPE): Likewise.
25663 [POSIX] (ESTALE): Likewise.
25664 [POSIX] (ETIME): Likewise.
25665 [POSIX] (ETXTBSY): Likewise.
25666 [POSIX] (EWOULDBLOCK): Likewise.
25667 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
25668 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
25669 [POSIX] (SEEK_CUR): Likewise.
25670 [POSIX] (SEEK_END): Likewise.
25671 [POSIX || UNIX98] (mode_t): Do not require.
25672 [POSIX] (off_t): Likewise.
25673 [POSIX] (pid_t): Likewise.
25674 [POSIX] (sys/stat.h): Do not allow header.
25675 [POSIX] (unistd.h): Likewise.
25676 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
25677 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
25678 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
25679 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
25681 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
25682 sigevent): Specify elements.
25683 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
25685 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
25686 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
25688 * conform/data/cpio.h-data [POSIX]: Disable whole file.
25689 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
25690 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
25691 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
25692 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
25693 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
25694 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
25695 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
25696 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
25697 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
25698 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
25699 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
25700 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
25701 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
25703 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
25705 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
25707 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
25709 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
25710 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
25711 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
25712 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
25713 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
25714 Specify lower bound on value.
25715 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
25716 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
25717 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
25718 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
25719 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
25720 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
25721 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
25722 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
25724 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
25726 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
25727 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
25728 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
25729 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
25730 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
25731 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
25732 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
25733 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
25734 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
25735 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
25736 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
25737 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
25738 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
25739 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
25740 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
25741 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
25743 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
25745 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
25746 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
25747 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
25748 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
25749 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
25750 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
25752 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
25753 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
25754 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
25755 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
25756 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
25757 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
25758 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
25760 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
25761 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
25762 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
25763 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
25764 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
25765 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
25766 specify as optional.
25767 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
25768 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
25769 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
25770 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
25771 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
25772 [XPG3] (NL_LANGMAX): Likewise.
25773 [POSIX || XPG3] (NL_MSGMAX): Likewise.
25774 [POSIX || XPG3] (NL_NMAX): Likewise.
25775 [POSIX || XPG3] (NL_SETMAX): Likewise.
25776 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
25777 [XPG3] (NZERO): Likewise.
25778 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
25779 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
25780 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
25781 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
25782 (REG_ERANGE): Expect.
25783 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
25785 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
25786 Use (void) in prototype.
25787 [POSIX] (*_t): Allow.
25788 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
25789 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
25790 (WRDE_BADVAL): Expect.
25792 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
25794 [XPG3 || XPG4] (O_RSYNC): Likewise.
25795 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
25797 [XPG3 || XPG4] (pthread_sigmask): Likewise.
25798 [XPG3 || XPG4] (sigqueue): Likewise.
25799 [XPG3 || XPG4] (sigtimedwait): Likewise.
25800 [XPG3 || XPG4] (sigwaitinfo): Likewise.
25801 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
25802 [XPG3 || XPG4] (vsnprintf): Likewise.
25803 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
25805 [XPG3 || XPG4] (blksize_t): Likewise.
25806 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
25808 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
25809 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
25810 [XPG3 || XPG4] (struct itimerspec): Likewise.
25811 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
25812 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
25813 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
25814 [XPG3 || XPG4] (clockid_t): Likewise.
25815 [XPG3 || XPG4] (timer_t): Likewise.
25816 [XPG3 || XPG4] (clock_getres): Likewise.
25817 [XPG3 || XPG4] (clock_gettime): Likewise.
25818 [XPG3 || XPG4] (clock_settime): Likewise.
25819 [XPG3 || XPG4] (nanosleep): Likewise.
25820 [XPG3 || XPG4] (timer_create): Likewise.
25821 [XPG3 || XPG4] (timer_delete): Likewise.
25822 [XPG3 || XPG4] (timer_gettime): Likewise.
25823 [XPG3 || XPG4] (timer_getoverrun): Likewise.
25824 [XPG3 || XPG4] (timer_settime): Likewise.
25825 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
25826 [XPG3 || XPG4] (getlogin_r): Likewise.
25827 [XPG3 || XPG4] (pread): Likewise.
25828 [XPG3 || XPG4] (pthread_atfork): Likewise.
25829 [XPG3 || XPG4] (pwrite): Likewise.
25832 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
25835 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
25837 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
25838 finalizing MALLSTREAM.
25840 * sysdeps/mach/hurd/syncfs.c: New file.
25842 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25845 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
25846 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
25847 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
25848 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
25849 (_nss_dns_gethostbyname4_r): Likewise.
25850 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
25851 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
25853 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
25856 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
25858 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
25860 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
25861 * elf/cache.c (print_entry): Print ",AArch64" for
25864 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
25865 * elf/cache.c (print_entry): Print ",hard-float" for
25868 2012-11-18 David S. Miller <davem@davemloft.net>
25870 With help from Joseph Myers.
25871 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
25873 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
25875 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
25876 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
25878 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
25879 * math/libm-test.inc (y0_test): New tests.
25880 (y1_test): New tests.
25881 * sysdeps/i386/fpu/libm-test-ulps: Update.
25882 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25883 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25885 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
25887 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
25889 * configure: Regenerated.
25891 2012-11-17 David S. Miller <davem@davemloft.net>
25894 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
25895 nonzero exponents with absolute value below 0x1p-128 to +/-
25898 2012-11-17 Joseph Myers <joseph@codesourcery.com>
25900 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
25902 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
25904 * posix/getconf-speclist.c: New file.
25905 * posix/posix-envs.def: Likewise.
25906 * posix/confstr.c (START_ENV_GROUP): New macro.
25907 (END_ENV_GROUP): Likewise.
25908 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
25909 (KNOWN_PRESENT_ENV_STRING): Likewise.
25910 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
25911 (UNKNOWN_ENVIRONMENT): Likewise.
25912 (confstr): Include posix-envs.def instead of handling
25913 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
25914 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
25915 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
25916 (END_ENV_GROUP): Likewise.
25917 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
25918 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
25919 (UNKNOWN_ENVIRONMENT): Likewise.
25920 (__sysconf): Include posix-envs.def instead of handling associated
25921 cases directly here.
25922 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
25923 preprocessing getconf-speclist.c rather than running getconf or
25924 generating empty file.
25926 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
25928 * scripts/check-local-headers.sh: Ignore 'mach' headers.
25930 2012-11-16 Andrej Lajovic <natrij@gmail.com>
25933 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
25935 2012-11-16 David S. Miller <davem@davemloft.net>
25937 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
25938 smaller than LDBL_EPSILON/2.0L, just return xm1.
25940 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
25942 * elf/tst-array1.c (init): Set constructor priority to 1000.
25943 (fini): Set destructor priority to 1000.
25944 * elf/tst-array2dep.c: Likewise.
25946 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25949 * libio/fileops.c (_IO_new_file_write): Correctly return error.
25950 (_IO_new_file_xsputn): Also return EOF if none of the input
25951 data was written when overflow failed.
25952 * libio/iopadn.c (_IO_padn): Likewise.
25953 * libio/iowpadn.c (_IO_wpadn): Likewise.
25954 * stdio-common/tst-put-error.c: Add copyright notice.
25955 (do_test): Add case for printing padded string.
25956 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
25957 _IO_padn returned error.
25958 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
25959 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
25962 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25964 * libio/libioP.h: Add comment note that the references to C++
25965 bits are now obsolete.
25967 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25969 * math/libm-test.inc (check_complex): Use asprintf.
25971 2012-11-14 Joseph Myers <joseph@codesourcery.com>
25973 * debug/pcprofiledump.c (print_version): Update copyright year.
25974 * malloc/memusagestat.c (print_version): Likewise.
25976 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
25979 * elf/Makefile (tests): Add tst-audit8.
25980 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
25981 ($(objpfx)tst-audit8.out): New target.
25982 (tst-audit8-ENV): New variable.
25983 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
25984 audit if l_reloc_result is NULL.
25985 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
25986 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
25987 * elf/tst-audit8.c: New file.
25989 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25991 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
25992 * misc/Makefile (CFLAGS-select.c): Define.
25993 * posix/Makefile (CFLAGS-pause.c): Define.
25995 2012-11-13 David S. Miller <davem@davemloft.net>
25997 * crypt/Makefile: Move test targets after toplevel Rules
25998 inclusion. Grab any necessary sysdep routines when linking.
25999 * crypt/md5.c (md5_process_block): Remove define, we will always
26000 name it __md5_process_block.
26001 (md5_finish_ctx): Update md5_process_block call.
26002 (md5_stream): Likewise.
26003 (md5_process_bytes): Likewise.
26004 (md5_process_block): Rename to __md5_process_block and move to ...
26005 * crypt/md5-block.c: ... here.
26006 * crypt/sha256.c (sha256_process_block): Move to ...
26007 * crypt/sha256-block.c: ... here.
26008 * crypt/sha512.c (sha512_process_block): Move to ...
26009 * crypt/sha512-block.c: ... here.
26010 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
26012 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
26013 * sysdeps/sparc/sparc64/multiarch/Makefile
26014 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
26016 (localedef-aux): Add md5 crypto assembler when in locale subdir.
26017 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
26019 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
26020 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
26021 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
26022 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
26023 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
26024 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
26025 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
26026 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
26027 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
26029 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
26030 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
26032 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
26034 2012-11-13 Joseph Myers <joseph@codesourcery.com>
26036 * timezone/tzselect.ksh: Update from tzcode git revision
26037 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
26038 * timezone/zdump.c: Likewise.
26039 * timezone/zic.c: Likewise.
26040 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
26041 in TZVERSION setting, not $(PKGVERSION).
26042 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
26043 REPORT_BUGS_TO settings.
26046 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
26049 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26051 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
26052 detection to immediately after _FP_ROUND().
26053 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
26056 2012-11-11 David S. Miller <davem@davemloft.net>
26058 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
26060 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
26061 __close rather than their public counterparts.
26063 2012-11-10 Joseph Myers <joseph@codesourcery.com>
26065 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
26067 [UNIX98] (sem_timedwait): Do not expect.
26068 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
26069 [XPG4 || UNIX98] (sockatmark): Do not expect.
26070 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
26071 (clock_getcpuclockid): Do not expect.
26072 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
26073 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
26075 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
26076 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
26077 [UNIX98] (vwscanf): Likewise.
26078 [UNIX98] (vswscanf): Likewise.
26080 2012-11-09 Joseph Myers <joseph@codesourcery.com>
26082 * timezone/version.h: Remove file.
26083 * timezone/README: Do not refer to version.h.
26084 * timezone/Makefile ($(objpfx)zic.o): New dependency on
26085 $(objpfx)version.h.
26086 ($(objpfx)zdump.o): Likewise.
26087 ($(objpfx)version.h): New target.
26089 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
26091 * timezone/README: Don't mention modification to tzselect.ksh.
26092 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
26093 work on unmodified tzselect.ksh. Substitute version numbers in
26096 * Makefile (format-me): Remove.
26097 (INSTALL): Adjust indentation. Use commands directly instead of
26098 using $(format-me).
26100 * aclocal.m4 (ACX_PKGVERSION): New macro.
26101 (ACX_BUGURL): Likewise.
26102 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
26103 (PKGVERSION): New AC_DEFINE_UNQUOTED.
26104 (REPORT_BUGS_TO): Likewise.
26105 * configure: Regenerated.
26106 * config.h.in (PKGVERSION): New macro.
26107 (REPORT_BUGS_TO): Likewise.
26108 * config.make.in (PKGVERSION): New variable.
26109 (PKGVERSION_TEXI): Likewise.
26110 (REPORT_BUGS_TO): Likewise.
26111 (REPORT_BUGS_TEXI): Likewise.
26112 * Makefile (format-me): Use -I$(common-objpfx)manual.
26113 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
26114 ($(common-objpfx)manual/%): New target.
26115 (manual/%): Remove target.
26116 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
26117 (print_version): Use PKGVERSION.
26118 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
26119 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
26120 and REPORT_BUGS_TO.
26121 ($(objpfx)xtrace): Likewise.
26122 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
26123 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
26124 (print_version): Use PKGVERSION.
26125 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
26126 (do_version): Use PKGVERSION.
26127 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
26129 (common-ldd-rewrite): Likewise.
26130 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
26131 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
26132 (print_version): Use PKGVERSION.
26133 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
26134 * elf/pldd.c (argp_program_bug_address): Remove variable.
26135 (more_help): New function.
26136 (argp): Use more_help.
26137 (print_version): Use PKGVERSION.
26138 * elf/sln.c (main): Use PKGVERSION.
26139 (usage): Use REPORT_BUGS_TO.
26140 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
26141 (top level): Use PKGVERSION.
26142 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
26143 (print_version): Use PKGVERSION.
26144 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
26145 (print_version): Use PKGVERSION.
26146 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
26147 (print_version): Use PKGVERSION.
26148 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
26149 (print_version): Use PKGVERSION.
26150 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
26151 (print_version): Use PKGVERSION.
26152 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
26153 (print_version): Use PKGVERSION.
26154 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
26156 ($(objpfx)memusage): Likewise.
26157 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
26158 (do_version): Use PKGVERSION.
26159 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
26160 (print_version): Use PKGVERSION.
26161 * malloc/mtrace.pl ($PACKAGE): Remove variable.
26162 ($PKGVERSION): New variable.
26163 ($REPORT_BUGS_TO): Likewise.
26164 (usage): Use $REPORT_BUGS_TO.
26165 (top level): Use $PKGVERSION.
26166 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
26167 ($(objpfx)pkgvers.texi): New rule.
26168 ($(objpfx)stamp-pkgvers): Likewise.
26169 * manual/install.texi: Include pkgvers.texi.
26170 (--with-pkgversion): Document new configure option.
26171 (--with-bugurl): Likewise.
26172 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
26173 than necessarily for this particular distribution. Use
26174 REPORT_BUGS_TO for where to report bugs.
26175 * INSTALL: Regenerated.
26176 * manual/libc.texinfo: Include pkgvers.texi.
26177 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
26178 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
26179 (print_version): Use PKGVERSION.
26180 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
26181 (print_version): Use PKGVERSION.
26182 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
26183 (print_version): Use PKGVERSION.
26184 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
26185 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
26187 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
26188 (print_version): Use PKGVERSION.
26189 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
26190 (print_version): Use PKGVERSION.
26191 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
26194 * timezone/checktab.awk: Update from tzcode 2012i.
26195 * timezone/ialloc.c: Likewise.
26196 * timezone/private.h: Likewise.
26197 * timezone/scheck.c: Likewise.
26198 * timezone/tzfile.h: Likewise.
26199 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
26200 (TZVERSION): Hardcode tzcode version number.
26201 * timezone/zdump.c: Update from tzcode 2012i.
26202 * timezone/zic.c: Likewise.
26203 * timezone/version.h: New file.
26204 * timezone/README: Describe version.h. Update upstream location.
26207 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
26208 (mktemp): Enable declaration.
26209 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
26210 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
26211 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
26212 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
26214 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
26216 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
26218 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
26220 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
26222 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
26226 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
26227 offset in buffer as u_int32_t not u_long. Consistently use memcpy
26228 for copies of such integer values.
26229 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
26230 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
26232 2012-11-09 Andreas Jaeger <aj@suse.de>
26234 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
26235 definitions and declarations that are provided by
26236 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
26238 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26240 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
26241 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
26242 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
26245 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26247 * elf/elf.h: Update comment before AArch64 relocations.
26249 2012-11-07 David S. Miller <davem@davemloft.net>
26251 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
26252 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
26253 (__start_context): Declare.
26254 (__makecontext_ret): Delete.
26255 (__makecontext): Hook up __start_context instead of
26257 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
26258 (sysdep_routines): Add __start_context when in stdlib.
26260 2012-11-07 Joseph Myers <joseph@codesourcery.com>
26262 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
26263 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
26264 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
26266 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
26267 (READELF): New variable. Use it instead of hardcoded "readelf".
26269 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
26271 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
26272 * sysdeps/x86/Makefile: Here.
26273 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
26274 * sysdeps/x86/tst-xmmymm.sh: This.
26276 2012-11-07 Joseph Myers <joseph@codesourcery.com>
26278 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
26280 [UNIX98] (pthread_barrier_t): Do not expect.
26281 [UNIX98] (pthread_barrierattr_t): Likewise.
26282 [UNIX98] (pthread_spinlock_t): Likewise.
26283 [UNIX98] (pthread_barrier_destroy): Likewise.
26284 [UNIX98] (pthread_barrier_init): Likewise.
26285 [UNIX98] (pthread_barrier_wait): Likewise.
26286 [UNIX98] (pthread_barrierattr_destroy): Likewise.
26287 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
26288 [UNIX98] (pthread_barrierattr_init): Likewise.
26289 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
26290 [UNIX98] (pthread_getcpuclockid): Likewise.
26291 [UNIX98] (pthread_mutex_timedlock): Likewise.
26292 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
26293 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
26294 [UNIX98] (pthread_sigmask): Likewise.
26295 [UNIX98] (pthread_spin_destroy): Likewise.
26296 [UNIX98] (pthread_spin_init): Likewise.
26297 [UNIX98] (pthread_spin_lock): Likewise.
26298 [UNIX98] (pthread_spin_trylock): Likewise.
26299 [UNIX98] (pthread_spin_unlock): Likewise.
26300 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
26302 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
26303 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
26304 [XPG3 || XPG4] (pthread_cond_t): Likewise.
26305 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
26306 [XPG3 || XPG4] (pthread_key_t): Likewise.
26307 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
26308 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
26309 [XPG3 || XPG4] (pthread_once_t): Likewise.
26310 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
26311 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
26312 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
26313 [XPG3 || XPG4] (pthread_t): Likewise.
26315 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
26317 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
26319 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
26320 Change function return type to int.
26322 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
26323 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
26324 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
26325 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
26326 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
26327 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
26328 [!POSIX] (posix_madvise): Likewise.
26329 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
26331 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
26332 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
26333 (mode_t): Likewise.
26334 (posix_mem_offset): Likewise.
26335 (posix_typed_mem_get_info): Likewise.
26336 (posix_typed_mem_open): Likewise.
26338 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
26339 Change condition to [XOPEN2K8].
26341 * conform/conformtest.pl: Preprocess allow-header data with -x c
26342 instead of from stdin.
26343 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
26344 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
26345 [C99-based standards] (cerfc): Likewise.
26346 [C99-based standards] (cexp2): Likewise.
26347 [C99-based standards] (cexpm1): Likewise.
26348 [C99-based standards] (clog10): Likewise.
26349 [C99-based standards] (clog1p): Likewise.
26350 [C99-based standards] (clog2): Likewise.
26351 [C99-based standards] (clgamma): Likewise.
26352 [C99-based standards] (ctgamma): Likewise.
26353 [C99-based standards] (cerff): Likewise.
26354 [C99-based standards] (cerfcf): Likewise.
26355 [C99-based standards] (cexp2f): Likewise.
26356 [C99-based standards] (cexpm1f): Likewise.
26357 [C99-based standards] (clog10f): Likewise.
26358 [C99-based standards] (clog1pf): Likewise.
26359 [C99-based standards] (clog2f): Likewise.
26360 [C99-based standards] (clgammaf): Likewise.
26361 [C99-based standards] (ctgammaf): Likewise.
26362 [C99-based standards] (cerfl): Likewise.
26363 [C99-based standards] (cerfcl): Likewise.
26364 [C99-based standards] (cexp2l): Likewise.
26365 [C99-based standards] (cexpm1l): Likewise.
26366 [C99-based standards] (clog10l): Likewise.
26367 [C99-based standards] (clog1pl): Likewise.
26368 [C99-based standards] (clog2l): Likewise.
26369 [C99-based standards] (clgammal): Likewise.
26370 [C99-based standards] (ctgammal): Likewise.
26371 * conform/data/inttypes.h-data [C99-based standards]: Include
26372 stdint.h-data. Remove all expectations for stdint.h contents.
26373 [C99-based standards] (PRI*): Do not allow.
26374 [C99-based standards] (SCN*): Likewise.
26375 [C99-based standards] (*_t): Likewise.
26376 [C99-based-standards] (PRId8): Expect macro.
26377 [C99-based-standards] (PRIi8): Likewise.
26378 [C99-based-standards] (PRIo8): Likewise.
26379 [C99-based-standards] (PRIu8): Likewise.
26380 [C99-based-standards] (PRIx8): Likewise.
26381 [C99-based-standards] (PRIX8): Likewise.
26382 [C99-based-standards] (SCNd8): Likewise.
26383 [C99-based-standards] (SCNi8): Likewise.
26384 [C99-based-standards] (SCNo8): Likewise.
26385 [C99-based-standards] (SCNu8): Likewise.
26386 [C99-based-standards] (SCNx8): Likewise.
26387 [C99-based-standards] (PRIdLEAST8): Likewise.
26388 [C99-based-standards] (PRIiLEAST8): Likewise.
26389 [C99-based-standards] (PRIoLEAST8): Likewise.
26390 [C99-based-standards] (PRIuLEAST8): Likewise.
26391 [C99-based-standards] (PRIxLEAST8): Likewise.
26392 [C99-based-standards] (PRIXLEAST8): Likewise.
26393 [C99-based-standards] (SCNdLEAST8): Likewise.
26394 [C99-based-standards] (SCNiLEAST8): Likewise.
26395 [C99-based-standards] (SCNoLEAST8): Likewise.
26396 [C99-based-standards] (SCNuLEAST8): Likewise.
26397 [C99-based-standards] (SCNxLEAST8): Likewise.
26398 [C99-based-standards] (PRIdFAST8): Likewise.
26399 [C99-based-standards] (PRIiFAST8): Likewise.
26400 [C99-based-standards] (PRIoFAST8): Likewise.
26401 [C99-based-standards] (PRIuFAST8): Likewise.
26402 [C99-based-standards] (PRIxFAST8): Likewise.
26403 [C99-based-standards] (PRIXFAST8): Likewise.
26404 [C99-based-standards] (SCNdFAST8): Likewise.
26405 [C99-based-standards] (SCNiFAST8): Likewise.
26406 [C99-based-standards] (SCNoFAST8): Likewise.
26407 [C99-based-standards] (SCNuFAST8): Likewise.
26408 [C99-based-standards] (SCNxFAST8): Likewise.
26409 [C99-based-standards] (PRId16): Likewise.
26410 [C99-based-standards] (PRIi16): Likewise.
26411 [C99-based-standards] (PRIo16): Likewise.
26412 [C99-based-standards] (PRIu16): Likewise.
26413 [C99-based-standards] (PRIx16): Likewise.
26414 [C99-based-standards] (PRIX16): Likewise.
26415 [C99-based-standards] (SCNd16): Likewise.
26416 [C99-based-standards] (SCNi16): Likewise.
26417 [C99-based-standards] (SCNo16): Likewise.
26418 [C99-based-standards] (SCNu16): Likewise.
26419 [C99-based-standards] (SCNx16): Likewise.
26420 [C99-based-standards] (PRIdLEAST16): Likewise.
26421 [C99-based-standards] (PRIiLEAST16): Likewise.
26422 [C99-based-standards] (PRIoLEAST16): Likewise.
26423 [C99-based-standards] (PRIuLEAST16): Likewise.
26424 [C99-based-standards] (PRIxLEAST16): Likewise.
26425 [C99-based-standards] (PRIXLEAST16): Likewise.
26426 [C99-based-standards] (SCNdLEAST16): Likewise.
26427 [C99-based-standards] (SCNiLEAST16): Likewise.
26428 [C99-based-standards] (SCNoLEAST16): Likewise.
26429 [C99-based-standards] (SCNuLEAST16): Likewise.
26430 [C99-based-standards] (SCNxLEAST16): Likewise.
26431 [C99-based-standards] (PRIdFAST16): Likewise.
26432 [C99-based-standards] (PRIiFAST16): Likewise.
26433 [C99-based-standards] (PRIoFAST16): Likewise.
26434 [C99-based-standards] (PRIuFAST16): Likewise.
26435 [C99-based-standards] (PRIxFAST16): Likewise.
26436 [C99-based-standards] (PRIXFAST16): Likewise.
26437 [C99-based-standards] (SCNdFAST16): Likewise.
26438 [C99-based-standards] (SCNiFAST16): Likewise.
26439 [C99-based-standards] (SCNoFAST16): Likewise.
26440 [C99-based-standards] (SCNuFAST16): Likewise.
26441 [C99-based-standards] (SCNxFAST16): Likewise.
26442 [C99-based-standards] (PRId32): Likewise.
26443 [C99-based-standards] (PRIi32): Likewise.
26444 [C99-based-standards] (PRIo32): Likewise.
26445 [C99-based-standards] (PRIu32): Likewise.
26446 [C99-based-standards] (PRIx32): Likewise.
26447 [C99-based-standards] (PRIX32): Likewise.
26448 [C99-based-standards] (SCNd32): Likewise.
26449 [C99-based-standards] (SCNi32): Likewise.
26450 [C99-based-standards] (SCNo32): Likewise.
26451 [C99-based-standards] (SCNu32): Likewise.
26452 [C99-based-standards] (SCNx32): Likewise.
26453 [C99-based-standards] (PRIdLEAST32): Likewise.
26454 [C99-based-standards] (PRIiLEAST32): Likewise.
26455 [C99-based-standards] (PRIoLEAST32): Likewise.
26456 [C99-based-standards] (PRIuLEAST32): Likewise.
26457 [C99-based-standards] (PRIxLEAST32): Likewise.
26458 [C99-based-standards] (PRIXLEAST32): Likewise.
26459 [C99-based-standards] (SCNdLEAST32): Likewise.
26460 [C99-based-standards] (SCNiLEAST32): Likewise.
26461 [C99-based-standards] (SCNoLEAST32): Likewise.
26462 [C99-based-standards] (SCNuLEAST32): Likewise.
26463 [C99-based-standards] (SCNxLEAST32): Likewise.
26464 [C99-based-standards] (PRIdFAST32): Likewise.
26465 [C99-based-standards] (PRIiFAST32): Likewise.
26466 [C99-based-standards] (PRIoFAST32): Likewise.
26467 [C99-based-standards] (PRIuFAST32): Likewise.
26468 [C99-based-standards] (PRIxFAST32): Likewise.
26469 [C99-based-standards] (PRIXFAST32): Likewise.
26470 [C99-based-standards] (SCNdFAST32): Likewise.
26471 [C99-based-standards] (SCNiFAST32): Likewise.
26472 [C99-based-standards] (SCNoFAST32): Likewise.
26473 [C99-based-standards] (SCNuFAST32): Likewise.
26474 [C99-based-standards] (SCNxFAST32): Likewise.
26475 [C99-based-standards] (PRId64): Likewise.
26476 [C99-based-standards] (PRIi64): Likewise.
26477 [C99-based-standards] (PRIo64): Likewise.
26478 [C99-based-standards] (PRIu64): Likewise.
26479 [C99-based-standards] (PRIx64): Likewise.
26480 [C99-based-standards] (PRIX64): Likewise.
26481 [C99-based-standards] (SCNd64): Likewise.
26482 [C99-based-standards] (SCNi64): Likewise.
26483 [C99-based-standards] (SCNo64): Likewise.
26484 [C99-based-standards] (SCNu64): Likewise.
26485 [C99-based-standards] (SCNx64): Likewise.
26486 [C99-based-standards] (PRIdLEAST64): Likewise.
26487 [C99-based-standards] (PRIiLEAST64): Likewise.
26488 [C99-based-standards] (PRIoLEAST64): Likewise.
26489 [C99-based-standards] (PRIuLEAST64): Likewise.
26490 [C99-based-standards] (PRIxLEAST64): Likewise.
26491 [C99-based-standards] (PRIXLEAST64): Likewise.
26492 [C99-based-standards] (SCNdLEAST64): Likewise.
26493 [C99-based-standards] (SCNiLEAST64): Likewise.
26494 [C99-based-standards] (SCNoLEAST64): Likewise.
26495 [C99-based-standards] (SCNuLEAST64): Likewise.
26496 [C99-based-standards] (SCNxLEAST64): Likewise.
26497 [C99-based-standards] (PRIdFAST64): Likewise.
26498 [C99-based-standards] (PRIiFAST64): Likewise.
26499 [C99-based-standards] (PRIoFAST64): Likewise.
26500 [C99-based-standards] (PRIuFAST64): Likewise.
26501 [C99-based-standards] (PRIxFAST64): Likewise.
26502 [C99-based-standards] (PRIXFAST64): Likewise.
26503 [C99-based-standards] (SCNdFAST64): Likewise.
26504 [C99-based-standards] (SCNiFAST64): Likewise.
26505 [C99-based-standards] (SCNoFAST64): Likewise.
26506 [C99-based-standards] (SCNuFAST64): Likewise.
26507 [C99-based-standards] (SCNxFAST64): Likewise.
26508 [C99-based-standards] (PRIdMAX): Likewise.
26509 [C99-based-standards] (PRIiMAX): Likewise.
26510 [C99-based-standards] (PRIoMAX): Likewise.
26511 [C99-based-standards] (PRIuMAX): Likewise.
26512 [C99-based-standards] (PRIxMAX): Likewise.
26513 [C99-based-standards] (PRIXMAX): Likewise.
26514 [C99-based-standards] (SCNdMAX): Likewise.
26515 [C99-based-standards] (SCNiMAX): Likewise.
26516 [C99-based-standards] (SCNoMAX): Likewise.
26517 [C99-based-standards] (SCNuMAX): Likewise.
26518 [C99-based-standards] (SCNxMAX): Likewise.
26519 [C99-based-standards] (PRIdPTR): Likewise.
26520 [C99-based-standards] (PRIiPTR): Likewise.
26521 [C99-based-standards] (PRIoPTR): Likewise.
26522 [C99-based-standards] (PRIuPTR): Likewise.
26523 [C99-based-standards] (PRIxPTR): Likewise.
26524 [C99-based-standards] (PRIXPTR): Likewise.
26525 [C99-based-standards] (SCNdPTR): Likewise.
26526 [C99-based-standards] (SCNiPTR): Likewise.
26527 [C99-based-standards] (SCNoPTR): Likewise.
26528 [C99-based-standards] (SCNuPTR): Likewise.
26529 [C99-based-standards] (SCNxPTR): Likewise.
26530 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
26532 * conform/data/stdint.h-data: Update comments to clarify
26534 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
26536 [C99-based standards] (INT8_MAX): Likewise.
26537 [C99-based standards] (INT16_MIN): Likewise.
26538 [C99-based standards] (INT16_MAX): Likewise.
26539 [C99-based standards] (INT32_MIN): Likewise.
26540 [C99-based standards] (INT32_MAX): Likewise.
26541 [C99-based standards] (INT64_MIN): Likewise.
26542 [C99-based standards] (INT64_MAX): Likewise.
26543 [C99-based standards] (UINT8_MAX): Likewise.
26544 [C99-based standards] (UINT16_MAX): Likewise.
26545 [C99-based standards] (UINT32_MAX): Likewise.
26546 [C99-based standards] (UINT64_MAX): Likewise.
26547 [C99-based standards] (INT_LEAST8_MIN): Likewise.
26548 [C99-based standards] (INT_LEAST8_MAX): Likewise.
26549 [C99-based standards] (INT_LEAST16_MIN): Likewise.
26550 [C99-based standards] (INT_LEAST16_MAX): Likewise.
26551 [C99-based standards] (INT_LEAST32_MIN): Likewise.
26552 [C99-based standards] (INT_LEAST32_MAX): Likewise.
26553 [C99-based standards] (INT_LEAST64_MIN): Likewise.
26554 [C99-based standards] (INT_LEAST64_MAX): Likewise.
26555 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
26556 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
26557 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
26558 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
26559 [C99-based standards] (INT_FAST8_MIN): Likewise.
26560 [C99-based standards] (INT_FAST8_MAX): Likewise.
26561 [C99-based standards] (INT_FAST16_MIN): Likewise.
26562 [C99-based standards] (INT_FAST16_MAX): Likewise.
26563 [C99-based standards] (INT_FAST32_MIN): Likewise.
26564 [C99-based standards] (INT_FAST32_MAX): Likewise.
26565 [C99-based standards] (INT_FAST64_MIN): Likewise.
26566 [C99-based standards] (INT_FAST64_MAX): Likewise.
26567 [C99-based standards] (UINT_FAST8_MAX): Likewise.
26568 [C99-based standards] (UINT_FAST16_MAX): Likewise.
26569 [C99-based standards] (UINT_FAST32_MAX): Likewise.
26570 [C99-based standards] (UINT_FAST64_MAX): Likewise.
26571 [C99-based standards] (INTPTR_MIN): Likewise.
26572 [C99-based standards] (INTPTR_MAX): Likewise.
26573 [C99-based standards] (UINTPTR_MAX): Likewise.
26574 [C99-based standards] (INTMAX_MIN): Likewise.
26575 [C99-based standards] (INTMAX_MAX): Likewise.
26576 [C99-based standards] (UINTMAX_MAX): Likewise.
26577 [C99-based standards] (PTRDIFF_MIN): Likewise.
26578 [C99-based standards] (PTRDIFF_MAX): Likewise.
26579 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
26580 [C99-based standards] (SIZE_MAX): Likewise.
26581 [C99-based standards] (WCHAR_MAX): Likewise.
26582 [C99-based standards] (WINT_MAX): Likewise.
26583 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
26584 constraint on value.
26585 [C99-based standards] (WCHAR_MIN): Likewise.
26586 [C99-based standards] (WINT_MIN): Likewise.
26587 [C99-based standards] (*_t): Allow.
26588 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
26589 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
26590 Include math.h-data and complex.h-data. Remove all expectations
26591 of math.h and complex.h contents.
26592 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
26594 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
26595 (struct tm): Expect tag.
26596 [C99-based-standards] (wcstof): Expect function.
26597 [C99-based-standards] (wcstold): Likewise.
26598 [C99-based-standards] (wcstoll): Likewise.
26599 [C99-based-standards] (wcstoull): Likewise.
26600 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
26601 macro-int-constant. Specify type.
26602 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
26603 constraint on value.
26604 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26606 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
26608 [ISO C standards]: Do not allow headers.
26609 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
26610 wcs[abcdefghijklmnopqrstuvwxyz]*.
26611 [ISO C standards] (*_t): Do not allow.
26612 * conform/data/wctype.h-data [C99-based standards] (iswblank):
26614 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
26615 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26617 [ISO C standards]: Do not allow headers.
26618 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
26619 is[abcdefghijklmnopqrstuvwxyz]*.
26620 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
26621 to[abcdefghijklmnopqrstuvwxyz]*.
26622 [ISO C standards] (*_t): Do not allow.
26623 * conform/data/stdalign.h-data: New file.
26624 * conform/data/stdbool.h-data: Likewise.
26625 * conform/data/stdnoreturn.h-data: Likewise.
26627 2012-11-07 Roland McGrath <roland@hack.frob.com>
26630 * manual/filesys.texi (Directory Entries): Typo fix.
26631 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
26633 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26635 * elf/elf.h (EM_AARCH64): New macro.
26636 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
26637 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
26638 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
26639 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
26640 (R_AARCH64_TLSDESC): Likewise.
26641 (NT_ARM_TLS): Likewise.
26642 (NT_ARM_HW_BREAK): Likewise.
26643 (NT_ARM_HW_WATCH): Likewise.
26645 2012-11-07 Joseph Myers <joseph@codesourcery.com>
26648 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
26649 (__ieee754_powl): Saturate nonzero exponents with absolute value
26650 below 0x1p-79 to +/- 0x1p-79.
26651 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
26652 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
26653 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
26654 nonzero exponents with absolute value below 0x1p-32 to +/-
26656 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
26657 (__ieee754_powl): Saturate nonzero exponents with absolute value
26658 below 0x1p-79 to +/- 0x1p-79.
26659 * math/libm-test.inc (pow_test): Add more tests.
26661 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26663 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
26664 _dl_s390_cap_flags with kernel. Increase string length.
26665 (_dl_s390_platforms): Add z196 and zEC12.
26667 2012-11-07 Joseph Myers <joseph@codesourcery.com>
26669 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
26670 Change XOPEN21K to XOPEN2K.
26672 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
26674 * string/memmove.c: Use memcpy when possible.
26676 2012-11-06 Andreas Jaeger <aj@suse.de>
26678 * po/eo.po: Update from translation team.
26680 2012-11-06 Joseph Myers <joseph@codesourcery.com>
26683 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
26684 exponent and small x and y exponents, scale x or y up. Increase
26685 by 2 the exponent used in scaling up.
26686 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26687 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26688 * math/libm-test.inc (fma_test): Add more tests.
26689 (fma_test_towardzero): Likewise.
26690 (fma_test_downward): Likewise.
26691 (fma_test_upward): Likewise.
26693 2012-11-05 Joseph Myers <joseph@codesourcery.com>
26696 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
26700 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
26701 namespace for names of struct fields.
26702 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
26704 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
26705 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
26707 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
26710 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
26712 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
26714 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
26718 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
26721 2012-11-04 Joseph Myers <joseph@codesourcery.com>
26724 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
26725 definitely overflow as x * y not x * y + z.
26726 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26727 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26728 * math/libm-test.inc (fma_test): Add more tests.
26729 (fma_test_towardzero): Likewise.
26730 (fma_test_downward): Likewise.
26731 (fma_test_upward): Likewise.
26733 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
26737 * include/stub-tag.h: Remove file.
26738 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
26740 * manual/maint.texi (Porting): Don't reference it.
26741 * Makerules ($(objpfx)stubs): Likewise.
26742 * dirent/closedir.c: Don't include <stub-tag.h>.
26743 * dirent/dirfd.c: Likewise.
26744 * dirent/fdopendir.c: Likewise.
26745 * dirent/getdents.c: Likewise.
26746 * dirent/getdents64.c: Likewise.
26747 * dirent/opendir.c: Likewise.
26748 * dirent/readdir.c: Likewise.
26749 * dirent/readdir64.c: Likewise.
26750 * dirent/readdir64_r.c: Likewise.
26751 * dirent/readdir_r.c: Likewise.
26752 * dirent/rewinddir.c: Likewise.
26753 * dirent/seekdir.c: Likewise.
26754 * dirent/telldir.c: Likewise.
26755 * gmon/profil.c: Likewise.
26756 * grp/setgroups.c: Likewise.
26757 * inet/if_index.c: Likewise.
26758 * io/access.c: Likewise.
26759 * io/chdir.c: Likewise.
26760 * io/chmod.c: Likewise.
26761 * io/chown.c: Likewise.
26762 * io/close.c: Likewise.
26763 * io/dup.c: Likewise.
26764 * io/dup2.c: Likewise.
26765 * io/dup3.c: Likewise.
26766 * io/euidaccess.c: Likewise.
26767 * io/faccessat.c: Likewise.
26768 * io/fchdir.c: Likewise.
26769 * io/fchmod.c: Likewise.
26770 * io/fchmodat.c: Likewise.
26771 * io/fchown.c: Likewise.
26772 * io/fchownat.c: Likewise.
26773 * io/fcntl.c: Likewise.
26774 * io/flock.c: Likewise.
26775 * io/fstatfs.c: Likewise.
26776 * io/fstatfs64.c: Likewise.
26777 * io/fstatvfs.c: Likewise.
26778 * io/fstatvfs64.c: Likewise.
26779 * io/futimens.c: Likewise.
26780 * io/fxstat.c: Likewise.
26781 * io/fxstat64.c: Likewise.
26782 * io/fxstatat.c: Likewise.
26783 * io/fxstatat64.c: Likewise.
26784 * io/getcwd.c: Likewise.
26785 * io/isatty.c: Likewise.
26786 * io/lchmod.c: Likewise.
26787 * io/lchown.c: Likewise.
26788 * io/link.c: Likewise.
26789 * io/linkat.c: Likewise.
26790 * io/lseek.c: Likewise.
26791 * io/lseek64.c: Likewise.
26792 * io/lxstat64.c: Likewise.
26793 * io/mkdir.c: Likewise.
26794 * io/mkdirat.c: Likewise.
26795 * io/mkfifo.c: Likewise.
26796 * io/mkfifoat.c: Likewise.
26797 * io/open.c: Likewise.
26798 * io/open64.c: Likewise.
26799 * io/openat.c: Likewise.
26800 * io/openat64.c: Likewise.
26801 * io/pipe.c: Likewise.
26802 * io/pipe2.c: Likewise.
26803 * io/poll.c: Likewise.
26804 * io/posix_fadvise.c: Likewise.
26805 * io/posix_fadvise64.c: Likewise.
26806 * io/posix_fallocate.c: Likewise.
26807 * io/posix_fallocate64.c: Likewise.
26808 * io/read.c: Likewise.
26809 * io/readlink.c: Likewise.
26810 * io/readlinkat.c: Likewise.
26811 * io/rmdir.c: Likewise.
26812 * io/sendfile.c: Likewise.
26813 * io/sendfile64.c: Likewise.
26814 * io/statfs.c: Likewise.
26815 * io/statfs64.c: Likewise.
26816 * io/statvfs.c: Likewise.
26817 * io/statvfs64.c: Likewise.
26818 * io/symlink.c: Likewise.
26819 * io/symlinkat.c: Likewise.
26820 * io/ttyname.c: Likewise.
26821 * io/ttyname_r.c: Likewise.
26822 * io/umask.c: Likewise.
26823 * io/unlink.c: Likewise.
26824 * io/unlinkat.c: Likewise.
26825 * io/utime.c: Likewise.
26826 * io/utimensat.c: Likewise.
26827 * io/write.c: Likewise.
26828 * io/xmknod.c: Likewise.
26829 * io/xmknodat.c: Likewise.
26830 * io/xstat.c: Likewise.
26831 * io/xstat64.c: Likewise.
26832 * login/getpt.c: Likewise.
26833 * login/grantpt.c: Likewise.
26834 * login/unlockpt.c: Likewise.
26835 * math/e_acoshl.c: Likewise.
26836 * math/e_acosl.c: Likewise.
26837 * math/e_asinl.c: Likewise.
26838 * math/e_atan2l.c: Likewise.
26839 * math/e_atanhl.c: Likewise.
26840 * math/e_coshl.c: Likewise.
26841 * math/e_expl.c: Likewise.
26842 * math/e_fmodl.c: Likewise.
26843 * math/e_gammal_r.c: Likewise.
26844 * math/e_hypotl.c: Likewise.
26845 * math/e_j0l.c: Likewise.
26846 * math/e_j1l.c: Likewise.
26847 * math/e_jnl.c: Likewise.
26848 * math/e_lgammal_r.c: Likewise.
26849 * math/e_log10l.c: Likewise.
26850 * math/e_log2l.c: Likewise.
26851 * math/e_logl.c: Likewise.
26852 * math/e_powl.c: Likewise.
26853 * math/e_rem_pio2l.c: Likewise.
26854 * math/e_sinhl.c: Likewise.
26855 * math/e_sqrtl.c: Likewise.
26856 * math/fclrexcpt.c: Likewise.
26857 * math/fedisblxcpt.c: Likewise.
26858 * math/feenablxcpt.c: Likewise.
26859 * math/fegetenv.c: Likewise.
26860 * math/fegetexcept.c: Likewise.
26861 * math/fegetround.c: Likewise.
26862 * math/feholdexcpt.c: Likewise.
26863 * math/fesetenv.c: Likewise.
26864 * math/fesetround.c: Likewise.
26865 * math/feupdateenv.c: Likewise.
26866 * math/fgetexcptflg.c: Likewise.
26867 * math/fraiseexcpt.c: Likewise.
26868 * math/fsetexcptflg.c: Likewise.
26869 * math/ftestexcept.c: Likewise.
26870 * math/k_cosl.c: Likewise.
26871 * math/k_rem_pio2l.c: Likewise.
26872 * math/k_sinl.c: Likewise.
26873 * math/k_tanl.c: Likewise.
26874 * math/s_asinhl.c: Likewise.
26875 * math/s_atanl.c: Likewise.
26876 * math/s_cbrtl.c: Likewise.
26877 * math/s_erfl.c: Likewise.
26878 * math/s_expm1l.c: Likewise.
26879 * math/s_log1pl.c: Likewise.
26880 * math/s_tanhl.c: Likewise.
26881 * misc/acct.c: Likewise.
26882 * misc/brk.c: Likewise.
26883 * misc/chflags.c: Likewise.
26884 * misc/chroot.c: Likewise.
26885 * misc/fchflags.c: Likewise.
26886 * misc/fgetxattr.c: Likewise.
26887 * misc/flistxattr.c: Likewise.
26888 * misc/fremovexattr.c: Likewise.
26889 * misc/fsetxattr.c: Likewise.
26890 * misc/fsync.c: Likewise.
26891 * misc/ftruncate.c: Likewise.
26892 * misc/futimes.c: Likewise.
26893 * misc/futimesat.c: Likewise.
26894 * misc/getdomain.c: Likewise.
26895 * misc/getdtsz.c: Likewise.
26896 * misc/gethostid.c: Likewise.
26897 * misc/gethostname.c: Likewise.
26898 * misc/getloadavg.c: Likewise.
26899 * misc/getpagesize.c: Likewise.
26900 * misc/getsysstats.c: Likewise.
26901 * misc/getxattr.c: Likewise.
26902 * misc/gtty.c: Likewise.
26903 * misc/ioctl.c: Likewise.
26904 * misc/lgetxattr.c: Likewise.
26905 * misc/listxattr.c: Likewise.
26906 * misc/llistxattr.c: Likewise.
26907 * misc/lremovexattr.c: Likewise.
26908 * misc/lsetxattr.c: Likewise.
26909 * misc/lutimes.c: Likewise.
26910 * misc/madvise.c: Likewise.
26911 * misc/mincore.c: Likewise.
26912 * misc/mlock.c: Likewise.
26913 * misc/mlockall.c: Likewise.
26914 * misc/mmap.c: Likewise.
26915 * misc/mprotect.c: Likewise.
26916 * misc/msync.c: Likewise.
26917 * misc/munlock.c: Likewise.
26918 * misc/munlockall.c: Likewise.
26919 * misc/munmap.c: Likewise.
26920 * misc/preadv.c: Likewise.
26921 * misc/preadv64.c: Likewise.
26922 * misc/ptrace.c: Likewise.
26923 * misc/pwritev.c: Likewise.
26924 * misc/pwritev64.c: Likewise.
26925 * misc/readv.c: Likewise.
26926 * misc/reboot.c: Likewise.
26927 * misc/remap_file_pages.c: Likewise.
26928 * misc/removexattr.c: Likewise.
26929 * misc/revoke.c: Likewise.
26930 * misc/select.c: Likewise.
26931 * misc/setdomain.c: Likewise.
26932 * misc/setegid.c: Likewise.
26933 * misc/seteuid.c: Likewise.
26934 * misc/sethostid.c: Likewise.
26935 * misc/sethostname.c: Likewise.
26936 * misc/setregid.c: Likewise.
26937 * misc/setreuid.c: Likewise.
26938 * misc/setxattr.c: Likewise.
26939 * misc/sstk.c: Likewise.
26940 * misc/stty.c: Likewise.
26941 * misc/swapoff.c: Likewise.
26942 * misc/swapon.c: Likewise.
26943 * misc/sync.c: Likewise.
26944 * misc/syncfs.c: Likewise.
26945 * misc/syscall.c: Likewise.
26946 * misc/truncate.c: Likewise.
26947 * misc/ualarm.c: Likewise.
26948 * misc/usleep.c: Likewise.
26949 * misc/ustat.c: Likewise.
26950 * misc/utimes.c: Likewise.
26951 * misc/vhangup.c: Likewise.
26952 * misc/writev.c: Likewise.
26953 * posix/_exit.c: Likewise.
26954 * posix/alarm.c: Likewise.
26955 * posix/execve.c: Likewise.
26956 * posix/fexecve.c: Likewise.
26957 * posix/fork.c: Likewise.
26958 * posix/fpathconf.c: Likewise.
26959 * posix/getaddrinfo.c: Likewise.
26960 * posix/getegid.c: Likewise.
26961 * posix/geteuid.c: Likewise.
26962 * posix/getgid.c: Likewise.
26963 * posix/getgroups.c: Likewise.
26964 * posix/getlogin.c: Likewise.
26965 * posix/getlogin_r.c: Likewise.
26966 * posix/getpgid.c: Likewise.
26967 * posix/getpid.c: Likewise.
26968 * posix/getppid.c: Likewise.
26969 * posix/getresgid.c: Likewise.
26970 * posix/getresuid.c: Likewise.
26971 * posix/getsid.c: Likewise.
26972 * posix/getuid.c: Likewise.
26973 * posix/glob64.c: Likewise.
26974 * posix/nanosleep.c: Likewise.
26975 * posix/pathconf.c: Likewise.
26976 * posix/pause.c: Likewise.
26977 * posix/posix_madvise.c: Likewise.
26978 * posix/pread.c: Likewise.
26979 * posix/pread64.c: Likewise.
26980 * posix/pwrite.c: Likewise.
26981 * posix/pwrite64.c: Likewise.
26982 * posix/sched_getaffinity.c: Likewise.
26983 * posix/sched_getp.c: Likewise.
26984 * posix/sched_gets.c: Likewise.
26985 * posix/sched_primax.c: Likewise.
26986 * posix/sched_primin.c: Likewise.
26987 * posix/sched_rr_gi.c: Likewise.
26988 * posix/sched_setaffinity.c: Likewise.
26989 * posix/sched_setp.c: Likewise.
26990 * posix/sched_sets.c: Likewise.
26991 * posix/sched_yield.c: Likewise.
26992 * posix/setgid.c: Likewise.
26993 * posix/setlogin.c: Likewise.
26994 * posix/setpgid.c: Likewise.
26995 * posix/setresgid.c: Likewise.
26996 * posix/setresuid.c: Likewise.
26997 * posix/setsid.c: Likewise.
26998 * posix/setuid.c: Likewise.
26999 * posix/sleep.c: Likewise.
27000 * posix/spawni.c: Likewise.
27001 * posix/sysconf.c: Likewise.
27002 * posix/times.c: Likewise.
27003 * posix/wait.c: Likewise.
27004 * posix/wait3.c: Likewise.
27005 * posix/wait4.c: Likewise.
27006 * posix/waitpid.c: Likewise.
27007 * resolv/gai_sigqueue.c: Likewise.
27008 * resource/getpriority.c: Likewise.
27009 * resource/getrlimit.c: Likewise.
27010 * resource/getrusage.c: Likewise.
27011 * resource/nice.c: Likewise.
27012 * resource/setpriority.c: Likewise.
27013 * resource/setrlimit.c: Likewise.
27014 * resource/ulimit.c: Likewise.
27015 * rt/aio_cancel.c: Likewise.
27016 * rt/aio_fsync.c: Likewise.
27017 * rt/aio_read.c: Likewise.
27018 * rt/aio_sigqueue.c: Likewise.
27019 * rt/aio_suspend.c: Likewise.
27020 * rt/aio_write.c: Likewise.
27021 * rt/clock_getres.c: Likewise.
27022 * rt/clock_gettime.c: Likewise.
27023 * rt/clock_nanosleep.c: Likewise.
27024 * rt/clock_settime.c: Likewise.
27025 * rt/lio_listio.c: Likewise.
27026 * rt/mq_close.c: Likewise.
27027 * rt/mq_getattr.c: Likewise.
27028 * rt/mq_notify.c: Likewise.
27029 * rt/mq_open.c: Likewise.
27030 * rt/mq_receive.c: Likewise.
27031 * rt/mq_send.c: Likewise.
27032 * rt/mq_setattr.c: Likewise.
27033 * rt/mq_timedreceive.c: Likewise.
27034 * rt/mq_timedsend.c: Likewise.
27035 * rt/mq_unlink.c: Likewise.
27036 * rt/shm_open.c: Likewise.
27037 * rt/shm_unlink.c: Likewise.
27038 * rt/timer_create.c: Likewise.
27039 * rt/timer_delete.c: Likewise.
27040 * rt/timer_getoverr.c: Likewise.
27041 * rt/timer_gettime.c: Likewise.
27042 * rt/timer_settime.c: Likewise.
27043 * setjmp/__longjmp.c: Likewise.
27044 * setjmp/setjmp.c: Likewise.
27045 * signal/kill.c: Likewise.
27046 * signal/killpg.c: Likewise.
27047 * signal/raise.c: Likewise.
27048 * signal/sigaction.c: Likewise.
27049 * signal/sigaltstack.c: Likewise.
27050 * signal/sigblock.c: Likewise.
27051 * signal/sigignore.c: Likewise.
27052 * signal/sigintr.c: Likewise.
27053 * signal/signal.c: Likewise.
27054 * signal/sigpause.c: Likewise.
27055 * signal/sigpending.c: Likewise.
27056 * signal/sigqueue.c: Likewise.
27057 * signal/sigreturn.c: Likewise.
27058 * signal/sigset.c: Likewise.
27059 * signal/sigsetmask.c: Likewise.
27060 * signal/sigstack.c: Likewise.
27061 * signal/sigsuspend.c: Likewise.
27062 * signal/sigtimedwait.c: Likewise.
27063 * signal/sigvec.c: Likewise.
27064 * signal/sigwait.c: Likewise.
27065 * signal/sigwaitinfo.c: Likewise.
27066 * signal/sysv_signal.c: Likewise.
27067 * socket/accept.c: Likewise.
27068 * socket/accept4.c: Likewise.
27069 * socket/bind.c: Likewise.
27070 * socket/connect.c: Likewise.
27071 * socket/getpeername.c: Likewise.
27072 * socket/getsockname.c: Likewise.
27073 * socket/getsockopt.c: Likewise.
27074 * socket/isfdtype.c: Likewise.
27075 * socket/listen.c: Likewise.
27076 * socket/recv.c: Likewise.
27077 * socket/recvfrom.c: Likewise.
27078 * socket/recvmsg.c: Likewise.
27079 * socket/send.c: Likewise.
27080 * socket/sendmsg.c: Likewise.
27081 * socket/sendto.c: Likewise.
27082 * socket/setsockopt.c: Likewise.
27083 * socket/shutdown.c: Likewise.
27084 * socket/sockatmark.c: Likewise.
27085 * socket/socket.c: Likewise.
27086 * socket/socketpair.c: Likewise.
27087 * stdio-common/ctermid.c: Likewise.
27088 * stdio-common/cuserid.c: Likewise.
27089 * stdio-common/remove.c: Likewise.
27090 * stdio-common/rename.c: Likewise.
27091 * stdio-common/renameat.c: Likewise.
27092 * stdio-common/tempname.c: Likewise.
27093 * stdlib/getcontext.c: Likewise.
27094 * stdlib/makecontext.c: Likewise.
27095 * stdlib/setcontext.c: Likewise.
27096 * stdlib/swapcontext.c: Likewise.
27097 * stdlib/system.c: Likewise.
27098 * streams/fattach.c: Likewise.
27099 * streams/fdetach.c: Likewise.
27100 * streams/getmsg.c: Likewise.
27101 * streams/getpmsg.c: Likewise.
27102 * streams/putmsg.c: Likewise.
27103 * streams/putpmsg.c: Likewise.
27104 * sysdeps/unix/bsd/getpt.c: Likewise.
27105 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
27106 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
27107 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
27108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
27110 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
27111 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
27112 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
27113 * sysvipc/msgctl.c: Likewise.
27114 * sysvipc/msgget.c: Likewise.
27115 * sysvipc/msgrcv.c: Likewise.
27116 * sysvipc/msgsnd.c: Likewise.
27117 * sysvipc/semctl.c: Likewise.
27118 * sysvipc/semget.c: Likewise.
27119 * sysvipc/semop.c: Likewise.
27120 * sysvipc/semtimedop.c: Likewise.
27121 * sysvipc/shmat.c: Likewise.
27122 * sysvipc/shmctl.c: Likewise.
27123 * sysvipc/shmdt.c: Likewise.
27124 * sysvipc/shmget.c: Likewise.
27125 * termios/tcdrain.c: Likewise.
27126 * termios/tcflow.c: Likewise.
27127 * termios/tcflush.c: Likewise.
27128 * termios/tcgetattr.c: Likewise.
27129 * termios/tcgetpgrp.c: Likewise.
27130 * termios/tcsendbrk.c: Likewise.
27131 * termios/tcsetattr.c: Likewise.
27132 * termios/tcsetpgrp.c: Likewise.
27133 * time/adjtime.c: Likewise.
27134 * time/clock.c: Likewise.
27135 * time/getitimer.c: Likewise.
27136 * time/gettimeofday.c: Likewise.
27137 * time/setitimer.c: Likewise.
27138 * time/settimeofday.c: Likewise.
27139 * time/stime.c: Likewise.
27140 * time/time.c: Likewise.
27142 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
27144 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
27147 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
27149 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
27151 2012-11-03 Joseph Myers <joseph@codesourcery.com>
27154 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
27155 FE_TONEAREST before applying Dekker multiplication and Knuth
27156 addition. Clear inexact exceptions and check for exact zero
27157 results afterwards.
27158 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27159 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27160 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27161 * math/libm-test.inc (fma_test): Add more tests.
27162 (fma_test_towardzero): Likewise.
27163 (fma_test_downward): Likewise.
27164 (fma_test_upward): Likewise.
27165 * sysdeps/generic/math_private.h (default_libc_fesetround): New
27167 (libc_fesetround): New macro.
27168 (libc_fesetroundf): Likewise.
27169 (libc_fesetroundl): Likewise.
27170 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
27172 (libc_fesetround_387): Likewise.
27173 (libc_fesetroundf): New macro.
27174 (libc_fesetround): Likewise.
27175 (libc_fesetroundl): Likewise.
27176 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
27178 (libc_fesetroundf): New macro.
27179 (libc_fesetround): Likewise.
27180 (libc_fesetroundl): Likewise.
27181 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
27182 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
27183 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
27185 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
27186 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
27188 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
27189 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
27191 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
27195 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
27196 integer constant usable in #if and use that to give value to enum
27198 (FE_DIVBYZERO): Likewise.
27199 (FE_UNDERFLOW): Likewise.
27200 (FE_OVERFLOW): Likewise.
27201 (FE_INVALID): Likewise.
27202 (FE_INVALID_SNAN): Likewise.
27203 (FE_INVALID_ISI): Likewise.
27204 (FE_INVALID_IDI): Likewise.
27205 (FE_INVALID_ZDZ): Likewise.
27206 (FE_INVALID_IMZ): Likewise.
27207 (FE_INVALID_COMPARE): Likewise.
27208 (FE_INVALID_SOFTWARE): Likewise.
27209 (FE_INVALID_SQRT): Likewise.
27210 (FE_INVALID_INTEGER_CONVERSION): Likewise.
27211 (FE_TONEAREST): Likewise.
27212 (FE_TOWARDZERO): Likewise.
27213 (FE_UPWARD): Likewise.
27214 (FE_DOWNWARD): Likewise.
27215 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
27216 (FE_DIVBYZERO): Likewise.
27217 (FE_OVERFLOW): Likewise.
27218 (FE_UNDERFLOW): Likewise.
27219 (FE_INEXACT): Likewise.
27220 (FE_TONEAREST): Likewise.
27221 (FE_DOWNWARD): Likewise.
27222 (FE_UPWARD): Likewise.
27223 (FE_TOWARDZERO): Likewise.
27224 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
27225 (FE_UNDERFLOW): Likewise.
27226 (FE_OVERFLOW): Likewise.
27227 (FE_DIVBYZERO): Likewise.
27228 (FE_INVALID): Likewise.
27229 (FE_TONEAREST): Likewise.
27230 (FE_TOWARDZERO): Likewise.
27231 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
27232 (FE_OVERFLOW): Likewise.
27233 (FE_UNDERFLOW): Likewise.
27234 (FE_DIVBYZERO): Likewise.
27235 (FE_INEXACT): Likewise.
27236 (FE_TONEAREST): Likewise.
27237 (FE_TOWARDZERO): Likewise.
27238 (FE_UPWARD): Likewise.
27239 (FE_DOWNWARD): Likewise.
27240 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
27241 (FE_DIVBYZERO): Likewise.
27242 (FE_OVERFLOW): Likewise.
27243 (FE_UNDERFLOW): Likewise.
27244 (FE_INEXACT): Likewise.
27245 (FE_TONEAREST): Likewise.
27246 (FE_DOWNWARD): Likewise.
27247 (FE_UPWARD): Likewise.
27248 (FE_TOWARDZERO): Likewise.
27250 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
27252 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
27254 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
27256 * scripts/cross-test-ssh.sh (command): Use newlines to separate
27257 commands. Quote $PWD.
27258 (blacklist_exports): Don't use remove_newlines. Replace "declare
27260 (remove_newlines): Remove.
27262 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
27264 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
27265 * stdlib/stdlib.h (atof): Moved to ...
27266 * include/bits/stdlib-float.h: Here. New file.
27267 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
27268 * stdlib/bits/stdlib-float.h: New file.
27269 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
27271 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
27274 2012-11-02 Joseph Myers <joseph@codesourcery.com>
27276 * conform/conformtest.pl (@headers): Add fenv.h.
27277 * conform/data/fenv.h-data: New file.
27278 * include/fenv.h [_ISOMAC]: Disable all contents of file except
27279 include of <math/fenv.h>.
27281 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
27282 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
27283 && !UNIX98]. Enables tests for XOPEN2K8.
27284 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
27285 POSIX2008]: Likewise.
27287 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
27288 (struct rusage): Do not expect type or its members.
27291 * math/math.h (FP_NAN): Define macro to integer constant usable in
27292 #if and use that to give value to enum constant.
27293 (FP_INFINITE): Likewise.
27294 (FP_ZERO): Likewise.
27295 (FP_SUBNORMAL): Likewise.
27296 (FP_NORMAL): Likewise.
27298 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
27300 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
27301 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
27304 2012-11-02 Roland McGrath <roland@hack.frob.com>
27306 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
27307 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
27308 autoconf-time if not.
27309 * configure.in: Remove AC_PREREQ.
27311 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27313 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
27314 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
27315 of the internal implementation.
27317 2012-11-02 Joseph Myers <joseph@codesourcery.com>
27319 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
27320 except include of <misc/sys/syslog.h>.
27322 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
27324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
27325 function returns with a NULL context exit with zero.
27327 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27329 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
27331 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
27333 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
27334 (run_program_cmd): This.
27335 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
27336 (tst_langinfo): New variable. Use it.
27338 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
27340 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
27341 floating point opcodes.
27343 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
27345 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
27348 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
27350 * sysdeps/mach/hurd/powerpc: Remove directory.
27351 * sysdeps/mach/powerpc: Likewise.
27353 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
27355 * scripts/check-local-headers.sh: Ignore c++ headers.
27357 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
27359 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
27360 __libc_cleanup_region_start argument.
27362 2012-11-01 Joseph Myers <joseph@codesourcery.com>
27366 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
27367 x * y using scaling, not as x * y + z.
27368 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27369 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27370 * math/libm-test.inc (fma_test): Add more tests.
27371 (fma_test_towardzero): Likewise.
27372 (fma_test_downward): Likewise.
27373 (fma_test_upward): Likewise.
27375 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
27377 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
27379 2012-10-31 Joseph Myers <joseph@codesourcery.com>
27381 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
27384 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
27386 * rt/tst-shm.c (worker): Correct checking for mmap failure.
27388 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
27390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27395 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27398 Fix the order of the list for glibc 2.17.
27399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27402 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
27404 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27406 2012-10-31 Joseph Myers <joseph@codesourcery.com>
27409 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
27410 for low part of x being zero before using __atanl (y).
27411 * math/libm-test.inc (atan2_test): Add another test.
27413 * manual/install.texi (Configuring and compiling): Document
27414 general use of test-wrapper and test-wrapper-env.
27415 * INSTALL: Regenerated.
27417 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
27418 (__fma): Do not extract and scale down low bits on after-rounding
27419 systems when result rounded to normal precision would have normal
27421 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
27422 (__fmal): Do not extract and scale down low bits on after-rounding
27423 systems when result rounded to normal precision would have normal
27425 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
27426 (__fmal): Do not extract and scale down low bits on after-rounding
27427 systems when result rounded to normal precision would have normal
27429 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
27431 (fma_test): Add more tests.
27432 (fma_test_towardzero): Likewise.
27433 (fma_test_downward): Likewise.
27434 (fma_test_upward): Likewise.
27436 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
27438 * sysdeps/i386/tininess.h: Renamed to ...
27439 * sysdeps/x86/tininess.h: This.
27440 * sysdeps/x86_64/tininess.h: Removed.
27442 2012-10-30 Joseph Myers <joseph@codesourcery.com>
27444 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
27445 input. Use $(build-program-cmd).
27446 ($(objpfx)tst-array1-static.out): Likewise.
27447 ($(objpfx)tst-array2.out): Likewise.
27448 ($(objpfx)tst-array3.out): Likewise.
27449 ($(objpfx)tst-array4.out): Likewise.
27450 ($(objpfx)tst-array5.out): Likewise.
27451 ($(objpfx)tst-array5-static.out): Likewise.
27453 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
27455 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
27458 * nss/nsswitch.h (nss_interface_function): Provide new
27459 macro for use with NSS functions.
27460 * grp/initgroups.c: Use new macro.
27461 * nss/getXXbyYY.c: Likewise.
27462 * nss/getXXbyYY_r.c: Likewise.
27463 * nss/getXXent.c: Likewise.
27464 * nss/getXXent_r.c: Likewise.
27465 * sysdeps/posix/getaddrinfo.c: Likewise.
27467 2012-10-30 Andreas Jaeger <aj@suse.de>
27469 * po/ru.po: Update Russion translation from translation project.
27471 2012-10-30 Joseph Myers <joseph@codesourcery.com>
27475 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
27476 result and shift together with sticky bit instead of replicating
27477 round-to-nearest rounding.
27478 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27479 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27480 * math/libm-test.inc (fma_test): Add more tests. Do not permit
27481 missing underflow exceptions.
27482 (fma_test_towardzero): Add more tests.
27483 (fma_test_downward): Likewise.
27484 (fma_test_upward): Likewise.
27487 * sysdeps/generic/tininess.h: New file.
27488 * sysdeps/i386/tininess.h: Likewise.
27489 * sysdeps/sh/tininess.h: Likewise.
27490 * sysdeps/x86_64/tininess.h: Likewise.
27491 * stdlib/tst-strtod-underflow.c: Likewise.
27492 * stdlib/tst-tininess.c: Likewise.
27493 * stdlib/strtod_l.c: Include <tininess.h>.
27494 (round_and_return): Do not set errno for exact underflow cases.
27495 Force an underflow exception when setting errno for underflow.
27496 Determine underflow based on rounding to normal precision if
27497 TININESS_AFTER_ROUNDING.
27498 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
27499 ERANGE for exact underflow cases.
27500 * stdlib/Makefile (tests): Add tst-tininess and
27501 tst-strtod-underflow.
27502 ($(objpfx)tst-tininess): Use $(link-libm).
27503 ($(objpfx)tst-strtod-underflow): Likewise.
27505 2012-10-30 Andreas Jaeger <aj@suse.de>
27508 * elf/Makefile (tests): Remove conditional for have-initfini-array
27509 since this is now always required and the variable does not exist
27511 (tests-static): Likewise.
27512 (modules-names): Likewise.
27514 * po/eo.po: Add Esperanto translation from translation project.
27516 * elf/tst-array1.c (fini_array): Make writeable so that it can be
27517 merged with constructor/destructor.
27518 (init_array): Likewise.
27519 * elf/tst-array2dep.c (fini_array): Likewise.
27520 (init_array): Likewise.
27522 2012-10-29 Mike Frysinger <vapier@gentoo.org>
27524 * manual/message.texi: Delete @cartouche tags.
27526 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
27528 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
27530 * sysdeps/mach/hurd/fsync.c: Likewise.
27532 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
27533 [_POSIX_REALTIME_SIGNALS]: Change condition to
27534 [_POSIX_REALTIME_SIGNALS > 0].
27536 2012-10-27 Andreas Jaeger <aj@suse.de>
27538 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
27539 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
27540 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
27541 [__WORDSIZE != 64]: Likewise.
27543 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
27545 * iconvdata/tst-table.sh: Remove ${SHELL}.
27546 * iconvdata/tst-tables.sh: Likewise.
27548 2012-10-25 David S. Miller <davem@davemloft.net>
27550 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27551 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
27554 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
27556 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27557 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
27558 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
27561 2012-10-25 Roland McGrath <roland@hack.frob.com>
27563 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27564 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
27567 2012-10-25 Joseph Myers <joseph@codesourcery.com>
27568 Jim Blandy <jimb@codesourcery.com>
27570 * scripts/cross-test-ssh.sh: New file.
27571 * manual/install.texi (Configuring and compiling): Document use of
27573 * INSTALL: Regenerated.
27575 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
27577 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
27580 2012-10-25 Joseph Myers <joseph@codesourcery.com>
27582 * Makeconfig (run-program-prefix): Fix comment.
27584 2012-10-24 Joseph Myers <joseph@codesourcery.com>
27585 Jim Blandy <jimb@codesourcery.com>
27587 * Makeconfig (test-wrapper): New variable,
27588 (test-wrapper-env): Likewise.
27589 [$(cross-compiling) = yes && $(test-wrapper) != ""]
27590 (run-built-tests): Define to yes.
27591 (run-program-prefix): Use $(test-wrapper).
27592 (built-program-cmd): Likewise.
27593 * Rules (make-test-out): Use $(test-wrapper-env) and
27594 $(host-built-program-cmd).
27595 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
27596 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
27598 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
27599 $(test-wrapper-env) to tst-rtld-load-self.sh.
27600 ($(objpfx)order2.out): Use $(test-wrapper).
27601 ($(objpfx)tst-initorder.out): Likewise.
27602 ($(objpfx)tst-initorder2.out): Likewise.
27603 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
27604 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
27605 (test_wrapper_env): New variable. Use it to run ld.so.
27606 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
27607 Use it to run ld.so.
27608 (test_wrapper_env): Likewise.
27609 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
27610 $(test-wrapper) to run-iconv-test.sh.
27611 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
27612 (ICONV): Use $test_wrapper.
27613 * posix/Makefile ($(objpfx)globtest.out): Pass
27614 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
27615 globtest.sh, not $(run-program-prefix).
27616 * posix/globtest.sh (run_via_rtld_prefix): New variable.
27617 (test_wrapper): Likewise.
27618 (test_wrapper_env): Likewise. Use it to run globtest with HOME
27619 set together with run_via_rtld_prefix.
27620 (run_program_prefix): Define in terms of test_wrapper and
27621 run_via_rtld_prefix.
27623 2012-10-24 Roland McGrath <roland@hack.frob.com>
27625 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
27626 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
27630 * include/time.h: Remove librt_hidden_proto (clock_gettime).
27631 Declare __clock_getres, __clock_gettime, __clock_settime,
27632 __clock_nanosleep, and __clock_getcpuclockid.
27633 * rt/clock_gettime.c: Define __clock_gettime as an alias.
27634 Remove librt_hidden_def (clock_gettime).
27635 * sysdeps/unix/clock_gettime.c: Likewise.
27636 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
27637 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
27638 * rt/clock_getres.c: Define __clock_getres as an alias.
27639 * sysdeps/posix/clock_getres.c: Likewise.
27640 * rt/clock_settime.c: Define __clock_settime as an alias.
27641 * sysdeps/unix/clock_settime.c: Likewise.
27642 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
27643 * sysdeps/unix/clock_nanosleep.c: Likewise.
27644 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
27645 * rt/clock-compat.c: New file.
27646 * rt/Makefile (librt-routines): Add clock-compat and move
27647 $(clock-routines) to ...
27648 (routines): ... here, new variable.
27649 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
27650 Don't add get_clockfreq here.
27651 * rt/Versions (libc: GLIBC_2.17): New version set.
27652 Add clock_* symbols here.
27653 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
27654 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
27655 (GLIBC_2.17): Add clock_* symbols.
27656 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
27657 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
27658 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27663 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27664 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
27665 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27666 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27667 * NEWS: Mention the move.
27669 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
27670 Use __open, __read, __close rather than their public counterparts.
27671 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27672 (__get_clockfreq_via_cpuinfo): Likewise.
27673 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
27674 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
27676 * config.h.in (HAVE_IFUNC): New #undef.
27677 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
27679 * configure: Regenerated.
27681 2012-10-24 Mike Frysinger <vapier@gentoo.org>
27683 * configure.in: Move READELF check to start of file.
27684 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
27685 libc_cv_asm_gnu_indirect_function in the process.
27686 * configure: Regenerated.
27688 2012-10-24 Mike Frysinger <vapier@gentoo.org>
27690 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
27691 send the output to /dev/null.
27692 (libc_cv_cc_with_libunwind): Likewise.
27693 (libc_cv_as_noexecstack): Likewise.
27694 * configure: Regenerate.
27696 2012-10-24 Joseph Myers <joseph@codesourcery.com>
27698 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
27700 * posix/globtest.sh (TMPDIR): Do not set.
27701 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
27702 (testout): Likewise.
27704 2012-10-24 Andreas Jaeger <aj@suse.de>
27706 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
27707 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
27708 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
27709 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
27710 posix_fadvise64, posix_fallocate64.
27712 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
27713 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
27714 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
27716 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
27718 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
27720 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
27721 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
27722 <bits/fcntl-linux.h>.
27723 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
27725 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
27726 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
27727 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
27728 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
27729 [__WORDSIZE != 64]: Likewise.
27731 2012-10-23 Joseph Myers <joseph@codesourcery.com>
27733 * Makeconfig (run-built-tests): New variable.
27734 * Rules [$(cross-compiling) = yes]: Change condition to
27735 [$(run-built-tests) = no].
27736 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
27737 to [$(run-built-tests) = yes].
27738 * elf/Makefile [$(cross-compiling) = no]: Likewise
27739 * grp/Makefile [$(cross-compiling) = no]: Likewise.
27740 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
27741 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
27742 * intl/Makefile [$(cross-compiling) = no]: Likewise.
27743 * io/Makefile [$(cross-compiling) = no]: Likewise.
27744 * libio/Makefile [$(cross-compiling) = no]: Likewise.
27745 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
27746 * misc/Makefile [$(cross-compiling) = no]: Likewise.
27747 * posix/Makefile [$(cross-compiling) = no]: Likewise.
27748 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
27749 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
27750 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
27751 * string/Makefile [$(cross-compiling) = no]: Likewise.
27753 * posix/Makefile ($(objpfx)globtest.out): Pass
27754 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
27755 $(rtld-installed-name).
27756 * posix/globtest.sh (elf_objpfx): Remove variable.
27757 (rtld_installed_name): Likewise.
27758 (library_path): Likewise.
27759 (run_program_prefix): New variable. Use for running globtest
27762 2012-10-23 Jim Blandy <jimb@codesourcery.com>
27763 Joseph Myers <joseph@codesourcery.com>
27765 * Makeconfig (host-built-program-cmd): New variable.
27766 * elf/Makefile (tst-stackguard1-ARGS): Use
27767 $(host-built-program-cmd).
27768 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
27769 (tst-spawn-ARGS): Likewise.
27770 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
27772 2012-10-23 Joseph Myers <joseph@codesourcery.com>
27773 Jim Blandy <jimb@codesourcery.com>
27775 * Makeconfig (run-via-rtld-prefix): New variable.
27776 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
27777 (built-program-cmd): Likewise.
27779 2012-10-22 Andreas Jaeger <aj@suse.de>
27781 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
27782 __O_RSYNC if it exists, otherwise to O_SYNC.
27784 2012-10-22 Jim Blandy <jimb@codesourcery.com>
27785 Joseph Myers <joseph@codesourcery.com>
27787 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
27789 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
27791 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
27794 2012-10-22 Andreas Jaeger <aj@suse.de>
27796 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
27798 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
27800 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27801 bits/fcntl-linux.h.
27803 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
27804 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
27806 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
27808 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
27811 2012-10-21 Jim Blandy <jimb@codesourcery.com>
27812 Joseph Myers <joseph@codesourcery.com>
27814 * config.make.in (NM): New variable.
27816 2012-10-21 Andreas Jaeger <aj@suse.de>
27818 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
27819 definitions and declarations that are provided by
27820 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
27822 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
27825 * elf/Makefile (tests-static): Add tst-leaks1-static.
27826 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
27827 ($(objpfx)tst-leaks1-static): New rule.
27828 ($(objpfx)tst-leaks1-static-mem): Likewise.
27829 (tst-leaks1-static-ENV): New macro.
27830 * elf/dl-open.c (dl_open_worker): Check the main application
27831 only if SHARED is defined.
27832 * elf/tst-leaks1-static.c: New file.
27834 2012-10-20 Andreas Jaeger <aj@suse.de>
27836 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
27837 generic values for Linux.
27838 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
27839 and declarations that are provided by <bits/fcntl-linux.h> and
27840 include <bits/fcntl-linux.h>.
27841 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27842 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27844 2012-10-20 Roland McGrath <roland@hack.frob.com>
27846 * io/fcntl.h: Move include of <bits/types.h> to the top and
27847 include it unconditionally.
27849 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
27851 * wcsmbs/Makefile (tests-ifunc): New variable.
27852 (tests): Add $(tests-ifunc).
27853 * wcsmbs/test-wcschr-ifunc.c: New file.
27854 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
27855 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
27856 * wcsmbs/test-wcslen-ifunc.c: Likewise.
27857 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
27858 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
27860 * string/Makefile (tests-ifunc): New variable.
27861 (tests): Add $(tests-ifunc).
27862 * string/test-memccpy.c (TEST_NAME): New macro.
27863 * string/test-memchr.c (TEST_NAME): Likewise.
27864 * string/test-memcmp.c (TEST_NAME): Likewise.
27865 * string/test-memcpy.c (TEST_NAME): Likewise.
27866 * string/test-memmem.c (TEST_NAME): Likewise.
27867 * string/test-memmove.c (TEST_NAME): Likewise.
27868 * string/test-memset.c (TEST_NAME): Likewise.
27869 * string/test-rawmemchr.c (TEST_NAME): Likewise.
27870 * string/test-stpcpy.c (TEST_NAME): Likewise.
27871 * string/test-stpncpy.c (TEST_NAME): Likewise.
27872 * string/test-strcasecmp.c (TEST_NAME): Likewise.
27873 * string/test-strcasestr.c (TEST_NAME): Likewise.
27874 * string/test-strcat.c (TEST_NAME): Likewise.
27875 * string/test-strchr.c (TEST_NAME): Likewise.
27876 * string/test-strcmp.c(TEST_NAME): Likewise.
27877 * string/test-strcpy.c (TEST_NAME): Likewise.
27878 * string/test-strcspn.c (TEST_NAME): Likewise.
27879 * string/test-strlen.c (TEST_NAME): Likewise.
27880 * string/test-strncasecmp.c (TEST_NAME): Likewise.
27881 * string/test-strncmp.c (TEST_NAME): Likewise.
27882 * string/test-strncpy.c (TEST_NAME): Likewise.
27883 * string/test-strnlen.c (TEST_NAME): Likewise.
27884 * string/test-strpbrk.c (TEST_NAME): Likewise.
27885 * string/test-strrchr.c (TEST_NAME): Likewise.
27886 * string/test-strspn.c (TEST_NAME): Likewise.
27887 * string/test-strstr.c (TEST_NAME): Likewise.
27888 * string/test-bcopy-ifunc.c: New file.
27889 * string/test-bzero-ifunc.c: Likewise.
27890 * string/test-memccpy-ifunc.c: Likewise.
27891 * string/test-memchr-ifunc.c: Likewise.
27892 * string/test-memcmp-ifunc.c: Likewise.
27893 * string/test-memcpy-ifunc.c: Likewise.
27894 * string/test-memmem-ifunc.c: Likewise.
27895 * string/test-memmove-ifunc.c: Likewise.
27896 * string/test-mempcpy-ifunc.c: Likewise.
27897 * string/test-memset-ifunc.c: Likewise.
27898 * string/test-rawmemchr-ifunc.c: Likewise.
27899 * string/test-stpcpy-ifunc.c: Likewise.
27900 * string/test-stpncpy-ifunc.c: Likewise.
27901 * string/test-strcasecmp-ifunc.c: Likewise.
27902 * string/test-strcasestr-ifunc.c: Likewise.
27903 * string/test-strcat-ifunc.c: Likewise.
27904 * string/test-strchr-ifunc.c: Likewise.
27905 * string/test-strchrnul-ifunc.c: Likewise.
27906 * string/test-strcmp-ifunc.c: Likewise.
27907 * string/test-strcpy-ifunc.c: Likewise.
27908 * string/test-strcspn-ifunc.c: Likewise.
27909 * string/test-strlen-ifunc.c: Likewise.
27910 * string/test-strncasecmp-ifunc.c: Likewise.
27911 * string/test-strncat-ifunc.c: Likewise.
27912 * string/test-strncmp-ifunc.c: Likewise.
27913 * string/test-strncpy-ifunc.c: Likewise.
27914 * string/test-strnlen-ifunc.c: Likewise.
27915 * string/test-strpbrk-ifunc.c: Likewise.
27916 * string/test-strrchr-ifunc.c: Likewise.
27917 * string/test-strspn-ifunc.c: Likewise.
27918 * string/test-strstr-ifunc.c: Likewise.
27920 * debug/Makefile (tests-ifunc): New variable.
27921 (tests): Add $(tests-ifunc).
27922 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
27923 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
27924 * debug/test-stpcpy_chk-ifunc.c: New file.
27925 * debug/test-strcpy_chk-ifunc.c: Likewise.
27927 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
27930 * elf/dl-load.c (open_verify): Retry read if the entire ELF
27931 header is not read in.
27933 2012-10-19 Joseph Myers <joseph@codesourcery.com>
27935 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
27936 script to $(SHELL) as $<. Pass $(common-objpfx) to script
27937 directly. Pass built executable to script as
27938 $(built-program-cmd).
27939 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
27940 $testprogram without using LD_LIBRARY_PATH and $ldso.
27942 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
27943 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
27944 $(rtld-installed-name).
27945 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
27946 (rtld_installed_name): Likewise.
27947 (library_path): Likewise.
27948 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
27949 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
27950 $(run-program-prefix) to tst-tables.sh.
27951 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
27952 it to run tst-table-from and tst-table-to.
27953 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
27954 Pass it to tst-table.sh.
27955 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
27956 $(run-program-prefix) to tst-gettext.sh.
27957 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
27959 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
27961 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
27962 to run tst-gettext.
27963 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
27964 to run tst-gettext2.
27965 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
27966 to run tst-translit.
27967 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
27968 $(run-program-prefix) to tst-mtrace.sh.
27969 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
27971 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
27972 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
27973 $(rtld-installed-name).
27974 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
27975 (rtld_installed_name): Likewise.
27976 (run_program_prefix): New variable. Use it to run wordexp-test.
27978 * Makeconfig (ARCH): Remove all definitions.
27979 (machine): Likewise.
27980 [ARCH]: Remove conditional code.
27981 [!objdir]: Give error.
27982 [!objdir] (objpfx): Remove.
27983 [!objdir] (common-objpfx): Likewise.
27984 [!objdir] (common-objdir): Likewise.
27985 * configure.in (config_makefile): Remove. Hardcode Makefile in
27986 AC_CONFIG_FILES call.
27987 * configure: Regenerated.
27990 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
27992 (testout): Likewise.
27994 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
27995 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
27996 $(rtld-installed-name).
27997 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
27998 (rtld_installed_name): Likwise.
27999 (runit): Remove function.
28000 (run_getconf): New variable, Use it for running getconf binary.
28002 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
28005 * string/test-memmem.c (check_result): New function.
28006 (do_one_test): Use it.
28007 (check1): New function.
28008 (test_main): Use it.
28010 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
28012 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
28014 2012-10-18 Joseph Myers <joseph@codesourcery.com>
28016 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
28017 (_G_LSEEK64): Likewise.
28018 (_G_MMAP64): Likewise.
28019 (_G_FSTAT64): Likewise.
28020 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
28021 (_G_LSEEK64): Likewise.
28022 (_G_MMAP64): Likewise.
28023 (_G_FSTAT64): Likewise.
28024 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
28025 unconditional. Call __mmap64 directly.
28026 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
28027 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
28028 __lseek64 directly.
28029 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
28030 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
28032 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
28033 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
28034 __lseek64 directly.
28035 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
28036 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
28037 __lseek64 directly.
28038 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
28039 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
28040 __lseek64 directly.
28041 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
28042 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
28043 __fxstat64 directly.
28044 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
28045 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
28047 (freopen64) [!_G_OPEN64]: Remove conditional code.
28048 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
28050 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
28051 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
28053 (ftello64) [!_G_LSEEK64]: Remove conditional code.
28054 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
28056 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28057 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
28059 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
28060 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
28062 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28063 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
28065 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28066 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
28068 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28070 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28073 * manual/memory.texi (Malloc Tunable Parameters): Add note
28074 about free list pointers overwriting some perturb bytes.
28075 Wording suggested by Roland McGrath.
28077 2012-10-17 Joseph Myers <joseph@codesourcery.com>
28079 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
28080 (lgamma_test): Likewise.
28081 (tgamma_test): Likewise.
28083 2012-10-16 Florian Weimer <fweimer@redhat.com>
28086 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
28087 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
28089 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
28091 * NEWS: Mention BZ #14716.
28092 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
28093 when removing AVAILABLE1_USES_J macro.
28095 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
28097 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
28098 (__bswap_64): __uint64_t for unsigned 64-bit int.
28100 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
28102 * include/string.h (memmem): Declare libc hidden alias.
28103 * string/memmem.c (memmem): Define libc hidden alias.
28104 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
28105 __read, __close instead of open, read, close.
28107 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
28109 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
28110 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
28112 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
28113 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
28114 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
28116 (__rawmemchr_sse2): Likewise.
28117 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
28118 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
28119 (__strchr_sse2): Likewise.
28120 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
28121 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
28122 (__strcasecmp_sse2): Likewise.
28123 (__strncasecmp_sse2): Likewise.
28124 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
28125 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
28126 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
28127 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
28128 (__strrchr_sse2): Likewise.
28129 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
28131 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
28132 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
28133 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
28134 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
28135 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
28136 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
28137 * sysdeps/x86_64/multiarch/memset.S: Likewise.
28138 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28139 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
28140 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
28141 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
28142 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
28143 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
28144 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
28145 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
28146 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
28147 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
28148 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
28149 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
28150 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
28151 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
28152 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
28153 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
28154 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
28155 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
28156 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28157 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
28158 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
28159 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
28160 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
28162 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
28164 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
28165 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
28166 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
28167 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
28169 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
28171 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
28172 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
28173 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
28174 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
28176 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28177 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28178 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28179 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28180 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28181 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28182 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28183 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28184 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28185 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28186 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28187 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28188 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28189 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
28190 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
28191 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28192 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
28193 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
28194 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28195 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28196 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28197 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28198 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28199 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28200 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28201 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
28202 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
28203 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
28204 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
28205 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28206 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
28207 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28208 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28209 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
28210 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28211 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28212 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28213 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28214 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28215 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28216 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
28218 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
28219 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
28220 * include/ifunc-impl-list.h: New file.
28221 * misc/ifunc-impl-list.c: Likewise.
28222 * misc/Makefile (routines): Add ifunc-impl-list.
28223 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
28224 * string/test-string.h: Include <ifunc-impl-list.h>.
28225 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
28226 TEST_NAME]: New variables.
28227 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
28229 (test_init): Call __libc_ifunc_impl_list to initialize
28230 func_list if TEST_IFUNC and TEST_NAME are defined.
28232 * string/Makefile (strop-tests): Add bcopy and bzero.
28233 * string/test-bcopy.c: New file.
28234 * string/test-bzero.c: Likewise.
28235 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
28237 * string/test-memset.c: Support bzero test if TEST_BZERO is
28239 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
28241 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
28243 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
28246 2012-10-10 Joseph Myers <joseph@codesourcery.com>
28248 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
28249 * configure: Regenerated.
28251 * Makeconfig (+link-static-before-libc): Don't include
28252 $(link-static-libc).
28254 * libio/libio.h (_IO_pos_t): Remove.
28256 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
28258 * NEWS: Add note about FIPS mode. Wording suggested by Roland
28261 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
28263 * crypt/crypt-entry.c: Include fips-private.h.
28264 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
28265 * crypt/md5c-test.c (main): Tolerate disabled MD5.
28266 * sysdeps/unix/sysv/linux/fips-private.h: New file.
28267 * sysdeps/generic/fips-private.h: New file, dummy fallback.
28269 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
28271 * crypt/crypt-private.h: Include stdbool.h.
28272 (_ufc_setup_salt_r): Return bool.
28273 * crypt/crypt-entry.c: Include errno.h.
28274 (__crypt_r): Return NULL with EINVAL for bad salt.
28275 * crypt/crypt_util.c (bad_for_salt): New.
28276 (_ufc_setup_salt_r): Check that salt is long enough and within
28277 the specified alphabet.
28278 * crypt/badsalttest.c: New file.
28279 * crypt/Makefile (tests): Add it.
28280 ($(objpfx)badsalttest): New.
28282 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
28284 * NEWS: Add entry for BZ #14602.
28286 2012-10-09 Joseph Myers <joseph@codesourcery.com>
28288 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
28290 * math/libm-test.inc: Update comment listing what functions and
28292 (isgreater_test): New function.
28293 (isgreaterequal_test): Likewise.
28294 (isless_test): Likewise.
28295 (islessequal_test): Likewise.
28296 (islessgreater_test): Likewise.
28297 (isunordered_test): Likewise.
28298 (main): Call the new functions.
28300 2012-10-09 Roland McGrath <roland@hack.frob.com>
28302 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
28303 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
28304 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
28305 * sysdeps/i386/configure: Regenerated.
28306 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
28307 * sysdeps/mach/configure: Regenerated.
28308 * sysdeps/mach/hurd/configure: Regenerated.
28309 * sysdeps/powerpc/configure: Regenerated.
28310 * sysdeps/powerpc/powerpc32/configure: Regenerated.
28311 * sysdeps/powerpc/powerpc64/configure: Regenerated.
28312 * sysdeps/s390/s390-32/configure: Regenerated.
28313 * sysdeps/s390/s390-64/configure: Regenerated.
28314 * sysdeps/sh/configure: Regenerated.
28315 * sysdeps/sparc/configure: Regenerated.
28316 * sysdeps/unix/sysv/linux/configure: Regenerated.
28317 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
28318 * sysdeps/x86_64/configure: Regenerated.
28320 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
28321 defined. Don't check if MAP is NULL.
28323 2012-10-09 Joseph Myers <joseph@codesourcery.com>
28325 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
28326 (_G_stat64): Likewise.
28327 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
28328 (_G_stat64): Likewise.
28329 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
28330 instead of struct _G_stat64.
28331 * libio/fileops.c (mmap_remap_check): Likewise.
28332 (decide_maybe_mmap): Likewise.
28333 (_IO_new_file_seekoff): Likewise.
28334 (_IO_file_stat): Likewise.
28335 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
28337 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
28338 instead of struct _G_stat64.
28339 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
28341 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
28344 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28346 (CHECK_EOL): New macro.
28347 (two_way_short_needle): Check beginning of haystack for EOL. Use
28349 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28350 Replace with CHECK_EOL.
28351 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28352 Replace with CHECK_EOL.
28354 2012-10-08 Joseph Myers <joseph@codesourcery.com>
28356 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
28358 * math/libm-test.inc: Update comment listing what functions and
28360 (finite_test): New function.
28361 (isinf_test): Likewise.
28362 (isnan_test): Likewise.
28363 (fpclassify_test): Test subnormal input.
28364 (isfinite_test): Likewise.
28365 (isnormal_test): Likewise.
28366 (main): Call the new functions.
28368 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
28371 * Makerules (%.dynsym): Force C locale when running
28372 $(OBJDUMP) --dynamic-syms.
28374 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
28376 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
28379 2012-10-06 David S. Miller <davem@davemloft.net>
28381 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
28382 upper 32-bits of the length value in %o2 since we use branch-on-register
28383 tests which consider the entire 64-bit register.
28385 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
28387 * string/test-strstr.c (check2): Add a test for page boundary.
28389 2012-10-05 David S. Miller <davem@davemloft.net>
28391 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
28392 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
28394 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28396 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28397 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
28398 and bzero when HWCAP_SPARC_CRYPTO is present.
28400 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
28403 * string/test-strstr.c (check2): New function.
28404 (test_main): Call check2.
28406 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
28408 * string/bug-strcasestr1.c (do_test): Moved to ...
28409 * string/test-strcasestr.c (check1): Here. New function.
28410 (do_one_test): Break out result checking code into ...
28411 (check_result): This. New function.
28412 (do_one_test): Call check_result.
28413 (test_main): Call check1.
28414 * string/bug-strchr1.c (do_test): Moved to ...
28415 * string/test-strchr.c (check1): Here. New function.
28416 (do_one_test): Break out result checking code into ...
28417 (check_result): This. New function.
28418 (do_one_test): Call check_result.
28419 (test_main): Call check1.
28420 * string/bug-strstr1.c (main): Moved to ...
28421 * string/test-strstr.c (check1): Here. New function.
28422 (do_one_test): Break out result checking code into ...
28423 (check_result): This. New function.
28424 (do_one_test): Call check_result.
28425 (test_main): Call check1.
28426 * string/bug-strcasestr1.c: Removed.
28427 * string/bug-strchr1.c: Likewise.
28428 * string/bug-strstr1.c: Likewise.
28430 * elf/Makefile (dl-routines): Add hwcaps.
28431 * elf/dl-support.c (_dl_important_hwcaps): Removed.
28432 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
28433 (_dl_important_hwcaps): Moved to ...
28434 * elf/dl-hwcaps.c: Here. New file.
28435 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
28438 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
28439 if IS_IN_rtld isn't defined.
28441 * elf/dl-support.c (_dl_sysinfo_map): New.
28442 Include "get-dynamic-info.h" and "setup-vdso.h".
28443 (_dl_non_dynamic_init): Call setup_vdso.
28444 * elf/dynamic-link.h: Don't include <assert.h>.
28445 (elf_get_dynamic_info): Moved to ...
28446 * elf/get-dynamic-info.h: Here. New file.
28447 * elf/dynamic-link.h: Include "get-dynamic-info.h".
28448 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
28449 * elf/setup-vdso.h: Here. New file.
28450 * elf/rtld.c: Include "setup-vdso.h".
28451 (dl_main): Call setup_vdso.
28453 2012-10-05 Joseph Myers <joseph@codesourcery.com>
28455 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
28456 creal in comment listing functions tested. List finite, isinf,
28457 isnan, isless, islessequal, isgreater, isgreaterequal,
28458 islessgreater, isunordered, lgamma_r and pow10 as functions and
28459 macros not tested. Mention which functions not tested are aliases
28460 for other functions. Fix typo. Note that signs of NaNs are not
28463 * scripts/config.guess: Update from config.git.
28464 * scripts/config.sub: Likewise.
28466 2012-10-04 Roland McGrath <roland@hack.frob.com>
28468 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
28469 * misc/madvise.c (madvise): Renamed to __madvise.
28470 Make madvise a weak alias.
28471 * include/sys/mman.h: Declare __madvise.
28472 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
28473 * sysdeps/unix/syscalls.list
28474 (madvise): Make __madvise the strong name, and madvise a weak alias.
28475 * sysdeps/unix/sysv/linux/syscalls.list
28476 (madvise, mmap): Remove redundant entries.
28477 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
28478 * malloc/malloc.c (mtrim): Likewise.
28479 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
28481 2012-10-03 Roland McGrath <roland@hack.frob.com>
28483 * sysdeps/mach/hurd/dl-cache.c: File removed.
28484 * config.h.in (USE_LDCONFIG): New #undef.
28485 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
28486 * configure: Regenerated.
28487 * elf/Makefile (dl-routines): Add dl-cache only under
28488 [$(use-ldconfig) = yes].
28489 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
28490 cache on [USE_LDCONFIG].
28491 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
28493 * elf/rtld.c (dl_main): Likewise.
28495 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
28497 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
28498 _SC_LEVEL4_CACHE_LINESIZE.
28500 2012-10-03 Roland McGrath <roland@hack.frob.com>
28502 * sysdeps/unix/bsd/confstr.h: File removed.
28504 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
28506 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
28509 2012-10-02 Roland McGrath <roland@hack.frob.com>
28511 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
28512 Make 'mapoff' field ElfW(Off) rather than off_t.
28514 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
28516 * nscd/Makefile: Remove nscd-cflags and all its users.
28517 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
28518 (CFLAGS-nonlib): Add compiler flags for nscd modules.
28521 * malloc.c (malloc_printerr): Clarify error message.
28523 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
28526 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28527 Set bit_FMA_Usable if FMA is supported.
28528 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
28530 (bit_FMA4_Usable): Updated.
28531 (index_FMA_Usable): New macro.
28532 (CPUID_FMA): Likewise
28533 (HAS_FMA): Defined with bit_FMA_Usable.
28535 2012-10-01 Roland McGrath <roland@hack.frob.com>
28537 * bits/types.h (__swblk_t): Type removed.
28538 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
28539 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
28540 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28541 (__SWBLK_T_TYPE): Likewise.
28542 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28543 (__SWBLK_T_TYPE): Likewise.
28544 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28545 (__SWBLK_T_TYPE): Likewise.
28546 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28547 (__SWBLK_T_TYPE): Likewise.
28549 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
28550 Honza Horak <hhorak@redhat.com>
28552 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
28553 (xdr_mapname): Use YPMAXMAP as maxsize.
28554 (xdr_peername): Use YPMAXPEER as maxsize.
28555 (xdr_keydat): Use YPAXRECORD as maxsize.
28556 (xdr_valdat): Use YPMAXRECORD as maxsize.
28558 2012-10-01 Roland McGrath <roland@hack.frob.com>
28560 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
28562 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
28563 * csu/init-first.c: ... here.
28564 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
28565 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
28566 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
28567 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
28568 * sysdeps/i386/init-first.c: File removed.
28569 * sysdeps/sh/init-first.c: File removed.
28571 2012-10-01 Joseph Myers <joseph@codesourcery.com>
28574 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
28575 if x * y might underflow to zero and z is zero.
28576 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28577 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28578 * math/libm-test.inc (min_subnorm_value): New variable.
28579 (fma_test): Add more tests.
28580 (fma_test_towardzero): Likewise.
28581 (fma_test_downward): Likewise
28582 (fma_test_upward): Likewise.
28583 (initialize): Set min_subnorm_value.
28585 2012-09-29 Joseph Myers <joseph@codesourcery.com>
28588 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
28590 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
28591 mode for addition resulting in exact zero.
28592 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
28593 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
28595 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28596 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28597 * math/libm-test.inc (fma_test): Add more tests.
28598 (fma_test_towardzero): New function.
28599 (fma_test_downward): Likewise.
28600 (fma_test_upward): Likewise.
28601 (main): Call the new functions.
28603 2012-09-28 David S. Miller <davem@davemloft.net>
28605 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
28607 2012-09-28 Roland McGrath <roland@hack.frob.com>
28609 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
28610 instead of SIGALRM.
28612 * sysdeps/gnu/_G_config.h: Moved to ...
28613 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
28614 * sysdeps/mach/hurd/_G_config.h: Moved to ...
28615 * sysdeps/generic/_G_config.h: ... here.
28617 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
28619 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
28621 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
28622 Conditionalize target on [libnss_test1.so-version].
28624 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
28626 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
28627 (elfobjdir): Move out of conditionals.
28629 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
28630 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
28631 (__nss_lookup_function): Conditionalize label remove_from_tree on
28632 [!DO_STATIC_NSS || SHARED], matching its only use.
28634 2012-09-28 David S. Miller <davem@davemloft.net>
28636 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
28637 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
28639 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28641 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28642 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
28643 when HWCAP_SPARC_CRYPTO is present.
28645 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
28647 * io/tst-mknodat.c: Create a FIFO instead of a socket.
28649 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
28652 * stdio-common/vfprintf.c (process_string_arg): Revert
28655 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
28657 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
28659 * stdio-common/tst-sprintf.c: Include <locale.h>
28660 (main): Test sprintf's handling of incomplete multibyte
28663 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
28665 * elf/dl-runtime.c (VERSYMIDX): Removed.
28666 * elf/dl-version.c (VERSYMIDX): Likewise.
28667 * elf/do-rel.h (VERSYMIDX): Likewise.
28668 (VALIDX): Likewise.
28669 * elf/dynamic-link.h (VERSYMIDX): Likewise.
28670 * elf/rtld.c (VALIDX): Likewise.
28671 (ADDRIDX): Likewise.
28672 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
28673 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
28674 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
28675 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
28676 (VALIDX): Likewise.
28677 (ADDRIDX): Likewise.
28679 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
28681 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
28683 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
28686 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
28688 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
28689 addresses are in the same scope as 192.0.2/24.
28690 * posix/gai.conf: Document new scope table defaults.
28692 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28695 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
28696 for ftell. Compute offsets from write pointers instead.
28697 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
28699 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28702 * libio/Makefile (tests): New test case tst-fseek.
28703 * libio/tst-fseek.c: New test case to verify that fseek/ftell
28704 combination works in wide mode.
28705 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
28706 state when the external buffer state changes.
28708 2012-09-27 David S. Miller <davem@davemloft.net>
28711 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
28712 pass reloc->r_addend in as the 'high' argument to
28713 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
28715 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28717 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
28719 * rt/tst-aio2.c: Include <pthread.h>.
28720 * rt/tst-aio3.c: Likewise.
28722 2012-09-27 Steve Ellcey <sellcey@mips.com>
28724 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
28726 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
28728 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
28729 contents on [SHARED].
28731 2012-09-26 Marek Polacek <polacek@redhat.com>
28735 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
28736 for C++ and GCC <4.3 as well as for non GCC compilers.
28738 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
28740 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28742 2012-09-25 Roland McGrath <roland@hack.frob.com>
28744 * Makefile.in (all, install): Declare with .PHONY.
28745 Reported by Michael Hope <michael.hope@linaro.org>.
28747 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28749 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
28750 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
28752 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
28754 (sydep_routines): Add the new and the internal functions.
28755 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
28756 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
28757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
28758 (GLIBC_2.17): Add the new function.
28759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
28760 (GLIBC_2.17): Likewise.
28761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
28762 (GLIBC_2.17): Likewise.
28763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
28764 (GLIBC_2.17): Likewise.
28765 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
28767 2012-09-25 Alan Modra <amodra@gmail.com>
28769 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
28770 Add release barrier before setting once_control to say
28771 initialisation is done. Add hints on lwarx. Use macro in
28773 (clear_once_control): Add release barrier.
28775 2012-09-25 Joseph Myers <joseph@codesourcery.com>
28778 * math/s_clog.c (__clog): Handle more values close to |z| = 1
28780 * math/s_clog10.c (__clog10): Likewise.
28781 * math/s_clog10f.c (__clog10f): Likewise.
28782 * math/s_clog10l.c (__clog10l): Likewise.
28783 * math/s_clogf.c (__clogf): Likewise.
28784 * math/s_clogl.c (__clogl): Likewise.
28785 * math/Makefile (libm-calls): Add x2y2m1.
28786 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
28787 (__x2y2m1): Likewise.
28788 (__x2y2m1l): Likewise.
28789 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
28790 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
28791 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
28792 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
28793 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
28794 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
28795 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
28796 * sysdeps/i386/fpu/libm-test-ulps: Update.
28797 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28800 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
28801 int as type of variable DEPTH.
28802 (glob): Use size_t instead of int as type of variables NEWCOUNT
28805 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28807 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
28808 Add s_sincosf-sse2.
28809 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
28810 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
28811 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
28812 macros for using routine as __sincosf_ia32.
28813 Use macro for function declaration and weak_alias.
28814 * sysdeps/i386/fpu/libm-test-ulps: Update.
28816 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
28817 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28819 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
28820 subnormal argument.
28821 * math/s_cexpf.c (__cexpf): Likewise.
28822 * math/s_csinf.c (__csinf): Likewise.
28823 * math/s_csinhf.c (__csinhf): Likewise.
28824 * math/s_ctanf.c (__ctanf): Likewise.
28825 * math/s_ctanhf.c (__ctanhf): Likewise.
28826 * math/s_ccosh.c (__ccoshf): Likewise.
28827 * math/s_cexp.c (__cexpl): Likewise.
28828 * math/s_csin.c (__csin): Likewise.
28829 * math/s_csinh.c (__csinh): Likewise.
28830 * math/s_ctan.c (__ctan): Likewise.
28831 * math/s_ctanh.c (ctanh): Likewise.
28832 * math/s_ccoshl.c (__ccoshl): Likewise.
28833 * math/s_cexpl.c (__cexpl): Likewise.
28834 * math/s_csinl.c (__csinl): Likewise.
28835 * math/s_csinhl.c (__csinhl): Likewise.
28836 * math/s_ctanl.c (__ctanl): Likewise.
28837 * math/s_ctanhl.c (__ctanhl): Likewise.
28839 2012-09-25 Joseph Myers <joseph@codesourcery.com>
28841 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
28842 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
28843 (_IO_off_t): Define to __off_t, not _G_off_t.
28844 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
28845 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
28846 (_IO_wint_t): Define to wint_t, not _G_wint_t.
28847 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
28848 type of __dummy and __dummy2 fields.
28849 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
28850 (_G_ssize_t): Likewise.
28851 (_G_off_t): Likewise.
28852 (_G_pid_t): Likewise.
28853 (_G_uid_t): Likewise.
28854 (_G_wchar_t): Likewise.
28855 (_G_wint_t): Likewise.
28856 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
28857 (_G_ssize_t): Likewise.
28858 (_G_off_t): Likewise.
28859 (_G_pid_t): Likewise.
28860 (_G_uid_t): Likewise.
28861 (_G_wchar_t): Likewise.
28862 (_G_wint_t): Likewise.
28863 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
28864 (_G_ssize_t): Likewise.
28865 (_G_off_t): Likewise.
28866 (_G_pid_t): Likewise.
28867 (_G_uid_t): Likewise.
28868 (_G_wchar_t): Likewise.
28869 (_G_wint_t): Likewise.
28871 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
28873 * malloc/arena.c: Include malloc-sysdep.h.
28874 (shrink_heap): Use check_may_shrink_heap to decide if madvise
28875 is sufficient to shrink the heap or an unmap is needed.
28876 * sysdeps/generic/malloc-sysdep.h: New file. Define
28877 new function check_may_shrink_heap.
28878 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
28879 new function check_may_shrink_heap.
28881 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
28883 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
28886 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
28888 * catgets/test-gencat.sh: Add "set -e".
28889 * elf/tst-pathopt.sh: Likewise.
28890 * grp/tst_fgetgrent.sh: Likewise.
28891 * iconvdata/run-iconv-test.sh: Likewise.
28892 * intl/tst-gettext.sh: Likewise.
28893 * intl/tst-gettext2.sh: Likewise.
28894 * intl/tst-gettext4.sh: Likewise.
28895 * intl/tst-gettext6.sh: Likewise.
28896 * intl/tst-translit.sh: Likewise.
28897 * io/ftwtest-sh: Likewise.
28898 * libio/test-freopen.sh: Likewise.
28899 * malloc/tst-mtrace.sh: Likewise.
28900 * posix/globtest.sh: Likewise.
28901 * posix/tst-getconf.sh: Likewise.
28902 * posix/wordexp-tst.sh: Likewise.
28903 * stdio-common/tst-printf.sh: Likewise.
28904 * stdio-common/tst-unbputc.sh: Likewise.
28905 * stdlib/tst-fmtmsg.sh: Likewise.
28906 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
28907 * catgets/Makefile: Do not specify -e option when running
28908 testsuite shell scripts.
28909 * elf/Makefile: Likewise.
28910 * grp/Makefile: Likewise.
28911 * iconvdata/Makefile: Likewise.
28912 * intl/Makefile: Likewise.
28913 * io/Makefile: Likewise.
28914 * libio/Makefile: Likewise.
28915 * malloc/Makefile: Likewise.
28916 * posix/Makefile: Likewise.
28917 * stdio-common/Makefile: Likewise.
28918 * stdlib/Makefile: Likewise.
28919 * sysdeps/x86_64/Makefile: Likewise.
28921 * io/ftwtest-sh: Add copyright header.
28922 * posix/globtest.sh: Likewise.
28923 * posix/tst-getconf.sh: Likewise.
28924 * posix/wordexp-tst.sh: Likewise.
28925 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
28927 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
28930 * Makeconfig (+link): Defined as $(+link-static) if
28931 $(build-shared) isn't yes.
28932 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
28934 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
28936 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
28939 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
28940 new chunk size with MALLOC_ALIGN_MASK.
28942 2012-09-24 Joseph Myers <joseph@codesourcery.com>
28945 * stdio-common/printf_fphex.c: Include <stdbool.h> and
28947 (__printf_fphex): Determine rounding using get_rounding_mode and
28949 * stdio-common/tst-printf-round.c (struct hex_test): New
28951 (hex_tests): New variable.
28952 (test_hex_in_one_mode): New function.
28953 (do_test): Also run tests for hex float output.
28955 2012-09-21 Joseph Myers <joseph@codesourcery.com>
28957 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
28958 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
28959 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
28960 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
28961 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
28962 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
28963 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
28964 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
28966 2012-09-20 Joseph Myers <joseph@codesourcery.com>
28968 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
28969 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
28970 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
28971 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
28973 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
28976 * elf/rtld.c (dl_main): Limit the check for self loading to normal
28978 * elf/tst-rtld-load-self.sh: New test.
28979 * elf/Makefile: Run it.
28981 2012-09-18 Joseph Myers <joseph@codesourcery.com>
28983 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
28984 (tst-writev-ENV): Remove.
28985 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
28987 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
28989 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
28991 2012-09-17 Joseph Myers <joseph@codesourcery.com>
28993 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
28995 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
28997 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
28998 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
28999 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
29002 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
29005 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
29006 * config.make.in (have-cpp-asm-debuginfo): Removed.
29007 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
29008 * configure: Regenerated.
29010 2012-09-14 Joseph Myers <joseph@codesourcery.com>
29013 * stdio-common/printf_fp.c: Include <stdbool.h> and
29015 (___printf_fp): Determine rounding using get_rounding_mode and
29017 * stdio-common/tst-printf-round.c: New file.
29018 * stdio-common/Makefile (tests): Add tst-printf-round.
29019 (link-libm): New variable.
29020 ($(objpfx)tst-printf-round): Depend in $(link-libm).
29022 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
29025 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
29026 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
29028 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
29031 2012-09-13 Joseph Myers <joseph@codesourcery.com>
29033 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
29034 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29035 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29036 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29038 2012-09-12 Joseph Myers <joseph@codesourcery.com>
29041 * include/rounding-mode.h: New file.
29042 * sysdeps/generic/get-rounding-mode.h: Likewise.
29043 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
29044 * stdlib/strtod_l.c: Include <rounding-mode.h>.
29045 (MAX_VALUE): New macro.
29046 (MIN_VALUE): Likewise.
29047 (overflow_value): New function.
29048 (underflow_value): Likewise.
29049 (round_and_return): Use overflow_value and underflow_value to
29050 determine return values in overflow and underflow cases. Use
29051 round_away to determine rounding depending on rounding mode.
29052 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
29053 determine return values in overflow and underflow cases.
29054 * stdlib/tst-strtod-round.c: Include <fenv.h>.
29055 (struct test_results): New structure.
29056 (struct test): Use struct test_results to store expected results
29057 for all rounding modes.
29058 (TEST): Include expected results for all rounding modes.
29059 (test_in_one_mode): New function.
29060 (do_test): Use test_in_one_mode to compute and check results.
29061 Check results for all rounding modes.
29062 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
29065 2012-12-09 Allan McRae <allan@archlinux.org>
29067 * sysdeps/i386/fpu/libm-test-ulps: Update
29069 2012-09-11 Joseph Myers <joseph@codesourcery.com>
29071 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
29072 (_G_int32_t): Likewise.
29073 (_G_uint16_t): Likewise.
29074 (_G_uint32_t): Likewise.
29075 (_G_HAVE_BOOL): Likewise.
29076 (_G_HAVE_ATEXIT): Likewise.
29077 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29078 (_G_HAVE_IO_FILE_OPEN): Likewise.
29079 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
29080 (_G_int32_t): Likewise.
29081 (_G_uint16_t): Likewise.
29082 (_G_uint32_t): Likewise.
29083 (_G_HAVE_BOOL): Likewise.
29084 (_G_HAVE_ATEXIT): Likewise.
29085 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29086 (_G_HAVE_IO_FILE_OPEN): Likewise.
29087 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
29088 (_G_int32_t): Likewise.
29089 (_G_uint16_t): Likewise.
29090 (_G_uint32_t): Likewise.
29091 (_G_HAVE_BOOL): Likewise.
29092 (_G_HAVE_ATEXIT): Likewise.
29093 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29094 (_G_HAVE_IO_FILE_OPEN): Likewise.
29096 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
29098 * csu/libc-tls.c: Update copyright years.
29100 2012-09-10 Joseph Myers <joseph@codesourcery.com>
29102 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
29103 [!_G_USING_THUNKS]: Remove conditional code.
29104 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
29105 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
29107 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
29108 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
29109 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29110 (_G_VTABLE_LABEL_PREFIX): Likewise.
29111 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29112 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29113 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29114 (_G_VTABLE_LABEL_PREFIX): Likewise.
29115 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29116 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29117 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29118 (_G_VTABLE_LABEL_PREFIX): Likewise.
29119 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29121 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
29123 * libio/Makefile: Include ../Makeconfig before tests.
29124 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
29125 only if $(build-shared) is yes.
29127 * iconv/gconv_db.c: Update copyright years.
29129 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29131 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
29132 unwind info if defined PIC. Fix special cases description.
29133 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
29135 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
29137 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
29139 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
29141 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
29143 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
29146 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
29147 (LDLIBS-tst-chk4): This.
29148 (LDFLAGS-tst-chk5): Renamed to ...
29149 (LDLIBS-tst-chk5): This.
29150 (LDFLAGS-tst-chk6): Renamed to ...
29151 (LDLIBS-tst-chk6): This.
29152 (LDFLAGS-tst-lfschk4): Renamed to ...
29153 (LDLIBS-tst-lfschk4): This.
29154 (LDFLAGS-tst-lfschk5): Renamed to ...
29155 (LDLIBS-tst-lfschk5): This.
29156 (LDFLAGS-tst-lfschk6): Renamed to ...
29157 (LDLIBS-tst-lfschk6): This.
29159 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
29160 on $(common-objpfx)soversions.mk.
29162 2012-09-07 Joseph Myers <joseph@codesourcery.com>
29165 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
29168 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
29170 * malloc/arena.c (arena_get_retry): New function that gets
29171 another arena for the caller to try its request on.
29172 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
29173 current arena cannot fulfill the request.
29174 (__libc_memalign): Likewise.
29175 (__libc_memalign): Likewise.
29176 (__libc_pvalloc): Likewise.
29177 (__libc_calloc): Likewise.
29179 2012-09-05 John Tobey <john.tobey@gmail.com>
29182 * manual/arith.texi (Operations on Complex): Fix description
29183 of carg branch cut.
29185 2012-09-06 Joseph Myers <joseph@codesourcery.com>
29188 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
29192 * manual/memory.texi (Memory): Make order of menu items match
29195 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29197 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
29198 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
29199 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
29201 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29203 * csu/libc-tls.c (static_dtv): Renamed to ...
29204 (_dl_static_dtv): This. Make it global.
29205 (_dl_initial_dtv): Removed.
29206 (__libc_setup_tls): Updated.
29207 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
29208 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
29211 2012-09-06 Petr Machata <pmachata@redhat.com>
29213 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
29214 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
29215 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
29216 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
29218 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29221 * csu/libc-tls.c (_dl_initial_dtv): New variable.
29222 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
29225 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29228 * Makeconfig (link-static-before-libc): Replace $(+prector)
29230 (link-static-after-libc): Replace $(+postctor) with
29232 (link-bounded): Replace $(+prector)/$(+postctor) with
29233 $(+prectorT)/$(+postctorT).
29234 (+prectorT): New macro.
29235 (+postctorT): Likewise.
29237 2012-09-06 Joseph Myers <joseph@codesourcery.com>
29239 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
29240 (round_str): Handle values above the maximum for IBM long double
29242 * stdlib/tst-strtod-round.c (tests): Regenerated.
29244 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29246 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
29248 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
29249 zarch_nohighgprs around the zarch optimized routines.
29250 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
29251 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
29252 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
29255 2012-09-05 David S. Miller <davem@davemloft.net>
29257 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29259 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
29260 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
29261 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
29262 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
29265 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29267 * malloc/arena.c: Fold copyright years.
29268 * malloc/mcheck.c, malloc/memusage.c: Likewise.
29270 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29272 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
29274 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29276 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
29278 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29280 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
29281 change internal state upon failure.
29283 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29285 * malloc/mcheck.c (mcheck_check_all): Fix typo.
29286 * malloc/memusage.c (mmap): Likewise.
29287 (mmap64, mremap): Likewise. Adjust name in comment.
29289 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
29291 * libio/fileops.c: Fix typos in comments.
29292 * libio/oldfileops.c: Likewise.
29293 * libio/wfileops.c: Likewise.
29295 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
29298 * malloc/Makefile (tests): Add tst-malloc-usable test case.
29299 (tst-malloc-usable-ENV): Set environment for test case.
29300 * malloc/hooks.c (malloc_check_get_size): New function to get
29302 * malloc/malloc.c (musable): Use malloc_check_get_size.
29303 * malloc/tst-malloc-usable.c: New test case.
29305 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
29307 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
29309 2012-09-05 Allan McRae <allan@archlinux.org>
29312 * configure.in (CXX_SYSINCLUDES): Use compiler output to
29313 determine header location.
29314 * configure: Regenerated.
29316 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
29318 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
29320 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
29321 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
29323 (test): Regenerate.
29325 2012-09-04 David S. Miller <davem@davemloft.net>
29327 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
29328 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
29329 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
29331 2012-09-04 Florian Weimer <fweimer@redhat.com>
29333 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
29336 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
29338 2012-09-04 Joseph Myers <joseph@codesourcery.com>
29341 * libio/iogetdelim.c: Include <limits.h>.
29342 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
29343 + len + 1 would overflow.
29345 2012-09-03 Andreas Jaeger <aj@suse.de>
29347 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29348 * sysdeps/i386/fpu/libm-test-ulps: Update.
29350 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29352 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
29353 Add s_sinf-sse2, s_conf-sse2.
29355 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
29356 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
29357 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
29358 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
29360 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
29361 for using routine as __sinf_ia32.
29362 Use macro for function declaration and weak_alias.
29363 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
29364 for using routine as __cosf_ia32.
29365 Use macro for function declaration and weak_alias.
29367 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
29368 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
29370 * sysdeps/x86_64/fpu/s_sinf.S: New file.
29371 * sysdeps/x86_64/fpu/s_cosf.S: New file.
29372 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29374 * math/libm-test.inc (cos_test): Add more test cases.
29375 (sin_test): Likewise.
29376 (sincos_test): Likewise.
29378 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29380 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
29381 (IFUNC_RESOLVE): Make pointers to the specialized implementations
29383 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
29385 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
29388 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
29389 first element of the GOT.
29390 (elf_machine_load_address): Return the difference between
29391 the runtime address of _DYNAMIC and elf_machine_dynamic ().
29393 2012-09-01 Allan McRae <allan@archlinux.org>
29396 * configure.in (AWK): Require gawk version 3.0 or later.
29397 * configure: Regenerated.
29399 2012-09-01 Joseph Myers <joseph@codesourcery.com>
29401 * sysdeps/unix/sysv/linux/kernel-features.h
29402 (__ASSUME_POSIX_CPU_TIMERS): Remove.
29403 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29404 [__NR_clock_getres]: Make code unconditional.
29405 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
29406 (clock_getcpuclockid): Remove code left unreachable by removal of
29408 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
29409 code unconditional.
29410 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29411 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29412 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
29413 Make code unconditional.
29414 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29415 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29416 * sysdeps/unix/sysv/linux/clock_settime.c
29417 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
29419 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
29420 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29422 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
29425 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
29426 scripts/test-installation.pl.
29428 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
29429 and $ld_so_version if it is set.
29431 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29434 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
29435 failure if reading from procfs failed.
29436 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
29438 2012-08-27 Joseph Myers <joseph@codesourcery.com>
29440 * sysdeps/unix/sysv/linux/kernel-features.h
29441 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
29442 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29443 Remove conditional code.
29444 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29445 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
29446 Remove conditional code.
29447 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29448 * sysdeps/unix/sysv/linux/i386/fxstat.c
29449 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29450 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29451 * sysdeps/unix/sysv/linux/i386/fxstatat.c
29452 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29453 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29454 * sysdeps/unix/sysv/linux/i386/lxstat.c
29455 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29456 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29457 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
29458 Remove conditional code.
29459 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29460 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29461 Remove conditional code.
29462 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29463 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
29464 <kernel-features.h>.
29465 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
29467 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
29468 Remove conditional code.
29469 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29470 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
29471 Remove conditional.
29473 2012-08-27 Mike Frysinger <vapier@gentoo.org>
29476 * NEWS: Add fixed bug number.
29478 2012-08-27 Joseph Myers <joseph@codesourcery.com>
29481 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
29482 underflowing exponent in case of negative sign.
29483 * stdlib/tst-strtod-round-data: Add more tests.
29484 * stdlib/tst-strtod-round.c (tests): Regenerated.
29487 * stdlib/strtod_l.c (NDIG): Remove.
29488 (HEXNDIG): Likewise.
29489 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
29490 smallest representable value.
29491 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
29492 lie within an exact representation of 1/2 ulp of the result.
29493 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
29495 (TENS_P9_IDX): Define unconditionally.
29496 (TENS_P9_SIZE): Likewise.
29497 (TENS_P10_IDX): Likewise.
29498 (TENS_P10_SIZE): Likewise.
29499 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
29500 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
29501 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
29502 entries for 10^2^13 and 10^2^14.
29503 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
29504 (TENS_P13_IDX): Define.
29505 (TENS_P13_SIZE): Likewise.
29506 (TENS_P14_IDX): Likewise.
29507 (TENS_P14_SIZE): Likewise.
29508 (_fpioconst_pow10): Change array size to
29509 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
29511 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
29512 1024]: Add entries for 10^2^13 and 10^2^14.
29513 [LAST_POW10 > _LAST_POW10]: Remove #error.
29514 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
29515 (_fpioconst_pow10): Change array size to
29516 FPIOCONST_POW10_ARRAY_SIZE.
29517 * stdlib/gen-fpioconst.c: New file.
29518 * stdlib/gen-tst-strtod-round.c: Likewise.
29519 * stdlib/tst-strtod-round-data: Likewise.
29520 * stdlib/tst-strtod-round.c: Likewise.
29521 * stdlib/Makefile (tests): Add tst-strtod-round.
29524 * stdlib/strtod_l.c: Include <stdint.h>.
29525 (NDEBUG): Do not define.
29526 (round_and_return): Change EXPONENT parameter to type intmax_t.
29527 Rearrange calculations to avoid internal overflow possibilities.
29528 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
29529 Rearrange calculations to avoid internal overflow possibilities.
29530 Assert that number fits inside MPNSIZE limbs.
29531 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
29532 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
29533 calculations and add assertions to avoid internal overflow
29534 possibilities. Add casts to avoid signed/unsigned operations.
29535 * stdlib/tst-strtod-overflow.c: New file.
29536 * stdlib/Makefile (tests): Add tst-strtod-overflow.
29538 2012-08-25 Marek Polacek <polacek@redhat.com>
29540 * time/time.h: Fix some typos in comments.
29542 2012-08-23 Roland McGrath <roland@hack.frob.com>
29544 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
29545 * posix/tst-rfc3484-2.c: Likewise.
29546 * posix/tst-rfc3484-3.c: Likewise.
29548 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
29550 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
29551 (EF_ARM_ABI_FLOAT_HARD): Likewise.
29553 2012-08-23 Joseph Myers <joseph@codesourcery.com>
29555 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
29556 #include of fxstatat64.c.
29558 2012-08-22 Roland McGrath <roland@hack.frob.com>
29560 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
29561 * shadow/getspent_r.c: Likewise.
29562 * shadow/getspnam.c: Likewise.
29563 * shadow/getspnam_r.c: Likewise.
29564 * gshadow/getsgent.c: Likewise.
29565 * gshadow/getsgent_r.c: Likewise.
29566 * gshadow/getsgnam.c: Likewise.
29567 * gshadow/getsgnam_r.c: Likewise.
29568 * inet/getnetbyad.c: Likewise.
29569 * inet/getnetbyad_r.c: Likewise.
29570 * inet/getnetbynm.c: Likewise.
29571 * inet/getnetbynm_r.c: Likewise.
29572 * inet/getnetent.c: Likewise.
29573 * inet/getnetent_r.c: Likewise.
29574 * inet/getproto.c: Likewise.
29575 * inet/getproto_r.c: Likewise.
29576 * inet/getprtent.c: Likewise.
29577 * inet/getprtent_r.c: Likewise.
29578 * inet/getprtname.c: Likewise.
29579 * inet/getprtname_r.c: Likewise.
29580 * inet/getrpcbyname.c: Likewise.
29581 * inet/getrpcbyname_r.c: Likewise.
29582 * inet/getrpcbynumber.c: Likewise.
29583 * inet/getrpcbynumber_r.c: Likewise.
29584 * inet/getrpcent.c: Likewise.
29585 * inet/getrpcent_r.c: Likewise.
29586 * inet/getaliasent.c: Likewise.
29587 * inet/getaliasent_r.c: Likewise.
29588 * inet/getaliasname.c: Likewise.
29589 * inet/getaliasname_r.c: Likewise.
29590 * nscd/getgrgid_r.c: Likewise.
29591 * nscd/getgrnam_r.c: Likewise.
29592 * nscd/gethstbyad_r.c: Likewise.
29593 * nscd/gethstbynm3_r.c: Likewise.
29594 * nscd/getpwnam_r.c: Likewise.
29595 * nscd/getpwuid_r.c: Likewise.
29596 * nscd/getsrvbynm_r.c: Likewise.
29597 * nscd/getsrvbypt_r.c: Likewise.
29598 * nscd/gai.c: Likewise.
29600 * configure.in (build_nscd): New substituted variable, set
29601 by --disable-build-nscd and defaults to $use_nscd.
29602 * configure: Regenerated.
29603 * config.make.in (build-nscd): New substituted variable.
29604 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
29605 Change conditional to require [$(build-nscd) = yes] as well.
29606 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
29609 * configure.in (use_nscd): New substituted variable, set by
29610 --disable-nscd. If enabled, define USE_NSCD.
29611 * configure: Regenerated.
29612 * config.h.in: Add USE_NSCD.
29613 * config.make.in (use-nscd): New substituted variable.
29614 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
29615 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
29616 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
29617 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
29618 (CFLAGS-getgrnam_r.c): Likewise.
29619 (CFLAGS-initgroups.c): Likewise.
29620 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
29621 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
29623 * inet/getnetgrent_r.c
29624 (nscd_setnetgrent): New function, broken out of ...
29625 (setnetgrent): ... here. Call it.
29626 (innetgr): Conditionalize nscd bits on [USE_NSCD].
29627 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
29628 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
29629 * nscd/Makefile (routines, aux): Move definitions after include of
29630 Makeconfig. Conditionalize on [$(use-nscd) != no].
29631 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
29632 Conditionalize on [USE_NSCD].
29633 (is_nscd, nscd_init_cb): Likewise.
29634 (nss_load_library): Conditionalize init callback on [USE_NSCD].
29635 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
29636 * nss/nss_db/db-init.c: Likewise.
29637 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
29639 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
29640 (make_request): Use it.
29641 (cache_valid_p): New function.
29642 (__check_pf): Use it.
29643 * NEWS: Add item for --disable-nscd.
29645 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
29647 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
29648 to support sed >= 4.2.1-20-ga9bf076.
29649 * configure: Regenerated.
29651 2012-08-22 Roland McGrath <roland@hack.frob.com>
29653 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
29654 Conditionalize whole body on [IREL].
29656 2012-08-22 Jeff Law <law@redhat.com>
29659 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
29660 if the family is PF_UNSPEC.
29662 2012-08-22 Mike Frysinger <vapier@gentoo.org>
29664 * Makerules (lib-version): Rename from V.
29665 (install-lib-nosubdir): Change V to lib-version.
29667 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
29670 * powerpc32/power6/wcschr.c: New file.
29671 * powerpc32/power6/wcscpy.c: New file.
29672 * powerpc32/power6/wcsrchr.c: New file.
29673 * powerpc64/power6/wcschr.c: New file.
29674 * powerpc64/power6/wcscpy.c: New file.
29675 * powerpc64/power6/wcsrchr.c: New file.
29677 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
29679 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
29680 (two_way_short_needle): Use it.
29681 * string/strstr.c (AVAILABLE1_USES_J): Define.
29682 * string/strcasestr.c: Likewise.
29684 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
29686 * string/strcasestr.c (TOLOWER): Make side-effect safe.
29689 * NEWS: Add an entry.
29690 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
29691 define their defaults.
29692 (two_way_short_needle): Detect end-of-string on-the-fly.
29693 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
29694 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
29695 * string/bug-strcasestr1.c: New test.
29696 * string/Makefile: Run it.
29698 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
29701 * string/str-two-way.h (two_way_short_needle): Optimize matching of
29702 the first character.
29704 2012-08-21 Roland McGrath <roland@hack.frob.com>
29706 * csu/elf-init.c (__libc_csu_irel): Function removed.
29707 * csu/libc-start.c (apply_irel): New function.
29708 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
29710 2012-08-21 Joseph Myers <joseph@codesourcery.com>
29712 * sysdeps/unix/sysv/linux/kernel-features.h
29713 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
29714 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
29715 <kernel-features.h>.
29716 [__NR_fadvise64_64]: Make code unconditional.
29717 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
29718 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
29719 !__NR_fadvise64_64)]: Likewise.
29720 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
29721 !__NR_fadvise64_64))]: Likewise.
29722 [__NR_fadvise64]: Make code unconditional.
29723 [!__NR_fadvise64]: Remove conditional code.
29724 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
29725 <kernel-features.h>.
29726 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29728 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
29731 not include <kernel-features.h>.
29732 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29734 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29736 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
29737 include <kernel-features.h>.
29738 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29740 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29743 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
29745 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
29746 slight instruction rearrangements per scrollpipe analysis.
29747 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
29749 2012-08-20 Roland McGrath <roland@hack.frob.com>
29751 * manual/syslog.texi (syslog; vsyslog, closelog):
29752 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
29753 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
29755 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
29756 DSOCAPS to match condition on defining it.
29758 2012-08-20 Joseph Myers <joseph@codesourcery.com>
29760 * sysdeps/unix/sysv/linux/kernel-features.h
29761 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
29762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
29763 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29764 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
29766 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29767 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
29769 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29770 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29772 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
29773 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
29775 * sysdeps/unix/sysv/linux/kernel-features.h
29776 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
29777 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
29779 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29780 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
29781 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29782 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29783 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
29784 Make code unconditional.
29785 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29786 (__mmap64) [!__NR_mmap2]: Likewise.
29787 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
29788 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29789 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29790 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
29791 [__NR_mmap2]: Make code unconditional.
29792 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29793 (__mmap64) [!__NR_mmap2]: Likewise.
29795 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29797 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
29799 2012-08-18 Andreas Jaeger <aj@suse.de>
29801 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
29803 2012-08-18 Mike Frysinger <vapier@gentoo.org>
29805 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
29806 * include/unistd.h (__have_sock_cloexec): Likewise.
29807 (__have_pipe2): Likewise.
29808 (__have_dup3): Likewise.
29810 2012-08-18 Mike Frysinger <vapier@gentoo.org>
29813 * include/unistd.h (__have_pipe2): Change define into an extern int.
29814 (__have_dup3): Likewise.
29815 * socket/have_sock_cloexec.c: Include fcntl.h.
29816 (__have_pipe2): New variable.
29817 (__have_dup3): Likewise.
29819 2012-08-17 Mike Frysinger <vapier@gentoo.org>
29821 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
29823 2012-08-17 Marek Polacek <polacek@redhat.com>
29825 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
29826 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
29828 2012-08-17 Roland McGrath <roland@hack.frob.com>
29830 * configure.in: Add AC_SUBST for sysheaders.
29831 * configure: Regenerated.
29832 * config.make.in (sysheaders): New substituted variable.
29834 * sysdeps/unix/mkfifo.c: Moved ...
29835 * sysdeps/posix/mkfifo.c: ... here.
29836 * sysdeps/unix/mkfifoat.c: Moved ...
29837 * sysdeps/posix/mkfifoat.c: ... here.
29839 * sysdeps/unix/utime.c: Moved ...
29840 * sysdeps/posix/utime.c: ... here.
29842 * sysdeps/unix/time.c: Moved ...
29843 * sysdeps/posix/time.c: ... here.
29844 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
29845 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
29847 * sysdeps/unix/nice.c: Moved ...
29848 * sysdeps/posix/nice.c: ... here.
29850 * sysdeps/unix/alarm.c: Moved ...
29851 * sysdeps/posix/alarm.c: ... here.
29853 * intl/Makefile ($(codeset_mo)): Depend on the input file.
29855 2012-08-17 Jeff Law <law@redhat.com>
29857 * intl/Makefile (codeset_mo): New variable.
29858 ($(codeset_mo)): New target.
29859 (tst-codeset.out): Depend on that. Remove explicit rule.
29860 (tst-gettext3.out, tst-gettext5.out): Likewise.
29861 (LOCPATH-ENV, tst-codeset-ENV): New variables.
29862 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
29863 * intl/tst-codeset.sh: Remove.
29864 * intl/tst-gettext3.sh: Likewise.
29865 * intl/tst-gettext5.sh: Likewise.
29867 2012-08-17 Roland McGrath <roland@hack.frob.com>
29869 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
29870 * sysdeps/unix/syscalls.list: ... here.
29872 * sysdeps/posix/getaddrinfo.c
29873 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
29874 (gaiconf_init, gaiconf_reload): Use them.
29875 [!_STATBUF_ST_NSEC]
29876 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
29877 Define using time_t rather than struct timespec.
29879 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
29880 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
29882 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
29884 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
29885 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
29888 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
29889 __libc_cleanup_push argument.
29891 * bits/param.h: New file.
29892 * misc/sys/param.h: New file.
29893 * include/sys/param.h: New file.
29894 * misc/Makefile (headers): Add bits/param.h.
29895 * sysdeps/generic/sys/param.h: File removed.
29896 * sysdeps/unix/sysv/linux/bits/param.h: New file.
29897 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
29898 * sysdeps/mach/hurd/bits/param.h: New file.
29899 * sysdeps/mach/hurd/sys/param.h: File removed.
29901 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
29904 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
29906 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
29907 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
29910 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
29911 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
29912 rather than -D_IO_MTSAFE_IO conditionally.
29913 * stdio-common/Makefile (CPPFLAGS): Likewise.
29914 * wcsmbs/Makefile (CPPFLAGS): Likewise.
29915 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
29916 Use $(libio-mtsafe).
29917 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
29918 of -D_IO_MTSAFE_IO.
29919 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
29920 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
29921 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
29922 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
29923 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
29924 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
29925 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
29926 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
29927 (CFLAGS-fread_u_chk.c): Likewise.
29928 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
29929 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
29930 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
29931 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
29932 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
29933 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
29934 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
29935 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
29936 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
29938 * libio/Makefile: Test [$(libc-reentrant) = yes]
29939 instead of [$(filter %REENTRANT, $(defines)) nonempty].
29942 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
29943 * sysdeps/pthread/configure: File removed.
29944 * sysdeps/pthread/Makeconfig: New file.
29945 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
29946 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
29948 2012-08-16 Gary Benson <gbenson@redhat.com>
29950 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
29951 unmapping the first object in a namespace.
29953 2012-08-16 Roland McGrath <roland@hack.frob.com>
29955 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
29956 (__internal_setnetgrent): ... this. Add internal_function to
29957 definition. Add libc_hidden_def.
29958 (setnetgrent): Update caller.
29959 (internal_endnetgrent): Renamed to ...
29960 (__internal_endnetgrent): ... this. Add internal_function to
29961 definition. Add libc_hidden_def.
29962 (endnetgrent): Update caller.
29963 (internal_getnetgrent_r): Renamed to ...
29964 (__internal_getnetgrent_r): ... this. Add internal_function to
29965 definition. Add libc_hidden_def.
29966 (__getnetgrent_r): Update caller.
29967 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
29969 2012-08-16 Joseph Myers <joseph@codesourcery.com>
29971 * stdlib/longlong.h: Update from GCC.
29973 2012-08-16 Roland McGrath <roland@hack.frob.com>
29975 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
29976 on _QL, which is set by umul_ppmm but never used.
29977 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
29978 variables, which are set by GMP macros but never used.
29979 * stdio-common/_itowa.c (_itowa): Likewise.
29980 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
29981 * stdlib/mod_1.c (mpn_mod_1): Likewise.
29983 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
29985 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
29986 struct La_sh_regs is not constant.
29987 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
29988 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
29989 and struct La_sparc64_regs are not constant.
29991 2012-08-16 Joseph Myers <joseph@codesourcery.com>
29993 * sysdeps/unix/sysv/linux/kernel-features.h
29994 (__ASSUME_POSIX_TIMERS): Remove.
29995 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29996 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29997 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
29998 Make code unconditional.
29999 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30000 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
30001 Make code unconditional.
30002 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30003 * sysdeps/unix/sysv/linux/clock_nanosleep.c
30004 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
30005 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30006 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
30007 Make code unconditional.
30008 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30009 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
30010 (__libc_missing_posix_timers): Remove.
30012 2012-08-15 Roland McGrath <roland@hack.frob.com>
30014 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
30015 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
30017 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
30019 * elf/dl-sym.c: Include <stdlib.h>.
30021 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
30022 constants, which avoids warnings in 32-bit builds.
30024 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
30025 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
30027 * misc/lseek.c: File moved to ...
30028 * io/lseek.c: ... here.
30030 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
30032 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
30033 shifting LEN more than 31 bits at once.
30035 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30038 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
30039 segmentation fault for a case of two empty input strings.
30040 * string/test-strncasecmp.c (check1): Renamed to...
30041 (bz12205): ...this.
30042 (bz14195): Add new testcase for two empty input strings and N > 0.
30043 (test_main): Call new testcase, adapt for renamed function.
30045 2012-08-15 Andreas Jaeger <aj@suse.de>
30048 * crypt/md5test2.c: New test, based on test supplied by Serge
30049 Belyshev <belyshev@depni.sinp.msu.ru>.
30050 * crypt/Makefile (xtests): Add md5test-giant..
30051 * crypt/Makefile ($(objpfx)md5test-giant): Add.
30053 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
30056 * crypt/md5.c (md5_process_block): Don't assume the buffer
30057 length is less than 2**32.
30058 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
30059 length is less than 2**64.
30061 2012-08-15 Roland McGrath <roland@hack.frob.com>
30063 * string/str-two-way.h: Include <sys/param.h>.
30064 (MAX): Macro removed.
30066 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
30067 Move #define and #undef of memmove to just before and after
30068 including <string.h>.
30070 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
30071 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
30072 and after including <string.h>. Move declarations of
30073 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
30074 to before #include "string/memmove.c".
30076 * include/dirent.h: Declare __getdirentries.
30078 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
30079 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
30081 2012-08-14 Mike Frysinger <vapier@gentoo.org>
30083 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
30084 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
30085 * sysdeps/i386/configure: Regenerated.
30086 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
30087 STABS_CURRENT_FILE, and STABS_FUN.
30088 (END): Remove call to STABS_FUN_END.
30089 (STABS_CURRENT_FILE1): Delete.
30090 (STABS_CURRENT_FILE): Likewise.
30091 (STABS_FUN): Likewise.
30092 (STABS_FUN_END): Likewise.
30093 (STABS_FUN2): Likewise.
30094 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
30095 * sysdeps/x86_64/configure: Regenerated.
30097 2012-08-14 Roland McGrath <roland@hack.frob.com>
30099 * elf/dl-open.c: Include <atomic.h>.
30100 * elf/dl-lookup.c: Likewise.
30102 2012-08-14 Joseph Myers <joseph@codesourcery.com>
30104 * sysdeps/unix/sysv/linux/kernel-features.h
30105 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
30106 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
30108 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
30110 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
30111 condition on __ASSUME_CLONE_THREAD_FLAGS.
30113 2012-08-14 Andreas Jaeger <aj@suse.de>
30115 * sysdeps/i386/fpu/libm-test-ulps: Update.
30117 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
30119 * include/atomic.h (atomic_exchange_and_add): Split into ...
30120 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
30123 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
30125 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30127 2012-08-13 Jeff Law <law@redhat.com>
30129 * manual/stdio.texi (snprintf): Clarify handling of the trailing
30130 null byte in the output string.
30132 2012-08-10 Joseph Myers <joseph@codesourcery.com>
30134 * sysdeps/unix/sysv/linux/kernel-features.h
30135 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
30136 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
30137 (__ASSUME_ARG_MAX_STACK_BASED): Define.
30138 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
30139 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
30140 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
30141 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
30143 2012-08-09 Jeff Law <law@redhat.com>
30146 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
30147 When avoid_arena is set, don't retry in the that arena. Pick the
30148 next one, whatever it might be.
30149 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
30150 (arena_lock): Pass in new parameter to arena_get2.
30151 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
30153 (__libc_malloc): Unify retrying after main arena failure with
30154 __libc_memalign version.
30155 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
30157 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
30160 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
30161 to __redirect_strstr.
30162 (__strstr_sse42): Use typeof __redirect_strstr.
30163 (__strstr_ia32): Likewise.
30164 (__libc_strstr): New prototype.
30165 (strstr): Renamed to ...
30166 (__libc_strstr): This.
30167 (strstr): New strong alias of __libc_strstr.
30168 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
30169 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
30172 (__libc_time): New prototype.
30173 (time_ifunc): Replace time with __libc_time.
30174 (time): New strong alias and hidden definition of __libc_time.
30175 (__GI_time): Remove strong alias.
30176 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
30177 Include <stddef.h>.
30178 (memmove): Redefined to __redirect_memmove.
30179 (__memmove_sse2): Use typeof __redirect_memmove.
30180 (__memmove_ssse3): Likewise.
30181 (__memmove_ssse3_back): Likewise.
30182 (__libc_memmove): New prototype.
30183 (memmove): Renamed to ...
30184 (__libc_memmove): This.
30185 (memmove): New strong alias of __libc_memmove.
30187 2012-08-08 Mark Salter <msalter@redhat.com>
30190 (R_MN10300_TLS_GD): Define.
30191 (R_MN10300_TLS_LD): Likewise.
30192 (R_MN10300_TLS_LDO): Likewise.
30193 (R_MN10300_TLS_GOTIE): Likewise.
30194 (R_MN10300_TLS_IE): Likewise.
30195 (R_MN10300_TLS_LE): Likewise.
30196 (R_MN10300_TLS_DTPMOD): Likewise.
30197 (R_MN10300_TLS_DTPOFF): Likewise.
30198 (R_MN10300_TLS_TPOFF): Likewise.
30199 (R_MN10300_SYM_DIFF): Likewise.
30200 (R_MN10300_ALIGN): Likewise.
30201 (R_MN10300_NUM): Update.
30203 2012-08-08 Joseph Myers <joseph@codesourcery.com>
30205 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
30208 2012-08-08 Roland McGrath <roland@hack.frob.com>
30210 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
30212 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
30213 sysdeps/unix -> sysdeps/posix move.
30214 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
30216 2012-08-07 Allan McRae <allan@archlinux.org>
30219 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
30220 (SUNOS_CPP): Likewise.
30221 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
30223 (open_input): Call CPP using execvp.
30225 2012-08-07 Joseph Myers <joseph@codesourcery.com>
30227 * sysdeps/unix/sysv/linux/kernel-features.h
30228 (__ASSUME_PROT_GROWSUPDOWN): Remove.
30229 (__ASSUME_NO_CLONE_DETACHED): Likewise.
30230 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
30231 (__ASSUME_WAITID_SYSCALL): Likewise.
30232 * sysdeps/unix/sysv/linux/dl-execstack.c
30233 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
30234 code unconditional.
30235 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
30237 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
30238 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
30239 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
30241 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
30243 [__ASSUME_WAITID_SYSCALL]: Likewise.
30244 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
30246 2012-08-07 Roland McGrath <roland@hack.frob.com>
30248 * sysdeps/unix/closedir.c: Renamed to ...
30249 * sysdeps/posix/closedir.c: ... here.
30250 * sysdeps/unix/dirfd.c: Renamed to ...
30251 * sysdeps/posix/dirfd.c: ... here.
30252 * sysdeps/unix/dirstream.h: Renamed to ...
30253 * sysdeps/posix/dirstream.h: ... here.
30254 * sysdeps/unix/fdopendir.c: Renamed to ...
30255 * sysdeps/posix/fdopendir.c: ... here.
30256 * sysdeps/unix/opendir.c: Renamed to ...
30257 * sysdeps/posix/opendir.c: ... here.
30258 * sysdeps/unix/readdir.c: Renamed to ...
30259 * sysdeps/posix/readdir.c: ... here.
30260 * sysdeps/unix/readdir_r.c: Renamed to ...
30261 * sysdeps/posix/readdir_r.c: ... here.
30262 * sysdeps/unix/rewinddir.c: Renamed to ...
30263 * sysdeps/posix/rewinddir.c: ... here.
30264 * sysdeps/unix/seekdir.c: Renamed to ...
30265 * sysdeps/posix/seekdir.c: ... here.
30266 * sysdeps/unix/telldir.c: Renamed to ...
30267 * sysdeps/posix/telldir.c: ... here.
30268 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
30269 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
30270 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
30271 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
30273 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
30274 * bits/fcntl.h: ... here.
30276 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
30278 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
30279 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
30280 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
30281 (struct flock): Move l_start, l_len to the beginning.
30282 Use __pid_t for l_pid.
30283 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
30284 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
30285 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
30286 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
30287 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
30288 [__USE_LARGEFILE64] (struct flock64): New type.
30289 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
30291 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
30292 * bits/dirent.h: ... here.
30294 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
30295 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
30297 2012-08-07 Joseph Myers <joseph@codesourcery.com>
30299 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30300 Change from 2.6.0 to 2.6.16.
30301 * sysdeps/unix/sysv/linux/configure: Regenerated.
30302 * sysdeps/unix/sysv/linux/kernel-features.h
30303 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
30304 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
30306 (__ASSUME_UTIMES): Likewise.
30307 (__ASSUME_CLONE_STOPPED): Remove.
30308 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
30309 architectures, not kernel version.
30310 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
30311 (__ASSUME_NO_CLONE_DETACHED): Likewise.
30312 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
30313 (__ASSUME_WAITID_SYSCALL): Likewise.
30314 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
30315 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
30316 * README: State 2.6.16 as minimum Linux kernel version. Do not
30317 refer to older versions.
30319 2012-08-06 Roland McGrath <roland@hack.frob.com>
30321 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
30322 Define alphasort64 as an alias.
30323 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
30324 Define versionsort64 as an alias.
30325 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
30326 Define scandir64 as an alias.
30327 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
30328 Define scandirat64 as an alias.
30329 * dirent/alphasort64.c (alphasort64):
30330 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
30331 * dirent/versionsort64.c: Likewise.
30332 * dirent/scandir64.c: Likewise.
30333 * dirent/scandirat64.c: Likewise.
30334 * sysdeps/wordsize-64/alphasort.c: File removed.
30335 * sysdeps/wordsize-64/alphasort64.c: File removed.
30336 * sysdeps/wordsize-64/scandir.c: File removed.
30337 * sysdeps/wordsize-64/scandir64.c: File removed.
30338 * sysdeps/wordsize-64/scandirat.c: File removed.
30339 * sysdeps/wordsize-64/scandirat64.c: File removed.
30340 * sysdeps/wordsize-64/versionsort.c: File removed.
30341 * sysdeps/wordsize-64/versionsort64.c: File removed.
30342 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
30343 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
30344 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
30345 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
30346 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
30347 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
30348 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
30349 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
30351 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
30352 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
30353 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
30354 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30355 [defined __arch64__ || defined __sparcv9]
30356 (__INO_T_MATCHES_INO64_T): New macro.
30357 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30358 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
30359 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
30360 * sysdeps/unix/sysv/linux/bits/dirent.h
30361 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
30362 (_DIRENT_MATCHES_DIRENT64): New macro.
30364 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
30365 Define lockf64 as an alias.
30366 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
30367 Define fseeko64 as an alias.
30368 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
30369 Define ftello64 as an alias.
30370 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
30371 Define _IO_fgetpos64 and fgetpos64 as aliases.
30372 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
30373 Define _IO_fsetpos64 and fsetpos64 as aliases.
30374 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
30375 Conditionalize body on this.
30376 * libio/fseeko64.c: Likewise.
30377 * libio/ftello64.c: Likewise.
30378 * libio/iofgetpos64.c: Likewise.
30379 * libio/iofsetpos64.c: Likewise.
30380 * sysdeps/wordsize-64/lockf.c: File removed.
30381 * sysdeps/wordsize-64/lockf64.c: File removed.
30382 * sysdeps/wordsize-64/fseeko.c: File removed.
30383 * sysdeps/wordsize-64/fseeko64.c: File removed.
30384 * sysdeps/wordsize-64/ftello.c: File removed.
30385 * sysdeps/wordsize-64/ftello64.c: File removed.
30386 * sysdeps/wordsize-64/iofgetpos.c: File removed.
30387 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
30388 * sysdeps/wordsize-64/iofsetpos.c: File removed.
30389 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
30390 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
30391 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
30392 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
30393 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
30394 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
30395 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
30396 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
30397 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
30398 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
30399 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
30401 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30402 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
30403 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
30404 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30405 [defined __arch64__ || defined __sparcv9]
30406 (__OFF_T_MATCHES_OFF64_T): New macro.
30407 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30408 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30409 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30410 (__OFF_T_MATCHES_OFF64_T): New macro.
30412 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
30414 * stdlib/secure-getenv.c (__secure_getenv): Replace
30415 GLIBC_2_16 with GLIBC_2_17.
30417 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
30419 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
30420 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
30422 2012-08-03 David S. Miller <davem@davemloft.net>
30424 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30426 2012-08-03 Joseph Myers <joseph@codesourcery.com>
30428 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
30430 (__ASSUME_CORRECT_SI_PID): Likewise.
30431 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
30432 (__ASSUME_TMPFS_NAME): Likewise.
30433 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
30434 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
30435 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
30436 (HAVE_AUX_SECURE): Make definition unconditional.
30437 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
30438 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
30440 2012-08-03 Roland McGrath <roland@hack.frob.com>
30442 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
30443 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
30444 * sysdeps/mach/hurd/eloop-threshold.h: New file.
30445 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
30446 __eloop_threshold instead of SYMLOOP_MAX.
30448 * sysdeps/generic/eloop-threshold.h: New file.
30449 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
30451 * elf/chroot_canon.c (chroot_canon): Likewise.
30453 2012-08-03 Joseph Myers <joseph@codesourcery.com>
30456 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30457 Change to 2.6.0 everywhere.
30458 * sysdeps/unix/sysv/linux/configure: Regenerated.
30459 * sysdeps/unix/sysv/linux/kernel-features.h
30460 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
30461 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
30463 (__ASSUME_POSIX_TIMERS): Define unconditionally.
30464 (__ASSUME_FUTEX_REQUEUE): Remove.
30465 (__ASSUME_STATFS64): Define unconditionally.
30466 (__ASSUME_AT_SECURE): Likewise.
30467 (__ASSUME_CORRECT_SI_PID): Likewise.
30468 (__ASSUME_TGKILL): Define without depending on kernel version for
30470 (__ASSUME_UTIMES): Likewise.
30471 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
30473 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
30474 (__ASSUME_TMPFS_NAME): Likewise.
30475 * README: Update reference to Linux kernel versions.
30477 2012-08-02 Marek Polacek <polacek@redhat.com>
30480 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
30481 libc_cv_asm_type_prefix with %.
30482 * configure: Regenerated.
30483 * include/libc-symbols.h: Remove comment about
30484 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
30485 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
30486 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
30487 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
30488 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
30489 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
30490 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
30491 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
30492 * elf/tst-unique2mod1.c: Likewise.
30493 * elf/tst-unique1mod2.c: Likewise.
30494 * elf/tst-unique1mod1.c: Likewise.
30495 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
30496 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
30497 Replace ASM_TYPE_DIRECTIVE with .type.
30498 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30499 * sysdeps/i386/sysdep.h: Likewise.
30500 * sysdeps/x86_64/sysdep.h: Likewise.
30501 * sysdeps/sh/sysdep.h: Likewise.
30502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
30503 Do not define ASM_TYPE_DIRECTIVE.
30504 * sysdeps/powerpc/sysdep.h: Likewise.
30505 * sysdeps/powerpc/powerpc32/sysdep.h:
30506 Replace ASM_TYPE_DIRECTIVE with .type.
30507 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
30508 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30509 * sysdeps/i386/fpu/e_powf.S: Likewise.
30510 * sysdeps/i386/fpu/e_expl.S: Likewise.
30511 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30512 * sysdeps/i386/fpu/e_acosh.S: Likewise.
30513 * sysdeps/i386/fpu/e_pow.S: Likewise.
30514 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30515 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30516 * sysdeps/i386/fpu/s_expm1.S: Likewise.
30517 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30518 * sysdeps/i386/fpu/e_log2.S: Likewise.
30519 * sysdeps/i386/fpu/e_log2l.S: Likewise.
30520 * sysdeps/i386/fpu/e_scalb.S: Likewise.
30521 * sysdeps/i386/fpu/e_powl.S: Likewise.
30522 * sysdeps/i386/fpu/e_log10f.S: Likewise.
30523 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30524 * sysdeps/i386/fpu/e_logl.S: Likewise.
30525 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30526 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30527 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30528 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30529 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30530 * sysdeps/i386/fpu/e_log.S: Likewise.
30531 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30532 * sysdeps/i386/fpu/e_logf.S: Likewise.
30533 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30534 * sysdeps/i386/fpu/e_atanh.S: Likewise.
30535 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30536 * sysdeps/i386/fpu/e_log10.S: Likewise.
30537 * sysdeps/i386/fpu/s_frexp.S: Likewise.
30538 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30539 * sysdeps/i386/fpu/s_asinh.S: Likewise.
30540 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30541 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30542 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
30543 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30544 * sysdeps/i386/i686/strtok.S: Likewise.
30545 * sysdeps/i386/i386-mcount.S: Likewise.
30546 * sysdeps/i386/strtok.S: Likewise.
30547 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
30548 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30549 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30550 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30551 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
30552 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30553 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30554 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30555 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30556 * sysdeps/x86_64/_mcount.S: Likewise.
30557 * sysdeps/x86_64/strtok.S: Likewise.
30558 * sysdeps/sh/_mcount.S: Likewise.
30560 2012-08-01 Roland McGrath <roland@hack.frob.com>
30562 * libio/iofopen.c: Include <fcntl.h>.
30563 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
30564 (_IO_fopen64, fopen64): Define as aliases.
30565 * libio/iofopen64.c: Include <fcntl.h>.
30566 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
30567 Conditionalize body on this.
30568 * sysdeps/wordsize-64/iofopen.c: File removed.
30569 * sysdeps/wordsize-64/iofopen64.c: File removed.
30571 2012-08-01 Marek Polacek <polacek@redhat.com>
30573 * libc/Makeconfig: Use elf in place of binfmt-subdir.
30574 Use dlfcn directly instead of a variable.
30575 (binfmt-subdir): Do not define.
30578 2012-08-01 Joseph Myers <joseph@codesourcery.com>
30580 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
30581 Remove all definitions.
30582 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
30583 <kernel-features.h>.
30584 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30585 (miss_F_GETOWN_EX): Remove all definitions.
30586 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
30588 [!__ASSUME_FCNTL64]: Remove conditional code.
30589 [__ASSUME_FCNTL64]: Make code unconditional.
30590 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
30591 <kernel-features.h>.
30592 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30593 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
30594 (lockf64) [__NR_fcntl64]: Make code unconditional.
30595 (lockf64) [__ASSUME_FCNTL64]: Likewise.
30597 * sysdeps/unix/sysv/linux/kernel-features.h
30598 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
30599 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
30600 Make code unconditional.
30601 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30602 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
30604 [__NR_vfork]: Make code unconditional.
30605 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30606 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
30608 [__NR_vfork]: Make code unconditional.
30609 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30610 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30612 2012-08-01 Roland McGrath <roland@hack.frob.com>
30614 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
30615 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
30617 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30618 Define mkstemp64 as an alias.
30619 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30620 Define mkstemps64 as an alias.
30621 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30622 Define mkostemp64 as an alias.
30623 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30624 Define mkostemps64 as an alias.
30625 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
30626 Conditionalize body on this.
30627 * misc/mkostemp64.c: Likewise.
30628 * misc/mkostemps64.c: Likewise.
30629 * misc/mkstemps64.c: Likewise.
30630 * sysdeps/wordsize-64/mkstemp64.c: File removed.
30631 * sysdeps/wordsize-64/mkostemp64.c: File removed.
30632 * sysdeps/wordsize-64/mkostemp.c: File removed.
30633 * sysdeps/wordsize-64/mkstemp.c: File removed.
30634 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
30635 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
30636 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
30637 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
30640 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
30641 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
30642 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
30643 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
30645 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
30646 compat_symbol macros from <shlib-compat.h> rather than the underlying
30647 default_symbol_version and symbol_version macros, so that DEFAULT
30648 lines in shlib-versions are respected.
30649 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
30651 2012-08-01 Florian Weimer <fweimer@redhat.com>
30653 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
30654 Declare with warn_unused_result.
30655 (setgid, setregid, setegid, setresgid): Likewise.
30656 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
30658 * WUR-REPORT: Remove set*id functions.
30660 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
30662 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
30664 2012-07-31 Roland McGrath <roland@hack.frob.com>
30667 * include/sys/socket.h (__libc_accept, __libc_accept4):
30668 Add attribute_hidden.
30669 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
30671 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
30673 * inet/getnetgrent_r.c (setup): Likewise.
30675 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
30677 2012-07-31 David S. Miller <davem@davemloft.net>
30679 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30681 2012-07-31 Joseph Myers <joseph@codesourcery.com>
30684 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
30685 value between 1.0 and 2.0 and smaller part has absolute value less
30687 * math/s_clog10.c (__clog10): Likewise.
30688 * math/s_clog10f.c (__clog10f): Likewise.
30689 * math/s_clog10l.c (__clog10l): Likewise.
30690 * math/s_clogf.c (__clogf): Likewise.
30691 * math/s_clogl.c (__clogl): Likewise.
30692 * math/libm-test.inc (clog_test): Add more tests.
30693 (clog10_test): Likewise.
30694 * sysdeps/i386/fpu/libm-test-ulps: Update.
30695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30697 2012-07-31 Florian Weimer <fweimer@redhat.com>
30699 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
30700 Exit with zero in case no suitable GID is found, and write a
30701 message to standard error.
30703 2012-07-30 Roland McGrath <roland@hack.frob.com>
30705 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
30707 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
30708 (MAXPATHLEN): Removed.
30709 (NOGROUP, NODEV): New macros.
30710 (setbit, clrbit, isset, isclr): New macros.
30711 (howmany, roundup, powerof2): New macros.
30712 (DEV_BSIZE): New macro.
30714 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
30715 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
30717 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
30718 definition on [!__NO_LONG_DOUBLE_MATH].
30720 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
30721 PTR_MANGLE and PTR_DEMANGLE.
30723 * socket/accept4.c (accept4): Rename to __libc_accept4.
30724 Define accept4 as a weak alias.
30726 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
30727 on [_DIRENT_HAVE_D_TYPE].
30728 * io/ftw.c (ftw_dir): Likewise.
30730 * io/xmknod.c (__xmknod): Don't check PATH for being null.
30732 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
30734 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
30735 Use the BSD numbers rather than the arbitrary ones we had.
30736 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
30737 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
30738 (SIGXCPU, SIGXFSZ): New macros.
30741 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
30742 initializer on [_LIBC_REENTRANT].
30744 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
30745 definitions inside [_POSIX_MAPPED_FILES].
30747 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
30749 * dirent/opendir.c: Include <fcntl.h>.
30751 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
30752 (__libc_getspecific): Likewise.
30753 (__libc_key_create): Likewise.
30755 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
30756 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
30757 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
30758 (tmpfile64): Define as alias.
30759 * sysdeps/wordsize-64/tmpfile.c: File removed.
30760 * sysdeps/wordsize-64/tmpfile64.c: File removed.
30761 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
30762 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
30764 * stdio-common/vfscanf.c: Include <stdbool.h>.
30765 * nss/makedb.c: Likewise.
30766 * stdio-common/_i18n_number.h: Likewise.
30767 * argp/argp-help.c: Likewise.
30768 * posix/wordexp.c: Likewise.
30769 * sysdeps/posix/spawni.c: Likewise.
30770 * nss/nss_files/files-initgroups.c: Likewise.
30771 * stdio-common/reg-modifier.c: Include <stdlib.h>.
30772 * nss/nss_files/files-initgroups.c: Likewise.
30773 * nss/nss_db/db-netgrp.c: Likewise.
30774 * nss/nss_db/db-initgroups.c: Likewise.
30775 * io/fchmodat.c: Include <sys/stat.h>.
30777 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
30778 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
30780 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
30783 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
30784 Add multiple inclusion protection.
30786 2012-07-27 David S. Miller <davem@davemloft.net>
30788 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30790 2012-07-27 Gary Benson <gbenson@redhat.com>
30793 * elf/rtld.c: Include <stap-probe.h>.
30794 (dl_main): Added static probes "init_start" and "init_complete".
30795 * elf/dl-load.c: Include <stap-probe.h>.
30796 (lose): Take new parameter "nsid".
30797 Added static probe "map_failed".
30798 (_dl_map_object_from_fd): Pass namespace id to lose.
30799 Added static probe "map_start".
30800 (open_verify): Pass namespace id to lose.
30801 * elf/dl-open.c: Include <stap-probe.h>.
30802 (dl_open_worker) Added static probes "map_complete", "reloc_start"
30803 and "reloc_complete".
30804 * elf/dl-close.c: Include <stap-probe.h>.
30805 (_dl_close_worker): Added static probes "unmap_start" and
30807 * elf/rtld-debugger-interface.txt: New file documenting the above.
30809 2012-07-26 Roland McGrath <roland@hack.frob.com>
30811 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
30812 rather than a string variable.
30813 * sunrpc/rpc_main.c (h_output): Likewise.
30814 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
30816 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
30818 * inet/check_native.c: New file.
30820 2012-07-26 Joseph Myers <joseph@codesourcery.com>
30823 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
30824 if larger part has absolute value 1.0.
30825 * math/s_clog10.c (__clog10): Likewise.
30826 * math/s_clog10f.c (__clog10f): Likewise.
30827 * math/s_clog10l.c (__clog10l): Likewise.
30828 * math/s_clogf.c (__clogf): Likewise.
30829 * math/s_clogl.c (__clogl): Likewise.
30830 * math/libm-test.inc (clog_test): Add more tests.
30831 (clog10_test): Likewise.
30832 * sysdeps/i386/fpu/libm-test-ulps: Update.
30833 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30835 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
30836 (pltexit): Likewise.
30837 (La_regs): Likewise.
30838 (La_retval): Likewise.
30839 (int_retval): Likewise.
30840 Update #error for removed macros to refer only to definitions in
30842 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
30844 (pltexit): Likewise.
30845 (La_regs): Likewise.
30846 (La_retval): Likewise.
30847 (int_retval): Likewise.
30848 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
30850 (pltexit): Likewise.
30851 (La_regs): Likewise.
30852 (La_retval): Likewise.
30853 (int_retval): Likewise.
30854 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
30856 (pltexit): Likewise.
30857 (La_regs): Likewise.
30858 (La_retval): Likewise.
30859 (int_retval): Likewise.
30860 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
30862 (pltexit): Likewise.
30863 (La_regs): Likewise.
30864 (La_retval): Likewise.
30865 (int_retval): Likewise.
30866 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
30868 (pltexit): Likewise.
30869 (La_regs): Likewise.
30870 (La_retval): Likewise.
30871 (int_retval): Likewise.
30872 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
30874 (pltexit): Likewise.
30875 (La_regs): Likewise.
30876 (La_retval): Likewise.
30877 (int_retval): Likewise.
30878 * sysdeps/generic/tst-audit.h: Update comment to refer only to
30879 macro definitions in tst-audit.h.
30880 * sysdeps/i386/tst-audit.h: New file.
30881 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
30882 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
30883 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
30884 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
30885 * sysdeps/sh/tst-audit.h: Likewise.
30886 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
30887 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
30888 * sysdeps/x86_64/tst-audit.h: Likewise.
30890 2012-07-26 Andreas Jaeger <aj@suse.de>
30892 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
30895 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
30896 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
30897 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
30899 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
30900 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
30901 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
30903 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
30906 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
30908 (si_call_addr, si_syscall, si_arch): Define new macro.
30909 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
30911 (si_call_addr, si_syscall, si_arch): Define new marcro.
30912 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
30914 (si_call_addr, si_syscall, si_arch): Define new macro.
30915 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
30917 (si_call_addr, si_syscall, si_arch): Define new macro.
30919 2012-07-25 Joseph Myers <joseph@codesourcery.com>
30922 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30923 Change to 2.4.21 where previously 2.4.1.
30924 * sysdeps/unix/sysv/linux/configure: Regenerated.
30925 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
30926 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
30927 Linux kernel version.
30928 (__ASSUME_STD_AUXV): Remove.
30929 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
30931 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
30932 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
30933 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
30934 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
30935 (__ASSUME_NETLINK_SUPPORT): Likewise.
30936 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
30937 (__no_netlink_support): Remove conditional definition.
30938 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
30940 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
30941 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
30942 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
30943 (if_nameindex_ioctl): Remove.
30944 (if_nameindex_netlink): Do not handle __no_netlink_support.
30945 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
30947 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
30948 Remove conditional code.
30949 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
30951 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
30953 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
30954 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
30955 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
30957 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
30958 [!__ASSUME_STD_AUXV]: Remove conditional code.
30959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
30960 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
30961 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
30962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
30963 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
30964 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
30966 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
30967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
30968 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
30969 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
30971 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
30972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
30973 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
30975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
30976 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
30978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
30979 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30980 code unconditional.
30981 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30983 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30985 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
30988 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30990 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
30993 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30994 code unconditional.
30995 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30997 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30999 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
31002 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31003 code unconditional.
31004 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31006 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31008 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31011 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
31013 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
31014 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
31015 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
31016 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
31017 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
31018 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
31019 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
31020 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
31021 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
31022 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
31023 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
31024 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
31025 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
31026 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
31027 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
31028 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
31029 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
31030 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
31031 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
31032 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
31033 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
31034 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
31035 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
31037 2012-07-25 Florian Weimer <fweimer@redhat.com>
31039 * Versions.def: Add GLIBC_2.17.
31040 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
31041 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
31042 Introduce __libc_secure_getenv.
31043 * stdlib/Versions (2.17): Add secure_getenv
31044 (GLIBC_PRIVATE): Add __libc_secure_getenv.
31045 * stdlib/secure-getenv.c: Rename __secure_getenv to
31046 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
31047 symbol __secure_getenv for GLIBC_2.0.
31048 * stdlib/tst-secure-getenv.c: New.
31049 * stdlib/Makefile (tests): Add testcase.
31050 * manual/startup.texi (Environment Access): Document
31052 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
31053 __libc_secure_getenv.
31054 * inet/ruserpass.c (ruserpass): Likewise.
31055 * malloc/mtrace.c (mtrace): Likewise.
31056 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
31057 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
31058 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
31059 * sysdeps/posix/tempname.c: Likewise. Evaluate
31060 HAVE_SECURE_GETENV.
31061 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
31062 __secure_getenv to __libc_secure_getenv.
31063 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
31064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31068 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
31069 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
31070 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31071 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
31072 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
31073 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31074 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
31076 2012-07-25 Joseph Myers <joseph@codesourcery.com>
31078 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
31079 (struct La_i86_retval): Likewise.
31080 (struct La_x86_64_regs): Likewise.
31081 (struct La_x86_64_retval): Likewise.
31082 (struct La_x32_regs): Likewise.
31083 (struct La_x32_retval): Likewise.
31084 (struct La_ppc32_regs): Likewise.
31085 (struct La_ppc32_retval): Likewise.
31086 (struct La_ppc64_regs): Likewise.
31087 (struct La_ppc64_retval): Likewise.
31088 (struct La_sh_regs): Likewise.
31089 (struct La_sh_retval): Likewise.
31090 (struct La_s390_32_regs): Likewise.
31091 (struct La_s390_32_retval): Likewise.
31092 (struct La_s390_64_regs): Likewise.
31093 (struct La_s390_64_retval): Likewise.
31094 (struct La_sparc32_regs): Likewise.
31095 (struct La_sparc32_retval): Likewise.
31096 (struct La_sparc64_regs): Likewise.
31097 (struct La_sparc64_retval): Likewise.
31098 (struct audit_ifaces): Remove architecture-specific pltenter and
31100 * sysdeps/i386/ldsodefs.h: New file.
31101 * sysdeps/powerpc/ldsodefs.h: Likewise.
31102 * sysdeps/s390/ldsodefs.h: Likewise.
31103 * sysdeps/sh/ldsodefs.h: Likewise.
31104 * sysdeps/sparc/ldsodefs.h: Likewise.
31105 * sysdeps/x86_64/ldsodefs.h: Likewise.
31107 2012-07-25 Marek Polacek <polacek@redhat.com>
31110 * math/libm-test.inc (yn_test): Add another test.
31111 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
31112 to ERANGE when the result is +-Inf.
31113 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
31114 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
31115 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
31116 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
31118 2012-07-24 Joseph Myers <joseph@codesourcery.com>
31120 * conform/data/time.h-data (NULL): Use macro-constant. Require
31122 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
31124 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
31126 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
31128 * configure.in <sysdeps resolving>: Correct printing
31130 * configure: Regenerate.
31132 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
31134 * math/w_ilogb.c: Include <limits.h>.
31135 * math/w_ilogbl.c: Likewise.
31137 2012-07-20 Joseph Myers <joseph@codesourcery.com>
31139 * manual/lang.texi (__va_copy): Document primarily as ISO C99
31140 va_copy. Document allowing for unavailable va_copy only as
31141 pre-C99 compatibility.
31142 * manual/string.texi (Copying and Concatenation): Use va_copy
31143 instead of __va_copy in concat example.
31145 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
31147 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
31148 (__sendto): Use create_address_port. Initialize APORT and deallocate
31151 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
31152 with O_NOLINK passed to __file_name_lookup.
31154 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
31155 with O_NOLINK passed to __file_name_lookup.
31157 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
31158 negative N or less than NGIDS.
31160 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
31161 type to string_t. Set ERANGE as errno and return it if NAME is not big
31162 enough. Use memcpy instead of strncpy.
31164 2012-07-20 Joseph Myers <joseph@codesourcery.com>
31166 * elf/Makefile (check-data): Remove.
31167 (localplt.data): New vpath directive.
31168 ($(objpfx)check-localplt.out): Use localplt.data from vpath
31169 instead of $(check-data).
31170 * scripts/data/localplt-generic.data: Move to ...
31171 * sysdeps/generic/localplt.data: ... here.
31172 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
31173 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
31174 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
31175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
31177 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
31178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
31180 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
31181 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
31183 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
31184 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
31186 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
31187 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
31189 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
31190 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
31193 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31195 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
31196 PPC32 and PPC64 files.
31197 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
31198 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
31200 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31202 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
31203 __makecontext_ret to ...
31204 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
31205 ... here and call exit if uc_link is NULL. New file.
31206 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
31207 __makecontext_ret.S.
31208 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
31209 __makecontext_ret to ...
31210 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
31211 ... here and call exit if uc_link is NULL. New file.
31212 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
31213 __makecontext_ret.S.
31215 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31217 * elf/elf.h (R_390_IRELATIVE): New definition.
31218 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
31219 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
31220 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
31221 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
31222 (elf_machine_lazy_rel): Likewise.
31223 * sysdeps/s390/dl-irel.h: New file.
31224 * sysdeps/s390/s390-64/memcpy.S: New asm code.
31225 * sysdeps/s390/s390-64/memset.S: New asm code.
31226 * sysdeps/s390/s390-64/memcmp.S: New asm code.
31227 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
31228 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
31229 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
31230 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
31231 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
31232 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
31233 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
31234 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
31235 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
31236 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
31237 * sysdeps/s390/s390-32/memcpy.S: New asm code.
31238 * sysdeps/s390/s390-32/memset.S: New asm code.
31239 * sysdeps/s390/s390-32/memcmp.S: New asm code.
31241 2012-07-17 Marek Polacek <polacek@redhat.com>
31244 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
31245 * sysdeps/s390/s390-64/configure.in: Likewise.
31246 * sysdeps/sparc/configure.in: Likewise.
31247 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
31248 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
31249 * sysdeps/i386/configure.in: Likewise.
31250 * sysdeps/x86_64/configure.in: Likewise.
31251 * sysdeps/sh/configure.in: Likewise.
31252 * sysdeps/s390/s390-32/configure: Regenerated.
31253 * sysdeps/s390/s390-64/configure: Likewise.
31254 * sysdeps/x86_64/configure: Likewise.
31255 * sysdeps/sh/configure: Likewise.
31256 * sysdeps/powerpc/powerpc64/configure: Likewise.
31257 * sysdeps/powerpc/powerpc32/configure: Likewise.
31258 * sysdeps/sparc/configure: Likwise.
31259 * sysdeps/i386/configure: Likewise.
31261 * elf/dl-open.c: Comment fixes.
31263 2012-07-17 Joseph Myers <joseph@codesourcery.com>
31265 * Makefile [CXX] (check-data): Remove.
31266 [CXX] (c++-types.data): New vpath directive.
31267 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
31268 vpath. Do not allow for C++ type data being missing.
31269 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
31270 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
31271 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
31272 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
31273 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
31274 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
31275 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
31276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
31278 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
31279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
31281 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
31282 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
31284 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
31285 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
31287 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
31288 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
31290 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
31291 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
31293 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
31294 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
31296 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
31297 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
31299 * elf/tls-macros.h (TLS_LE): Move architecture-specific
31300 definitions to architecture-specific files.
31301 (TLS_IE): Likewise.
31302 (TLS_LD): Likewise.
31303 (TLS_GD): Likewise.
31304 * sysdeps/i386/tls-macros.h: New file.
31305 * sysdeps/powerpc/tls-macros.h: Likewise.
31306 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
31307 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
31308 * sysdeps/sh/tls-macros.h: Likewise.
31309 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
31310 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
31311 * sysdeps/x86_64/tls-macros.h: Likewise.
31313 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
31315 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
31316 zero value for regular exit case.
31318 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
31319 (__start_context): Preserve zero value for regular exit case.
31321 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
31322 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31324 * manual/setjmp.texi (setcontext): Clarify normal process
31325 termination when uc_link is the null pointer.
31326 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
31329 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
31331 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
31332 preprocessor. Test for each exception mask separately.
31334 2012-07-16 Andreas Jaeger <aj@suse.de>
31336 * po/ru.po: Update from translation team.
31338 2012-07-15 Joseph Myers <joseph@codesourcery.com>
31340 * conform/data/string.h-data (NULL): Use macro-constant. Require
31342 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
31343 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
31344 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
31345 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
31346 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31348 2012-07-13 Andreas Jaeger <aj@suse.de>
31350 * po/fr.po: Update from translation team.
31352 2012-07-12 Marek Polacek <polacek@redhat.com>
31355 * math/libm-test.inc (yn_test): Add test for BZ #14173.
31356 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
31359 2012-07-12 Joseph Myers <joseph@codesourcery.com>
31362 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31363 Change to 2.4.1 where previously 2.4.0.
31364 * sysdeps/unix/sysv/linux/configure: Regenerated.
31365 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
31366 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
31368 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
31369 (__ASSUME_AT_CLKTCK): Remove.
31370 (__ASSUME_AT_PAGESIZE): Likewise.
31371 (__ASSUME_AT_XID): Likewise.
31372 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
31373 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
31374 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
31376 (HAVE_AUX_PAGESIZE): Likewise.
31377 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
31378 [__ASSUME_AT_CLKTCK]: Make code unconditional.
31379 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
31381 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
31384 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
31385 the temporary buffer used to invoke __gethostbyname2_r,
31386 __gethostbyaddr_r and gethostbyname4_r to make room for struct
31387 host_data / struct gaih_addrtuple.
31388 * resolv/nss_dns/dns-host.c (global scope): Move definition of
31389 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
31390 header file nss/nsswitch.h.
31391 * nss/nsswitch.h (global scope): Add definition of implementation
31392 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
31393 resolv/nss_dns/dns-host.c).
31395 2012-07-11 Andreas Jaeger <aj@suse.de>
31397 * po/fr.po: Update from translation team.
31399 * po/sv.po: Update from translation team
31400 * po/fr.po: Another update from translation team.
31402 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31404 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
31405 for subnormals or multiply small sinh result by itself.
31406 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
31407 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31409 2012-07-11 David S. Miller <davem@davemloft.net>
31411 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31413 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
31416 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
31417 (INTERNAL_MARK): Shift it here.
31419 2012-07-10 Marek Polacek <polacek@redhat.com>
31422 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
31423 libc_cv_asm_global_directive with .globl.
31424 * configure: Regenerated.
31425 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
31427 * sysdeps/i386/configure: Regenerated.
31428 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
31430 * sysdeps/x86_64/configure: Regenerated.
31431 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
31432 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
31433 * elf/tst-unique2mod2.c: Likewise.
31434 * elf/tst-unique2mod1.c: Likewise.
31435 * elf/tst-unique1mod2.c: Likewise.
31436 * elf/tst-unique1mod1.c: Likewise.
31437 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31438 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31439 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31440 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31441 * sysdeps/mach/sysdep.h: Likewise.
31442 * sysdeps/i386/sysdep.h: Likewise.
31443 * sysdeps/i386/i386-mcount.S: Likewise.
31444 * sysdeps/x86_64/_mcount.S: Likewise.
31445 * sysdeps/x86_64/sysdep.h: Likewise.
31446 * sysdeps/sh/_mcount.S: Likewise.
31447 * sysdeps/sh/sysdep.h: Likewise.
31448 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
31449 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
31450 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
31451 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31452 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
31453 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
31454 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
31455 * locale/localeinfo.h: Likewise.
31456 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
31457 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
31459 2012-07-09 Roland McGrath <roland@hack.frob.com>
31462 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
31464 * manual/message.texi (The Uniforum approach): Likewise.
31465 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
31466 (glibc iconv Implementation): Likewise.
31468 2012-07-09 Joseph Myers <joseph@codesourcery.com>
31471 * math/s_clog.c (__clog): Avoid scaling a value down where that
31472 could result in underflow.
31473 * math/s_clog10.c (__clog10): Likewise.
31474 * math/s_clog10f.c (__clog10f): Likewise.
31475 * math/s_clog10l.c (__clog10l): Likewise.
31476 * math/s_clogf.c (__clogf): Likewise.
31477 * math/s_clogl.c (__clogl): Likewise.
31478 * math/libm-test.inc (clog_test): Add more tests.
31479 (clog10_test): Likewise.
31480 * sysdeps/i386/fpu/libm-test-ulps: Update.
31481 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31483 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
31486 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
31487 by 7 not 8 to examine high bit of fractional part.
31490 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
31491 for call to __mcount_internal.
31492 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
31493 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
31494 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
31496 2012-07-06 Joseph Myers <joseph@codesourcery.com>
31499 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
31500 approximation for values within 0x1p-13f of an odd multiple of
31502 * math/libm-test.inc (tan_test): Do not allow spurious underflow
31503 exception. Add more tests.
31504 * sysdeps/i386/fpu/libm-test-ulps: Update.
31507 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
31508 inputs and return -1 for them. Do not check for +Inf in case not
31509 reachable for +Inf.
31510 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
31511 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
31512 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
31513 and return -1 for them. Do not check for +Inf in case not
31514 reachable for +Inf.
31515 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
31517 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
31518 and return -1 for them. Do not check for +Inf in case not
31519 reachable for +Inf.
31520 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
31521 spurious underflow.
31522 * sysdeps/i386/fpu/libm-test-ulps: Update.
31523 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31525 2012-07-06 Mike Frysinger <vapier@gentoo.org>
31527 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
31529 2012-07-05 Joseph Myers <joseph@codesourcery.com>
31533 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
31534 could result in spurious underflow. Scale down values above
31535 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
31536 * math/s_csqrtf.c (__csqrtf): Likewise.
31537 * math/s_csqrtl.c (__csqrtl): Likewise.
31538 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
31539 spurious underflow.
31540 * sysdeps/i386/fpu/libm-test-ulps: Update.
31541 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31543 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
31545 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
31547 * catgets/xopen-msg.awk: New file.
31548 * catgets/xopen-msg.sed: Removed.
31550 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
31552 * intl/po2test.awk: New file.
31553 * intl/po2test.sed: Removed.
31555 2012-07-04 Joseph Myers <joseph@codesourcery.com>
31558 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
31559 or multiply small sinh result by itself.
31560 * math/s_ctanf.c (__ctanf): Likewise.
31561 * math/s_ctanh.c (__ctanh): Likewise.
31562 * math/s_ctanhf.c (__ctanhf): Likewise.
31563 * math/s_ctanhl.c (__ctanhl): Likewise.
31564 * math/s_ctanl.c (__ctanl): Likewise.
31565 * math/libm-test.inc (ctan_test_tonearest): New function.
31566 (ctan_test_towardzero): Likewise.
31567 (ctan_test_downward): Likewise.
31568 (ctan_test_upward): Likewise.
31569 (ctanh_test_tonearest): Likewise.
31570 (ctanh_test_towardzero): Likewise.
31571 (ctanh_test_downward): Likewise.
31572 (ctanh_test_upward): Likewise.
31573 (main): Call these new functions.
31574 * sysdeps/i386/fpu/libm-test-ulps: Update.
31575 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31577 2012-07-03 Mike Frysinger <vapier@gentoo.org>
31579 * .gitignore: Delete /ports entry.
31581 2012-07-03 Andreas Jaeger <aj@suse.de>
31583 * po/bg.po: Update from translation team.
31584 * po/cs.po: Likewise.
31585 * po/de.po: Likewise.
31586 * po/hr.po: Likewise.
31587 * po/nl.pl: Likewise.
31588 * po/pl.po: Likewise.
31589 * po/vi.po: Likewise.
31591 2012-07-03 Joseph Myers <joseph@codesourcery.com>
31593 * Makeconfig [!+link] (+link-before-libc): New variable.
31594 [!+link] (+link-after-libc): Likewise.
31595 [!+link] (+link-tests): Likewise.
31596 [!+link] (+link): Define in terms of $(+link-before-libc) and
31597 $(+link-after-libc).
31598 [!+link-static] (+link-static-before-libc): New variable.
31599 [!+link-static] (+link-static-after-libc): Likewise.
31600 [!+link-static] (+link-static-tests): Likewise.
31601 [!+link-static] (+link-static): Define in terms of
31602 $(+link-static-before-libc) and $(+link-static-after-libc).
31603 [build-shared] (link-libc-before-gnulib): New variable.
31604 [build-shared] (link-libc-tests): Likewise.
31605 [build-shared] (link-libc): Define in terms of
31606 $(link-libc-before-gnulib).
31607 [!build-shared] (link-libc-tests): New variable.
31608 (link-libc-static-tests): New variable.
31609 [!gnulib] (gnulib-arch): New variable.
31610 [!gnulib] (gnulib-tests): Likewise.
31611 [!gnulib] (static-gnulib-arch): Likewise.
31612 [!gnulib] (static-gnulib-tests): Likewise.
31613 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
31614 Define with "=" instead of ":=".
31615 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
31616 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
31617 * Rules (binaries-all-notests): New variable.
31618 (binaries-all-tests): Likewise.
31619 (binaries-static-notests): Likewise.
31620 (binaries-static-tests): Likewise.
31621 (binaries-all): Define using $(binaries-all-notests) and
31622 $(binaries-all-tests).
31623 (binaries-static): Define using $(binaries-static-notests) and
31624 $(binaries-static-tests).
31625 (binaries-shared-tests): New variable.
31626 (binaries-shared-notests): Likewise.
31627 (binaries-shared): Remove variable.
31628 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
31629 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
31630 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
31631 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
31632 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
31633 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
31634 * elf/Makefile (sln-modules): New variable.
31635 (extra-objs): Add $(sln-modules:=.o).
31636 (ldconfig-modules): Add static-stubs.
31637 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
31638 * elf/static-stubs.c: New file.
31641 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
31642 by 7 not 8 to examine high bit of fractional part. Use volatile
31643 variables when splitting into final array of floats if
31644 __FLT_EVAL_METHOD__ != 0.
31645 * math/libm-test.inc (cos_test): Add another test.
31646 (sin_test): Likewise.
31647 * sysdeps/i386/fpu/libm-test-ulps: Update.
31650 * math/libm-test.inc (cosh_test): Add more tests.
31652 * version.h (RELEASE): Set to "development".
31653 (VERSION): Set to "2.16.90".
31655 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
31657 * NEWS: Update copyright. Remove last-updated date.
31658 Mention math library bug fixes and timezone data changes.
31659 * README: Mention GNU/Hurd, x32, and HPPA support status.
31661 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
31663 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
31665 2012-06-27 Andreas Jaeger <aj@suse.de>
31667 * manual/contrib.texi (Contributors): Add Samuel Thibault.
31669 2012-06-25 Andreas Jaeger <aj@suse.de>
31671 * sysdeps/s390/fpu/libm-test-ulps: Update.
31673 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
31674 Thomas Schwinge <thomas@codesourcery.com>
31676 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
31677 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
31678 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
31681 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
31683 * sysdeps/mach/start.c: Remove file.
31684 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
31685 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
31686 * sysdeps/sh/init-first.c: Likewise.
31688 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
31689 registers for frame unwinding purposes, add CFI directives.
31690 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31691 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
31692 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
31695 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
31696 __fortify_fail returning.
31697 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31699 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
31700 sysdeps/sh/____longjmp_chk.S.
31701 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
31702 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
31703 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
31704 (gen-as-const-headers): Append sigaltstack-offsets.sym.
31706 * sysdeps/sh/abort-instr.h: New file.
31707 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
31708 process in case exit returns.
31710 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
31711 initialize the GOT register before use.
31713 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
31714 calculation of ARGC > 4.
31716 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
31717 meaningful names to some local labels.
31719 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31720 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31722 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
31723 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
31724 (__arch_compare_and_exchange_val_16_acq): Likewise.
31725 (__arch_compare_and_exchange_val_32_acq): Likewise.
31726 (atomic_exchange_and_add): Fix gUSA sequence.
31727 (atomic_add): Likewise.
31728 (atomic_add_negative): Likewise.
31729 (atomic_add_zero): Likewise.
31730 (atomic_bit_test_set): Likewise.
31732 2012-06-22 Andreas Schwab <schwab@redhat.com>
31735 * include/link.h (struct link_map): Add l_free_initfini.
31736 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
31738 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
31739 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
31740 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
31743 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
31745 * configure.in: Use AC_LANG_SOURCE.
31746 * configure: Regenerate.
31748 2012-06-22 Roland McGrath <roland@hack.frob.com>
31750 * configure.in (libc_cv_localstatedir): New substituted variable.
31751 * configure: Regenerated.
31752 * config.make.in (localstatedir): New variable, substituted from
31753 libc_cv_localstatedir.
31754 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
31755 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
31756 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
31757 * sysdeps/gnu/configure: Regenerated.
31759 2012-06-21 Jeff Law <law@redhat.com>
31762 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
31763 free. Simplify list management for _LIBC case.
31765 2012-06-21 Joseph Myers <joseph@codesourcery.com>
31768 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
31769 Clear sign bit of 64-bit integer value before comparing against
31772 * sysdeps/mach/configure: Regenerated.
31774 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
31777 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
31779 2012-06-21 Jeff Law <law@redhat.com>
31782 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
31783 uint16_t for elements in the "seen" array to avoid char overflows.
31784 * elf/dl-fini.c (_dl_sort_fini): Likewise.
31785 * elf/dl-open.c (dl_open_worker): Likewise.
31787 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
31789 * scripts/list-sources.sh: Scan PORTS for translations.
31790 * po/libc.pot: Regenerated.
31792 2012-06-21 Andreas Jaeger <aj@suse.de>
31795 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
31797 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
31798 * bits/byteswap-16.h (__bswap_16): Likewise.
31799 * bits/byteswap.h (__bswap_constant_16): Likewise.
31801 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
31804 * sysdeps/i386/fpu_control.h: Removed.
31805 * sysdeps/x86_64/fpu_control.h: Moved to ...
31806 * sysdeps/x86/fpu_control.h: Here.
31808 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
31809 (_FPU_SETCW): Likewise.
31811 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
31814 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
31815 * sysdeps/x86/fpu/bits/mathinline.h: This.
31816 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
31820 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
31821 functions if __x86_64__ is defined.
31823 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
31825 * string/endian.h: Add !__ASSEMBLER__ condition for including
31826 conversion interfaces.
31828 2012-06-15 Joseph Myers <joseph@codesourcery.com>
31831 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
31832 of ABS(x) in calculating zero to negative powers other than odd
31834 * math/libm-test.inc (pow_test): Add more tests.
31836 2012-06-15 Andreas Jaeger <aj@suse.de>
31838 * manual/contrib.texi (Contributors): Update entry of Liubov
31839 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
31842 2012-06-15 Cyril Hrubis <metan@ucw.cz>
31844 * string/string.h: Add __wur to GNU version of strerror_r.
31846 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
31849 * string/Makefile (tests): Add tst-strtok_r.
31850 * string/tst-strtok_r.c: New file.
31851 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
31852 RAX_LP/RDX_LP on SAVE_PTR.
31854 2012-06-14 Roland McGrath <roland@hack.frob.com>
31856 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
31858 2012-06-14 Joseph Myers <joseph@codesourcery.com>
31860 * libm_test.inc (csqrt_test): Allow more spurious underflow
31862 (j0_test): Likewise.
31863 (j1_test): Likewise.
31864 (y0_test): Likewise.
31865 (y1_test): Likewise.
31867 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
31869 * po/Makefile (libc.pot): Use UTF-8 charset.
31871 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
31874 Suppress sign-conversion warning from FD_SET.
31875 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
31876 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
31877 not unsigned long int.
31878 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
31880 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
31884 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
31885 __extern_always_inline instead of __extern_inline.
31886 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
31887 (__signbit): Likewise.
31888 (__signbitl): Support C++ namespace.
31889 (lrintf): New inline function.
31891 (llrintf): Likewise.
31892 (llrint): Likewise.
31902 (floorf): Likewise.
31903 (nearbyint): Likewise.
31904 (nearbyintf): Likewise.
31906 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
31908 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
31909 non-default versions.
31911 2012-06-11 Roland McGrath <roland@hack.frob.com>
31914 * manual/argp.texi (Argp): Reword argp_parse description slightly.
31916 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
31918 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
31919 (FE_UPWARD, FE_DOWNWARD): Don't define.
31920 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
31921 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
31923 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
31925 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
31926 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31928 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31930 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31931 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
31932 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
31933 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
31935 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
31938 * sysdeps/i386/fpu/bits/fenv.h: Removed.
31939 * sysdeps/i386/fpu/Implies: New file.
31940 * sysdeps/x86_64/fpu/Implies: Likewise.
31941 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
31942 * sysdeps/x86/fpu/bits/fenv.h: This.
31944 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
31947 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
31950 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
31951 character 0xffff that matches the last element of the
31954 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31956 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
31959 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31961 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
31962 values higher than 25.6283.
31964 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31966 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
31967 subnormal exponent extraction and add some __builtin_expect.
31968 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
31969 Fix for subnormal mantissa calculation.
31971 2012-06-04 Mike Frysinger <vapier@gentoo.org>
31973 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
31974 cpu2 is -1 and errno is not ENOSYS.
31976 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
31979 * sysdeps/i386/i486/bits/string.h: Renamed to ...
31980 * sysdeps/x86/bits/string.h: This.
31981 * sysdeps/x86_64/bits/string.h: Removed.
31983 * sysdeps/i386/i486/bits/string.h: Define inline functions only
31984 if not compiling for x86-64, but compiling for >= i486.
31986 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
31987 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
31989 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
31990 New macro from Linux kernel 3.4.0.
31991 (FP_XSTATE_MAGIC2): Likewise.
31992 (FP_XSTATE_MAGIC2_SIZE): Likewise.
31993 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
31994 (struct _fpx_sw_bytes): New struct.
31995 (struct _xsave_hdr): Likewise.
31996 (struct _ymmh_state): Likewise.
31997 (struct _xstate): Likewise.
31999 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
32000 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
32001 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
32002 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
32003 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
32004 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
32006 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
32007 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
32008 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
32009 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
32010 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
32011 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
32013 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32016 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
32017 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
32018 (sysdep_headers): Include sys/platform/ppc.h.
32019 * sysdeps/powerpc/test-gettimebase.c: Test for
32020 __ppc_get_timebase() to catch future ISA opcode/insn changes.
32021 * manual/Makefile (appendices): Include platform.texi.
32022 * manual/contrib.texi (Contributors): Update @node pointers.
32023 * manual/maint.texi (Maintenance): Likewise.
32024 (Platform): New node.
32025 * manual/platform.texi: New file. Document the new features.
32027 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
32028 Jakub Jelinek <jakub@redhat.com>
32031 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
32032 where __builtin_expect is unavailable.
32034 2012-06-03 David S. Miller <davem@davemloft.net>
32036 * stdlib/longlong.h: Updated from GCC.
32038 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
32041 * sysdeps/powerpc/powerpc32/mcount.c: New file.
32042 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
32044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
32045 (GLIBC_2.16): Likewise.
32047 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32049 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
32051 2012-06-01 Joseph Myers <joseph@codesourcery.com>
32053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
32054 (default-abi): New variable.
32055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
32056 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
32058 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
32060 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
32062 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
32065 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
32066 definition. Document in comment.
32068 2012-06-01 David S. Miller <davem@davemloft.net>
32070 * stdlib/longlong.h: Updated from GCC.
32072 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32075 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
32076 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
32077 sys/debugreg.h sys/io.h here.
32078 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
32079 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
32081 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
32082 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
32083 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
32084 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
32085 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
32086 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
32088 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
32089 Define only if __x86_64__ is defined.
32091 2012-06-01 Joseph Myers <joseph@codesourcery.com>
32094 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
32095 Use int64_t for variable i.
32096 * math/libm-test.inc (fmod_test): Add more tests.
32098 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
32099 z computation is not scheduled after fetestexcept.
32100 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
32101 Use math_force_eval instead of asm to ensure calculation scheduled
32102 before exception test.
32103 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
32104 Ensure a1 + u.d computation is not scheduled after fetestexcept.
32106 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
32108 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
32109 computation is not scheduled after fetestexcept.
32111 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32114 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
32115 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
32117 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32119 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
32120 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
32122 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
32125 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
32127 (__WCHAR_MIN): Support __WORDSIZE == 64.
32128 (__WCHAR_MAX): Likewise.
32130 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
32131 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
32134 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
32135 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
32138 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
32139 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
32141 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
32142 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
32144 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
32145 Defined to 1 if __x86_64__ isn't defined.
32146 (_STAT_VER_LINUX_OLD): New.
32147 (st_atime): Remove duplicate.
32148 (st_mtime): Likewise.
32149 (st_ctime): Likewise.
32151 2012-05-31 David S. Miller <davem@davemloft.net>
32153 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
32156 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
32158 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
32162 * elf/dl-reloc.c: Include <_itoa.h>.
32163 (_dl_reloc_bad_type): Remove use of INTUSE.
32164 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
32165 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
32166 * stdio-common/psiginfo.c (psiginfo): Likewise.
32167 * stdio-common/psignal.c (psignal): Likewise.
32168 * string/strsignal.c (strsignal): Likewise.
32169 * include/signal.h (_sys_siglist): Declare hidden proto.
32170 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
32171 INTVARDEF with libc_hidden_data_def.
32172 * stdio-common/itoa-udigits.c: Likewise.
32173 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
32174 (_itoa_lower_digits_internal): Remove declaration.
32175 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
32176 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
32177 (_sys_sigabbrev_internal): Remove aliases.
32178 (_sys_siglist): Define hidden alias.
32180 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
32182 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32185 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
32188 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
32189 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
32191 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
32192 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
32193 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
32194 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
32195 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
32196 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
32198 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
32199 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
32200 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
32202 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
32210 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
32211 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
32212 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
32214 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
32215 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
32216 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
32217 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
32218 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
32219 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
32221 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
32222 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
32224 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
32225 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
32227 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
32228 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
32229 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
32231 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
32232 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
32234 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
32236 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
32237 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
32238 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
32240 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
32242 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
32244 2012-05-31 Joseph Myers <joseph@codesourcery.com>
32246 * math/math.h (M_El): Use two more decimal places.
32247 (M_LOG2El): Likewise.
32248 (M_LOG10El): Likewise.
32249 (M_LN2l): Likewise.
32250 (M_LN10l): Likewise.
32252 (M_PI_2l): Likewise.
32253 (M_PI_4l): Likewise.
32254 (M_1_PIl): Likewise.
32255 (M_2_PIl): Likewise.
32256 (M_2_SQRTPIl): Likewise.
32257 (M_SQRT2l): Likewise.
32258 (M_SQRT1_2l): Likewise.
32260 2012-05-31 David S. Miller <davem@davemloft.net>
32262 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
32263 values between float registers.
32264 * sysdeps/sparc/sparc64/memset.S: Likewise.
32265 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32267 2012-05-31 Mike Frysinger <vapier@gentoo.org>
32269 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
32270 -D_FORTIFY_SOURCE=1.
32271 (CPPFLAGS-tst-longjmp_chk.c): Define.
32272 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
32273 (CPPFLAGS-tst-longjmp_chk2.c): Define.
32274 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
32275 CFLAGS-tst-wchar-h.c.
32277 2012-05-31 Marek Polacek <polacek@redhat.com>
32280 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
32281 __endmntent_internal): Remove declaration.
32282 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
32283 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
32284 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
32286 2012-05-30 David S. Miller <davem@davemloft.net>
32288 * sysdeps/sparc/sparc32/soft-fp/q_util.c
32289 (___Q_simulate_exceptions): Use real FP ops rather than writing
32291 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
32294 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32297 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
32298 * sysdeps/x86/bits/xtitypes.h: This.
32300 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
32301 * sysdeps/x86/bits/wordsize.h: This.
32303 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
32304 * sysdeps/x86/bits/huge_vall.h: This.
32306 * sysdeps/i386/bits/select.h: Removed.
32307 * sysdeps/x86_64/bits/select.h: Renamed to ...
32308 * sysdeps/x86/bits/select.h: This.
32310 * sysdeps/i386/bits/setjmp.h: Removed.
32311 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
32312 * sysdeps/x86/bits/setjmp.h: This.
32314 * sysdeps/i386/bits/mathdef.h: Removed.
32315 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
32316 * sysdeps/x86/bits/mathdef.h: This.
32318 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
32321 * include/sys/socket.h (__connect_internal)
32322 (__libc_sa_len_internal): Remove declaration.
32323 (__connect, __libc_sa_len): Declare hidden_proto.
32324 (SA_LEN): Remove use of INTUSE.
32325 * socket/connect.c: Add libc_hidden_def.
32326 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
32327 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
32328 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
32330 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
32331 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
32332 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
32333 of adding _internal alias.
32335 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32338 * sysdeps/i386/bits/link.h: Removed.
32339 * sysdeps/i386/bits/linkmap.h: Likewise.
32340 * sysdeps/x86_64/bits/link.h: Renamed to ...
32341 * sysdeps/x86/bits/link.h: This.
32342 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
32343 * sysdeps/x86/bits/linkmap.h: This.
32345 * sysdeps/i386/bits/endian.h: Removed.
32346 * sysdeps/x86_64/bits/endian.h: Renamed to ...
32347 * sysdeps/x86/bits/endian.h: This.
32349 * sysdeps/i386/bits/byteswap.h: Removed.
32350 * sysdeps/i386/bits/byteswap-16.h: Likewise.
32351 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
32352 * sysdeps/x86/bits/byteswap.h: This.
32353 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
32354 * sysdeps/x86/bits/byteswap-16.h: This.
32355 * sysdeps/i386/Implies: Add x86.
32356 * sysdeps/x86_64/Implies: Likewise.
32358 2012-05-30 David S. Miller <davem@davemloft.net>
32360 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
32361 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
32362 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
32363 (FP_TRAPPING_EXCEPTIONS): Define.
32364 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
32365 (FP_TRAPPING_EXCEPTIONS): Define.
32366 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
32367 subnormals only when inexact has been signalled or underflow
32368 exceptions are enabled.
32369 (_FP_PACK_CANONICAL): Likewise.
32371 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32374 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
32375 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
32377 2012-05-30 Richard Henderson <rth@twiddle.net>
32379 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
32380 with #ifndef NOT_IN_libc.
32382 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
32383 marked to avoid plt entry.
32385 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32388 * Makeconfig (default-abi): New macro.
32389 (abi-includes): Likewise.
32390 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
32391 $(abi-$(default-abi)-lib-soname) for soname if defined.
32392 ($(common-objpfx)gnu/lib-names.stmp): Generate from
32394 * Makefile (installed-stubs): Likewise.
32395 * include/stubs-biarch.h: Removed.
32396 * scripts/lib-names.awk: Only handle one library at a time.
32397 * scripts/soversions.awk: Remove WORDSIZE support.
32398 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
32400 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
32402 (syscall-list-default-condition): Likewise.
32403 (syscall-list-default-condition): Likewise.
32404 (syscall-list-includes): Likewise.
32405 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
32406 syscall-list-* with abi-*. Handle undefined abi-variants.
32407 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
32408 * sysdeps/unix/sysv/linux/i386/Implies: New file.
32409 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
32410 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
32411 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
32412 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
32414 (syscall-list-32-options): Likewise.
32415 (syscall-list-32-condition): Likewise.
32416 (syscall-list-64-options): Likewise.
32417 (syscall-list-64-condition): Likewise.
32418 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
32420 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
32423 (abi-64-ld-soname): New macro.
32424 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
32425 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
32428 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
32429 * sysdeps/x86_64/x32/shlib-versions: Likewise.
32431 2012-05-30 Joseph Myers <joseph@codesourcery.com>
32433 * sysdeps/unix/sysv/linux/kernel-features.h
32434 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
32435 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
32436 include <kernel-features.h>.
32437 [!__NR_ftruncate64]: Remove conditional code.
32438 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32439 [__NR_ftruncate64]: Make code unconditional.
32440 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32441 * sysdeps/unix/sysv/linux/truncate64.c: Do not
32442 include <kernel-features.h>.
32443 [!__NR_ftruncate64]: Remove conditional code.
32444 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32445 [__NR_ftruncate64]: Make code unconditional.
32446 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
32448 include <kernel-features.h>.
32449 [!__NR_ftruncate64]: Remove conditional code.
32450 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32451 [__NR_ftruncate64]: Make code unconditional.
32452 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
32454 include <kernel-features.h>.
32455 [!__NR_ftruncate64]: Remove conditional code.
32456 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32457 [__NR_ftruncate64]: Make code unconditional.
32458 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32460 * configure.in (libc_cv_fpie): Weaken to a compile test using
32461 LIBC_TRY_CC_OPTION.
32462 * configure: Regenerated.
32464 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32466 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
32467 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
32468 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
32469 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32471 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
32472 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
32473 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
32474 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
32475 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
32476 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32479 2012-05-27 David S. Miller <davem@davemloft.net>
32481 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
32483 (__Q_simulate_exceptions): Return void. Change to simulate
32484 exceptions by writing into the %fsr.
32485 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
32486 (__Qp_handle_exceptions): Likewise.
32488 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
32489 __Qp_handle_exceptions.
32490 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
32491 __Qp_handle_exceptions.
32492 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
32493 as unused and give dummy FP_RND_NEAREST initializer.
32494 (FP_INHIBIT_RESULTS): Define.
32495 (___Q_simulate_exceptions): Update declaration.
32496 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
32498 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
32499 as unused and give dummy FP_RND_NEAREST initializer.
32500 (__Qp_handle_exceptions): Update declaration.
32501 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
32504 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
32506 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
32507 the temporary FPU control word.
32508 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
32509 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
32510 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
32511 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32512 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
32513 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
32514 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
32515 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32516 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
32517 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
32518 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32520 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32522 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
32525 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
32527 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
32528 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
32529 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
32530 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
32532 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
32533 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
32536 2012-05-27 Ulrich Drepper <drepper@gmail.com>
32538 * po/h.po: Update from translation team.
32540 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
32542 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
32544 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
32545 handling of denormals.
32546 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
32547 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
32548 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
32549 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
32550 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32551 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
32552 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
32555 2012-05-26 Marek Polacek <polacek@redhat.com>
32558 * math/libm-test.inc (fma_test): Don't always expect underflow
32561 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32564 * elf/tst-execstack.c: Include stackinfo.h.
32565 (do_test): Adjust test case to ensure that pthread_getattr_np
32566 behaviour remains the same after marking stack executable.
32568 2012-05-25 Joseph Myers <joseph@codesourcery.com>
32570 * sysdeps/unix/sysv/linux/kernel-features.h
32571 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
32572 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
32574 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32575 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32576 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
32578 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32579 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32581 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
32583 * configure.in: Define the default includes to being none.
32584 * configure: Regenerated.
32586 2012-05-25 Roland McGrath <roland@hack.frob.com>
32588 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
32589 * sysdeps/x86_64/setjmp.S: Likewise.
32590 * sysdeps/i386/bsd-setjmp.S: Likewise.
32591 * sysdeps/i386/bsd-_setjmp.S: Likewise.
32592 * sysdeps/i386/setjmp.S: Likewise.
32593 * sysdeps/i386/__longjmp.S: Likewise.
32594 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
32595 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
32597 * include/stap-probe.h: New file.
32598 * configure.in: Handle --enable-systemtap.
32599 * configure: Regenerated.
32600 * config.h.in (USE_STAP_PROBE): New #undef.
32601 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
32602 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
32603 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
32605 2012-05-25 Joseph Myers <joseph@codesourcery.com>
32608 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
32609 to 2.4.0 where earlier.
32610 * sysdeps/unix/sysv/linux/configure: Regenerated.
32611 * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
32620 [__ASSUME_32BITUIDS]: Make code unconditional.
32621 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
32622 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
32623 <kernel-features.h>.
32624 [__ASSUME_32BITUIDS]: Make code unconditional.
32625 [!__ASSUME_32BITUIDS]: Remove conditional code.
32626 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
32627 <kernel-features.h>.
32628 [__ASSUME_32BITUIDS]: Make code unconditional.
32629 [!__ASSUME_32BITUIDS]: Remove conditional code.
32630 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
32631 <kernel-features.h>.
32632 [__ASSUME_32BITUIDS]: Make code unconditional.
32633 [!__ASSUME_32BITUIDS]: Remove conditional code.
32634 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
32635 <kernel-features.h>.
32636 [__ASSUME_32BITUIDS]: Make code unconditional.
32637 [!__ASSUME_32BITUIDS]: Remove conditional code.
32638 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
32639 <kernel-features.h>.
32640 [__ASSUME_32BITUIDS]: Make code unconditional.
32641 [!__ASSUME_32BITUIDS]: Remove conditional code.
32642 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
32643 <kernel-features.h>.
32644 [__ASSUME_32BITUIDS]: Make code unconditional.
32645 [!__ASSUME_32BITUIDS]: Remove conditional code.
32646 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
32647 <kernel-features.h>.
32648 [__ASSUME_32BITUIDS]: Make code unconditional.
32649 [!__ASSUME_32BITUIDS]: Remove conditional code.
32650 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
32651 <kernel-features.h>.
32652 [__ASSUME_32BITUIDS]: Make code unconditional.
32653 [!__ASSUME_32BITUIDS]: Remove conditional code.
32654 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
32655 <kernel-features.h>.
32656 [__ASSUME_32BITUIDS]: Make code unconditional.
32657 [!__ASSUME_32BITUIDS]: Remove conditional code.
32658 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
32659 <kernel-features.h>.
32660 [__ASSUME_32BITUIDS]: Make code unconditional.
32661 [!__ASSUME_32BITUIDS]: Remove conditional code.
32662 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
32663 <kernel-features.h>.
32664 [__NR_setresgid] (__setresgid): Do not declare.
32665 [__ASSUME_32BITUIDS]: Make code unconditional.
32666 [!__ASSUME_32BITUIDS]: Remove conditional code.
32667 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
32668 <kernel-features.h>.
32669 [__NR_setresuid] (__setresuid): Do not declare.
32670 [__ASSUME_32BITUIDS]: Make code unconditional.
32671 [!__ASSUME_32BITUIDS]: Remove conditional code.
32672 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
32673 <kernel-features.h>.
32674 [__ASSUME_32BITUIDS]: Make code unconditional.
32675 [!__ASSUME_32BITUIDS]: Remove conditional code.
32676 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
32677 <kernel-features.h>.
32678 [__ASSUME_32BITUIDS]: Make code unconditional.
32679 [!__ASSUME_32BITUIDS]: Remove conditional code.
32680 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
32681 <kernel-features.h>.
32682 [__ASSUME_32BITUIDS]: Make code unconditional.
32683 [!__ASSUME_32BITUIDS]: Remove conditional code.
32684 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
32685 <kernel-features.h>.
32686 [__ASSUME_32BITUIDS]: Make code unconditional.
32687 [!__ASSUME_32BITUIDS]: Remove conditional code.
32688 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
32689 <kernel-features.h>.
32690 [__ASSUME_32BITUIDS]: Make code unconditional.
32691 [!__ASSUME_32BITUIDS]: Remove conditional code.
32692 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
32693 <kernel-features.h>.
32694 [__ASSUME_32BITUIDS]: Make code unconditional.
32695 [!__ASSUME_32BITUIDS]: Remove conditional code.
32696 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
32697 <kernel-features.h>.
32698 [__ASSUME_32BITUIDS]: Make code unconditional.
32699 [!__ASSUME_32BITUIDS]: Remove conditional code.
32700 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
32701 <kernel-features.h>.
32702 [__ASSUME_32BITUIDS]: Make code unconditional.
32703 [!__ASSUME_32BITUIDS]: Remove conditional code.
32704 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
32705 <kernel-features.h>.
32706 [__ASSUME_32BITUIDS]: Make code unconditional.
32707 [!__ASSUME_32BITUIDS]: Remove conditional code.
32708 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
32709 <kernel-features.h>.
32710 [__ASSUME_32BITUIDS]: Make code unconditional.
32711 [!__ASSUME_32BITUIDS]: Remove conditional code.
32712 * sysdeps/unix/sysv/linux/kernel-features.h
32713 (__ASSUME_SETRESUID_SYSCALL): Remove.
32714 (__ASSUME_SETRESGID_SYSCALL): Likewise.
32715 (__ASSUME_32BITUIDS): Likewise.
32716 (__ASSUME_LDT_WORKS): Likewise.
32717 (__ASSUME_O_DIRECTORY): Likewise.
32718 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
32719 architecture but not kernel version.
32720 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
32721 (__ASSUME_MMAP2_SYSCALL): Likewise.
32722 (__ASSUME_STAT64_SYSCALL): Likewise.
32723 (__ASSUME_IPC64): Likewise.
32724 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
32725 <kernel-features.h>.
32726 [__ASSUME_32BITUIDS]: Make code unconditional.
32727 [!__ASSUME_32BITUIDS]: Remove conditional code.
32728 * sysdeps/unix/sysv/linux/opendir.c: Do not include
32729 <kernel-features.h>.
32730 [__ASSUME_O_DIRECTORY]: Make code unconditional.
32731 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
32732 132096]: Remove conditional code.
32733 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
32734 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
32735 <kernel-features.h>.
32736 [__ASSUME_32BITUIDS]: Make code unconditional.
32737 [!__ASSUME_32BITUIDS]: Remove conditional code.
32738 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
32739 <kernel-features.h>.
32740 [__ASSUME_32BITUIDS]: Make code unconditional.
32741 [!__ASSUME_32BITUIDS]: Remove conditional code.
32742 * sysdeps/unix/sysv/linux/setegid.c: Do not include
32743 <kernel-features.h>.
32744 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
32746 (__setresgid): Do not declare.
32747 [__ASSUME_32BITUIDS]: Make code unconditional.
32748 [!__ASSUME_32BITUIDS]: Remove conditional code.
32749 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
32750 <kernel-features.h>.
32751 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
32753 (__setresuid): Do not declare.
32754 [__ASSUME_32BITUIDS]: Make code unconditional.
32755 [!__ASSUME_32BITUIDS]: Remove conditional code.
32756 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
32757 <kernel-features.h>.
32758 [__ASSUME_32BITUIDS]: Make code unconditional.
32759 [!__ASSUME_32BITUIDS]: Remove conditional code.
32760 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
32761 <kernel-features.h>.
32762 [__ASSUME_32BITUIDS]: Make code unconditional.
32763 [!__ASSUME_32BITUIDS]: Remove conditional code.
32765 2012-05-25 Richard Henderson <rth@twiddle.net>
32767 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
32768 dl_hwcap to ifunc resolver.
32769 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
32771 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
32772 dl_hwcap to ifunc resolver.
32773 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
32775 2012-05-24 Joseph Myers <joseph@codesourcery.com>
32778 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
32779 for |x| <= 2**-26, not 2**-57.
32780 * math/libm-test.inc (acos_test): Do not allow spurious underflow
32783 2012-05-24 Jeff Law <law@redhat.com>
32785 * stdio-common/Makefile (tests): Add bug25.
32786 * stdio-common/bug25.c: New test.
32788 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
32791 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
32792 multiple of MALLOC_ALIGNMENT in size.
32793 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
32795 2012-05-24 Joseph Myers <joseph@codesourcery.com>
32797 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
32799 (FILENAME_MAX): Use macro-int-constant.
32800 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
32801 (_IOFBF): Use macro-int-constant.
32802 (_IOLBF): Likewise.
32803 (_IONBF): Likewise.
32804 (SEEK_CUR): Likewise.
32805 (SEEK_END): Likewise.
32806 (SEEK_SET): Likewise.
32807 (TMP_MAX): Likewise.
32808 (EOF): Use macro-int-constant. Require < 0.
32809 (NULL): Use macro-constant. Require == 0.
32810 (stdin): Require type to be FILE *.
32811 (stdout): Likewise.
32812 (stderr): Likewise.
32813 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
32814 macro-int-constant.
32815 (EXIT_SUCCESS): Likewise.
32816 (NULL): Use macro-constant. Require == 0.
32817 (RAND_MAX): Use macro-int-constant.
32818 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
32819 [C99-based standards] (strtof): Require function.
32820 [C99-based standards] (strtold): Likewise.
32821 [C99-based standards] (strtoll): Likewise.
32822 [C99-based standards] (strtoull): Likewise.
32823 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32824 [ISO || ISO99 || ISO11] (limits.h): Likewise.
32825 [ISO || ISO99 || ISO11] (math.h): Likewise.
32826 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
32827 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32828 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32830 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
32833 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
32834 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
32835 * intl/dgettext.c (DCGETTEXT): Likewise.
32836 * intl/gettext.c (DCGETTEXT): Likewise.
32837 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
32838 * posix/regex_internal.h (gettext): Likewise.
32839 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
32840 Remove declaration.
32841 * include/argz.h (__argz_count_internal)
32842 (__argz_stringify_internal): Remove declaration.
32843 (__argz_count, __argz_stringify): Declare hidden proto.
32844 * intl/dcgettext.c: Remove use of INTDEF.
32845 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
32846 * string/argz-stringify.c: Likewise.
32847 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
32848 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
32849 Declare hidden proto.
32850 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
32851 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
32852 Declare hidden proto.
32853 * include/stdio.h (__asprintf_internal): Don't declare.
32854 (__asprintf): Don't define as macro. Declare hidden proto.
32855 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
32856 (__fsetlocking): Declare hidden proto.
32857 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
32858 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
32860 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
32861 (_IO_setlinebuf): Remove use of INTUSE.
32862 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
32863 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
32864 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
32865 Remove declaration.
32866 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
32867 (_IO_do_flush): Remove use of INTUSE.
32868 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
32869 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
32870 (_IO_adjust_column, _IO_least_wmarker)
32871 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
32872 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
32873 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
32874 (_IO_default_doallocate, _IO_wdefault_doallocate)
32875 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
32876 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
32877 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
32878 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
32879 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
32880 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
32881 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
32882 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
32883 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
32884 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
32885 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
32886 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
32887 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
32889 (_IO_flush_all_internal, _IO_adjust_column_internal)
32890 (_IO_default_uflow_internal, _IO_default_finish_internal)
32891 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
32892 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
32893 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
32894 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
32895 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
32896 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
32897 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
32898 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
32899 (_IO_file_close_internal, _IO_file_close_it_internal)
32900 (_IO_file_underflow_internal, _IO_file_overflow_internal)
32901 (_IO_file_init_internal, _IO_file_attach_internal)
32902 (_IO_file_fopen_internal, _IO_file_read_internal)
32903 (_IO_file_sync_internal, _IO_file_seek_internal)
32904 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
32905 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
32906 (_IO_str_underflow_internal, _IO_str_overflow_internal)
32907 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
32908 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
32909 (_IO_list_all_internal, _IO_link_in_internal)
32910 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
32911 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
32912 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
32913 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
32914 (_IO_do_write_internal, _IO_padn_internal)
32915 (_IO_getline_info_internal, _IO_getline_internal)
32916 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
32917 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
32918 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
32919 (_IO_vfscanf_internal, _IO_vfprintf_internal)
32920 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
32921 (_IO_init_internal, _IO_un_link_internal): Don't declare.
32922 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
32923 with libc_hidden_ver, remove use of INTUSE.
32924 * libio/genops.c: Likewise.
32925 * libio/freopen.c: Likewise.
32926 * libio/freopen64.c: Likewise.
32927 * libio/iofclose.c: Likewise.
32928 * libio/iofdopen.c: Likewise.
32929 * libio/iofflush.c: Likewise.
32930 * libio/iofflush_u.c: Likewise.
32931 * libio/iofgets.c: Likewise.
32932 * libio/iofgets_u.c: Likewise.
32933 * libio/iofopen.c: Likewise.
32934 * libio/iofopncook.c: Likewise.
32935 * libio/iofread.c: Likewise.
32936 * libio/iofread_u.c: Likewise.
32937 * libio/ioftell.c: Likewise.
32938 * libio/iofwrite.c: Likewise.
32939 * libio/iogetline.c: Likewise.
32940 * libio/iogets.c: Likewise.
32941 * libio/iogetwline.c: Likewise.
32942 * libio/iopadn.c: Likewise.
32943 * libio/iopopen.c: Likewise.
32944 * libio/ioseekoff.c: Likewise.
32945 * libio/ioseekpos.c: Likewise.
32946 * libio/iosetbuffer.c: Likewise.
32947 * libio/iosetvbuf.c: Likewise.
32948 * libio/ioungetc.c: Likewise.
32949 * libio/ioungetwc.c: Likewise.
32950 * libio/iovdprintf.c: Likewise.
32951 * libio/iovsprintf.c: Likewise.
32952 * libio/iovsscanf.c: Likewise.
32953 * libio/memstream.c: Likewise.
32954 * libio/obprintf.c: Likewise.
32955 * libio/oldfileops.c: Likewise.
32956 * libio/oldiofclose.c: Likewise.
32957 * libio/oldiofdopen.c: Likewise.
32958 * libio/oldiofopen.c: Likewise.
32959 * libio/oldiopopen.c: Likewise.
32960 * libio/oldstdfiles.c: Likewise.
32961 * libio/putc.c: Likewise.
32962 * libio/setbuf.c: Likewise.
32963 * libio/setlinebuf.c: Likewise.
32964 * libio/stdfiles.c: Likewise.
32965 * libio/strops.c: Likewise.
32966 * libio/vasprintf.c: Likewise.
32967 * libio/vscanf.c: Likewise.
32968 * libio/vsnprintf.c: Likewise.
32969 * libio/vswprintf.c: Likewise.
32970 * libio/wfiledoalloc.c: Likewise.
32971 * libio/wfileops.c: Likewise.
32972 * libio/wgenops.c: Likewise.
32973 * libio/wmemstream.c: Likewise.
32974 * libio/wstrops.c: Likewise.
32975 * libio/__fpurge.c: Likewise.
32976 * libio/__fsetlocking.c: Likewise.
32977 * assert/assert.c: Likewise.
32978 * debug/fgets_chk.c: Likewise.
32979 * debug/fgets_u_chk.c: Likewise.
32980 * debug/fread_chk.c: Likewise.
32981 * debug/fread_u_chk.c: Likewise.
32982 * debug/gets_chk.c: Likewise.
32983 * debug/obprintf_chk.c: Likewise.
32984 * debug/vasprintf_chk.c: Likewise.
32985 * debug/vdprintf_chk.c: Likewise.
32986 * debug/vsnprintf_chk.c: Likewise.
32987 * debug/vsprintf_chk.c: Likewise.
32988 * malloc/mtrace.c: Likewise.
32989 * misc/error.c: Likewise.
32990 * misc/syslog.c: Likewise.
32991 * stdio-common/asprintf.c: Likewise.
32992 * stdio-common/fxprintf.c: Likewise.
32993 * stdio-common/getw.c: Likewise.
32994 * stdio-common/isoc99_fscanf.c: Likewise.
32995 * stdio-common/isoc99_scanf.c: Likewise.
32996 * stdio-common/isoc99_vfscanf.c: Likewise.
32997 * stdio-common/isoc99_vscanf.c: Likewise.
32998 * stdio-common/isoc99_vsscanf.c: Likewise.
32999 * stdio-common/printf-prs.c: Likewise.
33000 * stdio-common/printf_fp.c: Likewise.
33001 * stdio-common/printf_fphex.c: Likewise.
33002 * stdio-common/printf_size.c: Likewise.
33003 * stdio-common/putw.c: Likewise.
33004 * stdio-common/scanf.c: Likewise.
33005 * stdio-common/sprintf.c: Likewise.
33006 * stdio-common/tmpfile.c: Likewise.
33007 * stdio-common/vfprintf.c: Likewise.
33008 * stdio-common/vfscanf.c: Likewise.
33009 * stdlib/strfmon_l.c: Likewise.
33010 * sunrpc/openchild.c: Likewise.
33011 * sunrpc/xdr_stdio.c: Likewise.
33012 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
33013 * sysdeps/mach/hurd/tmpfile.c: Likewise.
33015 2012-05-24 Roland McGrath <roland@hack.frob.com>
33017 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33019 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
33020 in the third column, to generate for the shared library an IFUNC
33021 that uses _dl_vdso_vsym.
33022 * Makerules (COMPILE.c, compile-stdin.c): New variables.
33023 * Makeconfig (object-suffixes-noshared): New variable.
33025 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
33026 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
33027 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
33028 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
33031 * include/sys/time.h (__gettimeofday): Remove macro.
33032 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
33033 * time/gettimeofday.c (__gettimeofday): Remove #undef.
33035 (__gettimeofday): Add libc_hidden_def.
33036 (gettimeofday): Add libc_hidden_weak.
33037 * sysdeps/mach/gettimeofday.c: Likewise.
33038 * sysdeps/posix/gettimeofday.c: Likewise.
33039 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
33040 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
33041 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
33042 (__gettimeofday_internal): Remove strong_alias.
33043 (__gettimeofday): Add libc_hidden_def.
33044 (gettimeofday): Add libc_hidden_weak.
33045 * sysdeps/unix/syscalls.list (gettimeofday):
33046 Remove __gettimeofday_internal alias.
33048 2012-05-24 Daniel Jacobowitz <drow@false.org>
33049 H.J. Lu <hongjiu.lu@intel.com>
33052 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
33053 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
33054 (largebin_index_32_big): New.
33055 (largebin_index): Use it for 16-byte alignment.
33056 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
33057 correction with front_misalign.
33059 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
33061 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
33062 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
33064 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
33066 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
33068 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
33070 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
33072 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
33074 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
33076 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
33078 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
33080 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
33082 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
33084 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
33087 * scripts/data/c++-types-x32-linux-gnu.data: New file.
33088 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
33090 2012-05-24 Joseph Myers <joseph@codesourcery.com>
33094 * math/libm-test.inc (exp_test): Add test from bug 14036.
33095 (pow_test): Add test from bug 10846.
33097 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
33099 (special_function): Do not include flags in test name.
33100 (parse_args): Likewise.
33101 * sysdeps/i386/fpu/libm-test-ulps: Update.
33102 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33103 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33104 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33105 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33107 * math/gen-libm-test.pl (%beautify): Add entries for underflow
33109 * math/libm-test.inc ("Philosophy"): Update comment about
33111 (UNDERFLOW_EXCEPTION): New macro.
33112 (UNDERFLOW_EXCEPTION_OK): Likewise.
33113 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
33114 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
33115 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
33116 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
33117 (INVALID_EXCEPTION_OK): Update value.
33118 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33119 (OVERFLOW_EXCEPTION_OK): Likewise.
33120 (IGNORE_ZERO_INF_SIGN): Likewise.
33121 (test_exceptions): Handle underflow exceptions.
33122 (acos_test): Update for underflow exception expectations.
33123 (cexp_test): Likewise.
33124 (clog_test): Likewise.
33125 (clog10_test): Likewise.
33126 (csqrt_test): Likewise.
33127 (ctan_test): Likewise.
33128 (ctanh_test): Likewise.
33129 (exp_test): Likewise.
33130 (exp10_test): Likewise.
33131 (exp2_test): Likewise.
33132 (expm1_test): Likewise.
33133 (fma_test): Likewise.
33134 (j0_test): Likewise.
33135 (jn_test): Likewise.
33136 (nexttoward_test): Likewise.
33137 (pow_test): Likewise.
33138 (scalbn_test): Likewise.
33139 (scalbln_test): Likewise.
33140 (tan_test): Likewise.
33141 (y1_test): Likewise.
33142 * sysdeps/i386/fpu/libm-test-ulps: Update.
33143 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33145 2012-05-23 David S. Miller <davem@davemloft.net>
33147 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
33148 (__libc_sigaction): Remove unused local variables.
33150 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33152 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
33154 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
33156 mktime: avoid signed integer overflow
33157 * time/mktime.c (__mktime_internal): Do not mishandle the case
33158 where diff == INT_MIN.
33160 mktime: simplify computation of average
33161 * time/mktime.c (ranged_convert): Use new time_t_avg function
33162 instead of rolling our own (probably-slower) code.
33164 mktime: do not assume signed right shift propagates sign bit
33165 * time/mktime.c (isdst_differ): New static function.
33166 (__mktime_internal): No need to normalize tm_isdst now.
33167 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
33170 mktime: merge another wrapv change from gnulib
33171 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
33172 from some compilers.
33174 mktime: remove incorrect attempt at unusual arithmetics
33175 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
33176 The code didn't really work on such machines anyway.
33177 (TYPE_MINIMUM): Assume two's complement.
33178 (twos_complement_arithmetic): Verify that long_int and time_t
33179 are two's complement (or unsigned, in the latter case).
33181 mktime: check signed shifts on long_int and time_t, too
33182 * time/mktime.c (SHR): Check that shifts work as desired
33183 on the types long_int and time_t too, as SHR is used on
33186 mktime: do not assume 'long' is wide enough
33187 * time/mktime.c (verify): Move decl up.
33188 (long_int): New type.
33189 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
33190 to remove assumption in the code that 'long' is wide enough to
33191 store year values. This assumption is not true on x32 and on
33192 some non-glibc platforms.
33194 mktime: merge wrapv change from gnulib
33195 * time/mktime.c (WRAPV): New macro.
33196 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
33197 (guess_time_tm, __mktime_internal): Do not assume that signed
33198 integer overflow wraps around; modern compilers generate code
33199 where this assumption is no longer valid.
33201 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33203 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33204 Replace "jmp L(pseudo_end)" with "ret".
33205 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
33208 2012-05-23 Andreas Jaeger <aj@suse.de>
33210 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
33211 * sysdeps/unix/sysv/linux/poll.c: Remove file.
33213 2012-05-23 Andreas Jaeger <aj@suse.de>
33214 Maximilian Attems <max@stro.at>
33216 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
33219 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33221 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
33222 code so that pseudo_end is just ret and the stack pointer is
33223 correct also for static library in error case.
33225 2012-05-23 Joseph Myers <joseph@codesourcery.com>
33227 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
33228 move to syscalls.list.
33229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
33230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
33231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
33232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
33234 * manual/install.texi (Running make install): Do not mention Linux
33235 kernel version for which pt_chown is not needed.
33236 (Linux): Do not mention problems with nscd with 2.0 kernels.
33237 * INSTALL: Regenerated.
33239 2012-05-23 Andreas Jaeger <aj@suse.de>
33241 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
33242 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
33244 * sysdeps/unix/sysv/linux/s390/bits/mman.h
33245 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33246 * sysdeps/unix/sysv/linux/sh/bits/mman.h
33247 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33248 * sysdeps/unix/sysv/linux/i386/bits/mman.h
33249 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33250 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
33251 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33252 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
33253 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33254 * sysdeps/unix/sysv/linux/bits/in.h
33255 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
33257 2012-05-22 Roland McGrath <roland@hack.frob.com>
33259 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
33260 (PREPARE_VERSION): Just use assert instead, it will be elided
33261 under [NDEBUG] anyway.
33263 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33265 * sysdeps/unix/sysv/linux/Makefile: Include
33266 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
33267 (sysdep_routines): Remove sysctl.
33268 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
33269 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
33270 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
33271 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
33272 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
33274 2012-05-22 Andreas Jaeger <aj@suse.de>
33276 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
33277 that pseudo_end is just ret and the stack pointer is correct also
33278 for static library in error case.
33280 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
33283 * nss/nsswitch.c (defconfig_entries): New variable.
33284 (__nss_database_lookup): Don't leak defconfig entries.
33285 (nss_parse_service_list): Don't leak on error paths.
33286 (free_database_entries): New function.
33287 (free_defconfig): New function.
33288 (free_mem): Move common code to free_database_entries.
33290 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33292 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
33294 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
33296 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
33297 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
33298 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
33300 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
33301 (INTERNAL_SYSCALL_TYPES): Likewise.
33302 (LOAD_ARGS_TYPES_[1-6]): Likewise.
33303 (LOAD_REGS_TYPES_[1-6]): Likewise.
33304 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
33305 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
33307 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33309 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
33310 copysignl for GLIBC_2_0.
33311 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
33312 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
33313 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
33314 logbl for GLIBC_2_0.
33315 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
33316 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
33318 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33320 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
33321 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
33323 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33326 * time/mktime.c: Update copyright years.
33328 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
33330 mktime: merge comment-quoting-style change from gnulib
33331 * time/mktime.c: Quote 'like this' in comments.
33332 The GNU coding standards suggest that we no longer quote `like this',
33333 as "`" and "'" are typically rendered asymmetrically nowadays.
33334 The typical gnulib style is to quote 'like this' when quoting
33335 code, and "like this" when quoting English.
33337 * time/mktime.c (compile-command): Add "-I.".
33339 mktime: merge mktime-internal.h change from gnulib
33340 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
33342 mktime: merge time_r change from gnulib
33343 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
33345 mktime: merge DEBUG change from gnulib
33346 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
33347 case system <time.h> has a #define.
33349 mktime: merge <sys/types.h> change from gnulib
33350 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
33351 since <time.t> is now guaranteed to define time_t.
33353 mktime: merge HAVE_CONFIG_H change from gnulib
33354 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
33356 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33358 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33361 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
33363 (struct rusage): Use anonymous union to pad each field to
33366 2012-05-21 David S. Miller <davem@davemloft.net>
33368 * Makefules (o-iterator): Remove .s cases.
33369 (compile-command.s): Delete.
33370 (COMPILE.s): Delete.
33371 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
33373 2012-05-21 Joseph Myers <joseph@codesourcery.com>
33375 * configure.in (libc_cv_predef_stack_protector): Only consider
33376 "foobar" and "__stack_chk_fail" lines in libc_undefs.
33377 * configure: Regenerated.
33379 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
33381 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33382 New macro. Use R*LP on int and pointer.
33383 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
33384 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
33385 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
33386 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
33388 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
33389 [__WORDSIZE_TIME64_COMPAT32] instead of
33390 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
33391 (struct utmp): Likewise.
33392 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
33393 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
33395 (__WORDSIZE_TIME64_COMPAT32): This.
33396 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
33397 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
33398 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
33399 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
33400 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
33401 (__WORDSIZE_TIME64_COMPAT32): New macro.
33403 2012-05-21 Andreas Jaeger <aj@suse.de>
33405 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
33406 only if [SHARED]. Add prototype for __wcschr_ia32.
33408 2012-05-21 Roland McGrath <roland@hack.frob.com>
33410 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
33411 of %rbp unmolested in the jmp_buf while mangling the low bits.
33412 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
33413 unmolested high bits of %rbp while demangling the low bits.
33414 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
33416 2012-05-21 Andreas Jaeger <aj@suse.de>
33418 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
33419 * sunrpc/svc_simple.c: Use it for registerrpc.
33420 * sunrpc/xcrypt.c: Use it for passwd2des.
33422 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
33424 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
33426 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
33427 Don't define if [__SYSCALL_WORDSIZE != 32].
33428 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
33431 2012-05-21 Bruno Haible <bruno@clisp.org>
33432 Andreas Jaeger <aj@suse.de>
33434 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
33435 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
33436 inptr and inend for must_buffer_ch.
33437 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
33438 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
33439 * stdio-common/Makefile (tests): Remove bug15.
33440 (bug15-ENV): Remove macro.
33441 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
33444 2012-05-19 Andreas Jaeger <aj@suse.de>
33445 Roland McGrath <roland@hack.frob.com>
33447 * manual/contrib.texi: Completely rewritten. It contains now an
33448 alphabetical list of contributors and their contributions.
33450 2012-05-21 Richard Henderson <rth@twiddle.net>
33452 * misc/getauxval.c (__getauxval): Use unsigned long int.
33453 * misc/sys/auxv.h: Include <sys/cdefs.h>.
33454 (getauxval): Use unsigned long int.
33456 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
33458 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33460 2012-05-21 Roland McGrath <roland@hack.frob.com>
33462 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
33463 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
33464 __alignof__ (long double).
33466 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33468 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33470 2012-05-20 Richard Henderson <rth@twiddle.net>
33472 * misc/getauxval.c: New file.
33473 * misc/sys/auxv.h: New file.
33474 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
33475 (routines): Add getauxval.
33476 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
33477 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
33478 * elf/dl-sysdep.c (_dl_auxv): Remove.
33479 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
33480 * elf/dl-support.c (_dl_auxv): New variable.
33481 (_dl_aux_init): Initialize it.
33482 * manual/startup.texi (Auxiliary Vector): New node.
33483 * sysdeps/generic/bits/hwcap.h: New file.
33484 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
33485 * sysdeps/powerpc/sysdep.h: ... here. Include it.
33486 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
33487 * sysdeps/sparc/sysdep.h: ... here. Include it.
33488 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
33489 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
33490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
33493 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
33494 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
33495 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
33496 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
33497 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
33498 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
33499 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
33501 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33503 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33505 2012-05-19 David S. Miller <davem@davemloft.net>
33507 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33509 2012-05-19 Joseph Myers <joseph@codesourcery.com>
33512 * math/s_ccosh.c: Include <float.h>
33513 (__ccosh): Avoid internal overflow calculating sinh and cosh
33514 values before multiplying by sin and cos values.
33515 * math/s_ccoshf.c: Likewise.
33516 * math/s_ccoshl.c: Likewise.
33517 * math/s_csin.c: Likewise.
33518 * math/s_csinf.c: Likewise.
33519 * math/s_csinl.c: Likewise.
33520 * math/s_csinh.c: Likewise.
33521 * math/s_csinhf.c: Likewise.
33522 * math/s_csinhl.c: Likewise.
33523 * math/libm-test.inc (ccos_test): Add more tests.
33524 (ccosh_test): Likewise.
33525 (csin_test): Likewise.
33526 (csinh_test): Likewise.
33527 * sysdeps/i386/fpu/libm-test-ulps: Update.
33528 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33530 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
33532 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
33533 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
33535 * sysdeps/x86_64/x32/_itoa.h: Add comment.
33537 2012-05-19 Joseph Myers <joseph@codesourcery.com>
33539 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
33540 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
33541 * sysdeps/powerpc/soft-fp/Versions: Likewise.
33542 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
33543 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
33544 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
33545 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
33546 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
33547 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
33548 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
33549 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
33550 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
33551 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
33552 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
33553 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
33554 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
33555 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
33556 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
33557 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
33558 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
33559 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
33560 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
33561 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
33562 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
33563 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
33564 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
33565 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
33566 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
33567 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
33568 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
33569 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
33571 2012-05-18 Andreas Jaeger <aj@suse.de>
33573 * csu/.gitignore: Delete.
33575 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
33577 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
33578 (timex): Use __syscall_slong_t.
33580 2012-05-18 Andreas Jaeger <aj@suse.de>
33581 Carlos O'Donell <carlos_odonell@mentor.com>
33583 * manual/install.texi (Configuring and compiling): Update
33584 description about files modified in the source directory.
33585 * INSTALL: Regenerated.
33587 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
33589 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
33590 value. Use "or" to set return value to -1.
33591 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
33592 negate return value.
33594 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33596 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
33597 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
33598 failure if the compiler has Graphite support disabled.
33599 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
33601 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
33602 (CFLAGS-memmove.c): Likewise.
33603 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
33606 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
33608 * sysdeps/x86_64/x32/_itoa.h: New file.
33610 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
33611 getdents system call only if kernel and user dirents have the
33612 same d_ino and d_off.
33614 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
33615 LLONG_MAX != LONG_MAX.
33616 (_itoa_word): Use _ITOA_WORD_TYPE on value.
33617 (_fitoa_word): Likewise.
33619 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
33621 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
33622 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
33623 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
33625 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
33626 include <bits/wordsize.h>. Check __x86_64__ instead of
33628 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
33629 if __x86_64__ is defined. Use anonymous union on fpstate.
33631 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
33634 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
33636 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
33637 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
33638 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
33639 Refer to _rtld_local_ro instead of _rtld_global_ro.
33640 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
33642 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
33644 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
33646 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
33647 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
33648 of _rtld_global, and rtld_progname instead of _dl_argv[0].
33650 * sysdeps/powerpc/powerpc32/dl-machine.c
33651 (__elf_machine_runtime_setup) [PROF]: Don't reference
33654 2012-05-18 Andreas Jaeger <aj@suse.de>
33656 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
33657 function only available for GCCs before 3.4 since GCC 3.4
33658 introduced a builtin.
33660 (llrintf): Likewise.
33661 (llrint): Likewise.
33668 (nearbyint): Likewise.
33669 (nearbyintf): Likewise.
33673 (floorf): Likewise.
33675 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
33677 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
33678 on both fields and cast pointer to __syscall_ulong_t.
33680 * bits/types.h (__fsword_t): New type.
33681 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
33682 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
33683 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33684 (__FSWORD_T_TYPE): Likewise.
33685 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33686 (__FSWORD_T_TYPE): Likewise.
33687 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33688 (__FSWORD_T_TYPE): Likewise.
33689 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
33690 (__FSWORD_T_TYPE): Likewise.
33691 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
33692 __SWORD_TYPE with __fsword_t.
33693 (statfs64): Likewise.
33695 2012-05-17 David S. Miller <davem@davemloft.net>
33697 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
33699 2012-05-17 Andreas Jaeger <aj@suse.de>
33701 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
33704 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
33706 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
33708 2012-05-17 Andreas Jaeger <aj@suse.de>
33710 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
33713 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
33715 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
33717 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
33719 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
33720 * sysdeps/x86_64/tst-mallocalign1.c: New file.
33722 2012-05-17 Andreas Jaeger <aj@suse.de>
33723 Carlos O'Donell <carlos_odonell@mentor.com>
33726 * sysdeps/x86_64/multiarch/init-arch.h
33727 (bit_YMM_Usable): Rename to...
33728 (bit_AVX_Usable): ... this.
33729 (bit_FMA4_Usable): New macro.
33730 (bit_XMM_state): New macro.
33731 (bit_YMM_state): New macro.
33732 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
33733 [__ASSEMBLER__] (index_AVX_Usable): ... this.
33734 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
33735 (CPUID_OSXSAVE): New macro.
33736 (CPUID_AVX): New macro.
33737 (CPUID_FMA4): New macro.
33738 (index_YMM_Usable): Rename to...
33739 (index_AVX_Usable): ... this.
33740 (HAS_AVX): Use HAS_ARCH_FEATURE.
33741 (HAS_FMA4): Likewise.
33742 (HAS_YMM_USABLE): Remove.
33743 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33744 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
33746 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
33747 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
33748 * sysdeps/x86_64/multiarch/Makefile: Likewise.
33749 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
33750 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
33752 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
33754 * math/libm-test.c: Support platforms without multiple rounding modes.
33755 * math/bug-nextafter.c: Support platforms without FP exceptions.
33756 * math/bug-nexttoward.c: Likewise.
33757 * math/test-fenv.c: Likewise.
33758 * math/test-misc.c: Likewise.
33759 * stdlib/bug-getcontext.c: Likewise.
33761 2012-05-17 Andreas Jaeger <aj@suse.de>
33763 * manual/examples/search.c (critter_cmp): Change signature to
33765 * manual/string.texi (Collation Functions): Likewise.
33767 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33769 * bits/types.h: Fold copyright years.
33770 * bits/typesizes.h: Likewise.
33771 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
33772 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
33773 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
33774 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
33775 * time/time.h: Likewise.
33777 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
33780 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
33781 in instead of returning them. Return void.
33782 (__libc_mallinfo): Accumulate over all arenas.
33783 (__malloc_stats): Adjust for change in int_mallinfo interface.
33785 2012-05-16 Roland McGrath <roland@hack.frob.com>
33788 * configure.in (NM): Add AC_CHECK_TOOL for it.
33789 (libc_extra_cflags): New substituted variable.
33790 Check for -fstack-protector being used implicitly.
33791 * configure: Regenerated.
33792 * config.make.in (config-extra-cflags): New variable,
33793 gets @libc_extra_cflags@.
33794 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
33797 * configure.in: Check for _FORTIFY_SOURCE being predefined.
33798 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
33799 * configure: Regenerated.
33800 * config.make.in (CPPUNDEFS): New substituted variable.
33801 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
33802 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
33803 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
33805 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33807 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
33808 (mq_attr): Use __syscall_slong_t.
33810 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33812 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
33813 Check __x86_64__ instead of __WORDSIZE.
33814 (_STAT_VER_LINUX): Likewise.
33815 (stat): Check __x86_64__ instead of __WORDSIZE. Use
33816 __syscall_ulong_t and __syscall_slong_t.
33817 (stat64): Likewise.
33819 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33821 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
33823 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33825 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
33827 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33829 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
33832 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
33833 include <bits/wordsize.h>. Check __x86_64__ instead of
33835 (greg_t): Use "__extension__ long long int" if __x86_64__ is
33837 (mcontext_t): Replace "unsigned long" with "unsigned long long".
33839 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
33840 include <bits/wordsize.h>. Check __x86_64__ instead of
33842 (user_regs_struct): Use "__extension__ unsigned long long"
33843 instead of "unsigned long" if __x86_64__ is defined.
33844 (user): Likewise. Pad after pointer field if __ILP32__ is
33847 2012-05-16 Joseph Myers <joseph@codesourcery.com>
33849 * configure.in (makeinfo): Require version 4.5 or later. Allow
33851 * configure: Regenerated.
33852 * manual/install.texi (texinfo): Increase version requirement to
33854 * INSTALL: Regenerated.
33856 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
33858 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33860 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
33862 * sysdeps/x86_64/x32/ffs.c: New file.
33864 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
33866 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
33867 defined. Use __syscall_ulong_t.
33868 (shminfo): Use __syscall_ulong_t.
33869 (shm_info): Likewise.
33871 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
33874 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
33876 (msgqnum_t): Use __syscall_ulong_t.
33877 (msglen_t): Likewise.
33878 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
33881 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
33882 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
33884 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
33886 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
33887 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
33889 * sysvipc/sys/msg.h (msgbuf): Replace long int with
33892 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
33893 include <bits/wordsize.h>. Check __x86_64__ instead of
33896 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
33897 "unsigned long long int" if __x86_64__ is defined.
33898 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
33900 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
33901 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
33902 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
33904 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
33906 (GET_PC): Cast to uintptr_t first.
33907 (GET_FRAME): Likewise.
33908 (GET_STACK): Likewise.
33910 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
33911 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
33912 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
33913 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
33914 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
33915 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
33916 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
33917 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
33918 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
33919 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
33920 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
33921 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
33922 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
33923 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
33924 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
33925 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
33926 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
33927 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
33928 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
33929 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
33930 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
33931 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
33932 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
33933 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
33934 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
33935 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
33936 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
33937 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
33938 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
33940 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
33942 * Makerules (+depfiles): Also collect depfiles from .oS in
33944 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
33945 .oS, $(libnldbl-routines)).
33947 * Makerules (native-compile-mkdep-flags): Define.
33948 * sunrpc/Makefile (extra-objs): Add $(addprefix
33949 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
33950 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
33951 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
33952 calling $(make-target-directory).
33954 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33956 * bits/types.h (__snseconds_t): Removed.
33957 * time/time.h (struct timespec): Replace __snseconds_t with
33959 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
33960 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
33962 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33963 (__SNSECONDS_T_TYPE): Likewise.
33964 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33965 (__SNSECONDS_T_TYPE): Likewise.
33966 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33967 (__SNSECONDS_T_TYPE): Likewise.
33969 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33971 * sysdeps/mach/hurd/bits/typesizes.h
33972 (__SYSCALL_SLONG_TYPE): New macro.
33973 (__SYSCALL_ULONG_TYPE): Likewise.
33975 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33977 * bits/types.h (__syscall_slong_t): New type.
33978 (__syscall_ulong_t): Likewise.
33980 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
33981 (__SYSCALL_ULONG_TYPE): Likewise.
33982 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33983 (__SYSCALL_SLONG_TYPE): Likewise.
33984 (__SYSCALL_ULONG_TYPE): Likewise.
33985 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33986 (__SYSCALL_SLONG_TYPE): Likewise.
33987 (__SYSCALL_ULONG_TYPE): Likewise.
33988 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33989 (__SYSCALL_SLONG_TYPE): Likewise.
33990 (__SYSCALL_ULONG_TYPE): Likewise.
33992 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33994 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
33995 Add sigaltstack-offsets.sym.
33996 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
33997 <sigaltstack-offsets.h>.
33998 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
33999 longjmp_msg pointer.
34000 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
34001 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
34003 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
34005 2012-05-15 Joseph Myers <joseph@codesourcery.com>
34007 * elf/stackguard-macros.h: Remove file.
34008 * sysdeps/generic/stackguard-macros.h: New file.
34009 * sysdeps/i386/stackguard-macros.h: Likewise.
34010 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
34011 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
34012 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
34013 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
34014 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
34015 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
34016 * sysdeps/x86_64/stackguard-macros.h: Likewise.
34017 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
34018 <elf/stackguard-macros.h>.
34021 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
34022 __aligned__ in attribute.
34023 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
34024 (gregset_t): Likewise.
34026 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34028 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
34029 * sysdeps/x86_64/64/Implies-after: Here. New file.
34030 * sysdeps/x86_64/x32/Implies-after: New file.
34032 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34034 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
34035 and access return value for _dl_profile_fixup. Use R10_LP to
34038 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34040 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
34042 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34044 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
34045 * sysdeps/x86_64/x32/sysdep.h: New file.
34047 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34049 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
34050 * sysdeps/x86_64/setjmp.S: Likewise.
34052 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34054 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
34055 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
34056 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
34057 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
34058 remove unused global constant.
34060 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
34062 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
34063 include of <not-cancel.h>.
34065 2012-05-15 Roland McGrath <roland@hack.frob.com>
34067 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
34069 2012-05-15 Jeff Law <law@redhat.com>
34070 Andreas Jaeger <aj@suse.de>
34073 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
34075 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
34076 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
34077 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
34078 code changing __hst_map_handle.map.
34080 2012-05-15 Roland McGrath <roland@hack.frob.com>
34082 * configure.in (sysnames): Look for Implies-before and Implies-after
34084 * configure: Regenerated.
34086 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34088 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
34089 8-byte data alignment with LP_SIZE alignment.
34091 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34093 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
34096 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34098 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
34100 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34102 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
34103 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
34104 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
34106 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
34108 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34110 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
34111 (stackinfo_sub_sp): Likewise.
34113 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34115 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
34118 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34120 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
34123 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34125 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
34128 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34130 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
34132 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34134 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
34135 into R11_LP and load __x86_64_shared_cache_size_half into
34138 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34140 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
34143 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34145 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
34147 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
34149 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
34151 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
34152 powerpc32/power7/fpu/s_logb.c via #include.
34153 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
34154 powerpc32/power7/fpu/s_logbf.c via #include.
34155 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
34156 powerpc32/power7/fpu/s_logbl.c via #include.
34158 2012-05-15 Joseph Myers <joseph@codesourcery.com>
34160 * README.libm: Remove file.
34162 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34164 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
34165 count for x32. Use R*_LP and omit operand-size suffix.
34167 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34169 * shlib-versions: Move x86_64-.*-linux.* entries to ...
34170 * sysdeps/x86_64/64/shlib-versions: Here. New file.
34171 * sysdeps/x86_64/x32/shlib-versions: New file.
34173 2012-05-14 Roland McGrath <roland@hack.frob.com>
34175 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
34176 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
34177 Use _dl_fatal_printf instead.
34179 2012-05-14 Joseph Myers <joseph@codesourcery.com>
34181 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
34182 set if not set by the user. Do not allow for being unset.
34183 * sysdeps/unix/sysv/linux/configure: Regenerated.
34185 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34187 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
34188 the `q' suffix from lea and replace .quad with ASM_ADDR.
34190 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34192 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
34193 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
34195 (PTR_DEMANGLE): Likewise.
34197 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34199 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
34201 (ASM_ADDR): Likewise.
34202 (RAX_LP): Likewise.
34203 (RBP_LP): Likewise.
34204 (RBX_LP): Likewise.
34205 (RCX_LP): Likewise.
34206 (RDI_LP): Likewise.
34207 (RSI_LP): Likewise.
34208 (RSP_LP): Likewise.
34211 (R10_LP): Likewise.
34212 (R10_LP): Likewise.
34213 (R11_LP): Likewise.
34214 (R12_LP): Likewise.
34215 (R13_LP): Likewise.
34216 (R14_LP): Likewise.
34217 (R15_LP): Likewise.
34219 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34221 * sysdeps/x86_64/x32/dl-machine.h: New file.
34223 2012-05-14 Andreas Jaeger <aj@suse.de>
34225 * manual/Makefile (subdir): Remove export of subdir.
34226 (all): Remove target.
34227 (.PHONY): Remove all from list.
34228 (mkinstalldirs): Remove.
34229 (.PHONY): Remove installdirs from list.
34230 ($(inst_infodir)/libc.info): Use make-target-directory.
34231 (installdirs): Remove.
34232 (subdir_%): Remove.
34233 (glibc-targets): Remove.
34236 ($(objpfx)stubs ../po/manual.pot): Remove.
34237 ($(objpfx)stamp%): Remove.
34238 (make-target-directory): Remove.
34239 (subdir_install): Remove.
34240 (routines): Remove.
34247 * manual/.gitignore: Remove, it's not needed anymore.
34248 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
34250 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
34252 (texis): Renamed to $(objpfx)texis.
34253 (texis-path): New, contains path to generated files.
34254 (chapters.%): Use texis-path for complete path, add extra argument
34256 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
34257 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
34258 (summary,texi, stamp-summary): Use complete path of
34259 files. Generate files in build dir.
34260 (dir-add.texi): Build in build dir.
34261 (libm-err.texi,stamp-libm-err): Likewise.
34262 (version.texi, stamp-version): Likewise.
34263 (.%c.texi): Likewise.
34264 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
34265 (mostlyclean): Remove target.
34266 (realclean): Remove target.
34267 (generated): Add new variable with contents from mostlyclean and
34268 realclean, remove entries duplicated in common-mostlyclean, add
34269 stamp-libm-err and stamp-version.
34270 (generated-dirs): Add libc directory.
34271 ($(inst_infodir)/libc.info): Install files from build dir.
34273 * manual/install.texi (Configuring and compiling): Adjust since
34274 the info files are not part of the tar ball anymore.
34276 2012-05-14 Andreas Jaeger <aj@suse.de>
34278 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
34281 2012-05-14 Joseph Myers <joseph@codesourcery.com>
34284 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34285 to 2.2.0 where earlier.
34286 * sysdeps/unix/sysv/linux/configure: Regenerated.
34287 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
34288 Remove conditional code.
34289 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
34290 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
34291 Remove conditional code.
34292 [!__NR_lchown]: Likewise.
34293 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34294 [__NR_lchown]: Likewise.
34295 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
34296 comment referencing __ASSUME_LCHOWN_SYSCALL.
34297 * sysdeps/unix/sysv/linux/i386/sigaction.c
34298 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34299 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34300 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
34301 Remove conditional code.
34302 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
34303 (__protocol_available): Remove #if 0 code.
34304 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
34306 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
34307 * sysdeps/unix/sysv/linux/kernel-features.h
34308 (__ASSUME_GETCWD_SYSCALL): Don't define.
34309 (__ASSUME_REALTIME_SIGNALS): Likewise.
34310 (__ASSUME_PREAD_SYSCALL): Likewise.
34311 (__ASSUME_PWRITE_SYSCALL): Likewise.
34312 (__ASSUME_POLL_SYSCALL): Likewise.
34313 (__ASSUME_LCHOWN_SYSCALL): Likewise.
34314 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
34316 (__ASSUME_SIOCGIFNAME): Don't define.
34317 (__ASSUME_MSG_NOSIGNAL): Likewise.
34318 (__ASSUME_SENDFILE): Define unconditionally.
34319 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
34320 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
34322 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
34323 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
34324 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
34325 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34326 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
34327 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
34328 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
34330 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34331 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
34333 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34334 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
34336 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34337 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
34339 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34340 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
34342 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34343 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
34345 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34346 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
34348 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34349 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
34351 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34352 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34353 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
34354 Remove conditional code.
34355 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34356 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
34357 Remove conditional code.
34358 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34359 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
34360 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
34361 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34362 Remove conditional code.
34363 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34364 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
34365 Remove conditional code.
34366 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34367 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
34368 Remove conditional code.
34369 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34370 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
34371 Remove conditional code.
34372 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34373 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34374 Remove conditional code.
34375 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34376 * sysdeps/unix/sysv/linux/sh/pwrite64.c
34377 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34378 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34379 * sysdeps/unix/sysv/linux/sigaction.c
34380 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34381 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34382 * sysdeps/unix/sysv/linux/sigpending.c
34383 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34384 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34385 * sysdeps/unix/sysv/linux/sigprocmask.c
34386 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34387 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34388 * sysdeps/unix/sysv/linux/sigsuspend.c
34389 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34390 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34391 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34392 (__libc_missing_rt_sigs): Remove.
34393 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
34394 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
34395 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
34396 Remove conditional code.
34397 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
34398 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
34400 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
34401 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
34402 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
34403 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
34405 2012-05-14 Andreas Jaeger <aj@suse.de>
34407 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
34408 it's not used in glibc.
34409 (__coshm1): Likewise.
34410 (__acosh1p): Likewise.
34413 * manual/string.texi (Copying and Concatenation): Add missing
34414 variable in concat example.
34415 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
34417 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34420 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
34421 __builtin_clzl with __builtin_clzll.
34423 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34426 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
34429 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34431 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
34432 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
34433 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
34434 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
34436 2012-05-14 Mike Frysinger <vapier@gentoo.org>
34438 * NEWS: Update ia64 info.
34440 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
34442 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
34445 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
34447 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
34448 * sysdeps/unix/syscalls.list (dup3): Likewise.
34449 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
34450 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
34452 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
34454 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
34455 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
34457 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
34459 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
34461 (TLS_IE): Use mov/add instead of movq/addq to load thread
34463 (TLS_GD_PREFIX): New.
34466 2012-05-11 David S. Miller <davem@davemloft.net>
34468 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
34469 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
34470 (_FPU_SETCW): Likewise.
34472 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34474 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
34475 is 32-byte aligned.
34477 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
34480 * iconvdata/gb18030.c: Update tables.
34481 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
34482 characters specially.
34483 (BODY for TO_LOOP): Add encoding of missing ranges.
34485 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
34488 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
34489 * sysdeps/mach/hurd/dup3.c: Likewise.
34490 * sysdeps/mach/hurd/readlinkat.c: Likewise.
34491 * sysdeps/powerpc/memmove.c:: Likewise.
34493 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34495 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
34496 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
34498 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34500 * elf/elf.h (R_X86_64_RELATIVE64): New.
34501 (R_X86_64_NUM): Updated.
34502 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
34503 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
34504 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
34505 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
34506 tst-quad1pie tst-quad2pie
34507 (modules-names): Add tst-quadmod1 tst-quadmod2.
34508 ($(objpfx)tst-quad1): New dependency.
34509 ($(objpfx)tst-quad2): Likewise.
34510 ($(objpfx)tst-quad1pie): Likewise.
34511 ($(objpfx)tst-quad2pie): Likewise.
34512 * sysdeps/x86_64/tst-quad1.c: New file.
34513 * sysdeps/x86_64/tst-quad1pie.c: New file.
34514 * sysdeps/x86_64/tst-quad2.c: Likewise.
34515 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
34516 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
34517 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
34518 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
34519 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
34521 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34523 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
34524 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
34525 * streams/stropts.h (t_scalar_t): Define type.
34527 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
34528 (_PATH_PRESERVE): Set to "/var/lib".
34529 (_PATH_RWHODIR): Set to "/var/spool/rwho".
34531 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
34534 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
34535 if __dir_mkfile succeeded.
34537 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
34538 checking for _hurd_dtablesize. Unlock it right after having
34539 finished _hurd_dtable allocation.
34541 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34543 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
34544 * sysdeps/mach/hurd/configure: Regenerated.
34545 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
34546 special-casing to...
34547 * sysdeps/gnu/configure.in: ... this new file.
34548 * sysdeps/unix/sysv/linux/configure: Regenerated.
34549 * sysdeps/gnu/configure: New generated file.
34551 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
34552 for Linux: use nsec instead of usec, as well as:
34553 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
34554 members of type struct timespec.
34555 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
34557 (struct stat64): Likewise.
34558 (_STATBUF_ST_NSEC): New macro.
34559 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
34561 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
34562 __strtoul_internal rather than strtoul.
34564 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34566 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
34569 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34571 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
34572 which preserves existing values.
34573 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
34575 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34577 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
34578 TIMEOUT values. Return EINVAL for NFDS values either negative or
34579 greater than FD_SETSIZE.
34581 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34583 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
34584 allocated, call __vm_protect to finish enabling the existing space, and
34585 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
34586 allocate the remainder.
34588 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34590 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
34591 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
34593 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34595 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
34596 sysdeps/mach/hurd/readlink.c.
34598 * posix/tst-sysconf.c (posix_options): Only use
34599 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
34600 _POSIX_SYNCHRONIZED_IO when they are defined
34601 * sysdeps/mach/hurd/bits/posix_opt.h:
34602 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
34603 (_XOPEN_REALTIME): Undefine macro.
34604 (_XOPEN_REALTIME_THREADS): Undefine macro.
34605 (_XOPEN_SHM): Undefine macro.
34606 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
34608 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
34610 (_POSIX_ASYNC_IO): Undefine macro.
34611 (_POSIX_PRIORITIZED_IO): Undefine macro.
34612 (_POSIX_SPIN_LOCKS): Define macro to -1.
34614 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
34615 SA_NODEFER, SA_RESETHAND.
34616 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
34617 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
34620 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34622 * elf/Makefile (pldd-modules): Define unconditionally.
34624 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34626 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
34628 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34630 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
34631 Return ENOENT when name is empty.
34632 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
34634 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34636 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
34638 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
34640 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34642 Fix mlock in all cases except non-readable pages.
34643 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
34644 instead of VM_PROT_ALL as parameter to __vm_wire function.
34646 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
34647 (__mkdir): When path is `/', just fail with EEXIST.
34648 * sysdeps/mach/hurd/mkdirat.c: Likewise.
34650 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34652 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
34653 <sys/uio.h> (for writev).
34654 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
34655 and <sys/param.h> (for MIN).
34657 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34659 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
34660 REQUESTED_TIME. Properly set the remaining time and return EINTR
34663 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34665 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
34666 Depend on against $(link-rpcuserlibs).
34668 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34670 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
34671 (__libc_stack_end): Do not use attribute_relro.
34672 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
34673 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
34674 to libthread-provided value.
34675 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
34678 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34681 * bits/libc-lock.h (__libc_once_get): New macro.
34682 * sysdeps/mach/bits/libc-lock.h: Likewise.
34683 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
34684 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
34685 instead of using implementation details.
34687 * libio/fileops.c: Unconditionally include <kernel-features.h>.
34688 * libio/freopen.c: Likewise.
34689 * libio/freopen64.c: Likewise.
34690 * misc/syslog.c: Likewise.
34691 * nscd/connections.c: Likewise.
34692 * nscd/netgroupcache.c: Likewise.
34693 * sysdeps/posix/getcwd.c: Likewise.
34695 2012-05-10 Roland McGrath <roland@hack.frob.com>
34697 * math/w_ilogbf.c: Add #include <limits.h>.
34699 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34701 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
34702 path instead of returning without unlocking.
34704 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
34705 immediate-write ioctls.
34706 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
34708 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34710 * sysdeps/mach/hurd/i386/init-first.c (init): Use
34711 __builtin_frame_address instead of making assumptions about the
34712 location of the return address relative to DATA. Force early load of
34713 the return address.
34714 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
34715 __builtin_frame_address.
34718 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
34719 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
34720 implement dup3 and do some further code clean-ups.
34721 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
34722 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
34724 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34726 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
34728 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
34729 HURD_CRITICAL_END around holding _hurd_dtable_lock.
34730 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
34731 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
34732 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
34735 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
34736 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
34737 when handler == SIG_ERR, not when handler != SIG_ERR.
34739 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34741 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
34742 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
34745 accept4 for GNU Hurd.
34746 * include/sys/socket.h (__libc_accept4): New prototype.
34747 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
34748 to implement __libc_accept4.
34749 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
34751 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
34753 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
34754 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
34755 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
34756 signal-defines.sym.
34758 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34760 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
34762 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34764 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
34765 assertion on O_CLOEXEC flag.
34766 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
34767 * hurd/intern-fd.c: Likewise.
34768 * hurd/port2fd.c: Likewise.
34770 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34773 * bits/in.h (IPV6_PKTINFO): Define new macro.
34774 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
34776 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34781 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
34782 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34783 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
34784 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34785 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34786 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34787 * math/libm-test.inc (logb_test) : Additional logb tests.
34789 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
34790 Andreas Jaeger <aj@suse.de>
34792 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
34793 * configure: Regenerated.
34794 * config.h.in (LINK_OBSOLETE_RPC): New macro.
34795 * config.make.in (link-obsolete-rpc): New substituted variable.
34796 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
34797 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
34798 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
34799 (shared-only-routines): Don't set it under [link-obsolete-rpc],
34800 so that libc.a contains the symbols.
34801 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
34802 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
34803 * sunrpc/auth_none.c: Likewise.
34804 * sunrpc/auth_unix.c: Likewise.
34805 * sunrpc/authdes_prot.c: Likewise.
34806 * sunrpc/authuxprot.c: Likewise.
34807 * sunrpc/clnt_gen.c: Likewise.
34808 * sunrpc/clnt_perr.c: Likewise.
34809 * sunrpc/clnt_raw.c: Likewise.
34810 * sunrpc/clnt_simp.c: Likewise.
34811 * sunrpc/clnt_tcp.c: Likewise.
34812 * sunrpc/clnt_udp.c: Likewise.
34813 * sunrpc/clnt_unix.c: Likewise.
34814 * sunrpc/des_crypt.c: Likewise.
34815 * sunrpc/des_soft.c: Likewise.
34816 * sunrpc/get_myaddr.c: Likewise.
34817 * sunrpc/key_call.c: Likewise.
34818 * sunrpc/key_prot.c: Likewise.
34819 * sunrpc/netname.c: Likewise.
34820 * sunrpc/pm_getmaps.c: Likewise.
34821 * sunrpc/pm_getport.c: Likewise.
34822 * sunrpc/pmap_clnt.c: Likewise.
34823 * sunrpc/pmap_prot.c: Likewise.
34824 * sunrpc/pmap_prot2.c: Likewise.
34825 * sunrpc/pmap_rmt.c: Likewise.
34826 * sunrpc/publickey.c: Likewise.
34827 * sunrpc/rpc_cmsg.c: Likewise.
34828 * sunrpc/rpc_common.c: Likewise.
34829 * sunrpc/rpc_dtable.c: Likewise.
34830 * sunrpc/rpc_prot.c: Likewise.
34831 * sunrpc/rpc_thread.c: Likewise.
34832 * sunrpc/rtime.c: Likewise.
34833 * sunrpc/svc.c: Likewise.
34834 * sunrpc/svc_auth.c: Likewise.
34835 * sunrpc/svc_raw.c: Likewise.
34836 * sunrpc/svc_run.c: Likewise.
34837 * sunrpc/svc_tcp.c: Likewise.
34838 * sunrpc/svc_udp.c: Likewise.
34839 * sunrpc/svc_unix.c: Likewise.
34840 * sunrpc/svcauth_des.c: Likewise.
34841 * sunrpc/xcrypt.c: Likewise.
34842 * sunrpc/xdr.c: Likewise.
34843 * sunrpc/xdr_array.c: Likewise.
34844 * sunrpc/xdr_float.c: Likewise.
34845 * sunrpc/xdr_intXX_t.c: Likewise.
34846 * sunrpc/xdr_mem.c: Likewise.
34847 * sunrpc/xdr_rec.c: Likewise.
34848 * sunrpc/xdr_ref.c: Likewise.
34849 * sunrpc/xdr_sizeof.c: Likewise.
34850 * sunrpc/xdr_stdio.c: Likewise.
34852 2012-05-10 Roland McGrath <roland@hack.frob.com>
34854 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
34855 change. Update copyright years.
34857 2012-05-10 Joseph Myers <joseph@codesourcery.com>
34859 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
34861 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
34862 Joseph Myers <joseph@codesourcery.com>
34863 Paul Pluzhnikov <ppluzhnikov@google.com>
34866 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
34868 [cross-compiling] (extra-libs): Likewise.
34869 [cross-compiling] (extra-libs-others): Likewise.
34870 [cross-compiling] (librpcsvc-routines): Likewise.
34871 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
34872 [cross-compiling] (omit-deps): Likewise.
34873 (sunrpc-CPPFLAGS): New variable.
34874 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
34875 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
34876 (cross-rpcgen-objs): New variable.
34877 (extra-objs): Append $(cross-rpcgen-objs).
34878 ($(cross-rpcgen-objs)): New rule.
34879 ($(objpfx)cross-rpcgen): Likewise.
34880 (rpcgen-cmd): Define to use $(built-program-file). Expand
34882 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
34883 ($(objpfx)x%.stmp): Likewise.
34884 * sunrpc/proto.h [IS_IN_build] (_): Define.
34885 [IS_IN_build] (_libc_intl_domainname): Likewise.
34887 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34889 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
34890 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
34891 and R_X86_64_TPOFF64.
34893 2012-05-10 Joseph Myers <joseph@codesourcery.com>
34895 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
34896 sysdeps/unix/sysv/syscalls.list.
34899 * sysdeps/unix/sysv/syscalls.list: Remove file.
34901 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
34904 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
34905 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
34906 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
34907 (__LC_IDENTIFICATION): Make these macros useful in #if
34908 expressions, as required by C99.
34910 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
34912 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
34913 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
34916 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
34918 * stdlib/longlong.h: Updated from GCC.
34920 2012-05-09 Andreas Jaeger <aj@suse.de>
34922 * nscd/nscd.c (run_modes): Make named enum, reorder so that
34923 default is first entry.
34924 (run_mode): Set type.
34925 (main): Remove informal message about syslog.
34926 (options): Fix typo.
34929 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
34932 (llrintf): Likewise.
34933 (llrint): Likewise.
34936 (nearbyint): Likewise.
34937 (nearbyintf): Likewise.
34939 2012-05-09 Andreas Jaeger <aj@suse.de>
34940 Pedro Alves <palves@redhat.com>
34942 * nscd/nscd.c (run_mode): Use enum.
34943 (main): Cleanup coding style issue.
34945 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
34946 Andreas Jaeger <aj@suse.de>
34948 * nscd/nscd.c (go_background): Replaced with...
34949 (run_mode): ... this.
34950 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
34951 (options): Add -F --foreground.
34952 (main): Implement it.
34953 (parse_opt): Parse it.
34955 2012-05-09 Andreas Jaeger <aj@suse.de>
34958 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
34959 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
34960 -Wconversion warning.
34961 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
34964 2012-05-09 Joseph Myers <joseph@codesourcery.com>
34966 * conform/data/locale.h-data (NULL): Use macro-constant. Require
34968 (LC_ALL): Use macro-int-constant.
34969 (LC_COLLATE): Likewise.
34970 (LC_CTYPE): Likewise.
34971 (LC_MESSAGES): Likewise.
34972 (LC_MONETARY): Likewise.
34973 (LC_NUMERIC): Likewise.
34974 (LC_TIME): Likewise.
34975 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
34976 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
34977 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34978 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
34980 [C99-based standards] (float_t): Expect type.
34981 [C99-based standards] (double_t): Expect type.
34982 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
34984 [C99-based standards] (HUGE_VALL): Likewise.
34985 [C99-based standards] (INFINITY): Likewise.
34986 [C99-based standards] (NAN): Likewise.
34987 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
34988 [C99-based standards] (FP_NAN): Likewise.
34989 [C99-based standards] (FP_NORMAL): Likewise.
34990 [C99-based standards] (FP_SUBNORMAL): Likewise.
34991 [C99-based standards] (FP_ZERO): Likewise.
34992 [C99-based standards] (FP_FAST_FMA): Use
34993 optional-macro-int-constant. Specify type. Require == 1.
34994 [C99-based standards] (FP_FAST_FMAF): Likewise.
34995 [C99-based standards] (FP_FAST_FMAL): Likewise.
34996 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
34997 [C99-based standards] (FP_ILOGBNAN): Likewise.
34998 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
35000 [C99-based standards] (MATH_ERREXCEPT): Likewise.
35001 [C99-based standards] (math_errhandling): Specify type.
35002 [ISO99 || ISO11] (signgam): Do not allow.
35003 [non-C99-based standards] (copysignf): Do not allow.
35004 [non-C99-based standards] (exp2f): Likewise.
35005 [non-C99-based standards] (log2f): Likewise.
35006 [non-C99-based standards] (modff): Allow.
35007 [non-C99-based standards] (erff): Do not allow.
35008 [non-C99-based standards] (erfcf): Likewise.
35009 [non-C99-based standards] (gammaf): Likewise.
35010 [non-C99-based standards] (hypotf): Likewise.
35011 [non-C99-based standards] (j0f): Likewise.
35012 [non-C99-based standards] (j1f): Likewise.
35013 [non-C99-based standards] (jnf): Likewise.
35014 [non-C99-based standards] (lgammaf): Likewise.
35015 [non-C99-based standards] (tgammaf): Likewise.
35016 [non-C99-based standards] (y0f): Likewise.
35017 [non-C99-based standards] (y1f): Likewise.
35018 [non-C99-based standards] (ynf): Likewise.
35019 [non-C99-based standards] (isnanf): Likewise.
35020 [non-C99-based standards] (acoshf): Likewise.
35021 [non-C99-based standards] (asinhf): Likewise.
35022 [non-C99-based standards] (atanhf): Likewise.
35023 [non-C99-based standards] (cbrtf): Likewise.
35024 [non-C99-based standards] (expm1f): Likewise.
35025 [non-C99-based standards] (ilogbf): Likewise.
35026 [non-C99-based standards] (log1pf): Likewise.
35027 [non-C99-based standards] (logbf): Likewise.
35028 [non-C99-based standards] (nextafterf): Likewise.
35029 [non-C99-based standards] (remainderf): Likewise.
35030 [non-C99-based standards] (rintf): Likewise.
35031 [non-C99-based standards] (scalbf): Likewise.
35032 [non-C99-based standards] (copysignl): Likewise.
35033 [non-C99-based standards] (exp2l): Likewise.
35034 [non-C99-based standards] (log2l): Likewise.
35035 [non-C99-based standards] (modfl): Allow.
35036 [non-C99-based standards] (erfl): Do not allow.
35037 [non-C99-based standards] (erfcl): Likewise.
35038 [non-C99-based standards] (gammal): Likewise.
35039 [non-C99-based standards] (hypotl): Likewise.
35040 [non-C99-based standards] (j0l): Likewise.
35041 [non-C99-based standards] (j1l): Likewise.
35042 [non-C99-based standards] (jnl): Likewise.
35043 [non-C99-based standards] (lgammal): Likewise.
35044 [non-C99-based standards] (tgammal): Likewise.
35045 [non-C99-based standards] (y0l): Likewise.
35046 [non-C99-based standards] (y1l): Likewise.
35047 [non-C99-based standards] (ynl): Likewise.
35048 [non-C99-based standards] (isnanl): Likewise.
35049 [non-C99-based standards] (acoshl): Likewise.
35050 [non-C99-based standards] (asinhl): Likewise.
35051 [non-C99-based standards] (atanhl): Likewise.
35052 [non-C99-based standards] (cbrtl): Likewise.
35053 [non-C99-based standards] (expm1l): Likewise.
35054 [non-C99-based standards] (ilogbl): Likewise.
35055 [non-C99-based standards] (log1pl): Likewise.
35056 [non-C99-based standards] (logbl): Likewise.
35057 [non-C99-based standards] (nextafterl): Likewise.
35058 [non-C99-based standards] (remainderl): Likewise.
35059 [non-C99-based standards] (rintl): Likewise.
35060 [non-C99-based standards] (scalbl): Likewise.
35061 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35062 [non-C99-based standards] (FP_*): Do not allow.
35063 [C99-based standards] (FP_*): Change to
35064 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35065 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35067 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
35068 (SIG_ERR): Likewise.
35069 [X/Open-based standards] (SIG_HOLD): Likewise.
35070 (SIG_IGN): Likewise.
35071 (SIGABRT): Use macro-int-constant. Specify type. Require
35073 (SIGFPE): Likewise.
35074 (SIGILL): Likewise.
35075 (SIGINT): Likewise.
35076 (SIGSEGV): Likewise.
35077 (SIGTER): Likewise.
35078 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
35079 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
35080 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
35081 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
35082 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
35083 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
35084 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
35085 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
35086 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
35087 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
35088 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
35089 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
35090 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
35091 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
35092 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
35093 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
35094 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
35095 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
35096 [X/Open-based standards] (SIGTRAP): Likewise.
35097 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
35098 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
35099 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
35100 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
35101 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35104 2012-05-08 Ian Wienand <ianw@vmware.com>
35107 * time/tzset.c (__tzset_parse_tz): Update default rules for
35108 daylight time changes in the Energy Policy Act of 2005.
35110 2012-05-09 Andreas Jaeger <aj@suse.de>
35113 * elf/ldconfig.c (parse_conf): Change string to make clear that
35114 ldconfig only issued a warning if ld.so.conf does not exist.
35116 2012-05-08 David S. Miller <davem@davemloft.net>
35118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
35119 movxtod instead of popping the value on the stack.
35121 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35123 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
35125 * config.h.in: Add HAVE_ARM_PCS_VFP.
35127 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
35130 * include/features.h: Warn if user requests __FORTIFY_SOURCE
35131 checking but the checks are disabled for any reason.
35133 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
35135 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
35136 and ELF64_R_TYPE with ELFW(R_TYPE).
35138 2012-05-08 Joseph Myers <joseph@codesourcery.com>
35140 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
35141 (ulimit): Likewise.
35143 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
35144 (settimeofday): Likewise.
35146 2012-05-08 Mike Frysinger <vapier@gentoo.org>
35148 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
35149 a struct th_u2 inside the union, and move tu_block/tu_code into
35150 a new th_u3 union of tu_block/tu_code inside of that. Move
35151 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
35152 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
35153 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
35154 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
35155 (th_stuff): Change to th_u1.tu_stuff.
35157 (th_msg): Change to th_u1.th_u2.tu_data.
35159 2012-05-07 David S. Miller <davem@davemloft.net>
35161 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35164 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
35165 (SETUP_PIC_REG): Use it.
35166 (SETUP_PIC_REG_LEAF): Use it.
35168 2012-05-07 Joseph Myers <joseph@codesourcery.com>
35172 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35174 (EXPL_FINITE): Likewise.
35175 (FLDLOG): Likewise.
35176 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35177 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35179 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35181 (EXPL_FINITE): Likewise.
35182 (FLDLOG): Likewise.
35183 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35184 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35186 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
35187 test of -max_value argument for long double.
35188 * sysdeps/i386/fpu/libm-test-ulps: Update.
35189 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35191 2012-05-06 David S. Miller <davem@davemloft.net>
35193 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
35194 quad soft-float symbols whose references which are compiler
35196 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
35198 2012-05-06 Joseph Myers <joseph@codesourcery.com>
35202 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35204 (EXPL_FINITE): Likewise.
35205 (FLDLOG): Likewise.
35208 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
35209 Adjust comments for base varying.
35210 (__expl_finite): Change alias to EXPL_FINITE.
35211 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
35213 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
35214 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
35215 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
35216 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
35217 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35219 (EXPL_FINITE): Likewise.
35220 (FLDLOG): Likewise.
35223 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
35224 Adjust comments for base varying.
35225 (__expl_finite): Change alias to EXPL_FINITE.
35226 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
35228 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35231 * math/libm-test.inc (check_float_internal): Correct ulp
35232 calculation for subnormal expected results.
35234 2012-05-06 Andreas Jaeger <aj@suse.de>
35236 * Makeconfig (+math-flags): New, set to -frounding-math.
35237 (+cflags): Add +math-flags so that all of glibc gets compiled with
35240 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
35242 2012-05-05 Joseph Myers <joseph@codesourcery.com>
35244 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
35250 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
35251 (__ieee754_expl): Allow for and saturate large arguments.
35252 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
35253 (u_threshold): Likewise.
35254 (__exp): Call __ieee754_exp before checking for overflow and
35256 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
35257 (u_threshold): Likewise.
35258 (__expf): Call __ieee754_expf before checking for overflow and
35260 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
35261 (u_threshold): Likewise.
35262 (__expl): Call __ieee754_expl before checking for overflow and
35264 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
35265 (__ieee754_expl): Allow for and saturate large arguments.
35266 * math/libm-test.inc (exp_test): Add another test. Do not allow
35267 missing overflow exception on overflow.
35268 (expm1_test): Do not allow missing overflow exception on overflow.
35270 * sysdeps/i386/fpu/e_expl.c: Move to ...
35271 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
35272 rather than using inline asm.
35273 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
35274 * sysdeps/x86_64/fpu/e_expl.S: Copy from
35275 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
35277 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
35280 (signal): Likewise.
35284 2012-05-04 Joseph Myers <joseph@codesourcery.com>
35286 * sysdeps/unix/syscalls.list (adjtime): Add entry from
35287 sysdeps/unix/common/syscalls.list.
35288 (fchmod): Likewise.
35289 (fchown): Likewise.
35290 (ftruncate): Likewise.
35291 (getrusage): Likewise.
35292 (gettimeofday): Likewise.
35293 (setpgid): Likewise.
35294 (setregid): Likewise.
35295 (setreuid): Likewise.
35296 (sigaction): Likewise.
35297 (truncate): Likewise.
35298 (vhangup): Likewise.
35299 * sysdeps/unix/common/syscalls.list: Remove file.
35300 * sysdeps/unix/bsd/Implies: Don't include unix/common.
35301 * sysdeps/unix/sysv/linux/Implies: Likewise.
35303 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
35305 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
35306 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
35307 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
35309 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
35311 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
35313 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
35314 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
35316 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
35317 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
35319 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
35320 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
35322 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
35323 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
35325 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
35326 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
35328 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
35329 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
35331 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
35333 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
35335 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
35337 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
35339 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
35340 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
35342 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
35344 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
35346 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
35348 2012-05-04 Joseph Myers <joseph@codesourcery.com>
35350 * sysdeps/unix/common/bits/dirent.h: Remove file.
35351 * sysdeps/unix/common/bits/fcntl.h: Likewise.
35353 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
35354 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
35355 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
35356 * sysdeps/unix/bsd/isatty.c: Likewise.
35357 * sysdeps/unix/bsd/tcdrain.c: Likewise.
35358 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
35359 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
35361 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35364 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
35365 long double comparison inaccuracies.
35366 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
35367 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35369 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
35371 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
35372 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
35374 2012-05-04 Joseph Myers <joseph@codesourcery.com>
35377 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
35378 nonzero digits before rounding a hex value.
35379 * stdlib/tst-strtod.c (tests): Add another test.
35381 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35383 * sysdeps/s390/fpu/libm-test-ulps: Update.
35385 2012-05-03 Andreas Jaeger <aj@suse.de>
35387 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
35388 does not get optimized out.
35389 (malloc_opt_barrier): New.
35391 2012-05-03 Andreas Jaeger <aj@suse.de>
35392 Roland McGrath <roland@hack.frob.com>
35394 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
35395 intermediate file deletion.
35396 (generated): Add .symlist files.
35398 2012-05-03 Joseph Myers <joseph@codesourcery.com>
35401 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
35402 Redirect under this condition.
35403 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35404 [__USE_GNU] (__dprintf_chk): Not under this condition.
35405 [__USE_GNU] (__vdprintf_chk): Likewise.
35406 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
35407 under this condition.
35408 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35409 [__USE_XOPEN2K8] (dprintf): Define under this condition.
35410 [__USE_XOPEN2K8] (vdprintf): Likewise.
35411 [__USE_GNU] (__dprintf_chk): Not under this condition.
35412 [__USE_GNU] (__vdprintf_chk): Likewise.
35413 [__USE_GNU] (dprintf): Likewise.
35414 [__USE_GNU] (vdprintf): Likewise.
35416 2012-05-03 Roland McGrath <roland@hack.frob.com>
35418 * elf/Makefile (common-generated): Set this instead of generated for
35419 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
35420 $(all-built-dso)-derived lists.
35422 2012-05-03 Andreas Jaeger <aj@suse.de>
35424 * sysdeps/i386/fpu/libm-test-ulps: Update.
35427 * FAQ.in: Likewise.
35428 * scripts/gen-FAQ.pl: Likewise.
35429 * manual/install.texi (Installation): Point to online location of
35431 * Makefile (files-for-dist): Remove FAQ.
35434 2012-05-02 Allan McRae <allan@archlinux.org>
35436 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
35437 (LDFLAGS-reldepmod5.so): Likewise.
35438 (LDFLAGS-reldep6mod1.so): Likewise.
35439 (LDFLAGS-reldep6mod4.so): Likewise.
35440 (LDFLAGS-reldep8mod3.so): Likewise.
35441 (LDFLAGS-unload4mod1.so): Likewise.
35442 (LDFLAGS-unload4mod2.so): Likewise.
35443 (LDFLAGS-tst-initorder): Likewise.
35444 (LDFLAGS-tst-initordera2.so): Likewise.
35445 (LDFLAGS-tst-initordera3.so): Likewise.
35446 (LDFLAGS-tst-initordera4.so): Likewise.
35447 (LDFLAGS-tst-initorderb2.so): Likewise.
35448 (LDFLAGS-noload): Likewise.
35449 (LDFLAGS-next): Likewise.
35450 (LDFLAGS-order2mod1.so): Likewise.
35451 (LDFLAGS-order2mod2.so): Likewise.
35452 (LDFLAGS-tst-initorder2): Likewise.
35453 (LDFLAGS-tst-initorder2a.so): Likewise.
35454 (LDFLAGS-tst-initorder2b.so): Likewise.
35455 (LDFLAGS-tst-initorder2c.so): Likewise.
35456 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
35458 2012-05-02 David S. Miller <davem@davemloft.net>
35460 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35462 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
35465 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
35467 2012-05-02 Andreas Jaeger <aj@suse.de>
35469 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
35470 since we manipulate rounding mode.
35471 (CPPFLAGS-test-idouble.c): Likewise.
35472 (CPPFLAGS-test-ifloat.c): Likewise.
35473 (CFLAGS-test-ldouble.c): Likewise.
35474 (CFLAGS-test-double.c): Likewise.
35475 (CFLAGS-test-float.c): Likewise.
35476 (CFLAGS-test-misc.c): Likewise.
35477 (CFLAGS-test-test-fenv.c): Likewise.
35479 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35483 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
35484 comparisons to determine direction to adjust input.
35486 2012-05-01 Roland McGrath <roland@hack.frob.com>
35488 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
35489 output to the target.
35491 * scripts/localplt.awk: New file.
35492 * elf/Makefile ($(objpfx)check-localplt): Target removed.
35493 (check-localplt-CFLAGS): Variable removed.
35494 ($(all-built-dso:=.jmprel)): New static pattern rule.
35495 (generated): Add those targets.
35496 (localplt-built-dso): New variable.
35497 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
35499 * elf/check-localplt.c: File removed.
35501 * scripts/check-execstack.awk: New file.
35502 * elf/Makefile ($(objpfx)check-execstack): Target removed.
35503 (check-execstack-CFLAGS): Variable removed.
35504 ($(objpfx)check-execstack.h): Target removed.
35505 ($(objpfx)execstack-default): New target.
35506 (generated): Add that instead of check-execstack.h.
35507 ($(all-built-dso:=.phdr)): New static pattern rule.
35508 (generated): Add those targets.
35509 * elf/check-execstack.c: File removed.
35511 * scripts/check-textrel.awk: New file.
35512 * elf/Makefile ($(objpfx)check-textrel): Target removed.
35513 (check-textrel-CFLAGS): Variable removed.
35514 (all-built-dso): Use := to define.o
35515 ($(all-built-dso:=.dyn)): New static pattern rule.
35516 (generated): Add those targets.
35517 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
35518 * config.make.in (READELF): New substituted variable.
35519 * elf/check-textrel.c: File removed.
35521 2012-05-01 Joseph Myers <joseph@codesourcery.com>
35523 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35525 * conform/data/ctype.h-data [C99-based standards] (isblank):
35527 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
35528 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
35529 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35530 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
35531 Specify type. Require positive value.
35532 (EILSEQ): Likewise.
35533 (ERANGE): Likewise.
35534 [ISO || POSIX] (EILSEQ): Do not expect.
35535 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
35536 Specify type. Require positive value.
35537 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
35538 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
35539 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
35540 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
35541 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
35542 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
35543 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
35544 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
35545 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
35546 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
35547 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
35548 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
35549 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
35550 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
35551 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
35552 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
35553 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
35554 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
35555 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
35556 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
35557 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
35558 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
35559 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
35560 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
35561 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
35562 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
35563 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
35564 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
35565 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
35566 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
35567 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
35568 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
35569 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
35570 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
35571 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
35572 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
35573 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
35574 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
35575 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
35576 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
35577 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
35578 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
35579 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
35580 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
35581 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
35582 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
35583 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
35584 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
35585 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
35586 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
35587 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
35588 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
35589 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
35590 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
35591 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
35592 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
35593 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
35594 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
35595 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
35596 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
35597 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
35598 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
35599 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
35600 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
35601 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
35602 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
35603 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
35604 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
35605 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
35606 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
35607 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
35608 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
35609 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
35610 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
35611 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
35612 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
35613 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
35615 (FLT_ROUNDS): Expect as macro, not constant.
35616 (FLT_MANT_DIG): Use macro-int-constant.
35617 (DBL_MANT_DIG): Likewise.
35618 (LDBL_MANT_DIG): Likewise.
35619 (FLT_DIG): Likewise.
35620 (DBL_DIG): Likewise.
35621 (LDBL_DIG): Likewise.
35622 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
35623 (DBL_MIN_EXP): Likewise.
35624 (LDBL_MIN_EXP): Likewise.
35625 (FLT_MAX_EXP): Use macro-int-constant.
35626 (DBL_MAX_EXP): Likewise.
35627 (LDBL_MAX_EXP): Likewise.
35628 (FLT_MAX_10_EXP): Likewise.
35629 (DBL_MAX_10_EXP): Likewise.
35630 (LDBL_MAX_10_EXP): Likewise.
35631 (FLT_MAX): Use macro-constant.
35632 (DBL_MAX): Likewise.
35633 (LDBL_MAX): Likewise.
35634 (FLT_EPSILON): Use macro-constant. Give upper bound.
35635 (DBL_EPSILON): Likewise.
35636 (LDBL_EPSILON): Likewise.
35637 (FLT_MIN): Likewise.
35638 (DBL_MIN): Likewise.
35639 (LDBL_MIN): Likewise.
35640 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
35641 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
35642 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
35643 [ISO11] (FLT_HAS_SUBNORM): Likewise.
35644 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
35645 [ISO11] (DBL_DECIMAL_DIG): Likewise.
35646 [ISO11] (FLT_DECIMAL_DIG): Likewise.
35647 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
35648 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
35649 [ISO11] (FLT_TRUE_MIN): Likewise.
35650 [ISO11] (LDBL_TRUE_MIN): Likewise.
35651 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35652 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
35653 (SCHAR_MIN): Use macro-int-constant. Specify type.
35654 (SCHAR_MAX): Likewise.
35655 (UCHAR_MAX): Likewise.
35656 (CHAR_MIN): Likewise.
35657 (CHAR_MAX): Likewise.
35658 (MB_LEN_MAX): Use macro-int-constant.
35659 (SHRT_MIN): Use macro-int-constant. Specify type.
35660 (SHRT_MAX): Likewise.
35661 (USHRT_MAX): Likewise.
35662 (INT_MAX): Likewise.
35663 (INT_MIN): Use macro-int-constant. Specify type. Make upper
35665 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
35667 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
35669 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
35670 bound negative. Suffix upper bound with "L".
35671 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
35673 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
35675 [C99-based standards] (LLONG_MAX): Likewise.
35676 [C99-based standards] (ULLONG_MAX): Likewise.
35677 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
35679 [ISO11] (max_align_t): Require type.
35680 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35682 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
35683 from $CFLAGS, without defining away __attribute__ calls.
35684 (checknamespace): Use $CFLAGS_namespace.
35686 * conform/conformtest.pl (@keywords): Only include C99 keywords
35687 for standards based on C99 or C11.
35689 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
35691 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
35694 * conform/conformtest.pl: Handle "macro-int-constant" and test for
35695 usability of symbols in #if.
35697 * conform/conformtest.pl: If macro or constant types start
35698 "promoted:", expect the symbol to be of the following type
35699 promoted by the integer promotions.
35701 * conform/conformtest.pl: Parse all "constant" and "macro" lines
35702 in one place. Also handle "macro-constant".
35704 * conform/conformtest.pl: Only accept expected macro values with
35705 "==". Parse all "macro" lines in one place.
35706 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
35708 * conform/conformtest.pl: Handle braced types on "constant" lines
35709 instead of handling "typed-constant".
35710 * conform/data/signal.h-data: Use "constant" instead of
35713 * conform/conformtest.pl: Handle "optional-" at start of lines in
35714 one place rather than duplicating several cases. Handle each
35715 format of "macro" line with initial "optional-".
35717 * conform/conformtest.pl: Only accept expected constant or
35718 optional-constant values with "==". Parse all "constant" lines in
35719 one place. Parse all "optional-constant" lines in one place.
35720 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
35721 * conform/data/fmtmsg.h-data: Likewise.
35722 * conform/data/netinet/in.h-data: Likewise.
35723 * conform/data/tar.h-data: Likewise.
35724 * conform/data/limits.h-data: Use "==" form on "constant" and
35725 "optional-constant" lines.
35727 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
35728 Use -std=c99 for XOPEN2K.
35729 (@knownproblems): Remove.
35730 (newtoken): Don't check %isknown.
35732 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
35733 Do not expect macro.
35734 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
35735 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
35736 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
35737 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
35738 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
35739 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
35740 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
35741 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
35742 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
35743 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
35744 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
35745 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
35746 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
35747 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
35748 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
35749 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
35750 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
35751 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
35752 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
35753 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
35754 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
35755 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
35756 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
35757 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
35758 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
35759 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
35760 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
35761 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
35762 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
35763 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
35764 [XPG3] (acosh): Likewise.
35765 [XPG3] (asinh): Likewise.
35766 [XPG3] (atanh): Likewise.
35767 [XPG3] (cbrt): Likewise.
35768 [XPG3] (expm1): Likewise.
35769 [XPG3] (ilogb): Likewise.
35770 [XPG3] (log1p): Likewise.
35771 [XPG3] (logb): Likewise.
35772 [XPG3] (nextafter): Likewise.
35773 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
35774 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
35775 [XPG3] (remainder): Likewise.
35776 [XPG3] (rint): Likewise.
35777 [XPG3 || XPG4 || UNIX98] (round): Likewise.
35778 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
35779 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
35780 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
35781 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
35782 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
35783 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
35784 [UNIX98 || XOPEN2K] (scalb): Expect.
35785 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
35786 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
35787 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
35788 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
35789 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
35790 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
35791 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
35792 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
35793 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
35794 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
35795 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
35796 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
35797 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
35798 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
35799 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
35800 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
35801 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
35802 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
35803 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
35804 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
35805 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
35806 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
35807 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
35808 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
35809 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
35810 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
35811 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
35812 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
35813 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
35814 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
35815 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
35816 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
35817 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
35818 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
35819 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
35820 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
35821 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
35822 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
35823 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
35824 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
35825 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
35826 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
35827 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
35828 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
35829 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
35830 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
35831 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
35832 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
35833 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
35834 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
35835 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
35836 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
35837 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
35838 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
35839 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
35840 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
35841 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
35842 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
35843 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
35844 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
35845 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
35846 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
35847 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
35848 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
35849 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
35850 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
35851 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
35852 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
35853 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
35854 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
35855 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
35856 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
35857 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
35858 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
35859 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
35860 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
35861 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
35862 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
35863 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
35864 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
35865 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
35866 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
35867 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
35868 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
35869 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
35870 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
35871 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
35872 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
35873 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
35874 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
35875 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
35876 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
35877 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
35878 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
35879 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
35880 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
35881 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
35882 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
35883 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
35884 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
35885 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
35886 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
35887 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
35888 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
35889 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
35890 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
35891 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
35892 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
35893 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
35894 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
35895 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
35896 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
35897 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
35898 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
35899 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
35900 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
35901 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
35902 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
35903 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
35904 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
35905 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
35906 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
35907 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
35908 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
35909 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
35910 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
35911 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
35912 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
35913 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
35914 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
35915 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
35916 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
35917 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
35918 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
35919 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
35920 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
35921 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
35923 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
35924 _XOPEN_SOURCE_EXTENDED for XPG4.
35926 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
35928 * Makeconfig (localtime): Remove variable.
35929 (inst_localtime-file): Likewise.
35931 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
35933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
35935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
35939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
35941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
35943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
35945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
35949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
35952 2012-05-01 Joseph Myers <joseph@codesourcery.com>
35956 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
35957 comparisons to determine direction to adjust input.
35958 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
35959 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
35960 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
35962 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
35964 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
35966 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
35967 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
35969 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
35971 * math/libm-test.inc (nexttoward_test): Add more tests.
35973 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
35976 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
35977 in version GLIBC_2.1, not GLIBC_2.0.
35978 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
35981 2012-04-30 Joseph Myers <joseph@codesourcery.com>
35984 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
35986 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
35987 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
35988 * math/libm-test.inc (acos_test): Add more tests.
35989 (asin_test): Likewise.
35990 * sysdeps/i386/fpu/libm-test-ulps: Update.
35991 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35994 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
35996 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
35997 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
35998 * math/libm-test.inc (acos_test_tonearest): New function.
35999 (acos_test_towardzero): Likewise.
36000 (acos_test_downward): Likewise.
36001 (acos_test_upward): Likewise.
36002 (asin_test_tonearest): Likewise.
36003 (asin_test_towardzero): Likewise.
36004 (asin_test_downward): Likewise.
36005 (asin_test_upward): Likewise.
36006 (main): Call the new functions.
36007 * sysdeps/i386/fpu/libm-test-ulps: Update.
36008 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36012 * math/e_exp10.c: Include <float.h>.
36013 (__ieee754_exp10): Handle underflow here rather than multiplying
36014 large negative argument by M_LN10.
36015 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
36017 * math/e_exp10l.c: Include <float.h>.
36018 (__ieee754_exp10l): Handle underflow here rather than multiplying
36019 large negative argument by M_LN10l.
36020 * math/libm-test.inc (exp10_test): Add another test. Do not allow
36021 spurious overflow exception on underflow.
36023 2012-04-29 Marek Polacek <polacek@redhat.com>
36025 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
36026 (__fortify_function): New macro.
36027 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
36028 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
36029 __extern_always_inline.
36030 * libio/bits/stdio2.h: Likewise.
36031 * libio/bits/stdio.h: Likewise.
36032 * string/string.h: Likewise.
36033 * string/bits/string3.h: Likewise.
36034 * include/stdio.h: Likewise.
36035 * stdlib/bits/stdlib.h: Likewise.
36036 * stdlib/stdlib.h: Likewise.
36037 * rt/bits/mqueue2.h: Likewise.
36038 * rt/mqueue.h: Likewise.
36039 * posix/bits/unistd.h: Likewise.
36040 * posix/unistd.h: Likewise.
36041 * io/bits/poll2.h: Likewise.
36042 * io/bits/fcntl2.h: Likewise.
36043 * io/fcntl.h: Likewise.
36044 * io/sys/poll.h: Likewise.
36045 * misc/bits/syslog.h: Likewise.
36046 * misc/bits/syslog-ldbl.h: Likewise.
36047 * misc/sys/syslog.h: Likewise.
36048 * socket/bits/socket2.h: Likewise.
36049 * socket/sys/socket.h: Likewise.
36050 * debug/tst-chk1.c: Likewise.
36051 * wcsmbs/bits/wchar2.h: Likewise.
36052 * wcsmbs/bits/wchar-ldbl.h: Likewise.
36053 * wcsmbs/wchar.h: Likewise.
36055 2012-04-29 Andreas Jaeger <aj@suse.de>
36057 * Makerules (tests): Remove enable-check-abi protection.
36058 (check-abi-warn): Remove.
36059 (check-abi-%): Remove check-abi-warn usage.
36061 * configure.in: Remove check-abi configure option.
36062 * configure: Regenerated.
36063 * config.make.in (enable-check-abi): Remove.
36065 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
36068 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
36069 double functions to double *_finite functions.
36072 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
36073 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
36075 * stdio-common/Makefile (tests): Add tst-sprintf3.
36076 * stdio-common/tst-sprintf3.c: New file.
36078 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
36079 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
36081 2012-04-28 Joseph Myers <joseph@codesourcery.com>
36083 * conform/conformtest.pl: Remove duplicate typed-constant
36086 2012-04-28 David S. Miller <davem@davemloft.net>
36088 * Makerules (%.abilist): Add vpath on sysdep_dirs.
36089 (check-abi-%): Remove AWK script prerequisite and explicit
36091 (check-abi): Rewrite to just diff the symlist with the abilist.
36092 (config-tls, config-abi-config): Delete, no longer used.
36093 (update-abi-%): Remove AWK script and explicit abilist directory.
36094 (update-abi): Rewrite to simply compare and conditionally copy the
36095 symlist and the sysdep abilist file. Remove update-abi-config
36097 * abilist/ld.abilist: Remove.
36098 * abilist/libBrokenLocale.abilist: Remove.
36099 * abilist/libanl.abilist: Remove.
36100 * abilist/libcrypt.abilist: Remove.
36101 * abilist/libdl.abilist: Remove.
36102 * abilist/librt.abilist: Remove.
36103 * abilist/libthread_db.abilist: Remove.
36104 * abilist/libutil.abilist: Remove.
36105 * scripts/extract-abilist.awk: Remove.
36106 * scripts/merge-abilist.awk: Remove.
36107 * sysdeps/generic/libcidn.abilist: New file.
36108 * sysdeps/generic/libnss_compat.abilist: New file.
36109 * sysdeps/generic/libnss_db.abilist: New file.
36110 * sysdeps/generic/libnss_dns.abilist: New file.
36111 * sysdeps/generic/libnss_files.abilist: New file.
36112 * sysdeps/generic/libnss_hesiod.abilist: New file.
36113 * sysdeps/generic/libnss_nis.abilist: New file.
36114 * sysdeps/generic/libnss_nisplus.abilist: New file.
36115 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
36116 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
36117 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
36119 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
36120 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
36121 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
36122 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
36123 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
36124 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
36125 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
36126 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
36127 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
36129 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
36130 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
36131 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
36132 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
36134 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
36135 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
36136 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
36137 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
36138 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
36139 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
36141 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
36142 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
36143 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
36145 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
36146 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
36148 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
36150 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
36152 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
36154 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
36156 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
36158 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
36160 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
36162 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
36164 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
36166 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
36168 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
36170 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
36172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
36174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
36176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
36178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
36180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
36182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
36184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
36186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
36188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
36192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
36194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
36196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
36198 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
36199 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
36201 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
36203 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
36205 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
36207 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
36209 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
36211 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
36213 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36215 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
36217 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
36219 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
36221 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
36223 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
36224 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
36226 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
36228 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
36230 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
36232 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
36234 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
36236 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
36238 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36240 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
36242 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
36244 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
36246 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
36248 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
36249 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
36250 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
36252 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
36253 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
36254 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
36255 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
36256 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
36257 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
36258 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
36259 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
36260 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
36261 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
36262 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
36263 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
36265 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
36267 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
36269 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
36271 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
36273 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
36275 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
36277 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
36279 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
36281 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
36283 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
36285 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
36287 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
36288 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
36290 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
36292 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
36294 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
36296 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
36298 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
36300 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
36302 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
36304 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
36306 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
36308 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
36310 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
36313 2012-04-28 Joseph Myers <joseph@codesourcery.com>
36315 * conform/conformtest.pl: Fix typo in handling typed-constant from
36318 2012-04-27 Joseph Myers <joseph@codesourcery.com>
36320 * README: Cut down references to pre-2.6 Linux kernels and
36321 Linuxthreads. Update lists of configurations in libc and ports
36322 and sort alphabetically. Say "or newer" with Linux kernel version
36325 * config.h.in [IS_IN_build]: Allow compiling without optimization.
36327 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
36330 * math/libm-test.inc (logb_test_downward): New test to expose
36331 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
36334 2012-04-27 Joseph Myers <joseph@codesourcery.com>
36337 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
36339 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
36340 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
36342 2012-04-26 Joseph Myers <joseph@codesourcery.com>
36344 * sysdeps/unix/i386/brk.S: Remove file.
36345 * sysdeps/unix/i386/dl-brk.S: Likewise.
36346 * sysdeps/unix/i386/pipe.S: Likewise.
36347 * sysdeps/unix/i386/sigreturn.S: Likewise.
36348 * sysdeps/unix/i386/syscall.S: Likewise.
36349 * sysdeps/unix/i386/vfork.S: Likewise.
36350 * sysdeps/unix/i386/wait.S: Likewise.
36352 * sysdeps/unix/common/tcsendbrk.c: Move to ...
36353 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
36355 * configure.in (arm*-none*): Do not allow without
36356 --enable-hacker-mode.
36357 (netbsd*): Remove case setting base_os.
36358 (386bsd*): Likewise.
36359 (freebsd*): Likewise.
36362 (sunos*): Likewise.
36363 (ultrix*): Likewise.
36364 (newsos*): Likewise.
36365 (dynix*): Likewise.
36371 (minix*): Likewise.
36372 (irix4*): Likewise.
36373 (irix6*): Likewise.
36374 (solaris[2-9]*): Likewise.
36376 * configure: Regenerated.
36378 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36381 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
36382 overflow or cancellation in calculating denominator.
36383 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
36384 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
36385 down expression to avoid unexpected rounding in newer GCCs.
36386 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
36388 2012-04-26 David S. Miller <davem@davemloft.net>
36390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
36391 long-double compat symbols.
36392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
36393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
36394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
36395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
36396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
36397 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
36398 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
36399 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
36400 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
36401 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
36402 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
36403 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
36404 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
36406 2012-04-25 David S. Miller <davem@davemloft.net>
36408 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
36409 HWCAP_* values only after the memory barriers have been defined.
36410 (atomic_full_barrier): Define.
36411 (atomic_read_barrier): Define.
36412 (atomic_write_barrier): Define.
36414 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
36416 * shlib-versions: Add libgcc_s version information.
36417 * sysdeps/generic/libgcc_s.h: Remove.
36418 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
36420 * sysdeps/gnu/unwind-resume.c: Likewise.
36421 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
36423 2012-04-25 David S. Miller <davem@davemloft.net>
36425 * sysdeps/unix/sparc/brk.S: Delete.
36426 * sysdeps/unix/sparc/dl-brk.S: Delete.
36427 * sysdeps/unix/sparc/pipe.S: Delete.
36428 * sysdeps/unix/sparc/sysdep.S: Delete.
36429 * sysdeps/unix/sparc/sysdep.h: Delete.
36430 * sysdeps/unix/sparc/vfork.S: Delete.
36431 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
36432 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
36433 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
36434 (ret_ERRVAL, r0, r1, MOVE): Define.
36435 (JUMPTARGET): Remove.
36436 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
36437 sysdeps/unix/sparc/sysdep.h
36438 (ENTRY, END): Remove.
36439 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36441 2012-04-25 Joseph Myers <joseph@codesourcery.com>
36443 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
36444 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
36447 * timezone/README: Update upstream location and email address for
36449 * timezone/zdump.c: Update from tzcode 2012b.
36450 * timezone/zic.c: Likewise.
36452 * configure.in (libc_cv_as_needed): Remove test.
36453 * configure: Regenerated.
36454 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
36455 conditional definition.
36456 [$(have-as-needed) != yes] (no-as-needed): Likewise.
36457 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
36458 * config.make.in (have-as-needed): Remove variable.
36460 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
36461 Paul Pluzhnikov <ppluzhnikov@google.com>
36463 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
36466 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
36468 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
36469 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
36470 * sysdeps/sh/strlen.S: Likewise.
36472 2012-04-24 Joseph Myers <joseph@codesourcery.com>
36474 * sysdeps/unix/fork.S: Remove file.
36475 * sysdeps/unix/i386/fork.S: Likewise.
36476 * sysdeps/unix/sparc/fork.S: Likewise.
36478 * sysdeps/unix/system.c: Remove file.
36479 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
36481 * sysdeps/unix/getegid.S: Remove file.
36482 * sysdeps/unix/geteuid.S: Likewise.
36484 2012-04-24 Roland McGrath <roland@hack.frob.com>
36486 * scripts/check-localplt.awk: New file.
36487 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
36489 * scripts/data/localplt-generic.data: Add a comment.
36491 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
36492 NODE when __dir_mkfile failed.
36493 * sysdeps/mach/hurd/symlinkat.c: Likewise.
36494 Reported by Ludovic Courtès <ludo@gnu.org>.
36496 2012-04-24 Andreas Jaeger <aj@suse.de>
36498 * Makerules (common-clean): Also remove gen-as-const-headers
36501 2012-04-24 Joseph Myers <joseph@codesourcery.com>
36503 * Makerules (native-compile): Do not change working directory for
36504 build. Use $(OUTPUT_OPTION) in command.
36505 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
36507 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36510 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
36511 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
36512 * math/libm-test.inc (floor_test): Add more tests.
36513 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
36515 2012-04-24 Joseph Myers <joseph@codesourcery.com>
36517 * sysdeps/unix/getdents.c: Remove file.
36518 * sysdeps/unix/sysv/getdents.c: Likewise.
36519 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
36521 * sysdeps/unix/syscalls.list (madvise): Add syscall from
36522 sysdeps/unix/mman/syscalls.list.
36524 (mprotect): Likewise.
36526 (munmap): Likewise.
36527 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
36528 * sysdeps/unix/mman/syscalls.list: Remove.
36529 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
36531 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
36532 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
36533 * configure: Regenerated.
36534 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
36535 $(libgcc_s_suffix).
36536 * config.make.in (libgcc_s_suffix): Remove variable.
36538 2012-04-23 Joseph Myers <joseph@codesourcery.com>
36540 * sysdeps/unix/sysv/gethostname.c: Move to ...
36541 * sysdeps/posix/gethostname.c: ... here.
36543 * sysdeps/unix/execve.S: Remove file.
36545 * sysdeps/unix/_exit.S: Remove file.
36547 2012-04-23 Andreas Jaeger <aj@suse.de>
36550 * manual/Makefile: Remove make dist support, there's no
36551 need for a stand-alone documentation tar ball.
36552 (TEXI2DVI): Define always, it's not in Makeconfig.
36555 (edition): Removed.
36556 (glibc-doc-$(edition).tar): Removed
36560 (ETAGS): Remove, it's in Makeconfig.
36561 (move-if-change): Remove, it's in Makeconfig.
36563 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
36566 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
36567 (strtod, strtof, strtold, strtol, strtoul, strtoq)
36568 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
36569 (strtod_l, strtof_l, strtold_l): Remove __wur.
36570 It is not necessarily an error to ignore strtol's return value.
36571 One can reliably look at the stored endptr to decide whether
36572 the number had valid syntax.
36574 2012-04-21 Andreas Jaeger <aj@suse.de>
36577 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
36579 2012-04-21 Joseph Myers <joseph@codesourcery.com>
36581 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
36582 * sysdeps/unix/sysv/Versions: Remove file.
36584 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
36587 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36589 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
36592 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
36593 version from __vm86.
36595 2012-04-20 Joseph Myers <joseph@codesourcery.com>
36597 * sysdeps/unix/common/lxstat.c: Remove file.
36598 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
36600 * sysdeps/unix/sysv/Makefile: Remove file.
36602 * sysdeps/unix/sysv/direct.h: Remove file.
36604 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
36605 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
36606 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
36607 * sysdeps/unix/sysv/bits/signum.h: Likewise.
36608 * sysdeps/unix/sysv/bits/stat.h: Likewise.
36609 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
36610 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
36612 * sysdeps/unix/sysv/setrlimit.c: Remove file.
36614 * sysdeps/unix/xmknod.c: Remove file.
36615 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
36617 * sysdeps/unix/sysv/settimeofday.c: Remove file.
36619 * sysdeps/unix/sysv/i386/time.S: Remove file.
36621 * sysdeps/unix/fxstat.c: Remove file.
36622 * sysdeps/unix/xstat.c: Likewise.
36623 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
36625 * sysdeps/unix/sysv/sigaction.c: Remove file.
36627 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
36628 (sysdep_headers): Remove variable.
36629 [termio.h not in sysdep_headers] (generated): Likewise.
36630 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
36631 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
36632 * sysdeps/unix/sysv/tcdrain.c: Likewise.
36633 * sysdeps/unix/sysv/tcflow.c: Likewise.
36634 * sysdeps/unix/sysv/tcflush.c: Likewise.
36635 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
36636 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
36637 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
36638 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
36639 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
36641 * sysdeps/unix/siglist.c: Remove file.
36643 * sysdeps/unix/getppid.S: Remove file.
36645 * sysdeps/unix/mkdir.c: Remove file.
36646 * sysdeps/unix/rmdir.c: Likewise.
36648 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
36650 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
36652 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
36653 errlist-compat value.
36655 2012-04-18 David S. Miller <davem@davemloft.net>
36657 * sysdeps/generic/memcopy.h (reg_char): Delete.
36658 * debug/strcat_chk.c: Use char, not reg_char.
36659 * debug/strcpy_chk.c: Likewise.
36660 * debug/strncat_chk.c: Likewise.
36661 * debug/strncpy_chk.c: Likewise.
36662 * string/memchr.c: Likewise.
36663 * string/memrchr.c: Likewise.
36664 * string/rawmemchr.c: Likewise.
36665 * string/strcat.c: Likewise.
36666 * string/strchr.c: Likewise.
36667 * string/strchrnul.c: Likewise.
36668 * string/strcmp.c: Likewise.
36669 * string/strcpy.c: Likewise.
36670 * string/strncat.c: Likewise.
36671 * string/strncmp.c: Likewise.
36672 * string/strncpy.c: Likewise.
36674 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
36676 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
36677 __builtin_memcopy is called when src and dest ranges are known to not
36680 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
36682 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
36683 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
36684 fwd_align_merge macro call.
36685 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
36686 bwd_align_merge macro call.
36687 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36689 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
36691 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
36692 bwd_align_merge macros.
36693 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
36694 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
36695 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36697 2012-04-18 David S. Miller <davem@davemloft.net>
36699 * sysdeps/sparc/sparc64/memcopy.h: Delete.
36701 2012-04-18 Andreas Jaeger <aj@suse.de>
36704 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
36705 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
36706 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36708 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
36709 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
36710 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36712 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
36713 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
36714 Adjust for changed ldbl-128 files.
36716 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
36717 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
36718 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36720 2012-04-17 David S. Miller <davem@davemloft.net>
36722 * sysdeps/sparc/sparc32/memcopy.h: Delete.
36724 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
36726 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
36727 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
36728 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
36729 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
36730 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
36731 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
36733 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36736 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
36737 * math/libm-test.inc: Add ilogb errno and exception tests.
36738 * math/w_ilogb.c: New file: ilogb wrapper.
36739 * math/w_ilogbf.c: New file: ilogbf wrapper.
36740 * math/w_ilogbl.c: New file: ilogbl wrapper.
36741 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
36742 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
36743 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
36744 exception being thrown with 0.0 as argument.
36745 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
36746 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
36747 exception being thrown with 0.0 as argument.
36748 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
36749 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
36750 exception being thrown with 0.0 as argument.
36751 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
36752 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
36753 exception being thrown with 0.0 as argument.
36754 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
36755 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
36756 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
36757 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
36758 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
36759 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
36760 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
36761 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
36762 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
36764 2012-04-17 Petr Baudis <pasky@ucw.cz>
36766 * include/sys/uio.h: Change __vector to __iovec to avoid clash
36769 2012-04-16 Marek Polacek <polacek@redhat.com>
36771 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
36773 2012-04-16 Marek Polacek <polacek@redhat.com>
36775 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
36776 operands of fdivp instruction.
36778 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
36780 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
36781 * elf/tst-auditmod3b.c: Likewise.
36782 * elf/tst-auditmod4b.c: Likewise.
36783 * elf/tst-auditmod5b.c: Likewise.
36784 * elf/tst-auditmod6b.c: Likewise.
36785 * elf/tst-auditmod6c.c: Likewise.
36786 * elf/tst-auditmod7b.c: Likewise.
36787 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
36788 * sysdeps/x86_64/preconfigure.in: Likewise.
36789 * sysdeps/x86_64/preconfigure: Regenerated.
36791 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
36793 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
36796 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
36798 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36799 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
36801 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
36804 * locale/iso-639.def: Fix gl language name. Spotted by
36807 2012-04-12 Roland McGrath <roland@hack.frob.com>
36810 * libio/libio.h (__io_write_fn): Update comment.
36812 2012-04-12 Petr Baudis <pasky@ucw.cz>
36815 * stdio.texi (Hook Functions): The user provided writer function
36816 is not allowed to return -1.
36818 2012-04-11 David S. Miller <davem@davemloft.net>
36820 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36822 2012-04-11 Mike Frysinger <vapier@gentoo.org>
36824 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
36825 Add a leading slash to rtkaio.
36827 2012-04-11 Jim Meyering <meyering@redhat.com>
36830 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
36831 It is not necessarily an error to ignore fwrite's return
36832 value. One can reliably use ferror to test for errors after
36835 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
36837 * bits/types.h (__snseconds_t): New type.
36838 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
36840 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
36841 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36842 (__SNSECONDS_T_TYPE): Likewise.
36843 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36844 (__SNSECONDS_T_TYPE): Likewise.
36845 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36846 (__SNSECONDS_T_TYPE): Likewise.
36848 2012-04-10 Andreas Jaeger <aj@suse.de>
36851 * manual/time.texi (Processor Time): Return type of times is
36852 elapsed real time since an arbitrary point in the past.
36853 (CPU Time): Move CLK_TCK from here...
36854 (Processor Time): ...to here. Correct description.
36855 * manual/conf.texi (Constants for Sysconf): Correct description of
36858 2012-04-10 David S. Miller <davem@davemloft.net>
36861 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
36862 where the is a gap between DT_REL(A) and DT_JMPREL.
36864 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
36866 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
36867 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
36868 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
36870 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
36872 * elf/dl-support.c (_dl_inhibit_cache): New variable.
36873 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
36874 (dl_main): Handle --inhibit-cache.
36875 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
36877 * elf/dl-load.c (_dl_map_object): Use it.
36878 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
36880 2012-04-09 Joseph Myers <joseph@codesourcery.com>
36883 * sysdeps/i386/fpu/e_powl.S (p78): New object.
36884 (__ieee754_powl): Saturate large exponents rather than testing for
36885 overflow of y*log2(x).
36886 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36887 * math/libm-test.inc (pow_test): Do not permit spurious overflow
36891 * math/s_ctan.c: Include <float.h>.
36892 (__ctan): Avoid internal overflow or cancellation in calculating
36894 * math/s_ctanf.c: Likewise.
36895 * math/s_ctanl.c: Likewise.
36896 * math/s_ctanh.c: Likewise.
36897 * math/s_ctanhf.c: Likewise.
36898 * math/s_ctanhl.c: Likewise.
36899 * math/libm-test.inc (ctan_test): Add more tests.
36900 (ctanh_test): Likewise.
36901 * sysdeps/i386/fpu/libm-test-ulps: Update.
36902 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36904 2012-04-09 Andreas Jaeger <aj@suse.de>
36907 * manual/filesys.texi (Directory Entries): Mention that d_namlen
36908 is an optional BSD extension.
36911 * manual/stdio.texi (Opening Streams): Document additional fopen
36914 2012-04-09 Roland McGrath <roland@hack.frob.com>
36916 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
36917 %eax without telling the compiler.
36919 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
36922 * manual/install.texi: Use sourceware.org.
36924 2012-04-09 Joseph Myers <joseph@codesourcery.com>
36927 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
36928 (__ieee754_pow): Generate overflow and underflow using huge*huge
36929 and tiny*tiny rather than just returning constant infinity or zero
36930 for large exponents.
36931 * math/libm-test.inc (pow_test): Require overflow exceptions for
36932 applicable cases of large exponents.
36935 * sysdeps/i386/fpu/e_pow.S (p10): New object.
36936 (__ieee754_pow): Use iterative multiplication algorithm only for
36937 integer exponents with absolute value below 1024. Check for odd
36938 integer exponents when using algorithm for real exponents.
36939 * math/libm-test.inc (pow_test): Add more tests.
36940 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36942 2012-04-08 Joseph Myers <joseph@codesourcery.com>
36945 * math/libm-test.inc (exp_test): Do not allow overflow exception
36948 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
36951 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
36952 instead of __kernel_standard_f.
36954 2012-04-08 Mike Frysinger <vapier@gentoo.org>
36956 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
36957 * sysdeps/x86_64/memset_chk.S: Likewise.
36959 2012-04-08 Andreas Jaeger <aj@suse.de>
36962 * manual/startup.texi (Environment Access): Describe return value
36963 for putenv and setenv.
36966 * manual/filesys.texi (Directory Entries): Add description for
36970 * manual/filesys.texi (Directory Entries): Clarify that it's file
36971 system not operating system in the description of DT_UNKNOWN.
36974 * manual/syslog.texi (closelog): Fix reference, it's openlog.
36976 2012-04-08 Stephen Compall <s11@member.fsf.org>
36979 * manual/llio.texi (Opening and Closing Files): Add cross
36980 reference to explain mode argument.
36982 2012-04-07 Mike Frysinger <vapier@gentoo.org>
36984 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
36985 * sysdeps/x86_64/memset_chk.S: Likewise.
36987 2012-04-07 David S. Miller <davem@davemloft.net>
36989 * elf/elf.h (R_SPARC_WDISP10): Define.
36990 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
36992 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
36993 R_SPARC_SIZE64 and R_SPARC_H34.
36995 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
36997 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
36998 conditions and remove no longer applicable assertion.
37000 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
37002 * bits/byteswap.h: Include <features.h>.
37003 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
37004 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
37006 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
37008 * bits/byteswap.h (__bswap_16): Removed.
37009 Include <bits/byteswap-16.h> to get __bswap_16.
37010 * sysdeps/i386/bits/byteswap.h: Likewise.
37011 * sysdeps/s390/bits/byteswap.h: Likewise.
37012 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37013 * bits/byteswap-16.h: New file.
37014 * sysdeps/i386/bits/byteswap-16.h: Likewise.
37015 * sysdeps/s390/bits/byteswap-16.h: Likewise.
37016 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
37017 * string/Makefile (headers): Add bits/byteswap-16.h.
37019 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
37022 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
37024 * nss/Makefile (tests-static, tests): Add tst-nss-static.
37025 * nss/tst-nss-static.c: New.
37027 2012-04-06 Robert Millan <rmh@gnu.org>
37030 * manual/llio.texi (File Position Primitive): lseek
37031 refers to WHENCE when it really means OFFSET.
37033 2012-04-06 Andreas Jaeger <aj@suse.de>
37035 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
37036 strncmp declarations.
37038 * abilist/libc.abilist: Add __poll and __ppoll.
37040 2012-04-05 David S. Miller <davem@davemloft.net>
37042 * scripts/check-local-headers.sh: Accept a host triplet in the
37043 path matched by the exclude regexp.
37045 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
37047 * sysdeps/powerpc/powerpc32/dl-machine.h
37048 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
37049 * sysdeps/s390/s390-32/dl-machine.h
37050 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37051 * sysdeps/sparc/sparc32/dl-machine.h
37052 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37053 * sysdeps/sparc/sparc64/dl-machine.h
37054 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37056 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
37058 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
37059 undefined symbol errors.
37061 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
37064 2012-04-05 Michael Matz <matz@suse.de>
37067 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
37069 2012-04-05 Andreas Jaeger <aj@suse.de>
37072 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
37075 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37077 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
37078 which ROUND is no valid rounding mode.
37080 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37082 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
37084 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
37086 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37088 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
37089 an exception using FPU order intentionally.
37091 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37093 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
37094 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
37095 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
37096 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
37098 2012-04-05 Simon Josefsson <simon@josefsson.org>
37101 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
37102 EINVAL when BUFLEN is too smal.
37104 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
37107 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
37108 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
37110 2012-04-03 Andreas Jaeger <aj@suse.de>
37113 * manual/setjmp.texi (System V contexts): Fix sentence.
37116 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
37117 New macro for this case.
37118 [!__GNUC__] (__bswap_64): New inline function for this case.
37119 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37120 * bits/byteswap.h: Likewise.
37121 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
37122 ull, guard with __GLIBC_HAVE_LONG_LONG.
37124 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
37125 __GLIBC_HAVE_LONG_LONG.
37127 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
37128 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
37130 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37133 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
37134 inptr and inend, rather than using last_ch.
37136 2012-04-02 David S. Miller <davem@davemloft.net>
37138 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
37139 * stdio-common/printf-parse.h (read_int): Change return type to
37140 'int', return -1 on INT_MAX overflow.
37141 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
37142 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
37143 overflows INT_MAX. Check for overflow of in-format-string precision
37144 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
37145 SIZE_MAX not INT_MAX for integer overflow test.
37146 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
37147 skip the construct in the format string but do not record anything.
37148 * stdio-common/bug22.c: Adjust to test both width/prevision
37149 INT_MAX overflow as well as total length INT_MAX overflow. Check
37150 explicitly for proper errno values.
37152 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
37154 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
37156 * string/test-strcmp.c [! WIDE]: Likewise.
37157 * time/tst-mktime2.c: Likewise for INT_MAX.
37158 * string/test-string.h: #include <sys/param.h> for MIN.
37160 * csu/init-first.c (__libc_init_first): Call __ctype_init.
37161 * sysdeps/i386/init-first.c (init): Likewise.
37162 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
37163 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
37164 * sysdeps/sh/init-first.c (init): Likewise.
37166 2012-04-01 Ulrich Drepper <drepper@gmail.com>
37168 * po/ru.po: Update from translation team.
37169 * po/vi.po: Likewise.
37171 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
37173 * resolv/nss_dns/dns-host.c: Merge copyright years.
37175 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37177 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37178 Optimize memcpy with prefetch if
37179 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
37180 src, dst pointers have unequal 16 byte alignments.
37182 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
37185 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
37186 from a CNAME entry and return the minimum ttl for the query.
37187 (gaih_getanswer_slice): Likewise.
37189 2012-03-30 Jeff Law <law@redhat.com>
37191 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
37193 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
37194 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
37196 * resolv/nss_dns/dns-host.c: Update copyright year.
37198 2012-03-30 Ulrich Drepper <drepper@gmail.com>
37200 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
37201 requests to save a system call. Fix check that all bytes are sent.
37203 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
37204 comments for sendmmsg.
37206 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37209 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
37210 with only 1 character between 0x0041 and 0x01b0.
37211 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
37212 * wcsmbs/tst-mbsnrtowcs.c: New file.
37214 2012-03-29 David S. Miller <davem@davemloft.net>
37216 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
37217 small copies by hand.
37219 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37222 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
37223 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
37226 2012-03-28 David S. Miller <davem@davemloft.net>
37228 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
37229 that branches into memcpy.
37230 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
37231 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
37232 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
37233 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
37234 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
37236 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
37237 implementation too.
37238 * sysdeps/sparc/mempcpy.S: New file.
37240 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
37241 the IFUNC routine in the libc case.
37242 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
37244 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
37245 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
37246 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
37247 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
37248 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
37249 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
37250 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
37251 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
37253 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
37254 loop to 256 bytes instead of 64 bytes and fix test signedness.
37256 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
37257 * sysdeps/sparc/sparc32/Makefile: rather than here...
37258 * sysdeps/sparc/sparc64/Makefile: and here.
37260 2012-03-28 Ulrich Drepper <drepper@gmail.com>
37262 * malloc/mallocbug.c: Avoid warnings about unused variables.
37264 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
37267 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
37268 in the right place. Discard and retry query if response is
37269 larger than input buffer size.
37271 2012-03-28 Joseph Myers <joseph@codesourcery.com>
37276 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
37277 x for large integer exponent.
37278 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
37279 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
37280 sign of result as needed afterwards.
37281 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
37282 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
37283 result for underflowing pow the same as for overflow.
37284 (__kernel_standard_l): Handle powl overflow and underflow here
37285 rather than calling __kernel_standard.
37286 * math/libm-test.inc (pow_test): Add more tests.
37301 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
37302 * sysdeps/ieee754/k_standard.c: Include <float.h>.
37303 (__kernel_standard_l): New function.
37304 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
37306 * math/w_acosl.c (__acosl): Likewise.
37307 * math/w_asinl.c (__asinl): Likewise.
37308 * math/w_atan2l.c (__atan2l): Likewise.
37309 * math/w_atanhl.c (__atanhl): Likewise.
37310 * math/w_coshl.c (__coshl): Likewise.
37311 * math/w_exp10l.c (__exp10l): Likewise.
37312 * math/w_exp2l.c (__exp2l): Likewise.
37313 * math/w_fmodl.c (__fmodl): Likewise.
37314 * math/w_hypotl.c (__hypotl): Likewise.
37315 * math/w_j0l.c (__j0l, __y0l): Likewise.
37316 * math/w_j1l.c (__j1l, __y1l): Likewise.
37317 * math/w_jnl.c (__jnl, __ynl): Likewise.
37318 * math/w_lgammal.c (__lgammal): Likewise.
37319 * math/w_log10l.c (__log10l): Likewise.
37320 * math/w_log2l.c (__log2l): Likewise.
37321 * math/w_logl.c (__logl): Likewise.
37322 * math/w_powl.c (__powl): Likewise.
37323 * math/w_remainderl.c (__remainderl): Likewise.
37324 * math/w_scalbl.c (sysv_scalbl): Likewise.
37325 * math/w_sinhl.c (__sinhl): Likewise.
37326 * math/w_sqrtl.c (__sqrtl): Likewise.
37327 * math/w_tgammal.c (__tgammal): Likewise.
37328 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
37329 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
37330 * math/libm-test.inc (acos_test): Add more tests.
37331 (acosh_test): Likewise.
37332 (asin_test): Likewise.
37333 (atanh_test): Likewise.
37334 (exp_test): Likewise.
37335 (exp10_test): Likewise.
37336 (exp2_test): Likewise.
37337 (expm1_test): Likewise.
37338 (lgamma_test): Likewise.
37339 (log_test): Likewise.
37340 (log10_test): Likewise.
37341 (log1p_test): Likewise.
37342 (log2_test): Likewise.
37343 (pow_test): Do not allow some spurious overflow exceptions.
37344 (sqrt_test): Add more tests.
37345 (tgamma_test): Likewise.
37346 (y0_test): Likewise.
37347 (y1_test): Likewise.
37348 (yn_test): Likewise.
37350 2012-03-27 Anton Blanchard <anton@samba.org>
37352 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
37354 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37355 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
37356 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37358 2012-03-27 David S. Miller <davem@davemloft.net>
37360 * conform/Makefile: Run run-conformtest.sh using $(BASH).
37362 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
37363 have-as-vis3 check.
37365 2012-03-27 Andreas Jaeger <aj@suse.de>
37367 * sysdeps/x86_64/elf/configure.in: Moved to ...
37368 * sysdeps/x86_64/configure.in: ... here.
37369 * sysdeps/x86_64/elf/start.S: Moved to ...
37370 * sysdeps/x86_64/start.S: ... here.
37371 * sysdeps/x86_64/elf/configure: Delete.
37373 * sysdeps/x86_64/configure.in: Merge contents from
37374 sysdeps/i386/configure.in (without i686 check).
37376 * sysdeps/i386/elf/Versions: Merge into ...
37377 * sysdeps/i386/Versions: ... this.
37378 * sysdeps/i386/elf/Versions: Delete file.
37379 * sysdeps/i386/elf/start.S: Moved to ...
37380 * sysdeps/i386/start.S: ...here.
37381 * sysdeps/i386/elf/configure.in: Merge into...
37382 * sysdeps/i386/configure.in: ...here.
37383 * sysdeps/i386/elf/configure.in: Delete file.
37384 * sysdeps/i386/elf/configure: Delete file.
37386 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
37387 * debug/backtracesyms.c: ... here.
37388 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
37389 * debug/backtracesymsfd.c: ... here.
37390 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
37391 * sysdeps/generic/ifunc-sel.h: ... here.
37393 * sysdeps/unix/i386/start.c: Delete file.
37394 * sysdeps/unix/sparc/start.c: Delete file.
37395 * sysdeps/unix/start.c: Delete file.
37397 * sysdeps/sh/elf/configure.in: Moved to ...
37398 * sysdeps/sh/configure.in: ... here.
37399 * sysdeps/sh/elf/start.S: Moved to ...
37400 * sysdeps/sh/start.S: ... here.
37401 * sysdeps/sh/elf/configure: Delete file.
37403 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
37404 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
37405 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
37406 * sysdeps/powerpc/powerpc64/entry.h: ... here.
37407 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
37408 * sysdeps/powerpc/powerpc64/start.S: here.
37409 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
37410 * sysdeps/powerpc/powerpc64/Makefile: ... this.
37411 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
37412 * sysdeps/powerpc/powerpc64/configure.in: ... this.
37413 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
37415 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
37416 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
37417 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
37418 * sysdeps/powerpc/powerpc32/start.S: ... here.
37419 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
37420 * sysdeps/powerpc/powerpc32/configure.in: ... this.
37421 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
37423 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
37424 * sysdeps/powerpc/ifunc-sel.h: ... here.
37425 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
37426 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
37428 * sysdeps/sparc/elf/configure.in: Moved to ...
37429 * sysdeps/sparc/configure.in: ... here.
37430 * sysdeps/sparc/elf/configure: Delete file.
37431 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
37432 * sysdeps/sparc/sparc32/start.S: ... here.
37433 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
37434 * sysdeps/sparc/sparc64/start.S: ... here.
37435 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
37436 * sysdeps/sparc/sparc32/Makefile: ... this.
37437 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
37438 * sysdeps/sparc/sparc64/Makefile: ... this.
37440 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
37441 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
37442 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
37443 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
37444 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
37445 * sysdeps/s390/s390-32/setjmp.S: ... here.
37446 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
37447 * sysdeps/s390/s390-32/configure.in: ... here.
37448 * sysdeps/s390/s390-32/elf/configure: Delete file.
37449 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
37450 * sysdeps/s390/s390-32/start.S: ... here.
37452 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
37453 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
37454 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
37455 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
37456 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
37457 * sysdeps/s390/s390-64/setjmp.S: ... here.
37458 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
37459 * sysdeps/s390/s390-64/configure.in: ... here
37460 * sysdeps/s390/s390-64/elf/configure: Delete file.
37461 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
37462 * sysdeps/s390/s390-64/start.S: ... here.
37463 * sysdeps/s390/s390-64/elf/configure: Delete.
37465 * configure.in: Remove support for elf directories in sysdeps.
37467 * configure: Regenerated.
37468 * sysdeps/i386/configure: Regenerated.
37469 * sysdeps/powerpc/powerpc32/configure: Regenerated.
37470 * sysdeps/powerpc/powerpc64/configure: Regenerated.
37471 * sysdeps/s390/s390-32/configure: Regenerated.
37472 * sysdeps/s390/s390-64/configure: Regenerated.
37473 * sysdeps/sh/configure: Regenerated.
37474 * sysdeps/sparc/configure: Regenerated.
37475 * sysdeps/x86_64/configure: Regenerated.
37477 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
37479 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37481 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
37482 denormal result into account.
37484 2012-03-25 Roland McGrath <roland@hack.frob.com>
37486 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
37487 Reported by Allan McRae <allan@archlinux.org>.
37489 2012-03-23 Jeff Law <law@redhat.com>
37491 * nss/getnssent.c (__nss_getent): Fix typo.
37493 2012-03-23 David S. Miller <davem@davemloft.net>
37495 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37497 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
37499 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
37500 to pad to uint64_t for each field.
37501 (dl_tls_index): Replace unsigned long with uint64_t.
37503 2012-03-23 Daniel Jacobowitz <dmj@google.com>
37504 Paul Pluzhnikov <ppluzhnikov@google.com>
37507 * grp/Makefile (otherlibs): Don't set it.
37508 * inet/Makefile (otherlibs): Likewise.
37509 * login/Makefile (otherlibs): Likewise.
37510 * nscd/Makefile (otherlibs): Likewise.
37511 * posix/Makefile (otherlibs): Likewise.
37512 * pwd/Makefile (otherlibs): Likewise.
37513 * rt/Makefile (otherlibs): Likewise.
37514 * sunrpc/Makefile (otherlibs): Likewise.
37515 * nss/Makefile (otherlibs): Likewise.
37516 Add libnss_files to routines and static-only-routines.
37517 ($(objpfx)getent): Remove rule.
37518 * resolv/Makefile: Add libnss_dns and libresolv to routines and
37519 static-only-routines.
37521 2012-03-22 Joseph Myers <joseph@codesourcery.com>
37524 * math/s_cexp.c: Include <float.h>.
37525 (__cexp): Handle exp result overflowing not necessarily
37526 overflowing both real and imaginary parts of result.
37527 * math/s_cexpf.c: Likewise.
37528 * math/s_cexpl.c: Likewise.
37529 * math/libm-test.inc (cexp_test): Add more tests.
37530 * sysdeps/i386/fpu/libm-test-ulps: Update.
37531 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37533 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37535 * include/link.h (ELFW): New macro.
37536 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
37537 Replace ELF64_R_TYPE with ELFW(R_TYPE).
37539 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37541 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
37544 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37546 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
37548 (struct La_x32_retval): Likewise.
37550 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37552 * sysdeps/x86_64/preconfigure.in: New file.
37553 * sysdeps/x86_64/preconfigure: New generated file.
37555 2012-03-22 Joseph Myers <joseph@codesourcery.com>
37558 * math/e_exp2l.c: Include <float.h>.
37559 (__ieee754_exp2l): Handle overflow and underflow cases
37560 separately. Only pass fractional part of argument to
37562 * math/libm-test.inc (exp2_test): Add more tests.
37564 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
37565 negating x to take absolute value.
37566 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
37568 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
37569 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
37571 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
37572 computing low part if x was negated.
37573 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
37575 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
37577 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
37578 la_x32_gnu_pltexit.
37579 (pltexit): Cast int_retval to ptrdiff_t.
37580 * elf/tst-auditmod3b.c: Likewise.
37581 * elf/tst-auditmod4b.c: Likewise.
37582 * elf/tst-auditmod5b.c: Likewise.
37583 * elf/tst-auditmod6b.c: Likewise.
37584 * elf/tst-auditmod6c.c: Likewise.
37585 * elf/tst-auditmod7b.c: Likewise.
37587 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
37588 and x32_gnu_pltexit.
37590 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
37591 __ELF_NATIVE_CLASS.
37592 (La_x32_regs): New macro.
37593 (La_x32_retval): Likewise.
37594 (la_x32_gnu_pltenter): New function prototype.
37595 (la_x32_gnu_pltexit): Likewise.
37597 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
37599 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
37602 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37604 * configure.in (libc_cv_cc_nofma): Check for option to disable
37605 generation of FMA instructions.
37606 * configure: Regenerate.
37607 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
37608 * sysdeps/ieee754/dbl-64/Makefile: New file.
37609 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
37610 Remove brandred-fma4.
37611 (CFLAGS-brandred-fma4.c): Remove.
37612 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
37613 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
37615 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
37618 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
37620 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
37621 LLONG_MAX != LONG_MAX.
37622 (_itoa_word): Use _ITOA_WORD_TYPE on value.
37623 (_fitoa_word): Likewise.
37624 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
37625 LLONG_MAX != LONG_MAX.
37626 * stdio-common/_itowa.h: Include <_itoa.h>.
37627 (_itowa_word): Use _ITOA_WORD_TYPE on value.
37628 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
37629 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
37630 only if not defined.
37631 (_ITOA_WORD_TYPE): Likewise.
37632 (_itoa_word): Use _ITOA_WORD_TYPE on value.
37633 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
37635 2012-03-21 David S. Miller <davem@davemloft.net>
37637 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37639 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
37641 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
37642 of x86_64 when setting libc_cv_slibdir, libdir and
37644 * sysdeps/unix/sysv/linux/configure: Regenerated.
37646 2012-03-21 Joseph Myers <joseph@codesourcery.com>
37648 * manual/lang.texi (Old Varargs): Remove section.
37649 (How Variadic): Update menu.
37650 (va_start): Do not mention varargs.h.
37652 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
37653 Joseph Myers <joseph@codesourcery.com>
37655 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
37657 * configure: Regenerated.
37659 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
37661 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
37662 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
37665 2012-03-21 Joseph Myers <joseph@codesourcery.com>
37668 * Makefile (files-for-dist): Remove NOTES.
37669 (NOTES): Remove rule.
37670 * README: Don't refer to NOTES.
37671 * manual/creature.texi: Don't include macros.texi.
37672 * manual/intro.texi (creature.texi): Remove comment referring to
37675 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
37676 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
37677 * configure: Regenerated.
37678 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
37679 LIBC_TRY_CC_OPTION.
37680 (libc_cv_as_i686): Likewise.
37681 (libc_cv_cc_avx): Likewise.
37682 (libc_cv_cc_sse2avx): Likewise.
37683 (libc_cv_cc_fma4): Likewise.
37684 (libc_cv_cc_novzeroupper): Likewise.
37685 * sysdeps/i386/configure: Regenerated.
37688 * sysdeps/i386/fpu/s_cexp.S: Remove.
37689 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
37690 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
37691 * math/libm-test.inc (cexp_test): Add more tests.
37692 * sysdeps/i386/fpu/libm-test-ulps: Update.
37693 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37695 2012-03-21 Allan McRae <allan@archlinux.org>
37697 * timezone/Makefile: Do not install iso3166.tab and zone.tab
37699 2012-03-21 Joseph Myers <joseph@codesourcery.com>
37702 * math/w_exp2.c: Do not include <float.h>.
37703 (o_threshold, u_threshold): Remove.
37704 (__exp2): Calculate result before checking finiteness and calling
37706 * math/w_exp2f.c: Likewise.
37707 * math/w_exp2l.c: Likewise.
37708 * math/libm-test.inc (exp2_test): Require overflow exception for
37712 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
37713 range of signed 64-bit integers before using fistpll. Remove
37714 checks for whether integers fit in mantissa bits.
37715 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
37716 the range of signed 32-bit integers before using fistpl. Remove
37717 checks for whether integers fit in mantissa bits.
37718 * sysdeps/i386/fpu/e_powl.S (p64): New object.
37719 (__ieee754_powl): Test for y outside the range of signed 64-bit
37720 integers before using fistpll. Reduce 64-bit values to 63-bit
37722 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
37723 divide-by-zero is raised for zero to large negative powers.
37724 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
37725 (__ieee754_powl): Test for y outside the range of signed 64-bit
37726 integers before using fistpll. Reduce 64-bit values to 63-bit
37728 * math/libm-test.inc (pow_test): Add more tests.
37730 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
37732 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
37733 <stdio-common/_itoa.h>.
37734 * debug/segfault.c: Likewise.
37735 * elf/dl-cache.c: Likewise.
37736 * elf/dl-minimal.c: Likewise.
37737 * elf/dl-misc.c: Likewise.
37738 * elf/dl-sysdep.c: Likewise.
37739 * elf/dl-version.c: Likewise.
37740 * elf/rtld.c: Likewise.
37741 * hurd/hurdsock.c: Likewise.
37742 * hurd/lookup-retry.c: Likewise.
37743 * malloc/malloc.c: Likewise.
37744 * malloc/mtrace.c: Likewise.
37745 * nscd/nscd_getgr_r.c: Likewise.
37746 * nscd/nscd_getpw_r.c: Likewise.
37747 * nscd/nscd_getserv_r.c: Likewise.
37748 * posix/getopt_init.c: Likewise.
37749 * posix/wordexp.c: Likewise.
37750 * stdio-common/_itoa.c: Likewise.
37751 * stdio-common/printf_fphex.c: Likewise.
37752 * stdio-common/vfprintf.c: Likewise.
37753 * string/_strerror.c: Likewise.
37754 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
37755 * sysdeps/i386/i686/hp-timing.h: Likewise.
37756 * sysdeps/mach/_strerror.c: Likewise.
37757 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
37758 * sysdeps/mach/hurd/sethostid.c: Likewise.
37759 * sysdeps/mach/hurd/xmknodat.c: Likewise.
37760 * sysdeps/mach/xpg-strerror.c: Likewise.
37761 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
37762 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
37763 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
37764 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
37765 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
37766 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
37767 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
37768 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
37769 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
37770 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
37771 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
37772 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
37773 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
37774 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
37775 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
37776 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
37777 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
37778 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
37779 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
37780 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
37781 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
37783 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
37785 * stdio-common/_itoa.h: Moved to ...
37786 * sysdeps/generic/_itoa.h: Here.
37788 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
37790 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
37791 instead of "_itoa.h" and "_itowa.h".
37792 * stdio-common/vfprintf.: Likewise.
37794 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
37796 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
37798 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
37799 (__signbit): Likwise.
37800 (llrintf): Likwise.
37803 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
37805 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
37808 2012-03-20 Joseph Myers <joseph@codesourcery.com>
37810 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
37811 OVERFLOW_EXCEPTION_OK.
37812 * math/libm-test.inc ("Philosophy"): Update comment about
37814 (OVERFLOW_EXCEPTION): Define.
37815 (OVERFLOW_EXCEPTION_OK): Likewise.
37816 (INVALID_EXCEPTION_OK): Renumber.
37817 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
37818 (IGNORE_ZERO_INF_SIGN): Likewise.
37819 (test_exceptions): Handle FE_OVERFLOW.
37820 (exp10_test): Expect overflow exceptions.
37821 (exp2_test): Likewise.
37822 (expm1_test): Likewise.
37823 (nextafter_test): Likewise.
37824 (pow_test): Likewise.
37825 (scalbn_test): Likewise.
37826 (scalbln_test): Likewise.
37828 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37830 * sysdeps/x86_64/bits/atomic.h
37831 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
37833 (atomic_exchange_acq): Likewise.
37834 (__arch_exchange_and_add_body): Likewise.
37835 (__arch_add_body): Likewise.
37836 (atomic_add_negative): Likewise.
37837 (atomic_add_zero): Likewise.
37839 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37841 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
37842 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
37844 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37846 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
37847 Check __x86_64__ instead of __WORDSIZE.
37849 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37851 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
37853 2012-03-19 David S. Miller <davem@davemloft.net>
37855 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37857 * sysdeps/sparc/fpu/fenv_private.h: New file.
37858 * sysdeps/sparc/fpu/math_private.h: Use it.
37859 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
37861 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
37862 (libc_feholdexcept_setroundl): Remove.
37863 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
37865 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
37866 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
37868 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37870 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
37871 int64_t instead of long int.
37872 (INSERT_WORDS64): Likwise.
37874 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37876 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
37877 _Unwind_GetCFA return to _Unwind_Ptr first.
37879 2012-03-19 Joseph Myers <joseph@codesourcery.com>
37882 * math/s_clog.c: Include <float.h>.
37883 (__clog): Scale large or subnormal inputs.
37884 * math/s_clogf.c: Likewise.
37885 * math/s_clogl.c: Likewise.
37886 * math/s_clog10.c: Include <float.h>.
37887 (M_LOG10_2): Define.
37888 (__clog10): Scale large or subnormal inputs.
37889 * math/s_clog10f.c: Likewise.
37890 * math/s_clog10l.c: Likewise.
37891 * math/libm-test.inc (clog_test): Add more tests.
37892 (clog10_test): Likewise.
37893 * sysdeps/i386/fpu/libm-test-ulps: Update.
37894 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37897 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
37899 * math/libm-test.inc (atan2_test): Add another test.
37901 * Makerules (common-objdir-compile): Remove.
37902 * sysdeps/unix/Makefile (config-generated): Do not add
37903 $(unix-generated) to variable.
37904 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
37905 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
37907 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
37909 [generic bits/local_lim.h] (before-compile): Do not append to
37911 [generic bits/local_lim.h] (common-generated): Likewise.
37912 [generic sys/param.h] (before-compile): Do not append to variable.
37913 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
37914 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
37915 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
37916 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
37918 [generic sys/param.h] (sys/param.h-includes): Remove variable.
37919 [generic sys/param.h] (sys/param.h-includes): Remove rule.
37920 [generic sys/param.h] ($(addprefix
37921 $(common-objpfx),$(sys/param.h-includes))): Likewise.
37922 [generic sys/param.h] (common-generated): Do not append to
37924 [generic sys/param.h] (sysdep_headers): Likewise.
37925 [generic bits/errno.h] (before-compile): Do not append to
37927 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
37929 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
37930 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
37931 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
37932 [generic bits/errno.h] (common-generated): Do not append to
37934 [generic bits/ioctls.h] (before-compile): Do not append to
37936 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
37938 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
37939 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
37940 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
37942 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
37943 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
37944 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
37945 [generic bits/ioctls.h] (common-generated): Do not append to
37947 [generic sys/syscall.h] (syscall.h): Remove variable.
37948 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
37950 [generic sys/syscall.h] (before-compile): Do not append to
37952 [generic sys/syscall.h] (common-generated): Likewise.
37953 * sysdeps/unix/errnos-tmpl.c: Remove file.
37954 * sysdeps/unix/errnos.awk: Likewise.
37955 * sysdeps/unix/ioctls-tmpl.c: Likewise.
37956 * sysdeps/unix/ioctls.awk: Likewise.
37957 * sysdeps/unix/mk-local_lim.c: Likewise.
37958 * sysdeps/unix/snarf-ioctls: Likewise.
37960 2012-03-19 Richard Henderson <rth@twiddle.net>
37962 * sysdeps/i386/fpu/fenv_private.h: New file.
37963 * sysdeps/i386/fpu/math_private.h: Use it.
37964 (math_opt_barrier, math_force_eval): Remove.
37965 (libc_feholdexcept_setround_53bit): Remove.
37966 (libc_feupdateenv_53bit): Remove.
37967 * sysdeps/x86_64/fpu/math_private.h: Likewise.
37968 (math_opt_barrier, math_force_eval): Remove.
37969 (libc_feholdexcept): Remove.
37970 (libc_feholdexcept_setround): Remove.
37971 (libc_fetestexcept, libc_fesetenv): Remove.
37972 (libc_feupdateenv_test): Remove.
37973 (libc_feupdateenv, libc_feholdsetround): Remove.
37974 (libc_feresetround): Remove.
37976 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
37977 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
37979 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
37980 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
37981 (libc_feupdateenv_testl): New.
37982 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
37983 (libc_feupdateenv_testf): New.
37984 (libc_feupdateenv): Use libc_feupdateenv_test.
37985 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
37986 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
37988 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
37989 (libc_feholdsetroundf, libc_feholdsetroundl): New.
37990 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
37991 (libc_feresetround_noex): New.
37992 (libc_feresetround_noexf): New.
37993 (libc_feresetround_noexl): New.
37994 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
37995 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
37996 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
37997 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
37999 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
38000 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
38002 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
38003 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
38004 SET_RESTORE_ROUND_NOEX.
38005 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
38006 SET_RESTORE_ROUND_NOEXF.
38007 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
38008 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
38009 (libc_feholdsetroundf): New.
38010 (libc_feresetround, libc_feresetroundf): New.
38012 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
38013 (libc_feholdexcept_setround_53bit): Convert from macro to function.
38014 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
38016 * sysdeps/generic/math_private.h: Include <fenv.h>.
38017 (default_libc_feholdexcept): New.
38018 (default_libc_feholdexcept_setround): New.
38019 (default_libc_fesetenv, default_libc_feupdateenv): New.
38020 (libc_feholdexcept): Only define if undefined.
38021 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
38022 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
38023 (libc_feholdexcept_setroundl): Likewise.
38024 (libc_feholdexcept_setround_53bit): Likewise.
38025 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
38026 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
38027 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
38028 (libc_feupdateenv_53bit): Likewise.
38029 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
38030 (libc_feholdexcept): Convert from macro to inline function.
38031 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
38032 (libc_fesetenv, libc_feupdateenv): Likewise.
38034 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
38035 not previously defined.
38036 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
38037 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
38038 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
38039 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
38040 * sysdeps/ieee754/flt-32/math_private.h: New file.
38041 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
38042 math_private.h below SET_FLOAT_WORD.
38043 (__isnan, __isinf_ns, __finite): Remove.
38044 (__isnanf, __isinf_nsf, __finitef): Remove.
38046 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
38048 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38050 2012-03-17 David S. Miller <davem@davemloft.net>
38053 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
38056 2012-03-16 David S. Miller <davem@davemloft.net>
38058 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
38062 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
38064 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
38065 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
38066 sysdep_routines when subdir is sysvipc.
38067 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
38068 __getshmlba helper.
38070 * sysdeps/sparc/fpu/libm-test/ulps: Update.
38072 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38074 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
38077 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38079 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
38080 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
38081 (__lround): Renamed to ...
38082 (__llround): This. Replace long int with long long int.
38083 Define lround functions as aliases of llround functions.
38084 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
38086 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38088 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
38089 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
38090 adresses to uintptr_t. Replace "long int" and "unsigned long
38091 int" with "greg_t" on va_arg.
38093 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38095 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
38096 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
38098 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
38099 Move e_machine check before EI_CLASS check. Handle x32
38100 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
38101 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
38102 SKIP_EM_IA_64 and include
38103 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
38105 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
38106 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
38107 (add_system_dir): New macro.
38109 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
38110 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
38112 2012-03-16 Joseph Myers <joseph@codesourcery.com>
38123 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
38125 * math/w_j0f.c (j0f): Likewise.
38127 * math/w_j0l.c (__j0l): Likewise.
38129 * math/w_j1.c (j1): Likewise.
38131 * math/w_j1f.c (j1f): Likewise.
38133 * math/w_j1l.c (__j1l): Likewise.
38135 * math/w_jn.c (jn): Likewise.
38137 * math/w_jnf.c (jnf): Likewise.
38139 * math/w_jnl.c (__jnl): Likewise.
38141 * math/libm-test.inc (j0_test): Add more tests.
38142 (j1_test): Likewise.
38143 (jn_test): Likewise. Add trailing semicolon to existing test.
38144 (y0_test): Likewise.
38145 (y1_test): Likewise.
38146 * sysdeps/i386/fpu/libm-test-ulps: Update.
38147 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38151 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
38152 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
38153 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
38154 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
38155 (__tanl): Set errno for infinite argument.
38156 * sysdeps/i386/fpu/mptan.c: Remove.
38157 * sysdeps/i386/fpu/s_tan.S: Likewise.
38158 * sysdeps/i386/fpu/s_tanl.S: Likewise.
38159 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
38160 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
38161 * math/libm-test.inc (tan_test): Add more tests and enable more
38162 tests for double and long double.
38163 * sysdeps/i386/fpu/libm-test-ulps: Update.
38164 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38166 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
38168 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
38169 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
38171 2012-03-16 Roland McGrath <roland@hack.frob.com>
38173 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
38174 * configure.in: Use it for both main tree and add-ons.
38175 * configure: Regenerated.
38177 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38179 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
38181 2012-03-16 Joseph Myers <joseph@codesourcery.com>
38183 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
38187 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
38188 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
38189 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
38190 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
38191 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
38193 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
38194 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
38195 != 0 for prec == 2.
38196 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
38197 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
38198 * sysdeps/i386/fpu/s_cosl.S: Likewise.
38199 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
38200 * sysdeps/i386/fpu/s_sinl.S: Likewise.
38201 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
38202 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
38203 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
38204 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
38205 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
38206 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
38207 * math/libm-test.inc (cos_test): Add more tests and enable more
38208 tests for long double.
38209 (sin_test): Likewise.
38210 (sincos_test): Likewise.
38211 * sysdeps/i386/fpu/libm-test-ulps: Update.
38212 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38214 2012-03-16 David S. Miller <davem@davemloft.net>
38216 * sysdeps/sparc/fpu/math_private.h: New file.
38218 2012-03-15 David S. Miller <davem@davemloft.net>
38220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
38222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
38223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
38225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
38226 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
38227 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
38228 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
38229 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
38230 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
38232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38234 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
38235 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
38237 * sysdeps/sparc/sparc-ifunc.h: New file.
38238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
38240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
38241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
38243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
38245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
38246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
38247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
38250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
38251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
38252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
38253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
38254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
38256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
38258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
38259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
38260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
38261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
38262 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
38263 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
38264 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
38265 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
38266 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
38267 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
38268 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
38269 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
38270 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
38271 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
38272 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
38273 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
38274 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
38275 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
38276 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
38277 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
38278 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
38279 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
38280 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
38281 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
38283 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
38285 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
38287 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38289 2012-03-15 Andreas Jaeger <aj@suse.de>
38292 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
38293 ieee754/flt-32 implementation for sin, cos and sincos.
38294 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
38295 * sysdeps/i386/fpu/s_cosf.S: Likewise.
38296 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
38297 * sysdeps/i386/fpu/s_sinf.S: Likewise.
38298 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
38299 ieee754/flt-32 implementation for tan.
38301 * math/libm-test.inc (cos_test): Enable some large input tests for
38303 (sin_test): Likewise.
38304 (sincos_test): Likewise.
38305 (tan_test): Add tests for large input.
38307 * sysdeps/i386/fpu/libm-test-ulps: Update.
38309 2012-03-15 Andreas Jaeger <aj@suse.de>
38312 * math/libm-test.inc (cos_test): Add more test cases.
38313 (sin_test): Likewise.
38314 (sincos_test): Likewise.
38316 2012-03-15 Andreas Jaeger <aj@suse.de>
38319 * math/libm-test.inc (cos_test): Add a test case for large input
38321 (sin_test): Likewise.
38322 (sincos_test): Likewise.
38324 2012-03-15 Andreas Jaeger <aj@suse.de>
38325 Joseph Myers <joseph@codesourcery.com>
38328 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
38329 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
38330 * sysdeps/i386/fpu/branred.c: Likewise.
38331 * sysdeps/i386/fpu/dosincos.c: Likewise.
38332 * sysdeps/i386/fpu/mpa.c: Likewise.
38333 * sysdeps/i386/fpu/s_cos.S: Likewise.
38334 * sysdeps/i386/fpu/s_sin.S: Likewise.
38335 * sysdeps/i386/fpu/s_sincos.S: Likewise.
38336 * sysdeps/i386/fpu/sincos32.c: Likewise.
38338 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
38340 (libc_feupdateenv_53bit): Define.
38341 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
38343 (libc_feupdateenv_53bit): Define.
38345 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
38346 53 bit (without extend i386 double precision).
38348 * math/libm-test.inc (sincos_test): Add tests for large input.
38352 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
38354 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
38356 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38358 2012-03-15 David S. Miller <davem@davemloft.net>
38360 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
38361 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
38362 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
38363 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
38364 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
38365 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
38366 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
38367 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
38368 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
38369 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
38370 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
38371 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
38372 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
38373 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
38374 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
38375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
38377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
38378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
38380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
38381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
38383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
38384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
38386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
38387 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
38388 fmin/fmax sysdep routines.
38389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38391 2012-03-14 David S. Miller <davem@davemloft.net>
38393 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
38394 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
38395 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
38396 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
38397 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
38398 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
38399 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
38400 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
38401 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
38402 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
38403 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
38404 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
38405 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
38406 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
38407 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
38408 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
38409 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
38410 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
38411 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
38412 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
38413 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
38414 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
38415 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
38416 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
38417 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
38418 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
38419 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
38420 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
38421 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
38423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
38425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
38426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
38428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
38429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
38431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
38432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
38434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
38435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
38437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
38438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
38440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
38442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
38444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
38446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
38448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
38450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
38452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
38453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
38455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
38456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
38458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
38459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
38461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
38462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
38465 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
38468 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38470 * sysdeps/sparc/configure.in: New file.
38471 * sysdeps/sparc/configure: Generate.
38472 * configure.in (libc_cv_sparc_as_vis3): Substitute.
38473 * configure: Regenerate.
38474 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
38475 * config.make.in (have-as-vis3): New.
38476 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
38477 available use -Av9d instead of -Av9a.
38478 * sysdeps/sparc/sparc64/Makefile: Likewise.
38479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
38480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
38482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
38484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
38486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
38488 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
38489 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
38490 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
38491 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
38492 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
38494 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
38495 fzeros/fnegs to load 0x80000000 into a float register instead of
38497 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
38499 2012-03-14 Joseph Myers <joseph@codesourcery.com>
38501 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38503 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
38504 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
38505 ($(inst_includedir)/bits/syscall.h): Remove rule.
38506 ($(objpfx)bits/syscall.d): Include instead of
38507 $(objpfx)syscall-list.d.
38508 (generated): Change syscall-list.h and syscall-list.d to
38509 bits/syscall.h and bits/syscall.d.
38511 2012-03-14 Roland McGrath <roland@hack.frob.com>
38514 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
38516 2012-03-14 Joseph Myers <joseph@codesourcery.com>
38519 * math/s_csqrt.c: Include <float.h>.
38520 (__csqrt): Scale large or subnormal inputs.
38521 * math/s_csqrtf.c: Likewise.
38522 * math/s_csqrtl.c: Likewise.
38523 * math/libm-test.inc (csqrt_test): Add more tests.
38524 * sysdeps/i386/fpu/libm-test-ulps: Update.
38525 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38528 * math/libm-test.inc (hypot_test): Add more tests.
38530 2012-03-13 David S. Miller <davem@davemloft.net>
38533 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
38534 double-precision for the calculation instead of scaling.
38536 2012-03-13 Joseph Myers <joseph@codesourcery.com>
38538 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
38539 manipulate bits before adding and subtracting TWO52[sx].
38540 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
38541 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
38543 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
38545 2012-03-13 David S. Miller <davem@davemloft.net>
38547 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
38548 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
38549 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
38550 rtld-global-offsets.h
38551 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38553 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
38556 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
38558 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
38559 'err' in the ifdef scope in which it is actually used.
38561 * nss/nss_db/db-init.c: Include string.h
38563 2012-03-12 David S. Miller <davem@davemloft.net>
38565 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
38566 masking out of the most significant byte of random value used.
38567 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38568 Fix coding style in previous change.
38570 * sysdeps/unix/sysv/linux/kernel-features.h
38571 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
38572 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
38574 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
38577 2012-03-11 David S. Miller <davem@davemloft.net>
38579 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
38580 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
38581 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
38582 for 'resultvar' otherwise things get truncated on 64-bit.
38584 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38585 Fix masking out of the most significant byte of random value used.
38587 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38589 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
38591 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38593 2012-03-09 David S. Miller <davem@davemloft.net>
38595 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
38596 variables with appropriate CPP guards.
38597 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
38598 from the frame pointer, not the stack pointer. Correct layout
38599 comments. Fix test on resulting framesize and the management of
38600 the outregs buffer for pltexit. Preserve floating point return
38601 values across _dl_call_pltexit call.
38602 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
38603 framesize and the management of the outregs buffer for pltexit.
38604 Preserve floating point return values across _dl_call_pltexit
38606 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
38607 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
38608 (la_sparc64_gnu_pltexit): New functions.
38609 (print_exit): Fix format string for return register value.
38611 2012-03-10 Joseph Myers <joseph@codesourcery.com>
38613 * sunrpc/Makefile (others): Add rpcgen.
38614 ($(objpfx)rpcgen): Remove special build rule and dependency on
38616 * sunrpc/rpcgen.c: New file.
38618 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
38621 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
38622 * stdio-common/bug-vfprintf-nargs.c: Likewise.
38623 * sysdeps/i386/crti.S: Likewise.
38624 * sysdeps/i386/crtn.S: Likewise.
38625 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
38626 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
38627 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
38628 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
38629 * sysdeps/sh/crti.S: Likewise.
38630 * sysdeps/sh/crtn.S: Likewise.
38631 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
38634 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
38636 * locale/programs/locfile-kw.gperf: Likewise.
38637 * locale/programs/charmap-kw.h: Regenerated.
38638 * locale/programs/locfile-kw.h: Likewise.
38641 * intl/plural.y: Replace FSF snail mail address with URL.
38642 * intl/plural.c: Regenerated.
38644 2012-03-09 Richard Henderson <rth@twiddle.net>
38646 * include/math_private.h: Remove file.
38647 * math/math_private.h: Move file ...
38648 * sysdeps/generic/math_private.h: ... here.
38650 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
38651 * sysdeps/powerpc/fpu/math_private.h: Likewise.
38652 * sysdeps/x86_64/fpu/math_private.h: Likewise.
38654 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
38655 and <math_private.h>.
38656 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
38657 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
38658 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
38659 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
38660 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
38661 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
38662 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38663 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38664 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38665 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38666 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38667 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38668 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38669 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38670 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38671 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38672 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38673 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38674 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38675 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38676 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38677 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38678 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38679 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38680 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
38681 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38682 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38683 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38684 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38685 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38686 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38687 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38688 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
38689 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38690 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38691 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38692 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38693 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38694 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
38695 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38696 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
38697 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
38698 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
38699 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
38700 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
38701 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
38702 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
38703 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
38704 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38705 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
38706 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
38707 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
38708 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
38709 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
38710 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
38711 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
38712 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38713 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
38714 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
38715 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
38716 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38717 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
38718 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38719 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
38720 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
38721 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38722 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38723 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38724 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
38725 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
38726 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
38727 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38728 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
38729 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38730 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
38731 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
38732 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
38733 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
38734 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
38735 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
38736 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
38737 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
38738 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
38739 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
38740 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
38741 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
38742 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
38743 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
38744 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38745 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38746 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38747 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38748 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38749 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38750 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38751 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38752 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38753 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38754 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38755 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38756 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38757 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38758 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38759 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38760 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
38761 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38762 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38763 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38764 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
38765 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
38766 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
38767 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
38768 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38769 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
38770 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
38771 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38772 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
38773 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
38774 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
38775 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
38776 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
38777 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
38778 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38779 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
38780 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
38781 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
38782 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38783 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
38784 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
38785 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
38786 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
38787 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
38788 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
38789 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
38790 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
38791 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
38792 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
38793 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
38794 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
38795 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
38796 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38797 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
38798 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
38799 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
38800 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
38801 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
38802 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
38803 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
38804 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
38805 * sysdeps/ieee754/k_standard.c: Likewise.
38806 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38807 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38808 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38809 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38810 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38811 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38812 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38813 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38814 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38815 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38816 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38817 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38818 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38819 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38820 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38821 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38822 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
38823 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38824 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38825 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
38826 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
38827 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
38828 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
38829 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
38830 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
38831 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
38832 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
38833 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
38834 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
38835 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
38836 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
38837 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
38838 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
38839 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
38840 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
38841 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
38842 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
38843 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
38844 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
38845 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
38846 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
38847 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
38848 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
38849 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
38850 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
38851 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
38852 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
38853 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
38854 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
38855 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
38856 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
38857 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
38858 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
38859 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
38860 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
38861 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
38862 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
38863 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
38864 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
38865 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
38866 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
38867 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
38868 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
38869 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38870 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38871 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38872 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38873 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38874 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38875 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38876 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38877 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38878 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38879 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38880 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38881 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38882 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
38883 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38884 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38885 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
38886 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
38887 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
38888 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
38889 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
38890 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
38891 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
38892 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
38893 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
38894 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
38895 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
38896 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
38897 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
38898 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
38899 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
38900 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
38901 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
38902 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
38903 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
38904 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
38905 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
38906 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
38907 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
38908 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
38909 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
38910 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
38911 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
38912 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
38913 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
38914 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
38915 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
38916 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
38917 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
38918 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38919 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38920 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38921 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38922 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
38923 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38924 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38925 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
38926 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38927 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
38928 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38929 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
38930 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38931 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
38932 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
38933 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
38934 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
38935 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
38936 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
38937 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
38938 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
38939 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
38940 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
38941 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
38942 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
38943 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
38944 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
38945 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
38946 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
38947 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
38948 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
38949 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
38950 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
38951 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
38952 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
38953 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
38954 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
38955 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
38956 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
38957 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
38958 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
38959 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
38960 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
38961 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
38962 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
38963 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
38964 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
38965 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
38966 * sysdeps/ieee754/s_lib_version.c: Likewise.
38967 * sysdeps/ieee754/s_matherr.c: Likewise.
38968 * sysdeps/ieee754/s_signgam.c: Likewise.
38969 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38970 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38971 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
38972 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
38973 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
38974 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
38975 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
38976 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
38977 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
38978 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
38979 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
38980 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
38981 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
38982 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
38983 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
38984 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
38985 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
38986 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
38987 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
38988 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
38989 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
38991 2012-03-09 Joseph Myers <joseph@codesourcery.com>
38993 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
38994 * sunrpc/rpc_main.c: Likewise.
38995 * sunrpc/rpc_svcout.c: Likewise.
38997 2012-03-09 David S. Miller <davem@davemloft.net>
38999 * include/math_private.h: New file.
39001 2012-03-09 Joseph Myers <joseph@codesourcery.com>
39003 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
39004 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
39005 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
39006 from <bits/socket_type.h>.
39007 (enum __socket_type): Don't define here.
39008 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
39009 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39010 bits/socket_type.h.
39013 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
39014 checking __USE_GNU.
39016 * Makerules ($(inst_includedir)/%.h): New rule.
39017 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
39018 (install-others): Remove variable setting.
39019 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
39021 2012-03-08 Richard Henderson <rth@twiddle.net>
39023 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
39024 from macro to inline function; merge with the
39025 !__LIBC_INTERNAL_MATH_INLINES version.
39026 (__ieee754_sqrtf): Likewise.
39028 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
39029 to inline function.
39030 (__rintf, __floor, __floorf): Likewise.
39032 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
39033 macro to inline function.
39034 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
39036 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
39037 not <math/math_private.h>.
39039 2012-03-08 David S. Miller <davem@davemloft.net>
39041 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
39043 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
39045 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
39047 * resolv/gai_misc.c (handle_requests): Fix struct timespec
39049 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
39050 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
39052 2012-03-08 Ulrich Drepper <drepper@gmail.com>
39054 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
39055 be defined individually, they must be defined as a block. Define
39056 S for printing a string instead of hidint the different by using a
39057 macro for adding the 'l'.
39058 * stdio-common/tst-fphex-wide.c: Adjust.
39060 2012-03-07 Marek Polacek <polacek@redhat.com>
39062 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
39064 2012-03-08 Marek Polacek <polacek@redhat.com>
39067 * stdio-common/Makefile (tests): Add tst-fphex-wide.
39068 * stdio-common/tst-fphex.c: Define a few macros to make the
39069 test reusable. Use them.
39070 * stdio-common/tst-fphex-wide.c: New file.
39072 2012-03-08 Joseph Myers <joseph@codesourcery.com>
39075 * manual/macros.texi (gnusystems): New macro.
39076 (nongnusystems): Likewise.
39077 (gnulinuxhurdsystems): Likewise.
39078 (gnuhurdsystems): Likewise..
39079 (gnulinuxsystems): Likewise.
39080 * manual/charset.texi: Use new macros or @theglibc{} to refer to
39081 variants of the GNU system, not "GNU system".
39082 * manual/conf.texi: Likewise.
39083 * manual/errno.texi: Likewise. Update example of errno macro
39085 * manual/filesys.texi: Likewise.
39086 (getumask): Document as specific to GNU/Hurd.
39087 * manual/install.texi: Likewise. Reword some references to
39089 * manual/intro.texi: Likewise.
39090 * manual/io.texi: Likewise.
39091 (File Name Portability): Detail which constraints are inapplicable
39092 to all GNU systems and which are only inapplicable to GNU/Hurd.
39093 * manual/job.texi: Likewise.
39094 * manual/llio.texi: Likewise.
39095 (O_NOCTTY): Document as present on GNU/Linux.
39096 * manual/maint.texi: Likewise.
39097 * manual/memory.texi: Likewise.
39098 * manual/pattern.texi: Likewise.
39099 * manual/pipe.texi: Likewise.
39100 * manual/process.texi: Likewise.
39101 * manual/resource.texi: Likewise.
39102 (RUSAGE_CHILDREN): Remove statement about specifying a particular
39104 * manual/setjmp.texi: Likewise.
39105 * manual/signal.texi: Likewise.
39106 * manual/startup.texi: Likewise.
39107 * manual/stdio.texi: Likewise.
39108 * manual/terminal.texi: Likewise.
39109 (ONLCR): Document as POSIX.
39110 (OXTABS): Document availability on GNU/Linux as XTABS.
39111 (ONOEOT): Document availability separately from other bits.
39112 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
39113 * manual/time.texi: Likewise.
39114 * manual/users.texi: Likewise.
39115 * INSTALL: Regenerated.
39116 * sysdeps/gnu/errlist.c: Regenerated.
39118 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
39119 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
39120 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
39122 * configure: Regenerated.
39124 2012-03-07 Joseph Myers <joseph@codesourcery.com>
39126 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
39127 default includes instead of AC_HEADER_CHECK.
39128 * sysdeps/i386/configure: Regenerated.
39131 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
39132 * math/s_cacoshf.c (__cacoshf): Likewise.
39133 * math/s_cacoshl.c (__cacoshl): Likewise.
39134 * math/s_casinh.c (__casinh): Set signs of result from argument.
39135 * math/s_casinhf.c (__casinhf): Likewise.
39136 * math/s_casinhl.c (__casinhl): Likewise.
39137 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
39138 (casinh_test): Add more tests.
39139 * sysdeps/i386/fpu/libm-test-ulps: Update.
39140 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39142 2012-03-07 Ulrich Drepper <drepper@gmail.com>
39144 * po/zh_TW.po: Update from translation team.
39146 * login/Makefile (distribute): Remove variable.
39147 * catgets/Makefile: Likewise.
39148 * mach/Makefile: Likewise.
39149 * malloc/Makefile: Likewise.
39150 * misc/Makefile: Likewise.
39151 * iconv/Makefile: Likewise.
39152 * nscd/Makefile: Likewise.
39153 * hurd/Makefile: Likewise.
39154 * manual/Makefile: Likewise.
39155 * locale/Makefile: Likewise.
39156 * intl/Makefile: Likewise.
39157 * conform/Makefile: Likewise.
39158 * nss/Makefile: Likewise.
39159 * time/Makefile: Likewise.
39160 * soft-fp/Makefile: Likewise.
39161 * dirent/Makefile: Likewise.
39162 * gmon/Makefile: Likewise.
39163 * po/Makefile: Likewise.
39164 * rt/Makefile: Likewise.
39165 * socket/Makefile: Likewise.
39166 * math/Makefile: Likewise.
39167 * signal/Makefile: Likewise.
39168 * debug/Makefile: Likewise.
39169 * elf/Makefile: Likewise.
39170 * timezone/Makefile: Likewise.
39171 * stdlib/Makefile: Likewise.
39172 * iconvdata/Makefile: Likewise.
39173 * sunrpc/Makefile: Likewise.
39174 * io/Makefile: Likewise.
39175 * argp/Makefile: Likewise.
39176 * inet/Makefile: Likewise.
39177 * hesiod/Makefile: Likewise.
39178 * grp/Makefile: Likewise.
39179 * csu/Makefile: Likewise.
39180 * wctype/Makefile: Likewise.
39181 * crypt/Makefile: Likewise.
39182 * libio/Makefile: Likewise.
39183 * string/Makefile: Likewise.
39184 * nis/Makefile: Likewise.
39185 * resolv/Makefile: Likewise.
39186 * stdio-common/Makefile: Likewise.
39187 * wcsmbs/Makefile: Likewise.
39188 * dlfcn/Makefile: Likewise.
39189 * posix/Makefile: Likewise.
39192 * timezone/Makefile: Don't install timezone files, just the programs
39195 2012-03-06 Ulrich Drepper <drepper@gmail.com>
39197 * nss/databases.def: Add missing gshadow entry.
39199 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
39201 2012-03-06 Marek Polacek <polacek@redhat.com>
39204 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
39205 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
39206 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
39207 * stdio-common/tst-long-dbl-fphex.c: New file.
39209 2012-03-06 David S. Miller <davem@davemloft.net>
39211 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39212 (set_obp_int): New function.
39213 (get_obp_int): New function.
39214 (__get_clockfreq_via_dev_openprom): Likewise.
39215 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
39216 Avoid unused variable warnings on 'val' and use builtin_expect.
39217 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
39219 (INLINE_CLONE_SYSCALL): Likewise.
39221 2012-03-05 David S. Miller <davem@davemloft.net>
39223 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39225 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
39227 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39229 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
39230 only for |x| >= 40.
39231 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39233 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
39235 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
39236 Replace gettimeofday with __vdso_gettimeofday.
39238 * sysdeps/unix/sysv/linux/x86_64/init-first.c
39239 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
39240 __vdso_clock_gettime and __vdso_getcpu.
39242 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
39243 time with __vdso_time.
39245 2012-03-05 Joseph Myers <joseph@codesourcery.com>
39247 * manual/lang.texi (size_t): Note types to which size_t may be
39248 equivalent with the GNU C Library, but do not describe when
39249 differences between them are significant.
39251 2012-03-05 Andreas Jaeger <aj@suse.de>
39253 * sysdeps/i386/fpu/libm-test-ulps: Update.
39255 2012-03-05 Joseph Myers <joseph@codesourcery.com>
39258 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
39259 (__ieee754_pow): Save and restore rounding mode and use
39260 round-to-nearest for main computations.
39261 * math/libm-test.inc (pow_test_tonearest): New function.
39262 (pow_test_towardzero): Likewise.
39263 (pow_test_downward): Likewise.
39264 (pow_test_upward): Likewise.
39265 (main): Call the new functions.
39266 * sysdeps/i386/fpu/libm-test-ulps: Update.
39267 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39270 * math/libm-test.inc (cosh_test_tonearest): New function.
39271 (cosh_test_towardzero): Likewise.
39272 (cosh_test_downward): Likewise.
39273 (cosh_test_upward): Likewise.
39274 (sinh_test_tonearest): Likewise.
39275 (sinh_test_towardzero): Likewise.
39276 (sinh_test_downward): Likewise.
39277 (sinh_test_upward): Likewise.
39278 (main): Call the new functions.
39279 * sysdeps/i386/fpu/libm-test-ulps: Update.
39280 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39282 2012-03-05 Tom de Vries <tom@codesourcery.com>
39284 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
39285 default stack guard is set in last bytes.
39286 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
39288 2012-03-05 Kees Cook <keescook@chromium.org>
39290 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
39293 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
39294 possibly allocate from heap instead of stack.
39295 * stdio-common/bug-vfprintf-nargs.c: New file.
39296 * stdio-common/Makefile (tests): Add nargs overflow test.
39298 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
39300 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39302 2012-03-03 Marek Polacek <polacek@redhat.com>
39304 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
39305 * math/math_private.h: Likewise.
39306 * stdlib/tst-strtod.c: Likewise.
39307 * sysdeps/i386/i486/bits/atomic.h: Likewise.
39308 * sysdeps/x86_64/bits/atomic.h: Likewise.
39310 2012-03-02 David S. Miller <davem@davemloft.net>
39312 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
39313 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
39314 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
39315 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
39316 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
39317 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
39318 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
39319 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
39321 2012-03-02 Roland McGrath <roland@hack.frob.com>
39324 * manual/examples/README: New file, says the example source files
39325 can be used under GPL>=2.
39326 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
39327 line containing just "*/".
39328 * manual/examples/add.c: Add copyright header (GPL>=2).
39329 * manual/examples/argp-ex1.c: Likewise.
39330 * manual/examples/argp-ex2.c: Likewise.
39331 * manual/examples/argp-ex3.c: Likewise.
39332 * manual/examples/argp-ex4.c: Likewise.
39333 * manual/examples/atexit.c: Likewise.
39334 * manual/examples/db.c: Likewise.
39335 * manual/examples/dir.c: Likewise.
39336 * manual/examples/dir2.c: Likewise.
39337 * manual/examples/execinfo.c: Likewise.
39338 * manual/examples/filecli.c: Likewise.
39339 * manual/examples/filesrv.c: Likewise.
39340 * manual/examples/fmtmsgexpl.c: Likewise.
39341 * manual/examples/genpass.c: Likewise.
39342 * manual/examples/inetcli.c: Likewise.
39343 * manual/examples/inetsrv.c: Likewise.
39344 * manual/examples/isockad.c: Likewise.
39345 * manual/examples/longopt.c: Likewise.
39346 * manual/examples/memopen.c: Likewise.
39347 * manual/examples/memstrm.c: Likewise.
39348 * manual/examples/mkfsock.c: Likewise.
39349 * manual/examples/mkisock.c: Likewise.
39350 * manual/examples/mygetpass.c: Likewise.
39351 * manual/examples/pipe.c: Likewise.
39352 * manual/examples/popen.c: Likewise.
39353 * manual/examples/rprintf.c: Likewise.
39354 * manual/examples/search.c: Likewise.
39355 * manual/examples/select.c: Likewise.
39356 * manual/examples/setjmp.c: Likewise.
39357 * manual/examples/sigh1.c: Likewise.
39358 * manual/examples/sigusr.c: Likewise.
39359 * manual/examples/stpcpy.c: Likewise.
39360 * manual/examples/strdupa.c: Likewise.
39361 * manual/examples/strftim.c: Likewise.
39362 * manual/examples/strncat.c: Likewise.
39363 * manual/examples/subopt.c: Likewise.
39364 * manual/examples/swapcontext.c: Likewise.
39365 * manual/examples/termios.c: Likewise.
39366 * manual/examples/testopt.c: Likewise.
39367 * manual/examples/testpass.c: Likewise.
39368 * manual/examples/timeval_subtract.c: Likewise.
39371 * manual/time.texi (Elapsed Time): Move timeval_subtract example
39373 * manual/timeval_subtract.c.texi: ... here, new file.
39375 2012-03-02 David S. Miller <davem@davemloft.net>
39377 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
39379 2012-03-02 Joseph Myers <joseph@codesourcery.com>
39382 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
39383 (__sin): Save and restore rounding mode and use round-to-nearest
39384 for all computations.
39385 (__cos): Save and restore rounding mode and use round-to-nearest
39386 for all computations.
39387 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
39389 (tan): Save and restore rounding mode and use round-to-nearest for
39391 * math/libm-test.inc (cos_test_tonearest): New function.
39392 (cos_test_towardzero): Likewise.
39393 (cos_test_downward): Likewise.
39394 (cos_test_upward): Likewise.
39395 (sin_test_tonearest): Likewise.
39396 (sin_test_towardzero): Likewise.
39397 (sin_test_downward): Likewise.
39398 (sin_test_upward): Likewise.
39399 (tan_test_tonearest): Likewise.
39400 (tan_test_towardzero): Likewise.
39401 (tan_test_downward): Likewise.
39402 (tan_test_upward): Likewise.
39403 (main): Call the new functions.
39404 * sysdeps/i386/fpu/libm-test-ulps: Update.
39405 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39408 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
39409 small n, then large n, before computing and testing k+n.
39410 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
39411 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
39413 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
39415 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
39416 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
39417 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
39418 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
39419 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
39420 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
39421 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
39422 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
39423 * math/libm-test.inc (scalbn_test): Add more tests.
39424 (scalbln_test): Likewise.
39426 * manual/filesys.texi (mode_t): Describe constraints on size and
39427 signedness, not exact equivalence to a particular type.
39429 (ino64_t): Likewise.
39431 (nlink_t): Likewise.
39432 (blkcnt_t): Likewise.
39433 (blkcnt64_t): Likewise.
39434 * manual/llio.texi (off_t): Likewise.
39437 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
39438 (__ieee754_exp): Save and restore rounding mode and use
39439 round-to-nearest for all computations.
39440 * math/libm-test.inc (exp_test_tonearest): New function.
39441 (exp_test_towardzero): Likewise.
39442 (exp_test_downward): Likewise.
39443 (exp_test_upward): Likewise.
39444 (main): Call the new functions.
39445 * sysdeps/i386/fpu/libm-test-ulps: Update.
39446 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39448 2012-03-01 Chris Demetriou <cgd@google.com>
39450 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
39451 have predictable order.
39453 2012-03-01 David S. Miller <davem@davemloft.net>
39455 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
39457 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
39458 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
39459 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
39460 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
39462 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
39463 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
39464 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
39465 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
39466 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
39467 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
39468 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
39469 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
39470 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
39472 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39474 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
39475 * sysdeps/sparc/fpu/libm-test-ulps: to here.
39476 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
39478 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
39479 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
39480 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
39481 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
39482 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
39483 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
39484 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
39485 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
39486 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
39487 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
39488 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
39489 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39490 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39491 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
39492 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39493 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39494 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
39495 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
39496 * sysdeps/sparc/elf/configure: Regenerated.
39498 2012-03-01 Joseph Myers <joseph@codesourcery.com>
39500 * configure.in (AS, LD): Require binutils 2.20 or later.
39501 * configure: Regenerated.
39502 * manual/install.texi (Tools for Compilation): Give binutils 2.20
39503 as required minimum version.
39504 * INSTALL: Regenerated.
39508 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
39509 before squaring exponent.
39510 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
39511 bottom long double and 27 bits of top long double before squaring
39513 * math/libm-test.inc (erfc_test): Add more tests.
39514 * sysdeps/i386/fpu/libm-test-ulps: Update.
39515 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39516 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39518 2012-03-01 Kai Tietz <ktietz@redhat.com>
39520 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
39521 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
39522 containing bit-fields.
39523 * soft-fp/extended.h (_FP_UNION_E): Likewise.
39524 * soft-fp/single.h (_FP_UNION_S): Likewise.
39525 * soft-fp/double.h (_FP_UNION_D): Likewise.
39527 2012-02-29 Joseph Myers <joseph@codesourcery.com>
39530 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
39531 not include ../strcmp.S.
39532 [USE_AS_STRNCASECMP_L]: Likewise.
39533 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
39534 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
39535 * sysdeps/i386/i686/multiarch/strncase_l-c.c
39536 (__strncasecmp_l_ia32): Define as alias to
39537 __strncasecmp_l_nonascii.
39540 * math/libm-test.inc (expm1_test): Add test for bug 5794.
39541 * sysdeps/i386/fpu/libm-test-ulps: Update.
39542 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39544 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
39545 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39547 2012-02-29 Jeff Law <law@redhat.com>
39549 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
39550 out of bounds read.
39552 2012-02-29 Marek Polacek <polacek@redhat.com>
39555 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
39556 * elf/Makefile: Add rules to run tst-unused-dep.out.
39558 2012-02-28 David S. Miller <davem@davemloft.net>
39560 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
39561 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
39562 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
39563 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
39564 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
39565 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
39567 2012-02-29 Joseph Myers <joseph@codesourcery.com>
39569 * math/libm-test.inc (llround_test): Move one test from
39570 lround_test. Use TEST_f_L in moved test.
39571 (lround_test): Move misplaced test to llround_test. Add testcase
39574 2012-02-28 Ulrich Drepper <drepper@gmail.com>
39576 * sysdeps/x86_64/fpu/e_expf.S: New file.
39577 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
39579 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
39582 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
39583 of remain_len that may cause incomplete multi-byte character and
39585 * posix/bug-regex33.c: New file.
39586 * posix/Makefile (tests): Add bug-regex33.
39588 2012-02-28 Joseph Myers <joseph@codesourcery.com>
39590 * manual/macros.texi: New file.
39591 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
39592 * manual/libc.texinfo: Include macros.texi.
39593 * manual/creatute.texi: Likewise.
39594 * manual/install.texi: Likewise.
39595 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
39596 @glibcadj{} in references to the GNU C Library.
39597 * manual/charset.texi: Likewise.
39598 * manual/conf.texi: Likewise.
39599 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
39600 when not using those macros.
39601 * manual/creature.texi: Likewise.
39602 * manual/crypt.texi: Likewise.
39603 * manual/errno.texi: Likewise.
39604 * manual/filesys.texi: Likewise.
39605 * manual/header.texi: Likewise.
39606 * manual/install.texi: Likewise.
39607 * manual/intro.texi: Likewise.
39608 * manual/io.texi: Likewise.
39609 * manual/job.texi: Likewise.
39610 * manual/lang.texi: Likewise.
39611 * manual/libc.texiinfo: Likewise.
39612 * manual/llio.texi: Likewise.
39613 * manual/locale.texi: Likewise.
39614 * manual/maint.texi: Likewise.
39615 * manual/math.texi: Likewise.
39616 * manual/memory.texi: Likewise.
39617 * manual/message.texi: Likewise.
39618 * manual/nss.texi: Likewise.
39619 * manual/pattern.texi: Likewise.
39620 * manual/process.texi: Likewise.
39621 * manual/resource.texi: Likewise.
39622 * manual/search.texi: Likewise.
39623 * manual/setjmp.texi: Likewise.
39624 * manual/signal.texi: Likewise.
39625 * manual/socket.texi: Likewise.
39626 * manual/startup.texi: Likewise.
39627 * manual/stdio.texi: Likewise.
39628 * manual/string.texi: Likewise.
39629 * manual/sysinfo.texi: Likewise.
39630 * manual/syslog.texi: Likewise.
39631 * manual/terminal.texi: Likewise.
39632 * manual/time.texi: Likewise.
39633 * manual/users.texi: Likewise.
39634 * INSTALL: Regenerated.
39635 * NOTES: Regenerated.
39636 * sysdeps/gnu/errlist.c: Regenerated.
39638 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
39640 * include/dirent.h: Include <dirstream.h> before
39643 2012-02-28 David S. Miller <davem@davemloft.net>
39645 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
39646 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
39647 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
39648 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
39650 2012-02-27 David S. Miller <davem@davemloft.net>
39652 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
39653 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
39654 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
39655 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
39657 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
39658 frame pointer instead of stack pointer relative arg slot.
39659 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39660 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39661 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39663 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
39666 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
39668 2012-02-27 David S. Miller <davem@davemloft.net>
39670 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
39671 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39672 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
39673 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
39674 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39675 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39676 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
39677 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
39679 2012-02-27 Joseph Myers <joseph@codesourcery.com>
39681 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
39682 later. Allow versions 5-9.
39683 * configure: Regenerated.
39684 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
39685 required minimum version and 4.6 as recommended version. Do not
39686 mention bugs in GCC 2.7 and 2.8.
39687 * INSTALL: Regenerated.
39689 2012-02-27 David S. Miller <davem@davemloft.net>
39691 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
39692 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
39693 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
39694 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
39695 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
39696 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
39697 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
39698 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
39700 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
39701 manipulate bits before adding and subtracting TWO112[sx].
39702 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
39704 2012-02-27 Roland McGrath <roland@hack.frob.com>
39707 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
39708 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
39709 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
39710 being in POSIX, because they are in 1003.1-2008.
39712 * rt/tst-aio.c: Include <fcntl.h>.
39713 * rt/tst-aio7.c: Likewise.
39714 * rt/tst-aio64.c: Likewise.
39716 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
39718 2012-02-27 Joseph Myers <joseph@codesourcery.com>
39720 * manual/install.texi (--with-headers): Describe headers as
39721 interface headers, not private headers.
39722 (Specific advice for GNU/Linux systems): Describe use of headers
39723 from "make headers_install", not private headers from older
39725 * INSTALL: Regenerated.
39726 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
39728 * sysdeps/unix/sysv/linux/configure: Regenerated.
39730 * manual/llio.texi (fclean): Remove documentation.
39732 * manual/Makefile (libc-texi-generated): New variable. Include
39734 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
39735 $(libc-texi-generated), not duplicated list of files.
39736 (version.texi, stamp-version): New rules.
39737 (realclean): Remove $(libc-texi-generated), not individual files
39738 from that list. Do not remove dir-add.texinfo.
39739 * manual/libc.texinfo: Comment out uses of edition numbers and
39740 references to printed manual. Remove last-updated dates.
39741 (EDITION): Comment out.
39743 (VERSION, UPDATED): Remove.
39744 (version.texi): Include.
39746 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
39748 * sysdeps/posix/spawni.c: Include <signal.h>.
39749 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
39750 * sysdeps/pthread/aio_fsync.c: Likewise.
39752 2012-02-26 Ulrich Drepper <drepper@gmail.com>
39754 * conform/Makefile (tests): Run only when not cross-compiling and
39755 when fast-check is not defined.
39757 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
39758 * conform/data/limits.h-data: Fixes for POSIX2008.
39759 * conform/run-conformtest.sh: Run all tests.
39760 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
39762 * include/bits/dlfcn.h: Likewise.
39763 * include/langinfo.h: Likewise.
39764 * include/monetary.h: Likewise.
39765 * include/sys/poll.h: Likewise.
39767 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
39769 * posix/spawn.h: Define __need_sigset_t.
39770 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
39771 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
39772 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
39773 to get sigevent_t only.
39774 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
39775 only for __USE_GNU.
39776 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39777 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
39778 process_vm_writev only for __USE_GNU.
39779 * termios/termios.h: Declare tcgetsid also for POSIX2008.
39781 * conform/Makefile: For now ignore errors from run-conformtest.
39782 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
39783 POSIX to avoid namespace pollution. Don't prepend headers.
39784 * conform/data/aio.h-data: Fixes for POSIX testing.
39785 * conform/data/fcntl.h-data: Likewise.
39786 * conform/data/glob.h-data: Likewise.
39787 * conform/data/grp.h-data: Likewise.
39788 * conform/data/pthread.h-data: Likewise.
39789 * conform/data/pwd.h-data: Likewise.
39790 * conform/data/signal.h-data: Likewise.
39791 * conform/data/spawn.h-data: Likewise.
39792 * conform/data/stdio.h-data: Likewise.
39793 * conform/data/stdlib.h-data: Likewise.
39794 * conform/data/stropts.h-data: Likewise.
39795 * conform/data/sys/mman.h-data: Likewise.
39796 * conform/data/sys/stat.h-data: Likewise.
39797 * conform/data/sys/types.h-data: Likewise.
39798 * conform/data/sys/wait.h-data: Likewise.
39799 * conform/data/time.h-data: Likewise.
39800 * conform/data/unistd.h-data: Likewise.
39801 * conform/data/utime.h-data: Likewise.
39803 * io/sys/stat.h: fchmod was always in POSIX.
39804 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
39805 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
39806 * rt/aio.h: Define __need_timespec before including <time.h>.
39807 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
39808 struct. Add forward declaration of pthread_attr_t and use it in
39810 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
39811 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
39812 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
39813 always remove CLK_TCK definition.
39815 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
39817 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
39819 2012-02-25 Ulrich Drepper <drepper@gmail.com>
39821 * conform/run-conformtest.sh: New file.
39822 * conform/Makefile: Run run-conformtest for tests.
39823 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
39826 * conform/data/uchar.h-data: New file.
39827 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
39828 * conform/data/arpa/inet.h-data: Likewise.
39829 * conform/data/assert.h-data: Likewise.
39830 * conform/data/complex.h-data: Likewise.
39831 * conform/data/cpio.h-data: Likewise.
39832 * conform/data/ctype.h-data: Likewise.
39833 * conform/data/dirent.h-data: Likewise.
39834 * conform/data/dlfcn.h-data: Likewise.
39835 * conform/data/errno.h-data: Likewise.
39836 * conform/data/fcntl.h-data: Likewise.
39837 * conform/data/float.h-data: Likewise.
39838 * conform/data/fmtmsg.h-data: Likewise.
39839 * conform/data/fnmatch.h-data: Likewise.
39840 * conform/data/ftw.h-data: Likewise.
39841 * conform/data/glob.h-data: Likewise.
39842 * conform/data/grp.h-data: Likewise.
39843 * conform/data/iconv.h-data: Likewise.
39844 * conform/data/inttypes.h-data: Likewise.
39845 * conform/data/langinfo.h-data: Likewise.
39846 * conform/data/libgen.h-data: Likewise.
39847 * conform/data/limits.h-data: Likewise.
39848 * conform/data/locale.h-data: Likewise.
39849 * conform/data/math.h-data: Likewise.
39850 * conform/data/monetary.h-data: Likewise.
39851 * conform/data/mqueue.h-data: Likewise.
39852 * conform/data/ndbm.h-data: Likewise.
39853 * conform/data/net/if.h-data: Likewise.
39854 * conform/data/netdb.h-data: Likewise.
39855 * conform/data/netinet/in.h-data: Likewise.
39856 * conform/data/nl_types.h-data: Likewise.
39857 * conform/data/poll.h-data: Likewise.
39858 * conform/data/pthread.h-data: Likewise.
39859 * conform/data/pwd.h-data: Likewise.
39860 * conform/data/regex.h-data: Likewise.
39861 * conform/data/sched.h-data: Likewise.
39862 * conform/data/search.h-data: Likewise.
39863 * conform/data/semaphore.h-data: Likewise.
39864 * conform/data/setjmp.h-data: Likewise.
39865 * conform/data/signal.h-data: Likewise.
39866 * conform/data/spawn.h-data: Likewise.
39867 * conform/data/stdarg.h-data: Likewise.
39868 * conform/data/stdio.h-data: Likewise.
39869 * conform/data/stdlib.h-data: Likewise.
39870 * conform/data/string.h-data: Likewise.
39871 * conform/data/strings.h-data: Likewise.
39872 * conform/data/stropts.h-data: Likewise.
39873 * conform/data/sys/ipc.h-data: Likewise.
39874 * conform/data/sys/mman.h-data: Likewise.
39875 * conform/data/sys/msg.h-data: Likewise.
39876 * conform/data/sys/resource.h-data: Likewise.
39877 * conform/data/sys/select.h-data: Likewise.
39878 * conform/data/sys/sem.h-data: Likewise.
39879 * conform/data/sys/shm.h-data: Likewise.
39880 * conform/data/sys/socket.h-data: Likewise.
39881 * conform/data/sys/stat.h-data: Likewise.
39882 * conform/data/sys/statvfs.h-data: Likewise.
39883 * conform/data/sys/time.h-data: Likewise.
39884 * conform/data/sys/timeb.h-data: Likewise.
39885 * conform/data/sys/times.h-data: Likewise.
39886 * conform/data/sys/types.h-data: Likewise.
39887 * conform/data/sys/uio.h-data: Likewise.
39888 * conform/data/sys/un.h-data: Likewise.
39889 * conform/data/sys/utsname.h-data: Likewise.
39890 * conform/data/sys/wait.h-data: Likewise.
39891 * conform/data/syslog.h-data: Likewise.
39892 * conform/data/tar.h-data: Likewise.
39893 * conform/data/termios.h-data: Likewise.
39894 * conform/data/utime.h-data: Likewise.
39895 * conform/data/utmpx.h-data: Likewise.
39896 * conform/data/varargs.h-data: Likewise.
39897 * conform/data/wchar.h-data: Likewise.
39898 * conform/data/wctype.h-data: Likewise.
39899 * conform/data/wordexp.h-data: Likewise.
39901 * include/stropts.h: New file.
39902 * include/uchar.h: New file.
39903 * include/aio.h: Changes to allow conformtest.pl to use the headers.
39904 * include/assert.h: Likewise.
39905 * include/ctype.h: Likewise.
39906 * include/dirent.h: Likewise.
39907 * include/dlfcn.h: Likewise.
39908 * include/fcntl.h: Likewise.
39909 * include/fnmatch.h: Likewise.
39910 * include/glob.h: Likewise.
39911 * include/grp.h: Likewise.
39912 * include/libio.h: Likewise.
39913 * include/locale.h: Likewise.
39914 * include/math.h: Likewise.
39915 * include/net/if.h: Likewise.
39916 * include/netdb.h: Likewise.
39917 * include/netinet/in.h: Likewise.
39918 * include/pthread.h: Likewise.
39919 * include/pwd.h: Likewise.
39920 * include/regex.h: Likewise.
39921 * include/sched.h: Likewise.
39922 * include/search.h: Likewise.
39923 * include/setjmp.h: Likewise.
39924 * include/signal.h: Likewise.
39925 * include/stdio.h: Likewise.
39926 * include/stdlib.h: Likewise.
39927 * include/string.h: Likewise.
39928 * include/sys/cdefs.h: Likewise.
39929 * include/sys/mman.h: Likewise.
39930 * include/sys/msg.h: Likewise.
39931 * include/sys/resource.h: Likewise.
39932 * include/sys/select.h: Likewise.
39933 * include/sys/socket.h: Likewise.
39934 * include/sys/stat.h: Likewise.
39935 * include/sys/statvfs.h: Likewise.
39936 * include/sys/time.h: Likewise.
39937 * include/sys/times.h: Likewise.
39938 * include/sys/uio.h: Likewise.
39939 * include/sys/utsname.h: Likewise.
39940 * include/sys/wait.h: Likewise.
39941 * include/termios.h: Likewise.
39942 * include/time.h: Likewise.
39943 * include/ulimit.h: Likewise.
39944 * include/unistd.h: Likewise.
39945 * include/utime.h: Likewise.
39946 * include/wchar.h: Likewise.
39947 * include/wctype.h: Likewise.
39948 * include/wordexp.h: Likewise.
39950 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
39952 * time/time.h: TIME_UTC must be a macro.
39953 Make timespec_get available for ISO C11 only as well.
39955 2012-02-24 Ulrich Drepper <drepper@gmail.com>
39957 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
39958 Reported by Peng Haitao <penght@cn.fujitsu.com>.
39960 2012-02-24 Joseph Myers <joseph@codesourcery.com>
39962 * configure.in: Use -o not -a in test for unsupported multi-arch.
39964 2012-02-24 Joseph Myers <joseph@codesourcery.com>
39966 * manual/texinfo.tex: Update to version 2012-01-19.16.
39968 2012-02-24 Joseph Myers <joseph@codesourcery.com>
39970 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
39972 2012-02-24 Roland McGrath <roland@hack.frob.com>
39975 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
39976 * manual/fdl-1.3.texi: New file.
39977 * manual/fdl-1.1.texi: File removed.
39980 * manual/libc.texinfo (FDL_VERSION): New @set.
39981 Use it for mention of FDL in cover text.
39982 (Documentation License): Use it in @include file name.
39984 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39985 Roland McGrath <roland@hack.frob.com>
39988 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
39989 (not LONG_LONG_MAX and LONG_LONG_MIN.
39990 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
39991 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
39993 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
39995 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39999 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
40000 manipulate bits before adding and subtracting TWO23[sx].
40001 * math/libm-test.inc (nearbyint_test): Add more tests.
40003 2012-02-22 Joseph Myers <joseph@codesourcery.com>
40006 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
40007 bits before adding and subtracting TWO23[sx].
40008 * math/libm-test.inc (rint_test): Add more tests.
40009 (rint_test_tonearest): Likewise.
40010 (rint_test_towardzero): Likewise.
40011 (rint_test_downward): Likewise.
40012 (rint_test_upward: Likewise.
40014 2012-02-22 Joseph Myers <joseph@codesourcery.com>
40017 * include/stdc-predef.h: New file. Extracted from features.h.
40018 * include/features.h: Include stdc-predef.h.
40019 * Makefile (headers): Add stdc-predef.h.
40020 * CONFORMANCE (Compiler limitations): Update.
40022 2012-02-22 Joseph Myers <joseph@codesourcery.com>
40024 * manual/libc.texinfo (VERSION, UPDATED): Revert.
40026 2012-02-21 David S. Miller <davem@davemloft.net>
40028 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
40029 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40031 2012-02-20 David S. Miller <davem@davemloft.net>
40033 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
40034 using a normal save/restore sequence, rather than allocating a
40035 dummy stack frame just to store a frame pointer and restore.
40036 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40038 2012-02-21 Joseph Myers <joseph@codesourcery.com>
40040 * manual/install.texi: Fix stray word in line-wrapped comment.
40042 2012-02-20 David S. Miller <davem@davemloft.net>
40044 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
40045 both binutils and gcc support GOTDATA.
40047 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
40048 "rd %pc" in the PIC register setup sequences.
40050 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
40051 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
40052 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40053 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
40054 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40055 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
40056 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40057 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40058 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
40059 (SYSCALL_ERROR_HANDLER): Likewise.
40060 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40061 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40062 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
40063 (SYSCALL_ERROR_HANDLER): Likewise.
40065 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
40066 (HAVE_GCC_GOTDATA): New.
40067 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
40068 relocation support in both binutils and gcc.
40069 * sysdeps/sparc/elf/configure: Regenerate.
40071 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
40072 * sysdeps/sparc/sparc32/elf/configure: Delete.
40073 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
40074 * sysdeps/sparc/sparc64/elf/configure: Delete.
40075 * sysdeps/sparc/elf/configure.in: New file.
40076 * sysdeps/sparc/elf/configure: Generate.
40078 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
40079 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
40080 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40081 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
40082 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
40084 2012-02-21 Joseph Myers <joseph@codesourcery.com>
40086 * manual/install.texi: Do not mention specific glibc version
40088 * manual/libc.texinfo (VERSION, UPDATED): Update.
40089 (@copying): Use @copyright{} and range of years.
40091 2012-02-21 Joseph Myers <joseph@codesourcery.com>
40094 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
40095 [crti.S not in sysdirs] (generated): Do not append.
40096 [crti.S not in sysdirs] (omit-deps): Likewise.
40097 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
40098 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
40099 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
40100 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
40101 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
40103 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
40104 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
40105 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
40106 * csu/defs.awk: Remove file.
40107 * sysdeps/generic/initfini.c: Likewise.
40108 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
40110 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
40113 2012-02-20 Joseph Myers <joseph@codesourcery.com>
40115 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
40116 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
40117 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
40118 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
40119 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40120 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
40122 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
40123 (__EPOLL_PACKED): Define to empty if not defined by
40125 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
40126 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40129 2012-02-20 Joseph Myers <joseph@codesourcery.com>
40131 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
40132 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
40133 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
40134 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
40136 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
40137 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40140 2012-02-20 Joseph Myers <joseph@codesourcery.com>
40142 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
40144 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40145 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
40146 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
40147 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40149 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
40151 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40152 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40154 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
40156 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
40157 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
40159 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
40161 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
40164 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
40166 * math/w_acos.c: Use non-signaling floating-point comparisons.
40167 * math/w_acosf.c: Likewise.
40168 * math/w_acosh.c: Likewise.
40169 * math/w_acoshf.c: Likewise.
40170 * math/w_acoshl.c: Likewise.
40171 * math/w_acosl.c: Likewise.
40172 * math/w_asin.c: Likewise.
40173 * math/w_asinf.c: Likewise.
40174 * math/w_asinl.c: Likewise.
40175 * math/w_atanh.c: Likewise.
40176 * math/w_atanhf.c: Likewise.
40177 * math/w_atanhl.c: Likewise.
40178 * math/w_exp2.c: Likewise.
40179 * math/w_exp2f.c: Likewise.
40180 * math/w_exp2l.c: Likewise.
40181 * math/w_j0.c: Likewise.
40182 * math/w_j0f.c: Likewise.
40183 * math/w_j0l.c: Likewise.
40184 * math/w_j1.c: Likewise.
40185 * math/w_j1f.c: Likewise.
40186 * math/w_j1l.c: Likewise.
40187 * math/w_jn.c: Likewise.
40188 * math/w_jnf.c: Likewise.
40189 * math/w_log.c: Likewise.
40190 * math/w_log10.c: Likewise.
40191 * math/w_log10f.c: Likewise.
40192 * math/w_log10l.c: Likewise.
40193 * math/w_log2.c: Likewise.
40194 * math/w_log2f.c: Likewise.
40195 * math/w_log2l.c: Likewise.
40196 * math/w_logf.c: Likewise.
40197 * math/w_logl.c: Likewise.
40198 * math/w_sqrt.c: Likewise.
40199 * math/w_sqrtf.c: Likewise.
40200 * math/w_sqrtl.c: Likewise.
40201 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40202 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
40203 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40204 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
40205 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
40207 2012-02-19 Joseph Myers <joseph@codesourcery.com>
40210 * manual/string.texi (strnlen): Use correct parameter name in
40211 equivalent expression.
40213 2012-02-19 Joseph Myers <joseph@codesourcery.com>
40216 * manual/users.texi (seteuid): Consistently use neweuid for
40219 2012-02-19 Joseph Myers <joseph@codesourcery.com>
40222 * manual/nss.texi (Services in the NSS configuration): Correct
40223 list of services in example configuration file.
40225 2012-02-19 Nick Bowler <nbowler@draconx.ca>
40228 * manual/arith.texi: Remove statements about negative zero
40229 behaving identically to zero.
40231 2012-02-18 Joseph Myers <joseph@codesourcery.com>
40234 * manual/install.texi: Do not document upgrading from libc5.
40236 2012-02-18 Joseph Myers <joseph@codesourcery.com>
40239 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
40241 2012-02-18 David S. Miller <davem@davemloft.net>
40243 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
40244 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
40245 %o7 across the call.
40246 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
40248 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
40249 SETUP_PIC_REG_LEAF.
40250 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40251 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
40252 * sysdeps/sparc/crtn.S: Likewise.
40254 2012-02-17 Ulrich Drepper <drepper@gmail.com>
40256 * aout/Makefile: Remove.
40258 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
40261 * manual/examples/argp-ex1.c (main): Format definition in GNU
40263 * manual/examples/argp-ex2.c (main): Likewise.
40264 * manual/examples/argp-ex3.c (main): Likewise.
40265 * manual/examples/argp-ex4.c (main): Likewise.
40266 * manual/examples/longopt.c (main): Use new-style prototype
40268 * manual/examples/strncat.c (main): Specify return type and use
40269 (void) for arguments.
40270 * manual/examples/subopt.c (main): Use char **argv argument.
40272 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40275 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
40278 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
40281 * manual/string.texi (strchr): Change when strchrnul is
40284 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
40287 * manual/locale.texi (setlocale): Document LOCPATH.
40289 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40292 * manual/process.texi (execle): Move @dots{} before last argument.
40294 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
40297 * manual/charset.texi (Generic Charset Conversion): Fix typo
40298 (LC_TYPE -> LC_CTYPE).
40300 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
40303 * manual/arith.texi (scalbn): Use @var{} on parameter names.
40304 (scalbnf): Likewise.
40305 (scalbnl): Likewise.
40306 (scalbln): Likewise.
40307 (scalblnf): Likewise.
40308 (scalblnl): Likewise.
40309 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
40310 (vwarnx): Likewise.
40313 * manual/filesys.texi (telldir): Use braces around return type.
40314 * manual/llio.texi (mmap): Add space after comma.
40315 (mmap64): Likewise.
40316 * manual/math.texi (jn): Use @var{} on parameter names.
40322 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
40324 * manual/resource.texi (ulimit): Use @dots{} instead of literal
40326 (sched_get_priority_min): Remove semicolon on @deftypefun line.
40327 (sched_get_priority_max): Likewise.
40328 * manual/signal.texi (sigvec): Add space after comma.
40329 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
40331 (if_indextoname): Likewise.
40332 (if_freenameindex): Likewise.
40333 (sendto): Use ',' instead of '.' in prototype.
40334 * manual/startup.texi (syscall): Use @dots{} instead of literal
40336 * manual/stdio.texi (__fpending): Separate initial words of
40337 paragraph from @deftypefun line.
40338 * manual/syslog.texi (syslog): Use @dots{} instead of literal
40340 (vsyslog): Use @var{} on parameter names.
40341 * manual/terminal.texi (stty): Use @var{} on parameter names.
40342 * manual/users.texi (getutmp): Use @var{} on parameter names.
40343 (getutmpx): Likewise.
40345 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40348 * manual/stdio.texi (fopen): Fix typos in description of
40351 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
40354 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
40355 get clock_id definition.
40357 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
40360 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
40361 (madvise): Cast every argument to void on its own.
40363 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40366 * manual/startup.texi (Exit Status): Fix typo.
40368 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40371 * manual/examples/argp-ex1.c: Include <stdlib.h>.
40372 * manual/examples/argp-ex2.c: Likewise.
40373 * manual/examples/argp-ex3.c: Likewise.
40375 2012-02-16 Richard Henderson <rth@redhat.com>
40377 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
40378 * sysdeps/s390/s390-32/initfini.c: Remove.
40379 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
40380 * sysdeps/s390/s390-64/initfini.c: Remove.
40382 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40384 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
40385 compiler output for sysdeps/generic/initfini.c.
40386 * sysdeps/sh/elf/initfini.c: Remove file.
40388 2012-02-16 David S. Miller <davem@davemloft.net>
40391 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
40393 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
40394 * sysdeps/sparc/crti.S: New file.
40395 * sysdeps/sparc/crtn.S: New file.
40396 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
40397 * sysdeps/sparc/sparc64/Makefile: Likewise.
40399 2012-02-15 Mike Frysinger <vapier@gentoo.org>
40402 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
40404 2012-02-15 Roland McGrath <roland@hack.frob.com>
40407 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
40409 * mach/devstream.c (cookie_io_functions_t): Macro removed.
40410 (write, read, close): Likewise.
40411 Patch by Aurelien Jarno <aurelien@aurel32.net>.
40413 2012-02-15 Joseph Myers <joseph@codesourcery.com>
40415 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
40416 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
40417 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
40418 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
40420 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
40421 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40424 2012-02-14 Marek Polacek <polacek@redhat.com>
40426 * sysdeps/x86_64/crti.S: New file.
40427 * sysdeps/x86_64/crtn.S: New file.
40428 * sysdeps/x86_64/elf/initfini.c: Remove file.
40430 2012-02-13 Joseph Myers <joseph@codesourcery.com>
40432 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
40433 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
40434 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
40435 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
40437 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
40438 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40441 2012-02-13 Joseph Myers <joseph@codesourcery.com>
40443 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
40444 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
40445 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
40446 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
40448 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
40449 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40452 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
40454 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
40455 __feraiseexcept instead of feraiseexcept.
40457 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
40458 nanosleep invocations.
40459 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
40460 strings, and add error checking for a nanosleep invocations.
40462 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
40464 Replace FSF snail mail address with URLs, as per GNU coding standards.
40465 Most of the snail mail addresses were wrong anyway, and omitting
40466 them makes the source code easier to maintain. Almost all of the
40467 changes are to license notices and to locale LC_IDENTIFICATION
40468 addresses, except for this one:
40469 * manual/libc.texinfo: In "Published by", give the FSF's URL,
40470 not its snail mail address.
40472 2012-02-09 Richard Henderson <rth@twiddle.net>
40474 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
40475 of kernel-features.h.
40477 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
40479 2012-02-08 Marek Polacek <polacek@redhat.com>
40481 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
40482 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
40483 * sysdeps/gnu/_G_config.h: Likewise.
40484 * sysdeps/generic/_G_config.h: Likewise.
40486 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
40488 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
40490 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40492 * sysdeps/powerpc/powerpc32/crti.S: New file.
40493 * sysdeps/powerpc/powerpc32/crtn.S: New file.
40494 * sysdeps/powerpc/powerpc64/crti.S: New file.
40495 * sysdeps/powerpc/powerpc64/crtn.S: New file.
40497 * Makeconfig (have-initfini): Don't set.
40498 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
40499 * configure.in (nopic_initfini): Don't substitute.
40500 * config.h.in (HAVE_INITFINI): Don't #undef.
40501 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
40502 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
40504 2012-02-08 Joseph Myers <joseph@codesourcery.com>
40506 Support crti.S and crtn.S provided directly by architectures.
40507 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
40508 [crti.S in sysdirs] (omit-deps): Likewise.
40509 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
40510 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
40511 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
40512 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
40513 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
40514 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
40515 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
40516 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
40517 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
40518 compiler output for sysdeps/generic/initfini.c.
40519 * sysdeps/i386/elf/Makefile: Remove file.
40520 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
40522 2012-02-07 Marek Polacek <polacek@redhat.com>
40524 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
40525 * sysdeps/gnu/_G_config.h: Likewise.
40526 * sysdeps/mach/hurd/_G_config.h: Likewise.
40528 2012-02-07 Marek Polacek <polacek@redhat.com>
40530 * math/Makefile (tests): Add tst-CMPLX2.
40531 * math/tst-CMPLX2.c: New file.
40533 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
40535 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40537 * math/libm-test.inc (jn_test): Add missing L suffix.
40539 2012-02-06 Marek Polacek <polacek@redhat.com>
40541 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
40542 * sysdeps/i386/fpu/e_powf.S: Likewise.
40543 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40544 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
40545 * sysdeps/i386/fpu/e_acosh.S: Likewise.
40546 * sysdeps/i386/fpu/e_pow.S: Likewise.
40547 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
40548 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40549 * sysdeps/i386/fpu/s_expm1.S: Likewise.
40550 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
40551 * sysdeps/i386/fpu/e_log2.S: Likewise.
40552 * sysdeps/i386/fpu/e_log2l.S: Likewise.
40553 * sysdeps/i386/fpu/e_scalb.S: Likewise.
40554 * sysdeps/i386/fpu/e_powl.S: Likewise.
40555 * sysdeps/i386/fpu/s_log1p.S: Likewise.
40556 * sysdeps/i386/fpu/e_log10f.S: Likewise.
40557 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
40558 * sysdeps/i386/fpu/e_logl.S: Likewise.
40559 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
40560 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
40561 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
40562 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
40563 * sysdeps/i386/fpu/e_log2f.S: Likewise.
40564 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40565 * sysdeps/i386/fpu/e_log.S: Likewise.
40566 * sysdeps/i386/fpu/s_cexp.S: Likewise.
40567 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40568 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
40569 * sysdeps/i386/fpu/e_logf.S: Likewise.
40570 * sysdeps/i386/fpu/e_log10l.S: Likewise.
40571 * sysdeps/i386/fpu/e_atanh.S: Likewise.
40572 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
40573 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
40574 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
40575 * sysdeps/i386/fpu/e_log10.S: Likewise.
40576 * sysdeps/i386/fpu/s_frexp.S: Likewise.
40577 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40578 * sysdeps/i386/fpu/s_asinh.S: Likewise.
40579 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
40580 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40581 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
40582 * sysdeps/i386/asm-syntax.h: Likewise.
40583 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40584 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40585 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40586 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
40587 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
40588 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40589 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
40590 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
40591 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40592 * sysdeps/powerpc/sysdep.h: Likewise.
40593 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
40594 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40596 2012-02-06 Joseph Myers <joseph@codesourcery.com>
40599 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
40601 2012-02-06 Joseph Myers <joseph@codesourcery.com>
40603 * sysdeps/i386/sysdep.h: Include <features.h>.
40604 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
40607 2012-02-05 Joseph Myers <joseph@codesourcery.com>
40609 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
40611 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
40614 2012-02-03 Joseph Myers <joseph@codesourcery.com>
40616 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
40617 (SETUP_PIC_REG): Use GET_PC_THUNK.
40618 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
40621 2012-02-03 Joseph Myers <joseph@codesourcery.com>
40623 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
40624 for non-PIC compilation.
40625 (SETUP_PIC_REG): Add .p2align directive.
40626 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
40627 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
40628 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
40629 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
40630 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
40631 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
40632 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
40633 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
40634 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
40635 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
40636 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
40637 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
40638 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
40639 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
40640 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
40641 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
40642 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
40643 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
40644 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
40645 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
40646 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
40647 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
40648 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
40649 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
40650 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
40651 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
40652 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40653 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
40654 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
40655 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
40656 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
40657 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40658 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
40659 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
40660 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
40661 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
40662 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
40663 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
40664 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
40665 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
40666 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
40668 2012-02-03 Joseph Myers <joseph@codesourcery.com>
40670 * math/tst-CMPLX.c: Include <stdio.h>.
40672 2012-01-31 Joseph Myers <joseph@codesourcery.com>
40674 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
40676 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
40677 * sysdeps/sparc/bits/mathdef.h: Likewise.
40679 2012-01-31 Marek Polacek <polacek@redhat.com>
40681 * libio/libio.h: Don't define _PARAMS.
40682 * locale/programs/config.h: Don't define PARAMS.
40683 * stdlib/strtol_l.c: Likewise.
40684 (__strtol_l): Remove PARAMS from the prototype.
40686 2012-01-31 Ulrich Drepper <drepper@gmail.com>
40688 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
40689 names. Just use the correct names. Remove unnecessary wrapper
40691 * malloc/arena.c: Likewise.
40692 * malloc/hooks.c: Likewise.
40694 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
40695 ARENA_TEST says not to. Simplify test for creation of a new arena.
40696 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
40698 2012-01-30 Ulrich Drepper <drepper@gmail.com>
40700 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
40702 (update_get_addr): New function.
40703 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
40704 GET_ADDR_MODULE parameter.
40706 2012-01-30 Joseph Myers <joseph@codesourcery.com>
40708 * crypt/cert.c: Remove __STDC__ conditionals.
40709 * crypt/crypt-entry.c: Likewise.
40710 * crypt/crypt_util.c: Likewise.
40711 * libio/filedoalloc.c: Likewise.
40712 * libio/fileops.c: Likewise.
40713 * libio/genops.c: Likewise.
40714 * libio/iofclose.c: Likewise.
40715 * libio/iofdopen.c: Likewise.
40716 * libio/iofopen.c: Likewise.
40717 * libio/iofopen64.c: Likewise.
40718 * libio/iogetdelim.c: Likewise.
40719 * libio/iopopen.c: Likewise.
40720 * libio/obprintf.c: Likewise.
40721 * libio/oldfileops.c: Likewise.
40722 * libio/oldiofclose.c: Likewise.
40723 * libio/oldiofdopen.c: Likewise.
40724 * libio/oldiofopen.c: Likewise.
40725 * libio/oldiopopen.c: Likewise.
40726 * libio/wfiledoalloc.c: Likewise.
40727 * libio/wgenops.c: Likewise.
40728 * locale/programs/xmalloc.c: Likewise.
40729 * misc/syslog.c: Likewise.
40730 * stdio-common/xbug.c: Likewise.
40731 * string/memchr.c: Likewise.
40732 * string/memcmp.c: Likewise.
40733 * string/memrchr.c: Likewise.
40734 * string/rawmemchr.c: Likewise.
40735 * sysdeps/posix/getcwd.c: Likewise.
40736 * time/strftime_l.c: Likewise.
40738 2012-01-30 Joseph Myers <joseph@codesourcery.com>
40740 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
40741 * config.make.in (config-cflags-sse2avx): Define.
40742 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
40745 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
40747 * scripts/config.guess: Update from upstream config git repository.
40748 * scripts/config.sub: Likewise.
40750 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
40752 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
40754 (R_TILEPRO_*, R_TILEGX_*): New macros.
40756 * scripts/firstversions.awk: Fix bug in version range handling.
40758 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
40760 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
40762 * include/sys/epoll.h: New file.
40763 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
40766 2012-01-28 Ulrich Drepper <drepper@gmail.com>
40768 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
40769 Avoid unnecessary __WORDSIZE == 64 test.
40770 (fmaxf): Use VEX format if possible.
40775 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
40776 * math/math_private.h: Remove libc_fegetround* and
40778 * sysdeps/i386/configure.in: Check for -msse2avx.
40779 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
40780 also if SSE2AVX is defined.
40781 Remove libc_fegetround* and libc_fesetround*.
40782 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
40783 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
40784 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
40786 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40787 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40788 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40789 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40790 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40792 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
40794 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40796 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
40798 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
40800 2012-01-27 Ulrich Drepper <drepper@gmail.com>
40803 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
40805 * Makeconfig (libm): Define.
40806 * elf/Makefile: Add rules to build and run tst-relsort1.
40807 * elf/tst-relsort1.c: New file.
40808 * elf/tst-relsort1mod1.c: New file.
40809 * elf/tst-relsort1mod2.c: New file.
40811 2012-01-27 Joseph Myers <joseph@codesourcery.com>
40813 * math/s_ldexp.c: Remove __STDC__ conditionals.
40814 * math/s_ldexpf.c: Likewise.
40815 * math/s_ldexpl.c: Likewise.
40816 * math/s_nextafter.c: Likewise.
40817 * math/s_nexttowardf.c: Likewise.
40818 * math/s_significand.c: Likewise.
40819 * math/s_significandf.c: Likewise.
40820 * math/s_significandl.c: Likewise.
40821 * math/w_jnl.c: Likewise.
40822 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40823 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40824 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40825 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40826 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40827 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40828 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
40829 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40830 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40831 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40832 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40833 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40834 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40835 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40836 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40837 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40838 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40839 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40840 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40841 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40842 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40843 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40844 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40845 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40846 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40847 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40848 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40849 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40850 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40851 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40852 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40853 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
40854 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40855 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40856 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
40857 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40858 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
40859 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
40860 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
40861 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
40862 * sysdeps/ieee754/k_standard.c: Likewise.
40863 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40864 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40865 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40866 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40867 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40868 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40869 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40870 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40871 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40872 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40873 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40874 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40875 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40876 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40877 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40878 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40879 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40880 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40881 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40882 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40883 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40884 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40885 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40886 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40887 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40888 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
40889 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40890 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40891 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40892 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
40893 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
40894 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
40895 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40896 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
40897 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
40898 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
40899 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
40900 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40901 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
40902 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
40903 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
40904 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
40905 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
40906 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
40907 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40908 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
40909 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
40910 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40911 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
40912 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
40913 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
40914 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40915 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40916 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
40917 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
40918 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
40919 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
40920 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40921 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40922 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40923 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40924 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
40925 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
40926 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40927 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40928 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40929 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40930 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
40931 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
40932 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40933 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40934 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40935 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40936 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
40937 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
40938 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40939 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
40940 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
40941 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
40942 * sysdeps/ieee754/s_matherr.c: Likewise.
40943 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
40944 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40945 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40946 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40948 2012-01-26 Joseph Myers <joseph@codesourcery.com>
40950 * crypt/md5.h: Remove __STDC__ conditionals.
40951 * libio/libioP.h: Likewise.
40952 * locale/programs/config.h: Likewise.
40953 * sysdeps/generic/sysdep.h: Likewise.
40954 * sysdeps/i386/asm-syntax.h: Likewise.
40955 * sysdeps/s390/asm-syntax.h: Likewise.
40956 * sysdeps/unix/sysdep.h: Likewise.
40957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
40958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40960 2012-01-26 Joseph Myers <joseph@codesourcery.com>
40962 * libio/libio.h: Remove __STDC__ conditionals.
40963 * malloc/obstack.h: Likewise.
40964 * math/complex.h: Likewise.
40965 * math/math.h: Likewise.
40966 * sysdeps/generic/_G_config.h: Likewise.
40967 * sysdeps/gnu/_G_config.h: Likewise.
40968 * sysdeps/mach/hurd/_G_config.h: Likewise.
40969 * sysdeps/powerpc/bits/mathdef.h: Likewise.
40970 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
40971 * sysdeps/sparc/bits/mathdef.h: Likewise.
40973 2012-01-26 Ulrich Drepper <drepper@gmail.com>
40976 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
40977 Clean up HAS_* macros.
40978 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
40979 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
40981 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
40983 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40984 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40985 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40986 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40987 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40989 2012-01-25 Joseph Myers <joseph@codesourcery.com>
40991 * elf/tst-unique3.cc (gets): Remove declaration.
40992 * elf/tst-unique3lib.cc (gets): Likewise.
40993 * elf/tst-unique3lib2.cc (gets): Likewise.
40994 * elf/tst-unique4.cc (gets): Likewise.
40996 2012-01-24 Ulrich Drepper <drepper@gmail.com>
40998 * include/stdio.h: Add C++ protection. Add gets declarations and
41000 * debug/tst-chk1.c: Don't declare gets here.
41001 * stdio-common/tst-gets.c: Likewise.
41003 2012-01-24 Joseph Myers <joseph@codesourcery.com>
41005 * posix/glob: Remove directory.
41007 2012-01-24 Joseph Myers <joseph@codesourcery.com>
41009 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
41011 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
41013 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
41014 of the non-standard EPFNOSUPPORT.
41016 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
41018 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
41019 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
41020 ANYWHERE set to 1 only on KERN_NO_SPACE error.
41022 2012-01-21 Ulrich Drepper <drepper@gmail.com>
41024 * wcsmbs/uchar.h: Test __STDC_VERSION__.
41026 2012-01-20 Ulrich Drepper <drepper@gmail.com>
41028 * nscd/aicache.c (addhstaiX): Do not cache negative results of
41030 * nscd/grpcache.c (cache_addgr): Likewise.
41031 * nscd/hstcache.c (cache_addhst): Likewise.
41032 * nscd/initgrcache.c (addinitgroupsX): Likewise.
41033 * nscd/pwdcache.c (cache_addpw): Likewise.
41034 * nscd/servicescache.c (cache_addserv): Likewise.
41036 2012-01-16 Ulrich Drepper <drepper@gmail.com>
41038 * malloc/malloc.c: Various cleanups.
41039 * malloc/hooks.c: Likewise.
41041 * stdlib/Makefile (tests): Add bug-fmtmsg1.
41042 * stdlib/bug-fmtmsg1.c: New file.
41044 * stdlib/fmtmsg.c (init): Add missing unlock.
41045 Patch by Peng Haitao <penght@cn.fujitsu.com>.
41047 2012-01-12 Marek Polacek <polacek@redhat.com>
41049 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
41052 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
41054 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
41055 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
41056 macro to ensure uniqueness of label name.
41057 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41058 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41060 2012-01-11 Ulrich Drepper <drepper@gmail.com>
41062 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
41064 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
41065 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
41066 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
41067 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
41069 2012-01-10 Ulrich Drepper <drepper@gmail.com>
41071 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
41073 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
41074 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
41075 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
41077 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
41079 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
41080 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
41081 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41082 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
41084 * math/bits/math-finite.h: Add ldexp support.
41086 2012-01-10 Marek Polacek <polacek@redhat.com>
41088 * locale/programs/localedef.h (show_archive_content): Add noreturn
41091 2012-01-09 Ulrich Drepper <drepper@gmail.com>
41093 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
41095 2012-01-08 Ulrich Drepper <drepper@gmail.com>
41097 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
41099 * io/Makefile (headers): Add bits/poll2.h.
41101 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
41103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
41104 typo #include statement.
41106 2012-01-08 Ulrich Drepper <drepper@gmail.com>
41108 * include/sys/cdefs.h: Define __attribute_alloc_size.
41109 * catgets/gencat.c: Add alloc_size attribute and apply consistently
41110 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
41111 * elf/pldd.c: Likewise.
41112 * iconv/iconv_charmap.c: Likewise.
41113 * iconv/iconvconfig.c: Likewise.
41114 * iconv/strtab.c: Likewise.
41115 * locale/programs/locale.c: Likewise.
41116 * locale/programs/localedef.h: Likewise.
41117 * locale/programs/simple-hash.c: Likewise.
41118 * nscd/nscd.h: Likewise.
41119 * nss/makedb.c: Likewise.
41120 * sysdeps/generic/ldconfig.h: Likewise.
41121 * locale/programs/localedef.c: Remove xmalloc prototype.
41122 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
41124 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
41126 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
41129 2012-01-08 Ulrich Drepper <drepper@gmail.com>
41131 * math/Makefile (tests): Add tst-CMPLX.
41132 * math/tst-CMPLX.c: New file.
41134 * math/complex.h (CMPLXL): Fix typo.
41136 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
41137 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
41139 * debug/tst-chk1.c: Add poll and ppoll tests.
41140 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
41141 * include/sys/poll.h: Add hidden proto for ppoll.
41142 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
41143 * sysdeps/mach/hurd/ppoll.c: Likewise.
41144 * io/ppoll.c: Likewise.
41145 * debug/poll_chk.c: New file.
41146 * debug/ppoll_chk.c: New file.
41147 * include/bits/poll2.h: New file.
41148 * io/bits/poll2.h: New file.
41151 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
41153 * configure.in: static is always set to yes. Remove.
41154 * config.make.in: Don't set build-static.
41155 * Makeconfig: Remove use of build-static.
41156 * dlfcn/Makefile: Likewise.
41157 * elf/Makefile: Likewise.
41158 * math/Makefile: Likewise.
41159 * misc/Makefile: Likewise.
41160 * nptl/Makefile: Likewise.
41161 * sysdeps/mach/hurd/Makefile: Likewise.
41163 * configure.in: PWD_P is not used anymore.
41164 * config.make.in: Remove PWD_P entry.
41166 * configure.in: Remove last remnants of RANLIB.
41167 No need to check for signed size_t anymore.
41168 Don't set libc_commonpagesize and libc_relro_required here for Alpha
41170 Remove __builtin_expect test because we require at least gcc 3.4.
41171 * aclocal.m4: Likewise.
41173 * wcsmbs/mbrtoc16.c: Implement using towc function.
41174 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
41175 * wcsmbs/wcsmbsload.c: Likewise.
41176 * iconv/gconv_simple.c: Likewise.
41177 * iconv/gconv_int.h: Likewise.
41178 * iconv/gconv_builtin.h: Likewise.
41179 * iconv/iconv_prog.c: Remove CHAR16 handling.
41181 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
41183 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
41185 * configure.in: Remove --with-elf and --enable-bounded options.
41186 Dont set base_machine for ia64. More non-ELF conditions removed.
41187 Remove testing and setting of leading underscore information.
41188 * config.make.in (build-bounded): Set to no.
41189 * config.h.in: Remove NO_UNDERSCORES entry.
41190 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
41192 * csu/start.c: Remove !NO_UNDERSCORE code.
41193 * locale/localeinfo.h: Likewise.
41194 * sysdeps/generic/machine-gmon.h: Likewise.
41195 * sysdeps/generic/sysdep.h: Likewise.
41196 * sysdeps/i386/sysdep.h: Likewise.
41197 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41198 * sysdeps/mach/sysdep.h: Likewise.
41199 * sysdeps/s390/s390-32/sysdep.h: Likewise.
41200 * sysdeps/s390/s390-64/sysdep.h: Likewise.
41201 * sysdeps/sh/sysdep.h: Likewise.
41202 * sysdeps/sparc/sparc32/alloca.S: Likewise.
41203 * sysdeps/unix/i386/sysdep.S: Likewise.
41204 * sysdeps/unix/sparc/start.c: Likewise.
41205 * sysdeps/unix/sparc/sysdep.S: Likewise.
41206 * sysdeps/unix/sparc/sysdep.h: Likewise.
41207 * sysdeps/unix/start.c: Likewise.
41208 * sysdeps/unix/x86_64/sysdep.S: Likewise.
41209 * sysdeps/x86_64/sysdep.h: Likewise.
41211 2012-01-07 Ulrich Drepper <drepper@gmail.com>
41214 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
41216 * argp/argp-fmtstream.h: Use const instead __const.
41217 * argp/argp.h: Likewise.
41218 * assert/assert.h: Likewise.
41219 * bits/fenv.h: Likewise.
41220 * bits/sched.h: Likewise.
41221 * bits/sigset.h: Likewise.
41222 * bits/sigthread.h: Likewise.
41223 * catgets/nl_types.h: Likewise.
41224 * conform/data/pthread.h-data: Likewise.
41225 * crypt/crypt-private.h: Likewise.
41226 * crypt/crypt.h: Likewise.
41227 * crypt/crypt_util.c: Likewise.
41228 * ctype/ctype.h: Likewise.
41229 * debug/execinfo.h: Likewise.
41230 * debug/mbsnrtowcs_chk.c: Likewise.
41231 * debug/mbsrtowcs_chk.c: Likewise.
41232 * debug/wcsnrtombs_chk.c: Likewise.
41233 * debug/wcsrtombs_chk.c: Likewise.
41234 * debug/wcstombs_chk.c: Likewise.
41235 * dirent/dirent.h: Likewise.
41236 * dlfcn/dlfcn.h: Likewise.
41237 * elf/neededtest4.c: Likewise.
41238 * grp/grp.h: Likewise.
41239 * gshadow/gshadow.h: Likewise.
41240 * iconv/gconv.h: Likewise.
41241 * iconv/gconv_int.h: Likewise.
41242 * iconv/gconv_simple.c: Likewise.
41243 * iconv/iconv.h: Likewise.
41244 * iconv/loop.c: Likewise.
41245 * iconv/skeleton.c: Likewise.
41246 * include/aio.h: Likewise.
41247 * include/aliases.h: Likewise.
41248 * include/argz.h: Likewise.
41249 * include/arpa/inet.h: Likewise.
41250 * include/assert.h: Likewise.
41251 * include/dirent.h: Likewise.
41252 * include/dlfcn.h: Likewise.
41253 * include/execinfo.h: Likewise.
41254 * include/fcntl.h: Likewise.
41255 * include/fenv.h: Likewise.
41256 * include/glob.h: Likewise.
41257 * include/grp.h: Likewise.
41258 * include/libintl.h: Likewise.
41259 * include/mntent.h: Likewise.
41260 * include/netdb.h: Likewise.
41261 * include/pwd.h: Likewise.
41262 * include/rpc/netdb.h: Likewise.
41263 * include/sched.h: Likewise.
41264 * include/search.h: Likewise.
41265 * include/shadow.h: Likewise.
41266 * include/signal.h: Likewise.
41267 * include/stdio.h: Likewise.
41268 * include/stdlib.h: Likewise.
41269 * include/string.h: Likewise.
41270 * include/sys/socket.h: Likewise.
41271 * include/sys/stat.h: Likewise.
41272 * include/sys/statfs.h: Likewise.
41273 * include/sys/statvfs.h: Likewise.
41274 * include/sys/syslog.h: Likewise.
41275 * include/sys/time.h: Likewise.
41276 * include/sys/uio.h: Likewise.
41277 * include/time.h: Likewise.
41278 * include/unistd.h: Likewise.
41279 * include/utmp.h: Likewise.
41280 * include/wchar.h: Likewise.
41281 * include/wctype.h: Likewise.
41282 * inet/aliases.h: Likewise.
41283 * inet/arpa/inet.h: Likewise.
41284 * inet/netinet/ether.h: Likewise.
41285 * inet/netinet/in.h: Likewise.
41286 * intl/libintl.h: Likewise.
41287 * io/bits/fcntl2.h: Likewise.
41288 * io/fcntl.h: Likewise.
41289 * io/ftw.h: Likewise.
41290 * io/sys/poll.h: Likewise.
41291 * io/sys/stat.h: Likewise.
41292 * io/sys/statfs.h: Likewise.
41293 * io/sys/statvfs.h: Likewise.
41294 * io/utime.h: Likewise.
41295 * libio/bits/stdio.h: Likewise.
41296 * libio/bits/stdio2.h: Likewise.
41297 * libio/libio.h: Likewise.
41298 * libio/libioP.h: Likewise.
41299 * libio/stdio.h: Likewise.
41300 * locale/lc-ctype.c: Likewise.
41301 * locale/locale.h: Likewise.
41302 * login/utmp.h: Likewise.
41303 * malloc/arena.c: Likewise.
41304 * malloc/malloc.c: Likewise.
41305 * malloc/malloc.h: Likewise.
41306 * malloc/mcheck.c: Likewise.
41307 * malloc/mtrace.c: Likewise.
41308 * math/bits/mathcalls.h: Likewise.
41309 * math/fenv.h: Likewise.
41310 * math/math_private.h: Likewise.
41311 * misc/bits/error.h: Likewise.
41312 * misc/bits/syslog.h: Likewise.
41313 * misc/err.h: Likewise.
41314 * misc/error.h: Likewise.
41315 * misc/fstab.h: Likewise.
41316 * misc/mntent.h: Likewise.
41317 * misc/regexp.h: Likewise.
41318 * misc/search.h: Likewise.
41319 * misc/sgtty.h: Likewise.
41320 * misc/sys/mman.h: Likewise.
41321 * misc/sys/syslog.h: Likewise.
41322 * misc/sys/uio.h: Likewise.
41323 * misc/sys/xattr.h: Likewise.
41324 * misc/ttyent.h: Likewise.
41325 * nis/rpcsvc/ypclnt.h: Likewise.
41326 * nss/nss.h: Likewise.
41327 * posix/bits/unistd.h: Likewise.
41328 * posix/fnmatch.h: Likewise.
41329 * posix/glob.h: Likewise.
41330 * posix/sched.h: Likewise.
41331 * posix/spawn.h: Likewise.
41332 * posix/sys/wait.h: Likewise.
41333 * posix/unistd.h: Likewise.
41334 * posix/wordexp.h: Likewise.
41335 * pwd/pwd.h: Likewise.
41336 * resolv/netdb.h: Likewise.
41337 * resource/sys/resource.h: Likewise.
41338 * rt/aio.h: Likewise.
41339 * rt/bits/mqueue2.h: Likewise.
41340 * rt/mqueue.h: Likewise.
41341 * shadow/shadow.h: Likewise.
41342 * signal/signal.h: Likewise.
41343 * socket/send.c: Likewise.
41344 * socket/sendto.c: Likewise.
41345 * socket/sys/socket.h: Likewise.
41346 * stdio-common/printf.h: Likewise.
41347 * stdlib/bits/stdlib.h: Likewise.
41348 * stdlib/fmtmsg.h: Likewise.
41349 * stdlib/monetary.h: Likewise.
41350 * stdlib/stdlib.h: Likewise.
41351 * stdlib/ucontext.h: Likewise.
41352 * streams/stropts.h: Likewise.
41353 * string/argz.h: Likewise.
41354 * string/bits/string2.h: Likewise.
41355 * string/string.h: Likewise.
41356 * string/strings.h: Likewise.
41357 * sunrpc/rpc/auth.h: Likewise.
41358 * sunrpc/rpc/auth_des.h: Likewise.
41359 * sunrpc/rpc/clnt.h: Likewise.
41360 * sunrpc/rpc/netdb.h: Likewise.
41361 * sunrpc/rpc/pmap_clnt.h: Likewise.
41362 * sunrpc/rpc/xdr.h: Likewise.
41363 * sysdeps/generic/inttypes.h: Likewise.
41364 * sysdeps/generic/net/if.h: Likewise.
41365 * sysdeps/generic/sys/swap.h: Likewise.
41366 * sysdeps/gnu/net/if.h: Likewise.
41367 * sysdeps/gnu/utmpx.h: Likewise.
41368 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
41369 * sysdeps/i386/i486/bits/string.h: Likewise.
41370 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
41371 * sysdeps/s390/bits/string.h: Likewise.
41372 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
41373 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
41374 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
41375 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
41376 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
41377 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
41378 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
41379 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
41380 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
41381 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
41382 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
41383 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
41384 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
41385 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
41386 * sysdeps/unix/sysv/linux/readv.c: Likewise.
41387 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
41388 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
41389 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41390 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
41391 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
41392 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
41393 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
41394 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
41395 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
41396 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
41397 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
41398 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
41399 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41400 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
41401 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
41402 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
41403 * sysvipc/sys/ipc.h: Likewise.
41404 * sysvipc/sys/msg.h: Likewise.
41405 * sysvipc/sys/sem.h: Likewise.
41406 * sysvipc/sys/shm.h: Likewise.
41407 * termios/termios.h: Likewise.
41408 * time/sys/time.h: Likewise.
41409 * time/time.h: Likewise.
41410 * wcsmbs/bits/wchar2.h: Likewise.
41411 * wcsmbs/uchar.h: Likewise.
41412 * wcsmbs/wchar.h: Likewise.
41413 * wctype/wctype.h: Likewise.
41416 * Makeconfig: Remove all but ELF support including AIX support.
41417 * Makerules: Likewise.
41418 * config.h.in: Likewise.
41419 * config.make.in: Likewise.
41420 * configure: Likewise.
41421 * configure.in: Likewise.
41422 * csu/Makefile: Likewise.
41423 * csu/version.c: Likewise.
41424 * debug/Makefile: Likewise.
41425 * dlfcn/Makefile: Likewise.
41426 * elf/Makefile: Likewise.
41427 * extra-lib.mk: Likewise.
41428 * iconv/Makefile: Likewise.
41429 * include/libc-symbols.h: Likewise.
41430 * include/shlib-compat.h: Likewise.
41431 * resolv/Makefile: Likewise.
41432 * resolv/res_libc.c: Likewise.
41433 * rt/Makefile: Likewise.
41434 * sysdeps/i386/asm-syntax.h: Likewise.
41435 * sysdeps/i386/sysdep.h: Likewise.
41436 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41437 * sysdeps/mach/sysdep.h: Likewise.
41438 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
41439 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
41440 * sysdeps/s390/asm-syntax.h: Likewise.
41441 * sysdeps/s390/s390-32/sysdep.h: Likewise.
41442 * sysdeps/s390/s390-64/sysdep.h: Likewise.
41443 * sysdeps/sh/sysdep.h: Likewise.
41444 * sysdeps/unix/sparc/sysdep.h: Likewise.
41445 * sysdeps/wordsize-32/divdi3.c: Likewise.
41446 * sysdeps/x86_64/sysdep.h: Likewise.
41448 * argp/Versions: Remove _argp_unlock_xxx.
41451 * abilist/ld.abilist: Update. Adjust for removal of tls option.
41452 * abilist/libBrokenLocale.abilist: Likewise.
41453 * abilist/libanl.abilist: Likewise.
41454 * abilist/libc.abilist: Likewise.
41455 * abilist/libcrypt.abilist: Likewise.
41456 * abilist/libdl.abilist: Likewise.
41457 * abilist/libm.abilist: Likewise.
41458 * abilist/libnsl.abilist: Likewise.
41459 * abilist/libpthread.abilist: Likewise.
41460 * abilist/libresolv.abilist: Likewise.
41461 * abilist/librt.abilist: Likewise.
41462 * abilist/libthread_db.abilist: Likewise.
41463 * abilist/libutil.abilist: Likewise.
41464 * abilist/libnss_db.abilist: New file.
41466 * scripts/abilist.awk: Add support for indirect functions.
41468 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
41470 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
41472 * shlib-versions: Remove entries for ports architectures.
41474 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
41476 * elf/stackguard-macros.h: Remove support for IA-64.
41477 * elf/tst-auditmod1.c: Likewise.
41478 * sysdeps/generic/ldsodefs.h: Likewise.
41480 * sysdeps/unix/sysv/linux/configure.in: Ports should define
41481 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
41485 * configure.in: Remove --enable-omitfp support.
41487 * config.make.in: Likewise.
41488 * Makeconfig: Likewise.
41489 * manual/install.texi: Likewise.
41491 In case anyone cares, the IA-64 architecture could move to ports.
41492 * sysdeps/ia64/*: Removed.
41493 * sysdeps/unix/sysv/linux/ia64/*: Removed.
41494 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
41497 * configure.in: Remove entries for unsupported architectures.
41500 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
41501 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
41503 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
41504 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
41505 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
41506 fall back to using wcrtomb.
41507 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
41508 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
41510 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
41511 * wcsmbs/tst-c16c32-1.c: New file.
41513 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
41516 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
41518 * elf/tst-unique3.cc: Add explicit declaration of gets.
41519 * elf/tst-unique3lib.cc: Likewise.
41520 * elf/tst-unique3lib2.cc: Likewise.
41521 * elf/tst-unique4.cc: Likewise.
41523 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
41525 2012-01-06 Joseph Myers <joseph@codesourcery.com>
41528 * assert/assert.h (static_assert): Don't define for C++.
41529 * libio/stdio.h (gets): Do declare for C++ <= C++11.
41530 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
41532 2012-01-03 Ulrich Drepper <drepper@gmail.com>
41534 * iconv/loop.c (single loop): Fix assertion in storing of
41537 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
41539 2012-01-01 Ulrich Drepper <drepper@gmail.com>
41541 * posix/getconf.c: Update copyright year.
41542 * nss/getent.c: Likewise.
41543 * nss/makedb.c: Likewise.
41544 * iconv/iconvconfig.c: Likewise.
41545 * iconv/iconv_prog.c: Likewise.
41546 * elf/ldconfig.c: Likewise.
41547 * elf/pldd.c: Likewise.
41548 * elf/sotruss.ksh: Likewise.
41549 * catgets/gencat.c: Likewise.
41550 * csu/version.c: Likewise.
41551 * elf/ldd.bash.in: Likewise.
41552 * elf/sprof.c (print_version): Likewise.
41553 * locale/programs/locale.c: Likewise.
41554 * locale/programs/localedef.c: Likewise.
41555 * login/programs/pt_chown.c: Likewise.
41556 * nscd/nscd.c (print_version): Likewise.
41557 * debug/xtrace.sh: Likewise.
41558 * malloc/memusage.sh: Likewise.
41559 * malloc/mtrace.pl: Likewise.
41560 * debug/catchsegv.sh: Likewise.
41562 2011-12-30 Jakub Jelinek <jakub@redhat.com>
41564 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
41567 2011-12-24 Ulrich Drepper <drepper@gmail.com>
41570 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
41571 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
41573 * iconv/gconv_int.h: Likewise.
41574 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
41575 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
41576 from libc for GLIBC_2.16.
41577 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
41578 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
41579 * wcsmbs/uchar.h: Really define mbstate_t.
41580 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
41581 * wcsmbs/c16rtomb.c: New file.
41582 * wcsmbs/mbrtoc16.c: New file.
41583 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
41584 for C/POSIX locale.
41585 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
41586 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
41588 * wcsmbs/wchar.h: Add missing __restrict.
41590 2011-12-23 Ulrich Drepper <drepper@gmail.com>
41593 * time/Makefile (routines): Add timespec_get.
41594 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
41595 * time/time.h: Define TIME_UTC and declare timespec_get. Define
41596 timespec for ISO C11.
41597 * time/timespec_get.c: New file.
41598 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
41599 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
41602 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
41603 * stdlib/stdlib.h: Declare aligned_alloc.
41604 * Versions.def: Add GLIBC_2.16 for libc.
41605 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
41608 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
41611 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
41615 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
41618 * assert/assert.h (static_assert): Define.
41620 * version.h: Update for 2.16 development version.
41623 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
41626 * version.h (RELEASE): Bump for 2.15 release.
41627 * include/features.h (__GLIBC_MINOR__): Bump to 15.
41629 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
41630 Patch by Marek Polacek <mpolacek@redhat.com>.
41632 * bits/byteswap.h: Protect long long constants with __extension__.
41633 * sysdeps/i386/bits/byteswap.h: Likewise.
41634 * sysdeps/ia64/bits/byteswap.h: Likewise.
41635 * sysdeps/s390/bits/byteswap.h: Likewise.
41636 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41638 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41641 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
41642 destination buffer.
41643 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
41645 2011-12-23 Marek Polacek <polacek@redhat.com>
41647 * elf/dl-addr.c (determine_info): Add inline keyword.
41648 * elf/tst-auditmod4b.c (check_avx): Likewise.
41649 * elf/tst-auditmod6b.c (check_avx): Likewise.
41650 * elf/tst-auditmod6c.c (check_avx): Likewise.
41651 * elf/tst-auditmod7b.c (check_avx): Likewise.
41653 2011-12-23 Ulrich Drepper <drepper@gmail.com>
41655 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
41658 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41661 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
41662 processing for last bytes.
41664 2011-08-06 Bruno Haible <bruno@clisp.org>
41667 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
41668 U+0385, not to U+1FEE.
41671 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
41672 entry for U+00A5 U+0301.
41674 2011-12-22 Ulrich Drepper <drepper@gmail.com>
41677 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
41678 buffer for the output is too small.
41680 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
41684 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
41685 SSE flags if possible.
41687 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41690 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
41691 processing for last bytes.
41693 2011-12-22 Joseph Myers <joseph@codesourcery.com>
41695 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
41696 (syscall-list-default-options, syscall-list-default-condition)
41697 (syscall-list-includes): Define.
41698 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
41699 list of ABIs and options and #if conditions for each ABI. Do not
41700 handle common syscalls between ABIs specially.
41701 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
41703 (syscall-list-variants, syscall-list-32bit-options)
41704 (syscall-list-32bit-condition, syscall-list-64bit-options)
41705 (syscall-list-64bit-condition): Define.
41706 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
41707 (syscall-list-variants, syscall-list-32bit-options)
41708 (syscall-list-32bit-condition, syscall-list-64bit-options)
41709 (syscall-list-64bit-condition): Define.
41710 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
41712 (syscall-list-variants, syscall-list-32bit-options)
41713 (syscall-list-32bit-condition, syscall-list-64bit-options)
41714 (syscall-list-64bit-condition): Define.
41715 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
41717 (syscall-list-variants, syscall-list-32bit-options)
41718 (syscall-list-32bit-condition, syscall-list-64bit-options)
41719 (syscall-list-64bit-condition): Define.
41721 2011-12-22 Ulrich Drepper <drepper@gmail.com>
41723 * locale/iso-639.def: Add brx entry.
41726 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
41727 Proposed by Mariusz_Cukr <marcukr@op.pl>.
41729 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
41730 __feraiseexcept_renamed.
41732 2011-12-21 Ulrich Drepper <drepper@gmail.com>
41735 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
41736 EPOLLET with unsigned values.
41737 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41738 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
41740 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
41741 to large cancellation.
41742 * math/s_cacoshf.c: Likewise.
41743 * math/s_cacoshl.c: Likewise.
41745 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
41749 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
41750 * math/s_cacoshf.c: Likewise.
41751 * math/s_cacoshl.c: Likewise.
41753 2011-12-21 Ulrich Drepper <drepper@gmail.com>
41756 * iconv/gconv.h: Define __GCONV_SWAP.
41757 * iconvdata/unicode.c: The swap bit must be stored in __flags.
41758 * iconvdata/utf-16.c: Likewise.
41759 * iconvdata/utf-32.c: Likewise.
41761 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
41764 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
41765 numerator after shifting it by one limb.
41767 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
41769 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
41770 under [__USE_EXTERN_INLINES].
41772 2011-12-17 Ulrich Drepper <drepper@gmail.com>
41775 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
41777 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41779 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
41780 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
41782 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
41783 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
41784 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
41785 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
41786 for strncasecmp/strncasecmp_l compilation.
41787 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
41788 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
41790 2011-12-08 Marek Polacek <mpolacek@redhat.com>
41793 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
41796 2011-12-17 Ulrich Drepper <drepper@gmail.com>
41799 * time/tzfile.c (__tzfile_read): Check values from file header.
41801 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
41803 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
41804 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
41805 * powerpc/powerpc32/dl-start.S: Likewise.
41806 * powerpc/powerpc32/elf/start.S: Likewise.
41807 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
41808 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
41809 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
41810 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
41811 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
41812 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
41813 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
41814 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
41815 * powerpc/powerpc32/fpu/s_round.S: Likewise.
41816 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
41817 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
41818 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
41819 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
41820 * powerpc/powerpc32/memset.S: Likewise.
41821 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
41822 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
41823 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
41824 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
41825 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
41826 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
41827 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
41828 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
41829 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
41830 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
41831 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
41832 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41833 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41835 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41837 * math/libm-test.inc: Added more nearbyint tests.
41838 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
41839 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
41840 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
41841 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
41843 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
41845 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
41848 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41850 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
41851 Add wcscpy-ssse3 wcscpy-c.
41852 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
41853 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
41854 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
41855 * sysdeps/x86_64/wcschr.S: New file.
41856 * sysdeps/x86_64/wcsrchr.S: New file.
41857 * string/test-strcmp.c: Remove checking of wcscmp function for
41859 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
41860 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
41861 wcsrchr-sse2 wcsrchr-c.
41862 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
41863 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
41864 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
41865 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
41866 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
41867 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
41868 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
41869 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
41870 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
41871 * wcsmbc/wcschr.c (WCSCHR): New macro.
41873 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41875 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
41876 * wcsmbs/test-wcsrchr.c: New file.
41877 * string/test-strrchr.c: Add wcsrchr support.
41879 * wcsmbs/test-wcscpy.c: New file.
41880 * string/test-strcpy.c: Add wcscpy support.
41883 2011-12-10 Ulrich Drepper <drepper@gmail.com>
41885 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
41888 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
41891 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
41893 2011-12-04 Ulrich Drepper <drepper@gmail.com>
41895 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
41896 Minor optimizations.
41898 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
41899 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
41900 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
41902 2011-12-03 Ulrich Drepper <drepper@gmail.com>
41904 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
41905 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
41906 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
41907 for gcc to avoid warnings.
41908 * inet/Makefile (tests): Add tst-checks.
41909 * inet/tst-checks.c: New file.
41911 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
41914 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
41917 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
41918 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
41920 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
41922 2011-12-02 Ulrich Drepper <drepper@gmail.com>
41924 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
41927 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
41929 2011-11-29 Joseph Myers <joseph@codesourcery.com>
41931 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
41932 conditional on GCC version.
41933 (__arch_compare_and_exchange_val_8_acq)
41934 (__arch_compare_and_exchange_val_16_acq)
41935 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
41936 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
41937 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
41939 2011-12-02 Joseph Myers <joseph@codesourcery.com>
41941 * sysdeps/sh/backtrace.c: New file.
41943 2011-12-02 Andreas Schwab <schwab@redhat.com>
41945 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
41948 2011-12-01 Andreas Schwab <schwab@redhat.com>
41950 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
41951 falling back to utime.
41953 2011-11-30 Andreas Schwab <schwab@redhat.com>
41955 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
41956 expectations for float.
41958 2011-11-29 Andreas Schwab <schwab@redhat.com>
41960 * locale/weight.h (findidx): Add parameter len.
41961 * locale/weightwc.h (findidx): Likewise.
41962 * posix/fnmatch_loop.c (FCT): Adjust caller.
41963 * posix/regcomp.c (build_equiv_class): Likewise.
41964 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
41965 * posix/regexec.c (check_node_accept_bytes): Likewise.
41966 * string/strcoll_l.c (STRCOLL): Likewise.
41967 * string/strxfrm_l.c (STRXFRM): Likewise.
41969 2011-11-17 Ulrich Drepper <drepper@gmail.com>
41971 * Makefile.in: Remove CVSOPT handling.
41972 * configure.in: Remove use of AC_REVISION.
41973 * iconvdata/Makefile (distribute): No need to filter out CVS.
41974 * scripts/list-sources.sh: Remove CVS, subversion and monotone
41977 2011-11-16 Andreas Schwab <schwab@redhat.com>
41979 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
41980 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
41981 [USE_AS_STRNCASECMP_L]: Likewise.
41982 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
41983 NO_TLS_DIRECT_SEG_REFS.
41984 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
41985 Fix argument offsets for non-PIC.
41986 [USE_AS_STRNCASECMP_L]: Likewise.
41987 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
41988 NO_TLS_DIRECT_SEG_REFS.
41990 2011-11-15 Ulrich Drepper <drepper@gmail.com>
41992 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
41994 * locale/loadlocale.c (_nl_load_locale): Likewise.
41996 2011-11-15 Andreas Schwab <schwab@redhat.com>
41998 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
41999 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
42000 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
42001 (SYSCALL_GETTIME): Set errno on error.
42003 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
42004 count references to noai6ai_cached.
42006 2011-11-15 Ulrich Drepper <drepper@gmail.com>
42008 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
42010 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
42011 FD_CLOEXEC for /proc/self/maps.
42013 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
42014 FD_CLOEXEC for /proc/meminfo.
42016 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
42019 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
42020 FD_CLOEXEC for given file.
42022 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
42024 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
42025 FD_CLOEXEC for /etc/hosts.
42026 (_gethtent): Likewise.
42028 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
42030 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
42031 cancellation and set FD_CLOEXEC for /etc/netgroup.
42033 * nss/nss_files/files-key.c (search): Don't allow cancellation when
42034 reading /etc/publickey.
42036 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
42037 allow cancellation when reading /etc/group.
42039 * nss/nss_files/files-alias.c (internal_setent): Don't allow
42041 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
42043 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
42044 when using data file.
42046 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
42048 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
42049 (write_nis_obj): Use "c" and "e" in fopen.
42051 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
42053 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
42055 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
42057 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
42059 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
42062 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
42064 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
42066 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
42068 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
42069 file parsing and set FD_CLOEXEC.
42071 2011-11-14 Ulrich Drepper <drepper@gmail.com>
42073 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
42075 2011-11-14 Andreas Schwab <schwab@redhat.com>
42077 * malloc/arena.c (arena_get2): Don't call reused_arena when
42078 _int_new_arena failed.
42080 2011-11-14 Ulrich Drepper <drepper@gmail.com>
42082 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
42083 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
42084 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
42085 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42086 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42087 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
42088 to compile strcasecmp and strncasecmp.
42089 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
42090 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
42092 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
42094 2011-11-13 Ulrich Drepper <drepper@gmail.com>
42096 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
42097 locale-defines.sym to gen-as-const-headers.
42098 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
42099 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
42100 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
42101 to compile strcasecmp and strncasecmp.
42102 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
42103 strcasecmp_l and strncasecmp_l.
42104 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
42105 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
42106 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
42107 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
42108 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
42109 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
42110 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
42111 * sysdeps/i386/i686/multiarch/strncase.S: New file.
42112 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
42113 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
42114 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
42116 2011-11-12 Ulrich Drepper <drepper@gmail.com>
42118 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
42119 result of SYSDEP_GETTIME_CPU to retval.
42120 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
42121 parameter list to macro. Remove trailing semicolon. Adjust users.
42123 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
42126 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
42128 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
42130 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
42131 from unused variable.
42133 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
42135 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
42138 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
42141 * sunrpc/rpc_prot.c (rejected): Fix case value.
42143 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
42144 unsigned long long int to avoid warnings in shift.
42146 * posix/regex_internal.c (re_string_reconstruct): Actually use result
42148 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
42151 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
42152 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
42153 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
42155 * nis/nis_table.c (nis_list): Use variable of correct type for
42156 result of __follow_path call.
42158 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42160 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
42161 of math functions ceil, trunc, floor, round, and sqrt, when
42162 avaliable on the platform.
42163 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
42165 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42166 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
42167 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
42169 2011-10-30 Marek Polacek <mpolacek@redhat.com>
42171 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
42172 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
42174 2011-11-11 Roland McGrath <roland@hack.frob.com>
42176 * include/unistd.h: Fix __readlink return type.
42177 Reported by Chris Metcalf <cmetcalf@tilera.com>.
42179 2011-11-11 Ulrich Drepper <drepper@gmail.com>
42181 * stdlib/ucontext.h: Undo last change for makecontext.
42183 2011-11-11 Andreas Schwab <schwab@redhat.com>
42185 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
42187 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
42188 * setjmp/setjmp.h: Mark functions as non-leaf.
42189 * setjmp/bits/setjmp2.h: Likewise.
42190 * stdlib/ucontext.h: Likewise.
42192 2011-11-10 Andreas Schwab <schwab@redhat.com>
42194 * malloc/arena.c (_int_new_arena): Don't increment narenas.
42195 (reused_arena): Don't check arena limit.
42196 (arena_get2): Atomically check arena limit.
42198 2011-11-08 Ulrich Drepper <drepper@gmail.com>
42200 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
42201 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
42203 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
42206 2011-11-07 Andreas Schwab <schwab@redhat.com>
42208 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
42209 handler when locking.
42211 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
42212 Fix size of allocated buffer.
42214 2011-11-04 Andreas Schwab <schwab@redhat.com>
42217 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
42218 declarations for long double functions.
42219 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
42221 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
42223 2011-11-03 Andreas Schwab <schwab@redhat.com>
42225 * nscd/nscd.c (main): Don't start AVC thread until credentials are
42228 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
42231 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
42233 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
42235 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
42237 * include/alloca.h (stackinfo_alloca_round): Define.
42238 (extend_alloca): Use it.
42239 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
42240 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
42243 * scripts/check-local-headers.sh: Ignore libaudit.h.
42245 * nscd/Makefile (extra-objs): Make recursively expanded.
42247 2011-11-01 Ulrich Drepper <drepper@gmail.com>
42249 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
42250 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
42252 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
42253 * posix/tst-rfc3484-2.c: Likewise.
42254 * posix/tst-rfc3484-3.c: Likewise.
42256 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
42258 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
42260 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
42261 process_vm_writev from libc using GLIBC_2.15 version.
42263 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
42265 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
42267 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
42270 2011-10-31 Ulrich Drepper <drepper@gmail.com>
42273 * nss/getent.c (initgroups_keys): Show error message in case no group
42276 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
42277 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
42278 __bump_nl_timestamp.
42279 * nscd/connections (nscd_init): When host database is served open
42280 netlink socket and request notification about configuration changes.
42281 (main_loop_poll): Track netlink file descriptor and bump timestamp
42282 in case data becomes available.
42283 (main_loop_epoll): Likewise.
42284 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
42285 (database_pers_head): Add extra_data fileds.
42286 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
42287 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
42288 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
42290 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
42291 in6ai data, call __free_in6ai.
42292 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
42293 Add -DHAVE_NETLINK.
42294 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
42295 interface information. Reuse previous data if netlink timestamp
42297 (__bump_nl_timestamp): New function.
42298 (__free_in6ai): New function.
42300 2011-10-30 Ulrich Drepper <drepper@gmail.com>
42302 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
42303 close_not_cancel_no_status here.
42304 (__check_pf): Reorganize code a bit to not call close twice if OOM.
42306 2011-10-29 Ulrich Drepper <drepper@gmail.com>
42309 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
42312 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
42313 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
42314 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
42316 2011-07-03 Andreas Jaeger <aj@suse.de>
42319 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
42320 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
42321 * math/libm-test.inc (sin_test): Add test case.
42323 2011-10-29 Ulrich Drepper <drepper@gmail.com>
42326 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
42327 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
42329 * elf/chroot_canon.c (chroot_canon): Cleanups.
42331 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
42334 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
42335 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
42337 * string/test-strchr.c: Make usable for strchrnul testing.
42338 * string/test-strchrnul.c: New file.
42339 * string/Makefile (strop-tests): Add strchrnul.
42341 * po/it.po: Update from translation team.
42342 * po/es.po: Likewise.
42344 2011-10-28 Ulrich Drepper <drepper@gmail.com>
42346 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
42347 the three constants needed as parameters. Drop the others.
42348 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
42349 __m128i_strloadu_tolower.
42350 Create and initialize variable zero and use it in all the places
42351 where _mm_setzero_si128 was used.
42353 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
42354 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
42355 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
42356 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
42358 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
42359 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
42360 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
42361 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
42362 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
42363 __mpranred, __mptan.
42364 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
42365 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
42366 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
42367 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
42368 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
42369 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
42370 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
42371 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
42372 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
42374 2011-10-28 Andreas Schwab <schwab@redhat.com>
42376 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
42377 redefine if SHARED.
42378 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
42380 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
42381 wide char related routines to wcsmbs subdir.
42383 2011-10-27 Andreas Schwab <schwab@redhat.com>
42386 * misc/sys/cdefs.h (__THROWNL): Define.
42387 * posix/unistd.h: Use __THREADNL instead of __THREAD
42388 for memory synchronization functions.
42390 2011-10-26 Roland McGrath <roland@hack.frob.com>
42393 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
42395 * manual/stdio.texi (Obstack Streams): Node removed.
42397 2011-10-26 Andreas Schwab <schwab@redhat.com>
42399 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
42400 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42401 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42403 * math/math_private.h (math_force_eval): Allow non-addressable
42405 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
42407 2011-10-25 Ulrich Drepper <drepper@gmail.com>
42409 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
42410 file is not needed.
42412 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
42413 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
42414 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42415 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42416 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42417 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42418 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42419 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
42421 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
42422 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
42423 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
42424 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
42425 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
42426 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
42427 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
42428 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
42429 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
42430 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
42431 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
42432 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
42433 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
42434 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
42435 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
42436 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
42437 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
42438 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
42439 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
42441 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
42442 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
42444 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
42445 place. Use VEX encoding when compiling for AVX.
42447 2011-10-25 Andreas Schwab <schwab@redhat.com>
42449 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
42450 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
42452 * string/test-strchr.c (do_test): Don't generate NUL bytes.
42454 2011-10-25 Ulrich Drepper <drepper@gmail.com>
42456 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
42457 useless if() expression.
42458 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42459 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42460 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42461 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42462 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42463 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42464 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42465 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42466 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
42467 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42468 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42469 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42470 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
42471 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42472 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
42473 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42474 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42475 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42476 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
42478 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
42480 2011-10-25 Andreas Schwab <schwab@redhat.com>
42482 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
42484 * elf/dl-fini.c (_dl_sort_fini): Likewise.
42486 2011-10-25 Ulrich Drepper <drepper@gmail.com>
42488 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
42489 .text section. Avoid duplicate constants.
42490 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
42491 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42492 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42493 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42494 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42495 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42496 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42497 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42498 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
42499 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
42500 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
42501 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
42502 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
42503 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
42504 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
42505 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
42506 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
42507 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
42508 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42509 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42510 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
42511 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
42512 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
42513 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
42514 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
42515 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
42516 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
42517 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
42518 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
42519 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
42520 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
42521 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
42522 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
42523 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
42524 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
42525 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
42526 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
42527 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
42528 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
42529 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
42530 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
42531 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
42532 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
42533 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
42534 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
42536 2011-10-24 Ulrich Drepper <drepper@gmail.com>
42538 * sysdeps/x86_64/dla.h: Move to ...
42539 * sysdeps/x86_64/fpu/dla.h: ...here.
42540 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
42541 situations. Use __builtin_fma only for gcc 4.6 and up.
42543 * config.make.in: Add have-mfma4 entry.
42544 * configure.in: Substitute libc_cv_cc_fma4.
42545 * math/Makefile (dbl-only-routines): Add sincostab.
42546 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
42547 Use __sincostab not sincos.
42548 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
42550 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42551 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42552 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42553 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
42555 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
42556 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
42557 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
42558 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
42560 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
42561 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
42563 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
42564 define aliases when function name is a macro.
42565 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
42566 sysdeps/ieee754/dbl-64/sincos.tbl.
42567 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
42568 fma4-enabled routines.
42569 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
42570 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
42571 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
42572 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
42573 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
42574 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
42575 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
42576 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
42577 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
42578 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
42579 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
42580 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
42581 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
42582 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
42583 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
42584 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
42585 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
42586 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
42587 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
42588 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
42589 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
42590 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
42591 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
42592 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
42593 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
42594 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
42595 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
42596 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
42597 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
42598 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
42600 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
42602 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42603 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42604 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42605 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42606 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42607 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42608 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42609 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42611 2011-10-24 Andreas Schwab <schwab@redhat.com>
42613 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
42615 2011-10-23 Ulrich Drepper <drepper@gmail.com>
42617 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
42619 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
42621 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
42623 * string/strnlen.c: Don't define STRNLEN, reverse logic.
42624 Remove unused variable magic_bits.
42625 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
42627 * string/strnlen.c: Define and use STRNLEN macro.
42628 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
42629 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
42630 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
42631 * wcsmbs/wcslen.c: Define and use WCSLEN.
42632 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
42633 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
42634 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
42635 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
42636 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
42637 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
42638 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
42640 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42642 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42643 strnlen-sse2-no-bsf.
42644 Rename strlen-no-bsf to strlen-sse2-no-bsf.
42645 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
42646 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
42647 Add strnlen support.
42648 (USE_AS_STRNLEN): New macro.
42649 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
42650 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
42651 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
42652 * sysdeps/x86_64/wcslen.S: New file.
42654 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
42656 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
42657 XMM-moves are used for copying on small sizes.
42659 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42661 * wcsmbs/Makefile (strop-tests): Add wcschr.
42662 * wcsmbs/test-wcschr.c: New file.
42663 * string/test-strchr.c: Update.
42664 Add wcschr support.
42667 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42669 * wcsmbs/Makefile (strop-tests): Add wcslen.
42670 * wcsmbs/test-wcslen.c: New file.
42671 * string/test-strlen.c: Update.
42672 Add wcslen support.
42675 2011-10-23 Ulrich Drepper <drepper@gmail.com>
42677 * po/it.po: Update from translation team.
42679 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42681 * sysdeps/x86_64/wcscmp.S: Update.
42682 Fix wrong comparison semantics.
42683 wcscmp shall use signed comparison not unsigned.
42684 Don't use substraction to avoid overflow bug.
42685 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
42686 * wcsmbc/wcscmp.c: Likewise.
42687 * string/test-strcmp.c: Likewise.
42688 Add new tests to check cases with negative values.
42690 2011-10-23 Ulrich Drepper <drepper@gmail.com>
42692 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
42693 * sysdeps/x86_64/dla.h: ...here. New file.
42694 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
42695 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42696 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42697 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42698 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42699 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42700 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42701 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42702 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42704 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
42706 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
42707 __ynl_finite aliases.
42709 2011-10-22 Ulrich Drepper <drepper@gmail.com>
42711 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42713 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
42715 [DLA_FMA] (EMULV): Use DLA_FMA.
42716 [DLA_FMA] (MUL12): Use EMULV.
42717 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
42718 that are not needed.
42719 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42720 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42721 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42722 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42723 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42724 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42725 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42727 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
42729 * math/s_nan.c: Undef __nan.
42730 * math/s_nanf.c: Undef __nanf.
42731 * math/s_nanl.c: Undef __nanl.
42732 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
42735 2011-10-22 Ulrich Drepper <drepper@gmail.com>
42737 * math/s_catan.c: Add branch predictions.
42738 * math/s_catanf.c: Likewise.
42739 * math/s_catanh.c: Likewise.
42740 * math/s_catanhf.c: Likewise.
42741 * math/s_catanhl.c: Likewise.
42742 * math/s_catanl.c: Likewise.
42743 * math/s_cexp.c: Likewise.
42744 * math/s_cexpf.c: Likewise.
42745 * math/s_cexpl.c: Likewise.
42746 * math/s_clog.c: Likewise.
42747 * math/s_clog10.c: Likewise.
42748 * math/s_clog10f.c: Likewise.
42749 * math/s_clog10l.c: Likewise.
42750 * math/s_clogf.c: Likewise.
42751 * math/s_clogl.c: Likewise.
42752 * math/s_csqrt.c: Likewise.
42753 * math/s_csqrtf.c: Likewise.
42754 * math/s_csqrtl.c: Likewise.
42755 * math/s_ctanf.c: Likewise.
42756 * math/s_ctanh.c: Likewise.
42757 * math/s_ctanhf.c: Likewise.
42758 * math/s_ctanhl.c: Likewise.
42759 * math/s_ctanl.c: Likewise.
42761 * math/math_private.h: Define __nan, __nanf, __nanl.
42762 * math/s_cacosh.c: Include <math_private.h>.
42763 * math/s_cacoshl.c: Likewise.
42764 * math/s_casinh.c: Likewise.
42765 * math/s_casinhf.c: Likewise.
42766 * math/s_casinhl.c: Likewise.
42767 * math/s_ccos.c: Rely entire on ccosh.
42768 * math/s_ccosf.c: Rely entire on ccoshf.
42769 * math/s_ccosl.c: Rely entirely on ccoshl.
42770 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
42771 Remove tests for FE_INVALID.
42772 * math/s_ccoshf.c: Likewise.
42773 * math/s_ccoshl.c: Likewise.
42774 * math/s_csin.c: Likewise.
42775 * math/s_csinf.c: Likewise.
42776 * math/s_csinh.c Likewise.
42777 * math/s_csinhf.c: Likewise.
42778 * math/s_csinhl.c: Likewise.
42779 * math/s_csinl.c: Likewise.
42780 * math/s_ctan.c: Likewise.
42781 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
42782 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
42783 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
42785 2011-10-21 Ulrich Drepper <drepper@gmail.com>
42787 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
42788 compilation problems.
42790 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
42793 2011-10-20 Ulrich Drepper <drepper@gmail.com>
42795 * sysdeps/i386/configure.in: Test for -mfma4 option.
42796 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
42797 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
42798 COMMON_CPUID_INDEX_80000001.
42799 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
42800 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
42801 use it if FMA3 is not supported.
42802 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
42804 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
42805 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42807 2011-10-20 Andreas Schwab <schwab@redhat.com>
42810 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
42811 it would create a cycle with a link time dependency.
42813 2011-10-19 Ulrich Drepper <drepper@gmail.com>
42815 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
42817 * string/Makefile (strop-tests): Add rawmemchr.
42818 * string/test-rawmemchr.c: New file.
42820 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
42821 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
42822 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
42823 when compiling str{,n}casecmp and when AVX is available. Hook up
42824 new optimized code in initializers.
42826 2011-10-19 Andreas Schwab <schwab@redhat.com>
42828 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
42829 __feraiseexcept instead of feraiseexcept.
42831 2011-10-18 Ulrich Drepper <drepper@gmail.com>
42833 * math/math_private.h: Define defaults for libc_fetestexcept and
42835 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
42836 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
42837 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
42838 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
42839 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
42840 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
42841 libc_fetestexcept and libc_feupdateenv.
42843 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
42844 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
42845 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
42846 * sysdeps/x86_64/fpu/math_private.h: Define special version of
42847 libc_feholdexcept_setround.
42849 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
42850 Add s_nearbyint-c and s_nearbyintf-c.
42851 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
42852 nearbyintf inlines.
42853 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
42854 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
42855 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
42856 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
42858 * math/math_private.h: Define defaults for libc_fegetround,
42859 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
42860 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
42861 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
42862 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
42863 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
42864 standard functions.
42865 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42866 Remove comments and hacks for old compiler versions.
42867 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
42868 libc_fegetround, libc_fesetround, libc_feholdexcept, and
42869 libc_feholdexceptl.
42871 2011-10-18 Andreas Schwab <schwab@redhat.com>
42873 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
42874 (__feraiseexcept_renamed): Add __NTH.
42875 (feraiseexcept): Add __NTH. Rename local variables to fix
42876 namespace violations.
42878 2011-10-17 Ulrich Drepper <drepper@gmail.com>
42880 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
42882 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
42884 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
42885 recently added interfaces.
42886 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
42888 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
42889 about macro parameter expansion.
42891 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
42892 __NO_MATH_INLINES is defined. Cleanups.
42894 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
42895 and __floorf is target has SSE4.1.
42896 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
42897 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
42898 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
42899 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
42901 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
42903 (floorf): Likewise.
42905 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
42907 2011-10-17 Andreas Schwab <schwab@redhat.com>
42909 * misc/sys/cdefs.h: Fix last change.
42911 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
42914 2011-10-16 Ulrich Drepper <drepper@gmail.com>
42916 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
42918 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
42919 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42920 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
42921 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42922 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42923 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
42924 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42925 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42926 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
42927 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
42928 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
42929 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
42930 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
42931 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
42932 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
42933 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
42934 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
42935 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
42936 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
42937 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
42938 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
42939 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
42941 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
42942 ceil, ceilf, floor, floorf.
42944 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
42945 Perform IRELATIVE relocations last.
42947 * elf/do-rel.h: Add another parameter nrelative, replacing the
42948 local variable with the same name. Change name of the function
42949 to end in Rel or Rela (uppercase).
42950 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
42951 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
42952 elf_dynamic_do_##reloc function.
42954 2011-10-15 Ulrich Drepper <drepper@gmail.com>
42956 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
42957 is sufficient, at least on modern CPUs.
42959 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
42961 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
42962 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
42964 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
42966 * math/bits/math-finite.h: Add entries for exp.
42967 * math/e_expl.c: Add __*_finite alias.
42968 * sysdeps/i386/fpu/e_exp.S: Likewise.
42969 * sysdeps/i386/fpu/e_expf.S: Likewise.
42970 * sysdeps/i386/fpu/e_expl.c: Likewise.
42971 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42972 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
42973 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
42974 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
42975 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
42976 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
42977 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
42979 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
42980 is sufficient, at least on modern CPUs.
42982 * ctype/ctype-info.c (__ctype_init): Define.
42983 * include/ctype.h (__ctype_init): Declare.
42984 (__ctype_b_loc): The variable is always initialized.
42985 (__ctype_toupper_loc): Likewise.
42986 (__ctype_tolower_loc): Likewise.
42987 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
42988 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
42990 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
42992 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
42994 * configure.in: Also look in $cxxmachine/include for C++ system
42997 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42999 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
43000 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
43001 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
43002 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
43003 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
43004 (USE_AS_WMEMCMP): New macro.
43006 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
43007 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
43008 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
43009 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
43010 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43011 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
43012 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
43013 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
43014 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
43015 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
43016 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
43017 (USE_AS_WMEMCMP): New macro.
43018 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
43019 * sysdeps/string/test-memcmp.c: Update.
43020 Fix simple_wmemcmp.
43022 * wcsmbs/wmemcmp.c: Update.
43023 (WMEMCMP): New macro.
43026 2011-10-12 Andreas Jaeger <aj@suse.de>
43029 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
43031 2011-10-15 Ulrich Drepper <drepper@gmail.com>
43033 * libio/iofwide.c (do_length): Avoid warning.
43035 * ctype/ctype.h (__isctype_f): Add missing __THROW.
43037 2011-10-14 Ulrich Drepper <drepper@gmail.com>
43039 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
43041 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
43042 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
43043 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
43044 * sysdeps/i386/i686/fpu/e_log.S: New file.
43045 * sysdeps/i386/i686/fpu/e_logf.S: New file.
43046 * sysdeps/i386/i686/fpu/e_logl.S: New file.
43048 * ctype/ctype.h: Add support for inlined isXXX functions when
43049 compiling C++ code.
43051 2011-10-14 Andreas Schwab <schwab@redhat.com>
43053 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43055 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
43057 2011-10-13 Roland McGrath <roland@hack.frob.com>
43060 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
43062 2011-10-13 Andreas Schwab <schwab@redhat.com>
43064 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
43065 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
43068 * sysdeps/x86_64/memrchr.S: Check for zero size.
43070 * string/stratcliff.c: Add memrchr tests.
43072 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43074 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43075 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
43076 rawmemchr-sse2 rawmemchr-sse2-bsf.
43077 * sysdeps/i386/i686/multiarch/memchr.S: New file.
43078 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
43079 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
43080 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
43081 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
43082 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
43083 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
43084 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
43085 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
43086 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
43087 * string/memrchr.c (MEMRCHR): New macro.
43089 2011-10-12 Ulrich Drepper <drepper@gmail.com>
43091 Add integration with gcc's -ffinite-math-only and optimize wrapper
43093 * Versions.def: Define GLIBC_2.15 version for libm.
43094 * math/Makefile (headers): Add bits/math-finite.h.
43095 * math/bits/math-finite.h: New file.
43096 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
43097 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
43098 * math/e_acoshl.c: Add __*_finite alias.
43099 * math/e_acosl.c: Likewise.
43100 * math/e_asinl.c: Likewise.
43101 * math/e_atan2l.c: Likewise.
43102 * math/e_atanhl.c: Likewise.
43103 * math/e_coshl.c: Likewise.
43104 * math/e_exp10.c: Likewise.
43105 * math/e_exp10f.c: Likewise.
43106 * math/e_exp10l.c: Likewise.
43107 * math/e_exp2l.c: Likewise.
43108 * math/e_fmodl.c: Likewise.
43109 * math/e_gammal_r.c: Likewise.
43110 * math/e_hypotl.c: Likewise.
43111 * math/e_j0l.c: Likewise.
43112 * math/e_j1l.c: Likewise.
43113 * math/e_jnl.c: Likewise.
43114 * math/e_lgammal_r.c: Likewise.
43115 * math/e_log10l.c: Likewise.
43116 * math/e_log2l.c: Likewise.
43117 * math/e_logl.c: Likewise.
43118 * math/e_powl.c: Likewise.
43119 * math/e_sinhl.c: Likewise.
43120 * math/e_sqrtl.c: Likewise.
43121 * math/e_scalb.c: Completely rewritten and optimized.
43122 * math/e_scalbf.c: Likewise.
43123 * math/e_scalbl.c: Likewise.
43124 * math/w_acos.c: Likewise.
43125 * math/w_acosf.c: Likewise.
43126 * math/w_acosl.c: Likewise.
43127 * math/w_acosh.c: Likewise.
43128 * math/w_acoshf.c: Likewise.
43129 * math/w_acoshl.c: Likewise.
43130 * math/w_asin.c: Likewise.
43131 * math/w_asinf.c: Likewise.
43132 * math/w_asinl.c: Likewise.
43133 * math/w_atan2.c: Likewise.
43134 * math/w_atan2f.c: Likewise.
43135 * math/w_atan2l.c: Likewise.
43136 * math/w_atanh.c: Likewise.
43137 * math/w_atanhf.c: Likewise.
43138 * math/w_atanhl.c: Likewise.
43139 * math/w_exp10.c: Likewise.
43140 * math/w_exp10f.c: Likewise.
43141 * math/w_exp10l.c: Likewise.
43142 * math/w_fmod.c: Likewise.
43143 * math/w_fmodf.c: Likewise.
43144 * math/w_fmodl.c: Likewise.
43145 * math/w_j0.c: Likewise.
43146 * math/w_j0f.c: Likewise.
43147 * math/w_j0l.c: Likewise.
43148 * math/w_j1.c: Likewise.
43149 * math/w_j1f.c: Likewise.
43150 * math/w_j1l.c: Likewise.
43151 * math/w_jn.c: Likewise.
43152 * math/w_jnf.c: Likewise.
43153 * math/w_log.c: Likewise.
43154 * math/w_logf.c: Likewise.
43155 * math/w_logl.c: Likewise.
43156 * math/w_log10.c: Likewise.
43157 * math/w_log10f.c: Likewise.
43158 * math/w_log10l.c: Likewise.
43159 * math/w_log2.c: Likewise.
43160 * math/w_log2f.c: Likewise.
43161 * math/w_log2l.c: Likewise.
43162 * math/w_pow.c: Likewise.
43163 * math/w_powf.c: Likewise.
43164 * math/w_powl.c: Likewise.
43165 * math/w_remainder.c: Likewise.
43166 * math/w_remainderf.c: Likewise.
43167 * math/w_remainderl.c: Likewise.
43168 * math/w_scalb.c: Likewise.
43169 * math/w_scalbf.c: Likewise.
43170 * math/w_scalbl.c: Likewise.
43171 * math/w_sqrt.c: Likewise.
43172 * math/w_sqrtf.c: Likewise.
43173 * math/w_sqrtl.c: Likewise.
43174 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
43175 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
43177 * math/math_private.h: Declare __kernel_standard_f.
43178 * math/w_cosh.c: Remove cruft and optimize a bit.
43179 * math/w_coshf.c: Likewise.
43180 * math/w_coshl.c: Likewise.
43181 * math/w_exp2.c: Likewise.
43182 * math/w_exp2f.c: Likewise.
43183 * math/w_exp2l.c: Likewise.
43184 * math/w_hypot.c: Likewise.
43185 * math/w_hypotf.c: Likewise.
43186 * math/w_hypotl.c: Likewise.
43187 * math/w_lgamma.c: Likewise.
43188 * math/w_lgamma_r.c: Likewise.
43189 * math/w_lgammaf.c: Likewise.
43190 * math/w_lgammaf_r.c: Likewise.
43191 * math/w_lgammal.c: Likewise.
43192 * math/w_lgammal_r.c: Likewise.
43193 * math/w_sinh.c: Likewise.
43194 * math/w_sinhf.c: Likewise.
43195 * math/w_sinhl.c: Likewise.
43196 * math/w_tgamma.c: Likewise.
43197 * math/w_tgammaf.c: Likewise.
43198 * math/w_tgammal.c: Likewise.
43199 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
43200 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43201 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
43202 Minor optimizations. Pretty printing. Remove cruft.
43203 * sysdeps/i386/fpu/e_acosf.S: Likewise.
43204 * sysdeps/i386/fpu/e_acosh.S: Likewise.
43205 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
43206 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
43207 * sysdeps/i386/fpu/e_acosl.c: Likewise.
43208 * sysdeps/i386/fpu/e_asin.S: Likewise.
43209 * sysdeps/i386/fpu/e_asinf.S: Likewise.
43210 * sysdeps/i386/fpu/e_atan2.S: Likewise.
43211 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
43212 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
43213 * sysdeps/i386/fpu/e_atanh.S: Likewise.
43214 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
43215 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
43216 * sysdeps/i386/fpu/e_exp10.S: Likewise.
43217 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
43218 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
43219 * sysdeps/i386/fpu/e_exp2.S: Likewise.
43220 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
43221 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
43222 * sysdeps/i386/fpu/e_fmod.S: Likewise.
43223 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
43224 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
43225 * sysdeps/i386/fpu/e_hypot.S: Likewise.
43226 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
43227 * sysdeps/i386/fpu/e_log.S: Likewise.
43228 * sysdeps/i386/fpu/e_log10.S: Likewise.
43229 * sysdeps/i386/fpu/e_log10f.S: Likewise.
43230 * sysdeps/i386/fpu/e_log10l.S: Likewise.
43231 * sysdeps/i386/fpu/e_log2.S: Likewise.
43232 * sysdeps/i386/fpu/e_log2f.S: Likewise.
43233 * sysdeps/i386/fpu/e_log2l.S: Likewise.
43234 * sysdeps/i386/fpu/e_logf.S: Likewise.
43235 * sysdeps/i386/fpu/e_logl.S: Likewise.
43236 * sysdeps/i386/fpu/e_pow.S: Likewise.
43237 * sysdeps/i386/fpu/e_powf.S: Likewise.
43238 * sysdeps/i386/fpu/e_powl.S: Likewise.
43239 * sysdeps/i386/fpu/e_remainder.S: Likewise.
43240 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
43241 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
43242 * sysdeps/i386/fpu/e_scalb.S: Likewise.
43243 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
43244 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
43245 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
43246 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
43247 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
43248 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
43249 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43250 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43251 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
43252 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43253 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
43254 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
43255 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
43256 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43257 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
43258 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
43259 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
43260 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43261 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
43262 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
43263 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43264 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
43265 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
43266 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43267 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43268 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
43269 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
43270 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
43271 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
43272 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
43273 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
43274 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
43275 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
43276 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
43277 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
43278 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43279 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
43280 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43281 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
43282 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
43283 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
43284 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
43285 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
43286 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
43287 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
43288 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
43289 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
43290 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
43291 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
43292 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
43293 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
43294 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
43295 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
43296 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
43297 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
43298 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
43299 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
43300 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
43301 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43302 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
43303 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
43304 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
43305 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
43306 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
43307 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
43308 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
43309 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
43310 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43311 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43312 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
43313 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
43314 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
43315 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
43316 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
43317 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
43318 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
43319 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
43320 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
43321 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
43322 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
43323 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43324 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
43325 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
43326 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43327 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
43328 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43329 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
43330 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
43331 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43332 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43333 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
43334 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43335 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
43336 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
43337 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
43338 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43339 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
43340 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
43341 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
43342 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43343 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43344 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43345 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
43346 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
43347 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
43348 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
43349 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
43350 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
43351 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
43352 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
43353 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
43354 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
43355 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43356 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
43357 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
43358 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
43359 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
43360 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
43361 (__isnanf): Likewise.
43362 (__isinf_ns): Likewise.
43363 (__isinf_nsf): Likewise.
43364 (__finite): Likewise.
43365 (__finitef): Likewise.
43366 (__ieee754_sqrt): Define as macro.
43367 (__ieee754_sqrtf): Define as macro.
43368 (__ieee754_sqrtl): Define as macro.
43369 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
43371 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
43372 __FINITE_MATH_ONLY__ consistent.
43373 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
43375 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
43377 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
43380 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
43382 2011-10-09 Ulrich Drepper <drepper@gmail.com>
43384 * po/ja.po: Update from translation team.
43386 2011-10-08 Roland McGrath <roland@hack.frob.com>
43388 * locale/programs/locarchive.c (prepare_address_space): New function.
43389 (create_archive, enlarge_archive, open_archive): Use it.
43391 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
43392 inside [SHARED], where it is used.
43394 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
43396 * nss/getent.c (netgroup_keys): Remove unused variable.
43397 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
43399 2011-10-08 Ulrich Drepper <drepper@gmail.com>
43401 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
43402 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
43403 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
43404 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
43405 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
43406 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
43407 * math/Makefile (libm-calls): Add s_isinf_ns.
43408 * math/divtc3.c: Use __isinf_nsl instead of isinf.
43409 * math/multc3.c: Likewise.
43410 * math/s_casin.c: Likewise.
43411 * math/s_casinf.c: Likewise.
43412 * math/s_casinl.c: Likewise.
43413 * math/s_ccos.c: Likewise.
43414 * math/s_ccosf.c: Likewise.
43415 * math/s_ccosl.c: Likewise.
43416 * math/s_ctan.c: Likewise.
43417 * math/s_ctanf.c: Likewise.
43418 * math/s_ctanh.c: Likewise.
43419 * math/s_ctanhf.c: Likewise.
43420 * math/s_ctanhl.c: Likewise.
43421 * math/s_ctanl.c: Likewise.
43422 * math/w_fmod.c: Likewise.
43423 * math/w_fmodf.c: Likewise.
43424 * math/w_fmodl.c: Likewise.
43425 * math/w_remainder.c: Likewise.
43426 * math/w_remainderf.c: Likewise.
43427 * math/w_remainderl.c: Likewise.
43428 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
43429 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
43430 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
43431 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
43432 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
43433 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
43434 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
43435 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
43437 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
43439 * stdio-common/printf_fphex.c: Likewise.
43440 * stdio-common/printf_size.c: Likewise.
43442 * math/e_exp10.c: Include math_private.h using <...> not "...".
43443 * math/e_exp10f.c: Likewise.
43444 * math/e_exp10l.c: Likewise.
43445 * math/e_exp2l.c: Likewise.
43446 * math/e_j0l.c: Likewise.
43447 * math/e_j1l.c: Likewise.
43448 * math/e_jnl.c: Likewise.
43449 * math/e_lgammal_r.c: Likewise.
43450 * math/e_rem_pio2l.c: Likewise.
43451 * math/e_scalb.c: Likewise.
43452 * math/e_scalbf.c: Likewise.
43453 * math/e_scalbl.c: Likewise.
43454 * math/k_cosl.c: Likewise.
43455 * math/k_sinl.c: Likewise.
43456 * math/k_tanl.c: Likewise.
43457 * math/s_cacoshf.c: Likewise.
43458 * math/s_catan.c: Likewise.
43459 * math/s_catanf.c: Likewise.
43460 * math/s_catanh.c: Likewise.
43461 * math/s_catanhf.c: Likewise.
43462 * math/s_catanhl.c: Likewise.
43463 * math/s_catanl.c: Likewise.
43464 * math/s_ccosh.c: Likewise.
43465 * math/s_ccoshf.c: Likewise.
43466 * math/s_ccoshl.c: Likewise.
43467 * math/s_cexp.c: Likewise.
43468 * math/s_cexpf.c: Likewise.
43469 * math/s_cexpl.c: Likewise.
43470 * math/s_clog.c: Likewise.
43471 * math/s_clog10.c: Likewise.
43472 * math/s_clog10f.c: Likewise.
43473 * math/s_clog10l.c: Likewise.
43474 * math/s_clogf.c: Likewise.
43475 * math/s_clogl.c: Likewise.
43476 * math/s_csin.c: Likewise.
43477 * math/s_csinf.c: Likewise.
43478 * math/s_csinh.c: Likewise.
43479 * math/s_csinhf.c: Likewise.
43480 * math/s_csinhl.c: Likewise.
43481 * math/s_csinl.c: Likewise.
43482 * math/s_csqrt.c: Likewise.
43483 * math/s_csqrtf.c: Likewise.
43484 * math/s_csqrtl.c: Likewise.
43485 * math/s_ctan.c: Likewise.
43486 * math/s_ctanf.c: Likewise.
43487 * math/s_ctanh.c: Likewise.
43488 * math/s_ctanhf.c: Likewise.
43489 * math/s_ctanhl.c: Likewise.
43490 * math/s_ctanl.c: Likewise.
43491 * math/s_ldexp.c: Likewise.
43492 * math/s_ldexpf.c: Likewise.
43493 * math/s_ldexpl.c: Likewise.
43494 * math/s_significand.c: Likewise.
43495 * math/s_significandf.c: Likewise.
43496 * math/s_significandl.c: Likewise.
43497 * math/w_acos.c: Likewise.
43498 * math/w_acosf.c: Likewise.
43499 * math/w_acosh.c: Likewise.
43500 * math/w_acoshf.c: Likewise.
43501 * math/w_acoshl.c: Likewise.
43502 * math/w_acosl.c: Likewise.
43503 * math/w_asin.c: Likewise.
43504 * math/w_asinf.c: Likewise.
43505 * math/w_asinl.c: Likewise.
43506 * math/w_atan2.c: Likewise.
43507 * math/w_atan2f.c: Likewise.
43508 * math/w_atan2l.c: Likewise.
43509 * math/w_atanh.c: Likewise.
43510 * math/w_atanhf.c: Likewise.
43511 * math/w_atanhl.c: Likewise.
43512 * math/w_cosh.c: Likewise.
43513 * math/w_coshf.c: Likewise.
43514 * math/w_coshl.c: Likewise.
43515 * math/w_dremf.c: Likewise.
43516 * math/w_exp10.c: Likewise.
43517 * math/w_exp10f.c: Likewise.
43518 * math/w_exp10l.c: Likewise.
43519 * math/w_exp2.c: Likewise.
43520 * math/w_exp2f.c: Likewise.
43521 * math/w_fmod.c: Likewise.
43522 * math/w_fmodf.c: Likewise.
43523 * math/w_fmodl.c: Likewise.
43524 * math/w_hypot.c: Likewise.
43525 * math/w_hypotf.c: Likewise.
43526 * math/w_hypotl.c: Likewise.
43527 * math/w_j0.c: Likewise.
43528 * math/w_j0f.c: Likewise.
43529 * math/w_j0l.c: Likewise.
43530 * math/w_j1.c: Likewise.
43531 * math/w_j1f.c: Likewise.
43532 * math/w_j1l.c: Likewise.
43533 * math/w_jn.c: Likewise.
43534 * math/w_jnf.c: Likewise.
43535 * math/w_jnl.c: Likewise.
43536 * math/w_lgamma.c: Likewise.
43537 * math/w_lgamma_r.c: Likewise.
43538 * math/w_lgammaf.c: Likewise.
43539 * math/w_lgammaf_r.c: Likewise.
43540 * math/w_lgammal.c: Likewise.
43541 * math/w_lgammal_r.c: Likewise.
43542 * math/w_log.c: Likewise.
43543 * math/w_log10.c: Likewise.
43544 * math/w_log10f.c: Likewise.
43545 * math/w_log10l.c: Likewise.
43546 * math/w_log2.c: Likewise.
43547 * math/w_log2f.c: Likewise.
43548 * math/w_log2l.c: Likewise.
43549 * math/w_logf.c: Likewise.
43550 * math/w_logl.c: Likewise.
43551 * math/w_pow.c: Likewise.
43552 * math/w_powf.c: Likewise.
43553 * math/w_powl.c: Likewise.
43554 * math/w_remainder.c: Likewise.
43555 * math/w_remainderf.c: Likewise.
43556 * math/w_remainderl.c: Likewise.
43557 * math/w_scalb.c: Likewise.
43558 * math/w_scalbf.c: Likewise.
43559 * math/w_scalbl.c: Likewise.
43560 * math/w_sinh.c: Likewise.
43561 * math/w_sinhf.c: Likewise.
43562 * math/w_sinhl.c: Likewise.
43563 * math/w_sqrt.c: Likewise.
43564 * math/w_sqrtf.c: Likewise.
43565 * math/w_sqrtl.c: Likewise.
43566 * math/w_tgamma.c: Likewise.
43567 * math/w_tgammaf.c: Likewise.
43568 * math/w_tgammal.c: Likewise.
43570 * po/ja.po: Update from translation team.
43572 2011-09-29 Andreas Jaeger <aj@suse.de>
43575 * sunrpc/netname.c (netname2host): Fix logic.
43579 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
43581 * math/w_remainder.c (__remainder): Likewise.
43582 * math/w_remainderf.c (__remainderf): Likewise.
43583 * math/libm-test.inc (remainder_test): Add test cases.
43585 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43587 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
43590 2011-10-07 Ulrich Drepper <drepper@gmail.com>
43592 * string/test-memcmp.c: Avoid unncessary #defines.
43593 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
43595 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43597 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
43598 Use new sse2 version for core i3 - i7 as it's faster
43599 than sse42 version.
43600 (bit_Prefer_PMINUB_for_stringop): New.
43601 * sysdeps/x86_64/rawmemchr.S: Update.
43602 Replace with faster SSE2 version.
43603 * sysdeps/x86_64/memrchr.S: New file.
43604 * sysdeps/x86_64/memchr.S: Update.
43605 Replace with faster SSE2 version.
43607 2011-09-12 Marek Polacek <mpolacek@redhat.com>
43609 * elf/dl-load.c (lose): Add cast to avoid warning.
43611 2011-10-07 Ulrich Drepper <drepper@gmail.com>
43613 * po/ca.po: Update from translation team.
43615 * inet/getnetgrent_r.c: Hook up nscd.
43616 * nscd/Makefile (routines): Add nscd_netgroup.
43617 (nscd-modules): Add netgroupcache.
43618 (CFLAGS-netgroupcache.c): Define.
43619 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
43620 (cache_search): Add const to second parameter.
43621 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
43623 (dbs): Add netgrdb entry.
43624 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
43625 (verify_persistent_db): Handle netgrdb.
43626 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
43627 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
43629 (netgroup_response_header): Define.
43630 (innetgroup_response_header): Define.
43631 (datahead): Add netgroup_response_header and innetgroup_response_header
43633 * nscd/nscd.conf: Add entries for netgroup cache.
43634 * nscd/nscd.h (dbtype): Add netgrdb.
43635 (_PATH_NSCD_NETGROUP_DB): Define.
43636 (netgroup_iov_disabled): Declare.
43637 (xmalloc, xcalloc, xrealloc): Move declarations here.
43638 (cache_search): Adjust prototype.
43639 Add netgroup-related prototypes.
43640 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
43641 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
43642 (__nscd_innetgr): Declare.
43643 * nscd/selinux.c (perms): Use access_vector_t as element type and
43644 add netgroup-related initializers.
43645 * nscd/netgroupcache.c: New file.
43646 * nscd/nscd_netgroup.c: New file.
43647 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
43648 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
43649 For four parameters use innetgr.
43650 * nss/nss_files/files-init.c: Add definition and callback for netgr.
43651 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
43652 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
43653 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
43655 * nscd/connections.c (register_traced_file): Don't register file
43656 for disabled databases.
43658 2011-10-06 Ulrich Drepper <drepper@gmail.com>
43660 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
43662 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
43663 from tree and freeing node.
43665 2011-09-25 Jiri Olsa <jolsa@redhat.com>
43667 * nss/nsswitch.c (__nss_database_lookup): Handle
43668 nss_parse_service_list out of memory case.
43670 2011-09-15 Jiri Olsa <jolsa@redhat.com>
43672 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
43673 out of memory case.
43675 2011-10-04 Andreas Schwab <schwab@redhat.com>
43677 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
43678 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
43680 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
43681 elf_machine_rela, elf_machine_lazy_rel.
43682 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
43683 (ELF_DYNAMIC_DO_REL): Likewise.
43684 (ELF_DYNAMIC_DO_RELA): Likewise.
43685 (ELF_DYNAMIC_RELOCATE): Likewise.
43686 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
43687 to ELF_DYNAMIC_DO_REL.
43688 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
43689 (dl_main): In trace mode always set __RTLD_NOIFUNC.
43690 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
43692 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
43693 skip_ifunc, don't call ifunc function if non-zero.
43694 (elf_machine_rela): Likewise.
43695 (elf_machine_lazy_rel): Likewise.
43696 (elf_machine_lazy_rela): Likewise.
43697 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
43698 (elf_machine_lazy_rel): Likewise.
43699 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
43701 (elf_machine_lazy_rel): Likewise.
43702 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43704 (elf_machine_lazy_rel): Likewise.
43705 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
43706 (elf_machine_lazy_rel): Likewise.
43707 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
43708 (elf_machine_lazy_rel): Likewise.
43709 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
43710 (elf_machine_lazy_rel): Likewise.
43711 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
43712 (elf_machine_lazy_rel): Likewise.
43713 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
43714 (elf_machine_lazy_rel): Likewise.
43715 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
43716 (elf_machine_lazy_rel): Likewise.
43718 2011-09-28 Ulrich Drepper <drepper@gmail.com>
43720 * nss/nss_files/files-init.c (_nss_files_init): Use static
43721 initialization for all the *_traced_file variables.
43723 2011-09-28 Andreas Schwab <schwab@redhat.com>
43725 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43727 2011-09-27 Roland McGrath <roland@hack.frob.com>
43730 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
43732 2011-09-27 Andreas Schwab <schwab@redhat.com>
43734 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43735 Reread the line before reparsing it.
43737 2011-09-26 Andreas Schwab <schwab@redhat.com>
43739 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
43741 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
43742 Maxim Kuvyrkov <maxim@codesourcery.com>
43743 Joseph Myers <joseph@codesourcery.com>
43745 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
43746 if needed for __stack_chk_guard.
43748 2011-09-19 Roland McGrath <roland@hack.frob.com>
43750 * sysdeps/posix/spawni.c (script_execute): Always define it.
43751 It will be optimized away if unused.
43752 (maybe_script_execute): New function.
43753 (__spawni): Call it.
43755 * Makerules: Don't include tls.make.
43756 (config-tls): Always set to thread.
43757 * tls.make.c: File removed.
43759 2011-09-19 Mike Frysinger <vapier@gentoo.org>
43761 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
43762 * config.make.in (CPPFLAGS-config): New substituted variable.
43764 2011-09-15 Ulrich Drepper <drepper@gmail.com>
43766 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
43769 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
43770 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
43772 2011-09-15 Roland McGrath <roland@hack.frob.com>
43774 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
43775 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
43776 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
43777 (CALL_FAIL): Likewise.
43778 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
43779 (CALL_FAIL): Macro removed.
43780 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
43782 2011-09-15 Ulrich Drepper <drepper@gmail.com>
43784 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
43785 for __FINITE_MATH_ONLY__ == 1.
43787 2011-09-15 Andreas Schwab <schwab@redhat.com>
43789 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
43790 __ieee754_sqrt instead of sqrt.
43791 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
43792 __ieee754_sqrtf instead of sqrtf.
43793 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
43794 __floorf instead of floorf.
43795 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
43796 __floorf, __truncf instead of floorf, truncf.
43798 2011-09-14 Ulrich Drepper <drepper@gmail.com>
43800 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
43802 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
43803 __extern_always_inline.
43804 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
43807 2011-09-14 Andreas Schwab <schwab@redhat.com>
43809 * elf/rtld.c (dl_main): Also relocate in dependency order when
43810 doing symbol dependency testing.
43812 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
43814 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43815 Always define `refsym'.
43817 2011-09-13 Andreas Schwab <schwab@redhat.com>
43819 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
43820 (__FD_ELT): Renamed from __FDELT.
43821 * misc/bits/select2.h (__FD_ELT): Likewise.
43822 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
43823 __FD_MASK instead of __FDELT, __FDMASK.
43824 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
43826 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
43829 * elf/Makefile (gen-ldd): Fix pattern.
43831 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
43832 (init_tls): Likewise.
43834 2011-09-12 Ulrich Drepper <drepper@gmail.com>
43836 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
43838 2011-09-12 Andreas Schwab <schwab@redhat.com>
43840 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
43841 `struct cmsghdr *' instead of `void *'.
43842 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
43845 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
43847 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
43849 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
43850 ldd_rewrite_script.
43852 2011-09-11 Ulrich Drepper <drepper@gmail.com>
43854 * configure.in: Remove --with-tls option.
43855 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
43856 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
43857 out in case it is missing.
43858 * sysdeps/ia64/elf/configure.in: Likewise.
43859 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
43860 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
43861 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
43862 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
43863 * sysdeps/sh/elf/configure.in: Likewise.
43864 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
43865 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
43866 * sysdeps/x86_64/elf/configure.in: Likewise.
43867 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
43868 * sysdeps/mach/hurd/tls.h: Likewise.
43871 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
43874 * configure.in: Fix use of AC_INIT.
43876 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
43878 2011-09-10 Ulrich Drepper <drepper@gmail.com>
43880 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
43882 * malloc/hooks.c: Likewise.
43885 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
43886 variables statically.
43887 (narenas): Initialize.
43888 (list_lock): Initialize.
43889 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
43890 initializtion of main_arena and list_lock. Small cleanups.
43891 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
43892 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
43893 Add initializers to main_arena and mp_.
43894 (malloc_state): Remove pagesize member. Change all users to use
43897 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
43898 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
43899 is always initialized.
43901 * malloc/malloc.c: Removed unused configurations and dead code.
43902 * malloc/arena.c: Likewise.
43903 * malloc/hooks.c: Likewise.
43904 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
43906 * include/tls.h: Removed. USE___THREAD must always be defined.
43907 * bits/libc-tsd.h: Don't handle !USE___THREAD.
43908 * elf/dl-libc.c: Likewise.
43909 * elf/dl-tsd.c: Likewise.
43910 * include/errno.h: Likewise.
43911 * include/netdb.h: Likewise.
43912 * include/resolv.h: Likewise.
43913 * inet/herrno-loc.c: Likewise.
43914 * inet/herrno.c: Likewise.
43915 * malloc/arena.c: Likewise.
43916 * malloc/hooks.c: Likewise.
43917 * malloc/malloc.c: Likewise.
43918 * resolv/res-state.c: Likewise.
43919 * resolv/res_libc.c: Likewise.
43920 * sysdeps/i386/dl-machine.h: Likewise.
43921 * sysdeps/ia64/dl-machine.h: Likewise.
43922 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
43923 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
43924 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
43925 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
43926 * sysdeps/sh/dl-machine.h: Likewise.
43927 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
43928 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
43929 * sysdeps/unix/i386/sysdep.S: Likewise.
43930 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43931 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
43932 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
43933 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
43934 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
43935 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
43936 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
43937 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43938 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43939 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
43940 * sysdeps/unix/x86_64/sysdep.S: Likewise.
43941 * sysdeps/x86_64/dl-machine.h: Likewise.
43942 * tls.make.c: Likewise.
43944 * configure.in: Remove --with-__thread option. Make tests for
43945 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
43946 tls_model attribute fail if no support is available. Remove
43948 * Makeconfig: Adjust for dropped configure option. All features are
43950 * Makerules: Likewise.
43951 * Versions.def: Likewise.
43952 * argp/argp-fmtstream.c: Likewise.
43953 * argp/argp-fmtstream.h: Likewise.
43954 * argp/argp-help.c: Likewise.
43955 * assert/assert.c: Likewise.
43956 * config.h.in: Likewise.
43957 * config.make.in: Likewise.
43958 * configure: Likewise.
43959 * configure.in: Likewise.
43960 * csu/Versions: Likewise.
43961 * csu/init.c: Likewise.
43962 * elf/tst-audit2.c: Likewise.
43963 * elf/tst-tls10.c: Likewise.
43964 * elf/tst-tls10.h: Likewise.
43965 * elf/tst-tls11.c: Likewise.
43966 * elf/tst-tls12.c: Likewise.
43967 * elf/tst-tls14.c: Likewise.
43968 * elf/tst-tlsmod11.c: Likewise.
43969 * elf/tst-tlsmod12.c: Likewise.
43970 * elf/tst-tlsmod13.c: Likewise.
43971 * elf/tst-tlsmod13a.c: Likewise.
43972 * elf/tst-tlsmod14a.c: Likewise.
43973 * elf/tst-tlsmod15b.c: Likewise.
43974 * elf/tst-tlsmod16a.c: Likewise.
43975 * elf/tst-tlsmod16b.c: Likewise.
43976 * elf/tst-tlsmod7.c: Likewise.
43977 * elf/tst-tlsmod8.c: Likewise.
43978 * elf/tst-tlsmod9.c: Likewise.
43979 * gmon/gmon.c: Likewise.
43980 * grp/fgetgrent_r.c: Likewise.
43981 * grp/putgrent.c: Likewise.
43982 * hurd/fopenport.c: Likewise.
43983 * include/libc-symbols.h: Likewise.
43984 * include/tls.h: Likewise.
43985 * intl/gettextP.h: Likewise.
43986 * intl/loadinfo.h: Likewise.
43987 * locale/global-locale.c: Likewise.
43988 * locale/localeinfo.h: Likewise.
43989 * mach/devstream.c: Likewise.
43990 * malloc/arena.c: Likewise.
43991 * malloc/set-freeres.c: Likewise.
43992 * misc/err.c: Likewise.
43993 * misc/getttyent.c: Likewise.
43994 * misc/mntent_r.c: Likewise.
43995 * posix/getopt.c: Likewise.
43996 * posix/wordexp.c: Likewise.
43997 * pwd/fgetpwent_r.c: Likewise.
43998 * resolv/Versions: Likewise.
43999 * resolv/res_hconf.c: Likewise.
44000 * shadow/fgetspent_r.c: Likewise.
44001 * shadow/putspent.c: Likewise.
44002 * stdio-common/printf_fphex.c: Likewise.
44003 * stdio-common/tmpfile.c: Likewise.
44004 * stdlib/abort.c: Likewise.
44005 * stdlib/fmtmsg.c: Likewise.
44006 * sunrpc/auth_unix.c: Likewise.
44007 * sunrpc/clnt_perr.c: Likewise.
44008 * sunrpc/clnt_tcp.c: Likewise.
44009 * sunrpc/clnt_udp.c: Likewise.
44010 * sunrpc/clnt_unix.c: Likewise.
44011 * sunrpc/openchild.c: Likewise.
44012 * sunrpc/svc_simple.c: Likewise.
44013 * sunrpc/svc_tcp.c: Likewise.
44014 * sunrpc/svc_udp.c: Likewise.
44015 * sunrpc/svc_unix.c: Likewise.
44016 * sunrpc/xdr.c: Likewise.
44017 * sunrpc/xdr_array.c: Likewise.
44018 * sunrpc/xdr_rec.c: Likewise.
44019 * sunrpc/xdr_ref.c: Likewise.
44020 * sunrpc/xdr_stdio.c: Likewise.
44022 2011-09-09 Ulrich Drepper <drepper@gmail.com>
44024 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44026 2011-07-03 Andreas Jaeger <aj@suse.de>
44028 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
44029 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
44030 regenerate with gen-libm-tests.pl.
44032 2010-05-12 Petr Baudis <pasky@suse.cz>
44035 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
44036 around j0() zero points by switching to j1().
44037 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44038 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44039 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44040 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44042 2011-09-09 Ulrich Drepper <drepper@gmail.com>
44044 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
44046 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
44048 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44049 Patch in part by Pavel Roskin <proski@gnu.org>.
44052 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
44054 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
44055 Free memory block if necessary.
44058 * libio/genops.c (INTDEF): For string streams the _lock pointer can
44059 be NULL. Don't lock in this case.
44061 2011-09-09 Roland McGrath <roland@hack.frob.com>
44063 * elf/elf.h (ELFOSABI_GNU): New macro.
44064 (ELFOSABI_LINUX): Define to that.
44066 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
44068 * string/strncat.c (strncat): Undef the symbol in case it has been
44069 defined in bits/string.h.
44071 2011-09-09 Ulrich Drepper <drepper@gmail.com>
44073 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
44075 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
44078 2011-08-17 Andreas Jaeger <aj@suse.de>
44080 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
44082 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
44083 Ian Lance Taylor <iant@google.com>
44085 * math/libm-test.inc (lround_test): New testcase.
44086 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
44088 2011-09-08 Ulrich Drepper <drepper@gmail.com>
44090 * Makefile: Remove support for automatic cvs check-ins.
44091 * Makerules: Likewise.
44092 * config.make.in: Likewise.
44093 * configure.in: Likewise.
44094 * intl/Makefile: Likewise.
44095 * locale/Makefile: Likewise.
44096 * po/Makefile: Likewise.
44097 * posix/Makefile: Likewise.
44098 * sysdeps/gnu/Makefile: Likewise.
44099 * sysdeps/mach/hurd/Makefile: Likewise.
44100 * sysdeps/sparc/sparc32/Makefile: Likewise.
44103 * posix/Makefile (bug-regex32-ENV): Define.
44104 Patch by John Stanley <jpsinthemix@verizon.net>.
44106 * misc/Makefile (headers): Add bits/select2.h.
44107 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
44108 * misc/bits/select2.h: New file.
44109 * include/bits/select2.h: New file.
44110 * debug/Makefile (routines): Add fdelt_chk.
44111 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
44112 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
44114 * debug/fdelt_chk.c: New file.
44116 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
44117 * wcsmbs/test-wmemcmp.c: Likewise.
44118 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
44119 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
44121 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44123 * string/Makefile (strop-tests): Add memcmp.
44124 * string/test-wmemcmp.c: New file.
44125 * string/test-memcmp.c: Add wmemcmp support.
44127 2011-09-08 Roland McGrath <roland@hack.frob.com>
44130 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
44133 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
44134 garbage value in a __mach_port_mod_refs call in the cases of the
44135 task-self and thread-self ports.
44137 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
44139 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
44141 2011-09-08 Andreas Schwab <schwab@redhat.com>
44143 * elf/dl-load.c (lose): Check for non-null L.
44145 2011-09-07 Ulrich Drepper <drepper@gmail.com>
44147 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
44149 * elf/dl-libc.c (dlerror_run): Pass back error code from
44153 * elf/dl-load.c (lose): Free l_origin if it is valid.
44155 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
44157 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
44158 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44159 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44160 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44161 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
44162 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
44164 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44166 * sysdeps/powerpc/fpu/e_hypot.c: New file.
44167 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
44168 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
44169 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
44170 * sysdeps/powerpc/fpu/k_cosf.c: New file.
44171 * sysdeps/powerpc/fpu/k_sinf.c: New file.
44172 * sysdeps/powerpc/fpu/s_cosf.c: New file.
44173 * sysdeps/powerpc/fpu/s_sinf.c: New file.
44174 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
44175 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
44177 2011-08-15 Alan Modra <amodra@gmail.com>
44180 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
44181 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
44182 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
44183 ppc_mcount to static-only-routines.
44184 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
44186 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
44187 __mcount_internal with usual JUMPTARGET. Remove useless nop.
44189 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
44191 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
44192 for finite and infinity parameters.
44194 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
44196 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
44197 and add nop instructions for throughput optimization.
44198 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44200 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
44202 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
44203 aligned copy for power7 with vector-scalar instructions.
44204 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
44206 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
44208 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
44211 2011-09-07 Andreas Schwab <schwab@redhat.com>
44214 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
44217 2011-09-07 Ulrich Drepper <drepper@gmail.com>
44219 * sysdeps/unix/sysv/linux/x86_64/init-first.c
44220 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
44221 syscall wrapper around clock_gettime in __vdso_clock_gettime.
44222 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
44225 2011-09-06 Ulrich Drepper <drepper@gmail.com>
44227 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
44228 Forgot to demangle the pointer.
44230 * sysdeps/i386/sysdep.h: Define atom_text_section.
44231 * sysdeps/x86_64/sysdep.h: Likewise.
44232 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
44233 section with atom_text_section.
44234 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44235 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44236 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
44237 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
44238 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
44240 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
44241 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
44242 already be defined. Change to take two parameters and don't assign
44243 result to variable. Adjust all users.
44244 Define INTERNAL_GETTIME if not already defined.
44245 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
44247 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
44248 HAVE_CLOCK_GETTIME_VSYSCALL.
44249 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
44251 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
44252 gettimeofday vsyscall, just use time.
44254 2011-09-06 Andreas Schwab <schwab@redhat.com>
44256 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
44259 2011-09-06 Ulrich Drepper <drepper@gmail.com>
44261 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
44263 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
44265 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
44266 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
44267 syscall if possible.
44269 2011-09-05 Ulrich Drepper <drepper@gmail.com>
44271 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
44272 e_ident. Don't pass to find_mapsXX.
44273 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
44275 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44277 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44278 strchr-sse2-no-bsf strrchr-sse2-no-bsf
44279 * sysdeps/x86_64/multiarch/strchr.S: Update.
44280 Check bit_slow_BSF bit.
44281 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
44282 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
44283 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
44285 2011-09-05 Ulrich Drepper <drepper@gmail.com>
44288 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
44290 (tryshell): Define.
44291 (__spawni): Change last parameter to be flag. Test
44292 SPAWN_XFLAGS_USE_PATH flag to use path or not.
44293 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
44294 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
44295 * posix/spawni.c: Likewise.
44296 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
44297 * posix/spawnp.c: Likewise. Change normal version to use
44298 SPAWN_XFLAGS_USE_PATH.
44299 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
44300 SPAWN_XFLAGS_TRY_SHELL.
44303 * posix/glob.h: Remove gcc 1.x support.
44306 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
44308 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44310 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44311 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
44313 * sysdeps/i386/i686/multiarch/strchr.S: New file.
44314 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
44315 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
44316 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
44317 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
44318 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
44320 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44322 * sysdeps/x86_64/wcscmp.S: New file.
44324 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
44325 wcscmp-c wcscmp-sse2
44326 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
44327 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
44328 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
44329 * wcsmbs/wcscmp.c: Allow renaming.
44331 2011-09-05 David S. Miller <davem@davemloft.net>
44333 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
44334 stack slot, rather than the struct return pointer slot.
44335 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
44336 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
44337 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
44338 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
44340 2011-09-05 Ulrich Drepper <drepper@gmail.com>
44342 * po/ja.po: Update from translation team.
44345 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
44346 kernel in 64-bit binaries.
44348 2011-09-01 David S. Miller <davem@davemloft.net>
44350 * elf/elf.h (HWCAP_SPARC_*): Move to..
44351 * sysdeps/sparc/sysdep.h: this new file and add new values.
44352 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
44353 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
44354 _DL_HWCAP_COUNT to 24.
44355 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
44357 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
44358 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
44359 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
44360 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
44361 instead of magic constants.
44362 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44364 2011-08-31 David S. Miller <davem@davemloft.net>
44366 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
44367 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
44368 Reimplement to do errno handling inline.
44369 (SYSCALL_ERROR_HANDLER): New macro.
44370 (__SYSCALL_STRING): Do not do errno handling in asm.
44371 (__CLONE_SYSCALL_STRING): Delete.
44372 (__INTERNAL_SYSCALL_STRING): Delete.
44373 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
44374 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
44375 (PSEUDO): Reimplement to do errno handling inline.
44376 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
44377 (SYSCALL_ERROR_HANDLER): New macro.
44378 (__SYSCALL_STRING): Do not do errno handling in asm.
44379 (__CLONE_SYSCALL_STRING): Delete.
44380 (__INTERNAL_SYSCALL_STRING): Delete.
44381 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
44382 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
44384 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
44385 (inline_syscall*): Add 'err' argument.
44386 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
44387 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
44388 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
44389 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
44391 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
44392 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
44394 2011-08-30 Andreas Schwab <schwab@redhat.com>
44396 * elf/rtld.c (dl_main): Relocate objects in dependency order.
44398 2011-08-29 Jiri Olsa <jolsa@redhat.com>
44400 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
44403 2011-08-24 David S. Miller <davem@davemloft.net>
44405 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
44407 2011-08-24 Andreas Schwab <schwab@redhat.com>
44409 * elf/Makefile: Add rules to build and run unload8 test.
44410 * elf/unload8.c: New file.
44411 * elf/unload8mod1.c: New file.
44412 * elf/unload8mod1x.c: New file.
44413 * elf/unload8mod2.c: New file.
44414 * elf/unload8mod3.c: New file.
44416 * elf/dl-close.c (_dl_close_worker): Reset private search list if
44419 2011-08-23 David S. Miller <davem@davemloft.net>
44421 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
44422 subtract stack bias.
44423 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
44424 %sp not %fp in calculations.
44425 (_JMPBUF_UNWINDS_ADJ): Likewise.
44427 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
44428 (aio_suspend): Call it to force an exception region around the
44429 AIO_MISC_WAIT() invocation.
44431 2011-08-23 Andreas Schwab <schwab@redhat.com>
44433 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
44436 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
44438 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
44440 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
44441 and <dl-machine.h>.
44442 (Elf64_FuncDesc): Remove.
44444 2011-08-22 David S. Miller <davem@davemloft.net>
44446 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
44447 sigaltstack check, add missing cfi directives.
44448 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
44449 missing cfi directives, and sigaltstack handling.
44451 2011-08-16 Andreas Schwab <schwab@redhat.com>
44454 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
44455 object is seen twice.
44456 * elf/dl-fini.c (_dl_sort_fini): Likewise.
44458 * elf/Makefile (distribute): Add tst-initorder2.c.
44459 (tests): Add tst-initorder2.
44460 (modules-names): Add tst-initorder2a tst-initorder2b
44461 tst-initorder2c tst-initorder2d. Add rules to build them.
44462 ($(objpfx)tst-initorder2.out): New rule.
44463 * elf/tst-initorder2.c: New file.
44464 * elf/tst-initorder2.exp: New file.
44466 2011-08-22 Andreas Schwab <schwab@redhat.com>
44468 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
44470 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
44471 dependencies back to end of function.
44473 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
44474 $(elfobjdir)/ld.so.
44476 2011-08-21 Ulrich Drepper <drepper@gmail.com>
44478 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
44479 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
44480 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
44481 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
44482 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
44483 of __vdso_gettimeofday.
44484 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
44485 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
44487 (_libc_vdso_platform_setup): Remove initialization of
44488 __vdso_gettimeofday and __vdso_time.
44490 2011-08-20 Ulrich Drepper <drepper@gmail.com>
44492 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
44493 and fgetc_unlocked.
44494 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
44497 * elf/dl-open.c (add_to_global): Report additions to the global scope
44498 for LD_DEBUG=scopes.
44499 (dl_open_worker): Also print scope of newly loaded dependencies.
44500 (_dl_show_scope): Indicate if there is no scope.
44503 * stdio-common/Makefile (tests): Add bug24.
44504 * stdio-common/bug24.c: New file.
44506 2011-08-19 Andreas Jaeger <aj@suse.de>
44509 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
44510 non-existant file when using close-on-exec mode.
44512 2011-08-20 Ulrich Drepper <drepper@gmail.com>
44514 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
44515 the very first instruction.
44517 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
44518 the CFI state in the end.
44519 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
44520 inclusion of dl-trampoline.h.
44521 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
44523 2011-08-19 Andreas Schwab <schwab@redhat.com>
44525 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
44526 expectations for long double.
44528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
44529 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
44531 2011-08-14 David S. Miller <davem@davemloft.net>
44533 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
44534 artificual limit depends upon the system page size.
44536 2011-08-17 Ulrich Drepper <drepper@gmail.com>
44538 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
44539 * resolv/Makefile: Define CFLAGS-libresolv.
44541 2011-08-17 Andreas Schwab <schwab@redhat.com>
44543 * nss/makedb.c (compute_tables): Make variables used in nested
44546 2011-08-17 Ulrich Drepper <drepper@gmail.com>
44548 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
44549 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
44550 if buffer was too small.
44552 * elf/pldd.c (main): Attach to all threads in the process.
44553 Rewrite /proc handling to use *at functions.
44555 2011-08-16 Ulrich Drepper <drepper@gmail.com>
44557 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
44558 specifies first scope to show.
44559 (dl_open_worker): Update callers. Move printing scope of new
44560 object to before the relocation.
44561 * elf/rtld.c (dl_main): Update _dl_show_scope call.
44562 * sysdeps/generic/ldsodefs.h: Update declaration.
44564 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
44565 string for the scope number.
44567 2011-08-14 Ulrich Drepper <drepper@gmail.com>
44569 * nscd/servicescache.c (cache_addserv): Make sure written is always
44572 2011-08-14 Roland McGrath <roland@hack.frob.com>
44574 * sysdeps/i386/i486/bits/atomic.h
44575 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
44576 statement expression, so as to suppress "set but not used" warning.
44577 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
44579 * string/strncat.c (STRNCAT): Use prototype definition.
44581 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
44582 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
44584 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
44585 (localedef-modules): Add localedef.
44586 (locale-modules): Add locale.
44588 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
44589 * elf/rtld.c (dl_main): Invert order of assignment in last change,
44590 to avoid a warning.
44592 2011-08-14 David S. Miller <davem@davemloft.net>
44594 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
44595 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
44597 2011-08-13 Ulrich Drepper <drepper@gmail.com>
44599 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
44600 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
44601 * elf/rtld.c (dl_main): Set l_name of vDSO.
44602 Call _dl_show_scope when DL_DEBUG_SCOPES.
44603 (process_dl_debug): Recognize scopes flag and also set it for all.
44604 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
44605 Declare _dl_show_scope.
44607 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
44608 (do_dlopen): Pass caller_dlopen to dl_open.
44609 (__libc_dlopen_mode): Initialize caller_dlopen.
44611 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
44612 of libc. Make tolower call locale-independent. Optimize a bit by
44613 using isdigit instead of isalnum.
44614 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
44616 2011-08-12 Ulrich Drepper <drepper@gmail.com>
44618 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
44619 was a dependency or dynamically loaded.
44621 2011-08-11 Ulrich Drepper <drepper@gmail.com>
44623 * intl/l10nflist.c: Allow architecture-specific pop function.
44624 * sysdeps/x86_64/l10nflist.c: New file.
44626 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
44629 2011-08-10 Andreas Schwab <schwab@redhat.com>
44631 * include/dirent.h: Add libc_hidden_proto for scandirat and
44632 scandirat64. Don't declare __scandirat64.
44633 * dirent/scandirat.c: Add libc_hidden_def.
44634 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
44635 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
44637 2011-08-10 David S. Miller <davem@davemloft.net>
44639 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
44641 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44642 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44643 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44645 2011-08-09 Ulrich Drepper <drepper@gmail.com>
44647 * Versions.def [libc]: Add GLIBC_2.15.
44648 * dirent/Makefile (routines): Add scandirat and scandirat64.
44649 * dirent/Versions [libc]: Export scandirat and scandirat64 for
44651 * dirent/dirent.h: Declare scandirat and scandirat64.
44652 * dirent/scandirat.c: New file.
44653 * dirent/scandirat64.c: New file.
44654 * sysdeps/wordsize-64/scandirat.c: New file.
44655 * sysdeps/wordsize-64/scandirat64.c: New file.
44656 * dirent/opendir.c: Define opendirat.
44657 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
44659 * dirent/scandir64.c: Adjust for scandir.c change.
44660 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
44661 __scandirat64, and __scandir_cancel_handler.
44662 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
44663 additional parameter and use openat instead of open (outside of ld.so).
44664 Add new __opendir as wrapper around __opendirat.
44665 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
44666 here without requiring old scandirat implementation.
44668 2011-08-08 Ulrich Drepper <drepper@gmail.com>
44670 * dirent/scandir.c (cancel_handler): Renamed to
44671 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
44672 defined. Adjust users.
44673 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
44674 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
44676 2011-08-04 Ulrich Drepper <drepper@gmail.com>
44678 * string/test-string.h (IMPL): Use __STRING to expand name and then
44681 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
44684 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44686 * string/Makefile: Update.
44687 (strop-tests): Append strncat.
44688 * string/test-wcscmp.c: New file.
44689 New comprehensive test for wcscmp.
44690 * string/test-strcmp.c: Update.
44691 (WIDE): New define.
44693 2011-07-22 Andreas Schwab <schwab@redhat.com>
44695 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
44698 2011-07-26 Andreas Schwab <schwab@redhat.com>
44700 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
44701 encoding to ACE if AI_IDN.
44703 2011-08-01 Jakub Jelinek <jakub@redhat.com>
44705 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
44706 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
44708 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44710 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
44711 Fix overflow bug in strncat.
44712 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
44714 * string/test-strncat.c: Update.
44715 Add new tests for checking overflow bugs.
44717 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44719 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44720 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
44721 * sysdeps/i386/i686/multiarch/strcat.S: New file.
44722 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
44723 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
44724 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
44725 * sysdeps/i386/i686/multiarch/strncat.S: New file.
44726 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
44727 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
44729 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
44730 (USE_AS_STRCAT): Define.
44731 Add strcat and strncat support.
44732 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44734 2011-07-25 Andreas Schwab <schwab@redhat.com>
44736 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
44737 __n bigger than INT_MAX+1.
44738 (__strncmp_g): Likewise.
44740 2011-07-23 Ulrich Drepper <drepper@gmail.com>
44742 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
44743 * libio/stido.h: Likewise.
44745 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
44747 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
44750 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
44751 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44752 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44753 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
44754 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44757 * scripts/test-installation.pl: Don't expect libnss_test1 to be
44760 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
44762 (_dl_x86_64_save_sse): Likewise.
44764 2011-07-22 Ulrich Drepper <drepper@gmail.com>
44766 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
44768 (_dl_x86_64_save_sse): Likewise.
44770 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
44772 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
44774 2011-07-21 Andreas Schwab <schwab@redhat.com>
44776 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
44778 (_dl_x86_64_save_sse): Use correct AVX check.
44780 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44782 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
44783 bug in strncpy/strncat.
44784 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
44786 2011-07-21 Ulrich Drepper <drepper@gmail.com>
44788 * string/tester.c (test_strcat): Add tests for different alignments
44789 of source and destination.
44790 (test_strncat): Likewise.
44792 2011-07-20 Ulrich Drepper <drepper@gmail.com>
44795 * posix/glob.c (glob): Check passed in values before using them in
44796 expressions to avoid some overflows.
44797 (glob_in_dir): Likewise.
44800 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
44801 check for AVX enablement so that we don't crash with old kernels and
44803 * elf/tst-audit4.c: Add same checks here.
44804 * elf/tst-audit6.c: Likewise.
44806 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
44808 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
44810 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
44812 2011-07-20 Ulrich Drepper <drepper@gmail.com>
44814 * po/cs.po: Update from translation team.
44815 * po/bg.po: Likewise.
44817 2011-07-12 Marek Polacek <mpolacek@redhat.com>
44819 * misc/sys/cdefs.h: Add support for const attribute.
44820 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
44821 to gnu_dev_{major,minor,makedev} functions.
44823 2011-07-20 Marek Polacek <mpolacek@redhat.com>
44825 * intl/dcigettext.c (get_output_charset): Add missing bracket.
44827 2011-07-20 Andreas Schwab <schwab@redhat.com>
44829 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
44832 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44834 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
44835 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
44836 register in order to avoid conflicts with the soft frame pointer
44837 being held in r11 when necessary.
44838 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
44839 (INTERNAL_VSYSCALL_NCS): Likewise.
44841 2011-07-14 Marek Polacek <mpolacek@redhat.com>
44843 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
44844 * elf/dl-fini.c (_dl_fini): Adjust caller.
44845 * elf/dl-close.c (_dl_close_worker): Likewise.
44846 * sysdeps/generic/ldsodefs.h: Adjust declaration.
44848 2011-07-15 Marek Polacek <mpolacek@redhat.com>
44850 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
44851 "aux_cache->nlibs < 0".
44853 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
44854 in the reload-count case.
44856 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44858 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44859 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
44860 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
44861 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
44862 * sysdeps/x86_64/multiarch/strcat.S: New file.
44863 * sysdeps/x86_64/multiarch/strncat.S: New file.
44864 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
44865 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
44866 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
44867 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
44868 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
44869 (USE_AS_STRCAT): Define.
44870 Add strcat and strncat support.
44871 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
44872 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
44873 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
44874 * string/strncat.c: Update.
44875 (USE_AS_STRNCAT): Define.
44876 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44877 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
44879 * sysdeps/x86_64/multiarch/init-arch.h
44880 (bit_Prefer_PMINUB_for_stringop): New.
44881 (index_Prefer_PMINUB_for_stringop): Likewise.
44882 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
44883 bit_Prefer_PMINUB_for_stringop.
44885 2011-07-19 Ulrich Drepper <drepper@gmail.com>
44887 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
44889 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
44890 of casting of buffer.
44891 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
44892 buffer32 and buffer64.
44893 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
44894 writes instead of casting of buffer.
44895 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
44897 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
44900 2011-07-19 Andreas Schwab <schwab@redhat.com>
44902 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
44904 2011-07-19 Ulrich Drepper <drepper@gmail.com>
44906 * nscd/nscd.c (termination_handler): Don't do anything for a database
44907 if it has not yet been initialized.
44909 2011-07-18 Ulrich Drepper <drepper@gmail.com>
44911 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
44913 2011-07-15 Marek Polacek <mpolacek@redhat.com>
44915 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
44917 2011-07-18 Ulrich Drepper <drepper@gmail.com>
44919 * po/nl.po: Update from translation team.
44920 * po/sv.po: Likewise.
44922 2011-07-16 Roland McGrath <roland@hack.frob.com>
44924 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
44925 now disallowed by GCC.
44927 * configure.in (use-default-link): Default to yes if a test -shared
44928 link meets our qualifications.
44929 * configure: Regenerated.
44931 * config.make.in (output-format): New variable.
44932 * configure.in: Check for ld --print-output-format support.
44933 * configure: Regenerated.
44934 * Makerules ($(common-objpfx)format.lds)
44935 [$(output-format) != unknown]: Just use $(output-format),
44936 instead of the linker-script munging.
44938 2011-07-14 Roland McGrath <roland@hack.frob.com>
44940 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
44941 of $(common-objpfx)shlib.lds.
44942 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
44944 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
44945 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
44947 * configure.in (-z relro check): Adjust test code to add a large
44948 writable data section after it.
44949 * configure: Regenerated.
44951 2011-07-11 Roland McGrath <roland@hack.frob.com>
44953 * configure.in (-z relro check): Fix test code to make the variable
44955 * configure: Regenerated.
44957 2011-07-11 Ulrich Drepper <drepper@gmail.com>
44959 * nscd/nscd.h (struct traced_file): Define.
44960 (struct database_dyn): Remove inotify_descr, reset_res, and filename
44961 elements. Add traced_files.
44962 (inotify_fd): Declare.
44963 (register_traced_file): Declare.
44964 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
44965 (inotify_fd): Export.
44966 (resolv_conf_descr): Remove.
44967 (nscd_init): Move inotify descriptor creation to main.
44968 Don't register files for notification here.
44969 (register_traced_file): New function.
44970 (invalidate_cache): Don't use reset_res to determine whether to call
44971 res_init, go through the list of registered files.
44972 (main_loop_poll): The inotify descriptors are now stored in the
44973 structures for the traced files.
44974 (main_loop_epoll): Likewise
44975 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
44976 to __nss_disable_nscd.
44977 * nscd/cache.c (prune_cache): There is no single inotify descriptor
44978 for a database anymore. Check the records for all the registered
44980 * nss/Makefile (libnss_files-routines): Add files-init.
44981 (libnss_db-routines): Add db-init.
44982 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
44983 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
44984 * nss/nss_db/db-init.c: New file.
44985 * nss/nss_files/files-init.c: New file.
44986 * nss/nsswitch.c (nss_load_library): New function. Broken out of
44987 __nss_lookup_function.
44988 (__nss_lookup_function): Call nss_load_library.
44989 (nss_load_all_libraries): New function.
44990 (__nss_disable_nscd): Take parameter with callback function for files
44991 to register. Set is_nscd. Load all the DSOs for the NSS modules
44992 used for the cached services.
44993 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
44994 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
44995 options for features to all the files in nscd.
44997 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
44999 2011-07-10 Roland McGrath <roland@hack.frob.com>
45001 * csu/elf-init.c (__libc_csu_init): Comment typo.
45003 2011-07-09 Ulrich Drepper <drepper@gmail.com>
45005 * po/pl.po: Update from translation team.
45006 * po/ja.po: Likewise.
45007 * po/ru.po: Likewise.
45008 * po/ko.po: Likewise.
45009 * po/fr.po: Likewise.
45011 2011-07-09 Roland McGrath <roland@hack.frob.com>
45013 * configure.in (.ctors/.dtors header and trailer check):
45014 Use an empirical test on a built program.
45015 * configure: Regenerated.
45017 * configure.in (-z relro check): Use an empirical test on a built DSO.
45018 Detect, but do not require, on ia64.
45019 * configure: Regenerated.
45021 * configure.in (READELF): Find it with AC_CHECK_TOOL.
45022 Update tests that use readelf to use $READELF instead.
45023 * configure: Regenerated.
45025 2011-07-08 Ulrich Drepper <drepper@gmail.com>
45027 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
45028 if the result is not used.
45030 2011-07-05 Andreas Jaeger <aj@suse.de>
45033 * stdlib/tst-strtod.c: Add testcase.
45035 2011-07-07 Ulrich Drepper <drepper@gmail.com>
45037 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
45038 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
45039 The latter has a higher limit. Take additional parameter to pass to
45041 (__pathconf): Pass file to __statfs_link_max.
45042 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
45044 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
45048 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
45049 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45051 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
45052 (__statfs_filesize_max): Likewise.
45053 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
45055 2011-07-05 Andreas Jaeger <aj@suse.de>
45057 * resolv/res_comp.c (dn_skipname): Remove unused variable.
45059 2011-07-06 Marek Polacek <mpolacek@redhat.com>
45061 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
45063 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
45066 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
45068 * Makefile (strop-tests): Add strncat.
45069 * string/test-strncat.c: New file.
45071 2011-06-30 Marek Polacek <mpolacek@redhat.com>
45073 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
45075 2011-06-21 Andreas Jaeger <aj@suse.de>
45077 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
45078 Copy rule from iconvdata/Makefile.
45080 2011-07-06 Ulrich Drepper <drepper@gmail.com>
45083 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
45084 but no long options are defined, just return 'W'.
45086 2011-06-22 Marek Polacek <mpolacek@redhat.com>
45089 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
45091 2011-07-06 Ulrich Drepper <drepper@gmail.com>
45093 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
45095 (innetgr): Likewise.
45097 2011-07-05 Roland McGrath <roland@hack.frob.com>
45099 * config.make.in (install_root): Default to $(DESTDIR).
45101 2011-07-05 Ulrich Drepper <drepper@gmail.com>
45103 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
45105 2011-07-02 Roland McGrath <roland@hack.frob.com>
45107 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
45109 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
45110 containing directory rather than embedding absolute directory names.
45112 * scripts/check-local-headers.sh: Rewritten using awk.
45113 Match by word, not by line. Print error messages for matches.
45114 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
45116 * Makerules [shlib-lds-flags empty]:
45117 ($(common-objpfx)libc_pic.opts): New target.
45118 ($(common-objpfx)libc_pic.os.clean): New target.
45119 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
45121 * config.make.in (OBJCOPY): New variable.
45122 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
45123 * configure: Regenerated.
45125 * config.make.in (use-default-link): New variable.
45126 * configure.in (use_default_link): Grok --with-default-link to set it.
45127 * configure: Regenerated.
45128 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
45129 (shlib-lds, shlib-lds-flags): Define to empty.
45131 * Makerules (shlib-lds): New variable.
45132 (shlib-lds-flags): New variable.
45133 (build-shlib, build-moduile, build-module-asneeded): Use it.
45134 ($(common-objpfx)libc.so): Use $(shlib-lds).
45135 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
45136 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
45138 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
45139 DT_FLAGS/DT_FLAGS_1 with zero flags.
45141 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
45142 linker script munging.
45144 2011-07-02 Ulrich Drepper <drepper@gmail.com>
45146 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
45148 * crypt/sha512.c (sha512_process_block): Perform total addition using
45149 128-bit if possible.
45150 (__sha512_finish_ctx): Likewise.
45151 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
45153 * crypt/sha256.c (SWAP64): Define.
45154 (sha256_process_block): Perform total addition using 64-bit if
45156 (__sha256_finish_ctx): Likewise.
45158 2011-07-01 Ulrich Drepper <drepper@gmail.com>
45160 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
45161 * nscd/initgrcache.c (addinitgroupsX): Likewise.
45162 * nscd/hstcache.c (cache_addhst): Likewise.
45163 * nscd/grpcache.c (cache_addgr): Likewise.
45164 * nscd/aicache.c (addhstaiX): Likewise
45165 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
45167 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
45169 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
45170 * nscd/initgrcache.c (addinitgroupsX): Likewise.
45171 * nscd/hstcache.c (cache_addhst): Likewise.
45172 * nscd/grpcache.c (cache_addgr): Likewise.
45173 * nscd/aicache.c (addhstaiX): Likewise
45175 2011-07-01 Andreas Schwab <schwab@redhat.com>
45177 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
45178 domain only when needed.
45180 2011-06-30 Andreas Schwab <schwab@redhat.com>
45182 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
45183 is always restored.
45185 2011-06-29 Ulrich Drepper <drepper@gmail.com>
45187 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
45188 are re-adding the entry.
45189 * nscd/servicescache.c (cache_addserv): Likewise.
45191 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
45193 * sysdeps/generic/dl-irel.h: fix protection against multiple
45195 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
45197 2011-06-28 Ulrich Drepper <drepper@gmail.com>
45200 * malloc/memusage.sh: Fix quoting in message.
45201 * debug/xtrace.sh: Likewise.
45203 * configure.in: Remove support for --experimental-malloc option, make
45205 * config.make.in: Likewise.
45206 * malloc/Makefile: Likewise.
45208 2011-06-27 Andreas Schwab <schwab@redhat.com>
45210 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
45211 two-byte characters.
45213 2011-06-27 Roland McGrath <roland@hack.frob.com>
45215 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
45216 AC_CACHE_CHECK invocation.
45217 * configure: Regenerated.
45219 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
45221 2011-06-27 Ulrich Drepper <drepper@gmail.com>
45224 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
45225 bit from old_res_options.
45227 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
45229 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
45230 value type for setfct.
45232 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
45234 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
45235 __gettimeofday instead of gettimeofday.
45237 2011-06-26 Ulrich Drepper <drepper@gmail.com>
45239 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
45241 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
45243 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
45245 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
45248 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
45250 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45251 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
45252 strcpy-sse2-unaligned strncpy-sse2-unaligned
45253 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
45254 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
45255 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
45256 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
45257 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
45258 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
45259 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
45260 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
45261 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
45262 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
45263 (STRCPY): Support SSE2 and SSSE3 versions.
45265 2011-06-24 Ulrich Drepper <drepper@gmail.com>
45268 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
45269 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
45270 kernels which artificially limit size of requests.
45272 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
45274 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45275 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
45276 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
45277 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
45278 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
45279 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
45280 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
45281 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
45282 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
45283 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
45284 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
45285 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
45286 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
45287 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
45288 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
45289 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45290 Enable unaligned load optimization for Intel Core i3, i5 and i7
45292 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
45294 (index_Fast_Unaligned_Load): Define.
45295 (HAS_FAST_UNALIGNED_LOAD): Define.
45297 2011-06-23 Marek Polacek <mpolacek@redhat.com>
45299 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
45301 2011-06-22 Ulrich Drepper <drepper@gmail.com>
45304 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
45305 until it is clear that the information is realy needed.
45306 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
45308 2011-06-22 Andreas Schwab <schwab@redhat.com>
45310 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
45312 2011-06-22 Ulrich Drepper <drepper@gmail.com>
45314 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
45315 /sys/devices/system/cpu/online if it is usable.
45317 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
45318 reading the information from the /proc filesystem to once a second.
45320 2011-06-21 Andreas Jaeger <aj@suse.de>
45322 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
45323 NULL after inclusion of kernel headers.
45325 2011-06-21 Ulrich Drepper <drepper@gmail.com>
45327 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
45328 calls to internal_setent.
45331 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
45332 addresses using gethostbyname4_r ignore IPv4 addresses.
45334 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
45335 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
45337 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
45339 2011-06-20 David S. Miller <davem@davemloft.net>
45341 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
45343 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
45345 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
45346 (elf_irel): Use it.
45347 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
45348 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
45349 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
45350 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
45351 * sysdeps/x86_64/dl-irel.h: Likewise.
45353 * elf/dl-runtime.c: Use elf_ifunc_invoke.
45354 * elf/dl-sym.c: Likewise.
45356 2011-06-15 Ulrich Drepper <drepper@gmail.com>
45358 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
45359 need to dereference resplen2.
45361 2011-06-14 Andreas Schwab <schwab@redhat.com>
45363 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
45365 2011-06-15 Ulrich Drepper <drepper@gmail.com>
45367 * Makeconfig: Define vardbdir and inst_vardbdir.
45368 * nss/Makefile: Add rules to install db-Makefile.
45370 * nss/nss_db/db-XXX.c: Cleanup.
45372 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
45373 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
45375 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
45376 * nss/makedb.c: Implement -g option to specify that value strings
45377 are generated and should not be added to table iterated over for
45379 * nss/nss_db/db-initgroups.c: New file.
45381 * nss/getent.c: Add support for initgroups lookups through getgrouplist
45384 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
45385 (internal_getgrouplist): Adjust to name change.
45386 Update use_initgroups_entry if this is not the first call.
45387 * nss/databases.def: Add initgroups entry.
45389 * nss/makedb.c (compute_tables): Check result of multiple hash table
45390 sizes to minimize maximum chain length.
45392 2011-06-14 Ulrich Drepper <drepper@gmail.com>
45394 * Versions.def: Add entry for libnss_db.
45395 * shlib-versions: Likewise.
45396 * nss/Makefile: Add rules to build libnss_db.
45397 * nss/Versions: Add libnss_db information. Organize libnss_files
45399 * nss/db-Makefile: Add gshadow support. Change rules for the new
45400 makedb progra. Some minor improvements to generate smaller files.
45401 * nss/nss_db/nss_db.h: Move NSS database header data structures to
45403 * nss/makedb.c: ...here.
45404 Improve database format to be smaller and require less memory at
45406 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
45408 * nss/nss_db/db-netgrp.c: Likewise.
45409 * nss/nss_db/db-open.c: Likewise.
45410 * nss/nss_files/flies-XXX.x: Adjust comments.
45411 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
45412 * nss/nss_files/files-grp.c: Likewise.
45413 * nss/nss_files/files-hosts.c: Likewise.
45414 * nss/nss_files/files-network.c: Likewise.
45415 * nss/nss_files/files-proto.c: Likewise.
45416 * nss/nss_files/files-pwd.c: Likewise.
45417 * nss/nss_files/files-rpc.c: Likewise.
45418 * nss/nss_files/files-service.c: Likewise.
45419 * nss/nss_files/files-sgrp.c: Likewise.
45420 * nss/nss_files/files-spwd.c: Likewise.
45421 * nss/nss_db/db-alias.c: Removed.
45422 * nss/nss_db/dummy-db.h: Removed.
45424 2011-06-02 Ulrich Drepper <drepper@gmail.com>
45426 * nss/makedb.c: Rewritten to not use database library.
45427 * nss/Makefile: Update to build new makedb program.
45429 2011-06-14 Andreas Jaeger <aj@suse.de>
45431 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
45432 memset declaration.
45434 2011-06-10 Andreas Schwab <schwab@redhat.com>
45436 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
45439 2011-06-10 Roland McGrath <roland@hack.frob.com>
45441 * Makerules (shlib.lds): Fail if the linker script comes out empty.
45442 * elf/Makefile ($(objpfx)ld.so): Likewise.
45444 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
45445 Don't list ld.so twice in dependencies.
45447 * posix/bug-regex31.c: Include <stdlib.h>.
45449 * nscd/hstcache.c (cache_addhst): Remove unused variable.
45451 * nis/nss_compat/compat-spwd.c
45452 (getspent_next_nss_netgr): Remove unused variable.
45453 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
45455 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
45456 nonmembers" output to use the right array.
45458 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
45460 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
45462 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
45463 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
45464 * catgets/gencat.c (read_input_file): Likewise.
45465 * locale/programs/locarchive.c (enlarge_archive): Likewise.
45467 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
45468 variable definition inside #if's controlling its use.
45470 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
45472 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
45474 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
45476 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
45479 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
45481 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
45482 * configure: Regenerated.
45484 * Makerules: Revert last change.
45485 * elf/Makefile: Likewise.
45487 2011-06-09 Roland McGrath <roland@hack.frob.com>
45489 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
45490 * elf/Makefile ($(objpfx)librtld.os): Likewise.
45491 (reloc-link): Likewise.
45493 2011-06-09 Ulrich Drepper <drepper@gmail.com>
45495 * elf/Makefile: Add rules to build pldd.
45496 * elf/pldd.c: New file.
45497 * elf/pldd-xx.c: New file.
45499 2011-06-07 Ulrich Drepper <drepper@gmail.com>
45501 * version.h: Update for 2.15 development version.
45503 2011-06-07 David S. Miller <davem@davemloft.net>
45505 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
45507 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
45508 elf_machine_lazy_rel): Likewise.
45509 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
45510 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
45511 elf_machine_lazy_rel): Likewise.
45512 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
45513 dl_hwcap via passed in argument.
45514 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
45517 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45519 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
45521 2011-06-06 Roland McGrath <roland@hack.frob.com>
45524 * manual/fdl-1.1.texi: New file, verbatim from:
45525 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
45526 * manual/lgpl-2.1.texi: New file, verbatim from:
45527 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
45528 * manual/Makefile (licenses): New variable, list those new file names.
45530 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
45532 * manual/fdl.texi: File removed.
45533 * manual/lesser.texi: File removed.
45534 * manual/libc.texinfo (Copying, Documentation License):
45535 Use new @include file names, put @appendix directive before @include.
45537 2011-06-04 Jakub Jelinek <jakub@redhat.com>
45540 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
45541 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
45542 (mq_open): Add __NTH.
45544 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
45546 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45547 Assume Intel Core i3/i5/i7 processor if AVX is available.
45549 2011-05-31 Ulrich Drepper <drepper@gmail.com>
45551 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
45554 2011-05-31 Andreas Schwab <schwab@redhat.com>
45556 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
45557 memory. Use alloca_account. Fix memory leak when retrying.
45559 2011-05-31 Ulrich Drepper <drepper@gmail.com>
45561 * version.h (RELEASE): Bump for 2.14 release.
45562 * include/features.h (__GLIBC_MINOR__): Bump to 14.
45564 * config.make.in (RANLIB): Remove entry.
45566 2011-05-30 Ulrich Drepper <drepper@gmail.com>
45568 * po/Makefile (po-sed-cmd): Add ksh to extensions.
45569 (libc.pot): Work around missing support for .ksh extension in xgettext.
45572 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
45573 if both request failed.
45574 (send_dg): In case of server errors clear resplen or *resplen2.
45577 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
45578 when there are multiple maps.
45579 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
45580 (_dl_fini): Remove test here.
45582 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
45584 2011-05-29 Ulrich Drepper <drepper@gmail.com>
45587 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
45588 bit from old_res_options.
45589 (gaih_inet): Likewise.
45592 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
45595 * resolv/res_init.c (res_setoptions): Make the code more compact.
45598 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
45602 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
45604 * malloc/malloc.h: Mark malloc hook variables as deprecated.
45607 * malloc/malloc.h: Declare malloc hook variables as volatile.
45609 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
45613 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
45614 raise in the comment.
45615 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
45616 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
45617 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
45619 2011-05-28 Ulrich Drepper <drepper@gmail.com>
45622 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
45623 grow the buffers more if it already has to be sufficient.
45624 (build_wcs_upper_buffer): Likewise.
45625 * posix/regexec.c (check_matching): Likewise.
45626 (clean_state_log_if_needed): Likewise.
45627 (extend_buffers): Don't enlarge buffers beyond size of the input
45629 Patches mostly by Emil Wojak <emil@wojak.eu>.
45630 * posix/bug-regex32.c: New file.
45631 * posix/Makefile (tests): Add bug-regex32.
45633 * locale/findlocale.c (_nl_find_locale): Return right away if
45634 _nl_explode_name failed.
45635 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
45637 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
45639 * debug/xtrace.sh: Unify messages.
45640 * malloc/memusage.sh: Likewise.
45643 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
45644 time symbol from vDSO. Substitute with vsyscall if not available.
45645 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
45648 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
45649 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
45650 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
45651 Add sendmmsg and internal_sendmmsg.
45652 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
45653 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
45654 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
45656 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
45657 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
45658 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
45660 2011-05-27 Ulrich Drepper <drepper@gmail.com>
45663 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
45664 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
45666 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
45670 * iconvdata/Makefile (tests): Add bug-iconv9.
45671 * iconvdata/bug-iconv9.c: New file.
45673 2011-05-27 Andreas Schwab <schwab@redhat.com>
45676 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
45678 2011-05-25 Jakub Jelinek <jakub@redhat.com>
45680 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45681 (struct user_regs_struct): Change intcs field back to cs.
45683 2011-05-25 Ulrich Drepper <drepper@gmail.com>
45685 * po/ja.po: Update from translation team.
45687 2011-05-23 Ulrich Drepper <drepper@gmail.com>
45690 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
45691 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
45693 2011-05-20 Andreas Schwab <schwab@redhat.com>
45695 * stdlib/longlong.h: Update from GCC.
45697 2011-05-23 Andreas Schwab <schwab@redhat.com>
45699 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
45701 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
45702 Add parameter name.
45703 (__sysconf): Pass it down.
45705 2011-05-22 Ulrich Drepper <drepper@gmail.com>
45708 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
45710 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
45711 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
45712 add in in __libc_use_alloca calls. Adjust callers.
45713 (glob): Use malloc in some situations.
45715 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
45716 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
45719 2011-05-21 Ulrich Drepper <drepper@gmail.com>
45721 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
45722 and CLOCK_BOOTTIME_ALARM.
45725 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
45728 * string/_strerror.c (__strerror_r): Print negative errors as signed
45732 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
45733 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
45734 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
45736 * configure.in: Fix typo in redirection and correct removal of test
45737 files in two cases.
45740 * locale/setlocale.c (new_composite_name): Fix test to check for
45741 identical name of all categories.
45744 * libio/filedoalloc.c (local_isatty): New function.
45745 (_IO_file_doallocate): Use local_isatty.
45746 * stdio-common/perror.c (perror): In case a new stream is used
45747 forward the stream error.
45748 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
45751 2011-05-20 Ulrich Drepper <drepper@gmail.com>
45754 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
45756 * include/alloca.h (extend_alloca_account): Define.
45759 * posix/regex.h: Fix comments with documentation of user-accessible
45760 fields after compilation and describe correct free'ing of pattern
45761 after re_compile_pattern.
45762 Patch by Reuben Thomas <rrt@sc3d.org>.
45764 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
45766 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
45767 and -mno-altivec to prevent the compiler from using Altivec and/or
45768 VSX instructions when the corresponding registers are not available.
45770 2011-05-19 Andreas Schwab <schwab@redhat.com>
45772 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
45774 2011-05-19 Ulrich Drepper <drepper@gmail.com>
45776 * libio/freopen.c (freopen): Use __dup2, not dup2.
45777 * libio/freopen64.c (freopen64): Likewise.
45779 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
45782 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
45783 * math/Makefile (tests): Add test-powl.
45784 (CFLAGS-test-powl.c): Define.
45785 * math/test-powl.c: New file.
45787 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
45789 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
45791 2011-05-17 Ulrich Drepper <drepper@gmail.com>
45794 * iconvdata/gb18030.c: Update to GB18020-2005.
45796 2011-05-16 Ulrich Drepper <drepper@gmail.com>
45798 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
45799 RE_SYNTAX_POSIX_AWK): Update to match recent development.
45800 Patch by Aharon Robbins <arnold@skeeve.com>.
45803 * stdlib/putenv.c (putenv): Don't always create copy of the variable
45807 * misc/pselect.c (__pselect): Handle timeout value errors hidden
45808 through underflows.
45811 * misc/error.c (error_at_line): Ensure file_name and old_file_name
45812 point to strings before performing equality test for error_one_per_line
45816 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
45819 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45820 (struct user_fpregs_struct): Avoid __uint*_t types.
45823 * malloc/mtrace.c (tr_where): Add additional parameter to point to
45824 symbol info. Use it instead of calling _dl_addr locally.
45825 (lock_and_info): New function.
45826 (tr_freehook): Call lock_and_info and pass symbol info as additional
45827 parameter to tr_where.
45828 (tr_mallochook): Likewise.
45829 (tr_reallochook): Likewise.
45830 (tr_memalignhook): Likewise.
45832 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
45833 used and couldn't be at all thread-safe.
45835 2011-05-15 Ulrich Drepper <drepper@gmail.com>
45837 * libio/freopen.c (freopen): Don't close old file descriptor
45838 before the new one is opened. Instead dup the new file descriptor
45839 to the old one after the new stream is created.
45840 * libio/freopen64.c (freopen64): Likewise.
45841 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
45842 * libio/fileops.c (_IO_new_file_close_it): Handle new
45843 _IO_FLAGS2_NOCLOSE flag.
45844 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
45845 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
45846 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
45847 _IO_FLAGS2_NOCLOSE flag.
45848 * include/unistd.h: Add hidden_proto for dup3.
45849 Define __have_dup3.
45850 * io/dup3.c: Define hidden symbol.
45851 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
45854 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
45855 when an incomplete long option is used.
45856 * posix/tst-getopt_long1.c: New file.
45857 * posix/Makefile (tests): Add tst-getopt_long1.
45860 * scripts/config.guess: Update from autoconf-2.68.
45861 * scripts/config.sub: Likewise.
45864 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
45866 (has_cpuclock): ...this. New function.
45867 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
45868 macro here based on has_cpuclock code.
45871 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45872 First byte (not low byte) is now always NUL.
45873 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
45875 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45876 Use non-cancelable interfaces.
45879 * locale/iso-639.def: Add entry for Sorani.
45882 * include/stdlib.h: Move include protection to the right place.
45883 Define abort_msg_s. Declare __abort_msg with it.
45884 * stdlib/abort.c (__abort_msg): Adjust type.
45885 * assert/assert.c (__assert_fail_base): New function. Majority
45886 of code from __assert_fail. Allocate memory for __abort_msg with
45888 (__assert_fail): Now call __assert_fail_base.
45889 * assert/assert-perr.c: Remove bulk of implementation. Use
45890 __assert_fail_base.
45891 * include/assert.hL Declare __assert_fail_base.
45892 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
45894 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
45896 2011-05-14 Ulrich Drepper <drepper@gmail.com>
45900 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
45901 until all modules are registered in the DTV.
45902 * elf/Makefile: Add rules to build and run tst-tls19.
45903 * elf/tst-tls19.c: New file.
45904 * elf/tst-tls19mod1.c: New file.
45905 * elf/tst-tls19mod2.c: New file.
45906 * elf/tst-tls19mod3.c: New file.
45907 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
45910 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
45914 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
45915 two-byte sequence errors.
45916 * iconvdata/Makefile (tests): Add bug-iconv8.
45917 * iconvdata/bug-iconv8.c: New file.
45920 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
45923 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
45926 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
45927 (dummy_getcfa): New function.
45928 (init): Get _Unwind_GetCFA address, use dummy if not found.
45929 (backtrace_helper): In recursion check, also check whether CFA changes.
45930 (__backtrace): Completely initialize arg.
45932 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
45933 storing incomplete byte sequence in state object. Avoid testing for
45934 guaranteed too small input if we know there is enough data available.
45936 2011-05-11 Andreas Schwab <schwab@redhat.com>
45938 * Makeconfig (+link-pie): Indent.
45939 * Rules (binaries-pie): Define if $(have-fpie) and
45941 (binaries-shared): Also filter out $(binaries-pie).
45942 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
45943 * nscd/Makefile (others-pie): Add nscd.
45944 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
45945 ($(objpfx)nscd): Remove command override.
45946 * login/Makefile (others-pie): Add pt_chown.
45947 ($(objpfx)pt_chown): Remove command override.
45948 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
45949 remove command overrides.
45951 2011-05-13 Ulrich Drepper <drepper@gmail.com>
45953 * libio/tst_putwc.c: Fix error messages.
45956 * libio/fileops.c (_IO_new_file_close_it): Always flush when
45957 currently writing and seek to current position when not.
45958 * libio/Makefile (tests): Add bug-fclose1.
45959 * libio/bug-fclose1.c: New file.
45961 2011-05-12 Ulrich Drepper <drepper@gmail.com>
45964 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
45965 don't set DF_1_NODELETE here.
45966 (do_lookup_x): When entering new entry test for copy relocation
45967 and if necessary set DF_1_NODELETE flag.
45968 * elf/tst-unique4.cc: New file.
45969 * elf/tst-unique4.h: New file.
45970 * elf/tst-unique4lib.cc: New file.
45971 * elf/Makefile: Add rules to build and run tst-unique4.
45972 Patch by Piotr Bury <pbury@goahead.com>.
45974 2011-05-11 Ulrich Drepper <drepper@gmail.com>
45977 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
45980 * misc/mntent_r.c (addmntent): Flush the stream after the output
45983 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
45984 (is_trusted_path_normalize): Skip initial colon. Append slash
45985 to empty buffer. Duplicate is_trusted_path code but allow
45986 constructed patch to be prefix.
45987 (is_dst): Allow $ORIGIN followed by /.
45988 (_dl_dst_substitute): Correct clearing of check_for_trusted.
45989 Correct testing of result of is_trusted_path_normalize
45990 (decompose_rpath): Fix warning.
45992 2011-05-10 Ulrich Drepper <drepper@gmail.com>
45995 * grp/initgroups.c (internal_getgrouplist): When we found the service
45996 list through the initgroups entry in nsswitch.conf do not always
45997 continue on a successful lookup. Don't always use the
45998 __nss_group_database value if it is set.
45999 * nss/nsswitch.conf (initgroups): Change action for successful db
46000 lookup to continue for compatibility.
46002 2011-05-09 Ulrich Drepper <drepper@gmail.com>
46005 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
46007 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
46009 * iconvdata/tst-tables.sh: Likewise.
46010 * iconvdata/cp770.c: New file.
46011 * iconvdata/cp771.c: New file.
46012 * iconvdata/cp772.c: New file.
46013 * iconvdata/cp773.c: New file.
46014 * iconvdata/cp774.c: New file.
46015 * iconvdata/testdata/CP770: New file.
46016 * iconvdata/testdata/CP770..UTF8: New file.
46017 * iconvdata/testdata/CP771: New file.
46018 * iconvdata/testdata/CP771..UTF8: New file.
46019 * iconvdata/testdata/CP772: New file.
46020 * iconvdata/testdata/CP772..UTF8: New file.
46021 * iconvdata/testdata/CP773: New file.
46022 * iconvdata/testdata/CP773..UTF8: New file.
46023 * iconvdata/testdata/CP774: New file.
46024 * iconvdata/testdata/CP774..UTF8: New file.
46026 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
46028 * iconvdata/gen-8bit-gap.sh: Likewise.
46029 * iconvdata/gen-8bit.sh: Likewise.
46031 * locale/iso-639.def: Add ary entry.
46034 * locale/C-translit.h.in: Add U20A1 transliteration.
46037 * locale/iso-639.def: Add wae entry.
46038 Patch by Kevin Bortis <bortis@translate-wae.ch>.
46041 * locale/programs/localedef.c (construct_output_path): Use ssize_t
46045 * locale/C-translit.h.in: Add entry for U20B9.
46046 Patch by pravin.d.s@gmail.com.
46048 2011-05-08 Ulrich Drepper <drepper@gmail.com>
46051 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
46052 ENAMETOOLONG use generic getcwd.
46053 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
46054 in rtld. Use *stat64.
46055 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
46056 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
46057 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
46058 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
46059 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
46060 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
46061 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
46062 __fstatat64 macros.
46063 * include/dirent.h: Add libc_hidden_proto for rewinddir.
46064 * dirent/rewinddir.c: Add libc_hidden_def.
46065 * sysdeps/mach/hurd/rewinddir.c: Likewise.
46066 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
46068 * include/dirent.h (__alloc_dir): Add flags parameter.
46069 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
46070 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
46072 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
46073 from fdopendir if O_CLOEXEC is already set.
46075 2011-03-15 Alan Modra <amodra@gmail.com>
46077 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
46078 l_tls_firstbyte_offset non-zero. Save padding offset in
46079 l_tls_firstbyte_offset for later use.
46080 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
46081 freeing static tls block.
46083 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
46085 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
46086 where #ifdef was intended. The intent is to prevent ARG_MAX from
46087 being defined by the kernel headers.
46089 2011-05-07 Ulrich Drepper <drepper@gmail.com>
46092 * resolv/resolv.h: Define RES_NOTLDQUERY.
46093 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
46094 no-tld-query and set RES_NOTLDQUERY.
46095 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
46096 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
46097 modern BIND to search name as TLD unless forbidden.
46099 2011-05-07 Petr Baudis <pasky@suse.cz>
46100 Ulrich Drepper <drepper@gmail.com>
46103 * elf/dl-load.c (fillin_rpath): Move trusted path check...
46104 (is_trusted_path): ...to here.
46105 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
46106 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
46107 using is_trusted_path_normalize() in setuid scripts.
46109 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
46111 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
46112 __BEGIN/__END_DECLS.
46114 2011-05-06 Ulrich Drepper <drepper@gmail.com>
46116 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
46117 NSS_STATUS_NOTFOUND if no record was found.
46119 2011-05-05 Andreas Schwab <schwab@redhat.com>
46121 * sunrpc/Makefile (headers): Add rpc/netdb.h.
46122 (headers-not-in-tirpc): Remove rpc/netdb.h
46123 * resolv/netdb.h: Revert last change.
46125 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
46127 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
46128 circular dependency between libgcc.a and libc.a.
46130 2011-05-05 Andreas Schwab <schwab@redhat.com>
46132 * resolv/netdb.h: Don't include <rpc/netdb.h>.
46133 * nis/Makefile: Don't install rpcsvc/*.
46134 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
46135 instead of <rpc/types.h>.
46136 (MAXHOSTNAMELEN): Define.
46138 2011-05-03 Andreas Schwab <schwab@redhat.com>
46140 * elf/ldconfig.c (add_dir): Don't crash on empty path.
46142 2011-04-28 Maciej Babinski <mbabinski@google.com>
46145 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
46146 gethostbyname4_r when IPv6 results are possible.
46148 2011-05-02 Ulrich Drepper <drepper@gmail.com>
46151 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
46152 _PC_PIPE_BUF handling.
46154 2011-04-30 Bruno Haible <bruno@clisp.org>
46157 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
46158 * resolv/netdb.h (getnameinfo): Change type of flags parameter
46160 * inet/getnameinfo.c (getnameinfo): Likewise.
46162 2011-04-29 Ulrich Drepper <drepper@gmail.com>
46164 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
46165 to groups setting in database lookup.
46166 * nss/nsswitch.conf: Add initgroups entry.
46168 2011-04-22 Ulrich Drepper <drepper@gmail.com>
46171 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
46173 Patch by Eric Blake <eblake@redhat.com>.
46175 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
46177 * sunrpc/Makefile (need-export-routines): Add svc_run.
46178 (routines): Remove svc_run.
46179 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
46180 * sunrpc/clnt_perr.c (clnt_perrno): Export.
46181 * sunrpc/svc_run.c (svc_run): Likewise.
46182 * sunrpc/svc_udp.c (svcudp_create): Likewise.
46184 2011-04-21 Ulrich Drepper <drepper@gmail.com>
46186 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
46187 problem in reallocation in last patch.
46189 2011-04-20 Ulrich Drepper <drepper@gmail.com>
46191 * sunrpc/Makefile: Move inclusion of Rules.
46193 2011-04-19 Ulrich Drepper <drepper@gmail.com>
46195 * nss/nss_files/files-initgroups.c: New file.
46196 * nss/Makefile (libnss_files-routines): Add files-initgroups.
46197 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
46198 _nss_files_initgroups_dyn.
46200 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
46202 * elf/elf.h (R_ARM_IRELATIVE): Define.
46204 2011-04-19 Ulrich Drepper <drepper@gmail.com>
46206 * po/ru.po: Update from translation team.
46208 2011-04-17 Ulrich Drepper <drepper@gmail.com>
46210 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
46213 2011-02-06 Mike Frysinger <vapier@gentoo.org>
46216 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
46217 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
46218 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
46219 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
46220 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
46222 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
46224 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
46226 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
46227 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
46228 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46230 2011-04-17 Ulrich Drepper <drepper@gmail.com>
46233 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
46235 * stdlib/bug-getcontext.c: New file.
46236 * stdlib/Makefile: Add rules to build and run bug-getcontext.
46238 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46240 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
46241 instructions into .machine "z9-109".
46242 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
46243 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
46245 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46247 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
46248 between environment variables and auxiliary vector.
46250 2011-04-16 Ulrich Drepper <drepper@gmail.com>
46252 * Makefile: Add rules to build linkobj/libc.so.
46253 * include/libc-symbols.h: Define libc_hidden_nolink.
46254 * include/rpc/auth.h: Mark functions which are to be hidden.
46255 * include/rpc/auth_des.h: Likewise.
46256 * include/rpc/auth_unix.h: Likewise.
46257 * include/rpc/clnt.h: Likewise.
46258 * include/rpc/des_crypt.h: Likewise.
46259 * include/rpc/key_prot.h: Likewise.
46260 * include/rpc/pmap_clnt.h: Likewise.
46261 * include/rpc/pmap_prot.h: Likewise.
46262 * include/rpc/pmap_rmt.h: Likewise.
46263 * include/rpc/rpc_msg.h: Likewise.
46264 * include/rpc/svc.h: Likewise.
46265 * include/rpc/svc_auth.h: Likewise.
46266 * include/rpc/xdr.h: Likewise.
46267 * nis/Makefile: Link all DSOs against linkobj/libc.so.
46268 * nss/Makefile: Likewise.
46269 * sunrpc/Makefile: Don't install headers. Build library with normal
46270 entry points. Don't build rpcinfo. Link RPC tests appropriately.
46271 * sunrpc/auth_des.c: Hide exported symbols by default, export some
46272 for the compat linking library. Remove use of INTDEF/INTUSE.
46273 * sunrpc/auth_none.c: Likewise.
46274 * sunrpc/auth_unix.c: Likewise.
46275 * sunrpc/authdes_prot.c: Likewise.
46276 * sunrpc/authuxprot.c: Likewise.
46277 * sunrpc/clnt_gen.c: Likewise.
46278 * sunrpc/clnt_perr.c: Likewise.
46279 * sunrpc/clnt_raw.c: Likewise.
46280 * sunrpc/clnt_simp.c: Likewise.
46281 * sunrpc/clnt_tcp.c: Likewise.
46282 * sunrpc/clnt_udp.c: Likewise.
46283 * sunrpc/clnt_unix.c: Likewise.
46284 * sunrpc/des_crypt.c: Likewise.
46285 * sunrpc/des_soft.c: Likewise.
46286 * sunrpc/get_myaddr.c: Likewise.
46287 * sunrpc/key_call.c: Likewise.
46288 * sunrpc/key_prot.c: Likewise.
46289 * sunrpc/netname.c: Likewise.
46290 * sunrpc/pm_getmaps.c: Likewise.
46291 * sunrpc/pm_getport.c: Likewise.
46292 * sunrpc/pmap_clnt.c: Likewise.
46293 * sunrpc/pmap_prot.c: Likewise.
46294 * sunrpc/pmap_prot2.c: Likewise.
46295 * sunrpc/pmap_rmt.c: Likewise.
46296 * sunrpc/publickey.c: Likewise.
46297 * sunrpc/rpc_cmsg.c: Likewise.
46298 * sunrpc/rpc_common.c: Likewise.
46299 * sunrpc/rpc_dtable.c: Likewise.
46300 * sunrpc/rpc_prot.c: Likewise.
46301 * sunrpc/rpc_thread.c: Likewise.
46302 * sunrpc/rtime.c: Likewise.
46303 * sunrpc/svc.c: Likewise.
46304 * sunrpc/svc_auth.c: Likewise.
46305 * sunrpc/svc_authux.c: Likewise.
46306 * sunrpc/svc_raw.c: Likewise.
46307 * sunrpc/svc_run.c: Likewise.
46308 * sunrpc/svc_simple.c: Likewise.
46309 * sunrpc/svc_tcp.c: Likewise.
46310 * sunrpc/svc_udp.c: Likewise.
46311 * sunrpc/svc_unix.c: Likewise.
46312 * sunrpc/svcauth_des.c: Likewise.
46313 * sunrpc/xcrypt.c: Likewise.
46314 * sunrpc/xdr.c: Likewise.
46315 * sunrpc/xdr_array.c: Likewise.
46316 * sunrpc/xdr_float.c: Likewise.
46317 * sunrpc/xdr_intXX_t.c: Likewise.
46318 * sunrpc/xdr_mem.c: Likewise.
46319 * sunrpc/xdr_rec.c: Likewise.
46320 * sunrpc/xdr_ref.c: Likewise.
46321 * sunrpc/xdr_sizeof.c: Likewise.
46322 * sunrpc/xdr_stdio.c: Likewise.
46324 2011-04-10 Ulrich Drepper <drepper@gmail.com>
46327 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
46328 * sysdeps/ia64/dl-tls.h: Likewise.
46329 * sysdeps/powerpc/dl-tls.h: Likewise.
46330 * sysdeps/s390/dl-tls.h: Likewise.
46331 * sysdeps/sh/dl-tls.h: Likewise.
46332 * sysdeps/sparc/dl-tls.h: Likewise.
46333 * sysdeps/x86_64/dl-tls.h: Likewise.
46334 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
46336 2011-03-14 Andreas Schwab <schwab@redhat.com>
46338 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
46339 rpath element also skip the following colon.
46340 (expand_dynamic_string_token): Add is_path parameter and pass
46341 down to DL_DST_REQUIRED and _dl_dst_substitute.
46342 (decompose_rpath): Call expand_dynamic_string_token with
46343 non-zero is_path. Ignore empty rpaths.
46344 (_dl_map_object_from_fd): Call expand_dynamic_string_token
46347 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
46349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
46352 2011-04-09 Ulrich Drepper <drepper@gmail.com>
46355 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
46356 Patch by Filipe David Manana <fdmanana@apache.org>.
46358 2011-04-07 Andreas Schwab <schwab@redhat.com>
46360 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
46361 Maintain aligned stack.
46362 (CHECK_RSP): Remove unused macro.
46364 2011-04-03 Ulrich Drepper <drepper@gmail.com>
46366 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
46367 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
46369 2011-04-02 Ulrich Drepper <drepper@gmail.com>
46371 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
46373 * include/features.h: Mention __USE_XOPEN2K8 in comment.
46375 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
46378 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
46379 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
46380 * sysdeps/x86_64/memmove.c: New file.
46381 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
46382 (memcpy): Renamed to ...
46383 (__new_memcpy): This.
46384 (memcpy): Provide GLIBC_2_14 memcpy.
46385 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
46386 (memcpy): Provide GLIBC_2_2_5 memcpy.
46388 2011-04-01 Ulrich Drepper <drepper@gmail.com>
46391 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
46393 2011-03-30 Andreas Schwab <schwab@redhat.com>
46395 * misc/syncfs.c: New file.
46396 * misc/Makefile (routines): Add syncfs.
46397 * posix/unistd.h: Declare syncfs.
46398 * sysdeps/unix/syscalls.list: Add syncfs.
46400 2011-04-01 Andreas Schwab <schwab@redhat.com>
46402 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
46404 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
46405 * sysdeps/unix/sysv/linux/ia64/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/syscalls.list: Likewise.
46410 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46412 2011-04-01 Ulrich Drepper <drepper@gmail.com>
46414 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
46415 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46416 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
46417 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46418 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46419 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46420 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46422 * io/Makefile: Compile fallocate.c, fallocate64.c, and
46423 sync_file_range.c with -fexceptions.
46424 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
46425 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
46426 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
46427 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
46428 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
46429 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
46430 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
46431 sync_file_range as cancellation point
46432 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
46433 now a wrapper around __call_sync_file_range with cancellation handling.
46434 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
46435 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
46436 function name to __call_sync_file_range.
46437 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
46438 Add call_sync_file_range.
46440 2011-04-01 Andreas Schwab <schwab@redhat.com>
46442 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46445 2011-04-01 Ulrich Drepper <drepper@gmail.com>
46447 * iconv/iconv.h: Fix typo in comment.
46448 * io/fcntl.h: Likewise.
46449 * libio/stdio.h: Likewise.
46450 * posix/spawn.h: Likewise.
46451 * posix/unistd.h: Likewise.
46452 * stdlib/stdlib.h: Likewise.
46453 * time/time.h: Likewise.
46454 * wcsmbs/wchar.h: Likewise.
46456 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
46457 open_by_handle): Add.
46458 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
46459 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
46460 Augment a few comments.
46461 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46462 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46463 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46464 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46465 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46466 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
46469 * io/fcntl.h (AT_EMPTY_PATH): Define.
46471 2011-03-30 Ulrich Drepper <drepper@gmail.com>
46473 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
46474 * sysdeps/unix/sysv/linux/bits/time.h: New file.
46475 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
46477 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
46478 * Versions.def: Add GLIBC_2.14.
46479 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
46482 2011-03-22 Ulrich Drepper <drepper@gmail.com>
46484 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
46486 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
46488 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
46491 * string/test-strncmp.c (do_page_test): New function.
46492 (check2): Likewise.
46493 (test_main): Call check2.
46494 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
46496 2011-03-20 Ulrich Drepper <drepper@gmail.com>
46499 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
46500 Handle cache information in CPU leaf 4.
46501 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
46503 2011-03-18 Ulrich Drepper <drepper@gmail.com>
46506 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
46507 character representation.
46508 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
46510 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
46512 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
46513 END(__isnan) to END(__isnanf) to match function entry point/label
46514 EALIGN(__isnanf,...).
46516 2011-03-10 Jakub Jelinek <jakub@redhat.com>
46518 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
46520 2011-03-10 Ulrich Drepper <drepper@gmail.com>
46523 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
46524 copy from the symbol referenced in the relocation to initialize the
46526 Patch by Piotr Bury <pbury@goahead.com>.
46527 * elf/Makefile: Add rules to build and tst-unique3.
46528 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
46529 * elf/tst-unique3.cc: New file.
46530 * elf/tst-unique3.h: New file.
46531 * elf/tst-unique3lib.cc: New file.
46532 * elf/tst-unique3lib2.cc: New file.
46534 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
46536 2011-03-10 Mike Frysinger <vapier@gentoo.org>
46538 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
46539 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
46542 2011-03-06 Ulrich Drepper <drepper@gmail.com>
46544 * elf/dl-load.c (_dl_map_object): If we are looking for the first
46545 to-be-loaded object along a path to loader is ld.so.
46547 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
46548 Ulrich Drepper <drepper@gmail.com>
46550 * sysdeps/x86_64/memset.S: After aligning destination, code
46551 branches to different locations depending on the value of
46552 misalignment, when multiarch is enabled. Fix this.
46554 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
46556 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
46557 Set _x86_64_preferred_memory_instruction for AMD processsors.
46558 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46559 Set bit_Prefer_SSE_for_memop for AMD processors.
46561 2011-03-04 Ulrich Drepper <drepper@gmail.com>
46563 * libio/fmemopen.c (fmemopen): Optimize a bit.
46565 2011-03-03 Andreas Schwab <schwab@redhat.com>
46567 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
46569 2011-03-03 Roland McGrath <roland@redhat.com>
46571 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
46573 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
46575 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
46576 __bzero_ultra1 instead of __memset_ultra1.
46578 2011-02-23 Andreas Schwab <schwab@redhat.com>
46579 Ulrich Drepper <drepper@gmail.com>
46582 * include/link.h (struct link_map): Add l_orig_initfini.
46583 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
46584 returning unsuccessfully.
46585 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
46586 close of a file loaded at startup, restore the original l_initfini
46588 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
46589 list, store the pointer.
46590 * elf/Makefile ($(objpfx)noload-mem): New rule.
46591 (noload-ENV): Define.
46592 (tests): Add $(objpfx)noload-mem.
46593 * elf/noload.c: Include <memcheck.h>.
46594 (main): Call mtrace. Close all opened handles.
46596 2011-02-17 Andreas Schwab <schwab@redhat.com>
46599 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
46600 dependencies are missing.
46602 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
46604 Fix __if_freereq crash: Unlike the generic version which uses free,
46606 * sysdeps/mach/hurd/ifreq.h: New file.
46608 2011-01-27 Petr Baudis <pasky@suse.cz>
46609 Ulrich Drepper <drepper@gmail.com>
46612 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
46613 to extend_alloca().
46614 * stdio-common/bug23.c: New file.
46615 * stdio-common/Makefile (tests): Add bug23.
46617 2010-09-28 Andreas Schwab <schwab@redhat.com>
46618 Ulrich Drepper <drepper@gmail.com>
46621 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
46622 before performing relro protection. At old place add assertion
46623 to make sure nothing changed.
46625 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
46626 Glauber de Oliveira Costa <glommer@gmail.com>
46628 * elf/elf.h: Add new ARM TLS relocs.
46630 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
46632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
46633 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
46635 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
46637 * sysdeps/wordsize-64/tst-writev.c: New file.
46639 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
46641 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
46642 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
46643 insns in _dl_start to prevent a TOC reference before relocs are
46646 2011-02-15 Ulrich Drepper <drepper@gmail.com>
46649 * Makeconfig: Remove RANLIB definition.
46650 * Makerules: Don't use RANLIB.
46651 * aclocal.m4: Remove ranlib test.
46652 * configure.in: No need to check for ranlib.
46653 * elf/rtld-Rules: Don't use RANLIB.
46655 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
46657 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
46659 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
46660 inclusion protection macro.
46662 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
46663 SIGRTMIN and SIGRTMAX and print information in that case only when
46664 SIGRTMIN is defined.
46666 2011-02-11 Jakub Jelinek <jakub@redhat.com>
46668 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
46669 arginfo fn returning -1.
46671 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
46672 and thousands string is zero terminated.
46674 2011-02-03 Andreas Schwab <schwab@redhat.com>
46676 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
46677 sysdeps/unix/sysv/linux/bits/socket.h.
46679 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
46681 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
46682 (__CPU_COUNT): Remove old macros.
46683 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
46684 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
46685 (__CPU_ALLOC, __CPU_FREE): Add macros.
46686 (__sched_cpualloc, __sched_cpufree): Add declarations.
46688 2011-02-05 Ulrich Drepper <drepper@gmail.com>
46690 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
46691 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
46692 * nscd/aicache.c (addhstaiX): Return timeout of added value.
46693 (readdhstai): Return value of addhstaiX call.
46694 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
46695 (addgrbyX): Return value returned by cache_addgr.
46696 (readdgrbyname): Return value returned by addgrbyX.
46697 (readdgrbygid): Likewise.
46698 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
46699 (addpwbyX): Return value returned by cache_addpw.
46700 (readdpwbyname): Return value returned by addhstbyX.
46701 (readdpwbyuid): Likewise.
46702 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
46703 (addservbyX): Return value returned by cache_addserv.
46704 (readdservbyname): Return value returned by addservbyX:
46705 (readdservbyport): Likewise.
46706 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
46707 (addhstbyX): Return value returned by cache_addhst.
46708 (readdhstbyname): Return value returned by addhstbyX.
46709 (readdhstbyaddr): Likewise.
46710 (readdhstbynamev6): Likewise.
46711 (readdhstbyaddrv6): Likewise.
46712 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
46713 (readdinitgroups): Return value returned by addinitgroupsX.
46714 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
46715 (prune_cache): Keep track of timeout value of re-added entries.
46716 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
46717 * nscd/nscd.h: Adjust prototypes of readd* functions.
46719 2011-02-04 Roland McGrath <roland@redhat.com>
46721 * nis/nis_server.c (nis_servstate): Use the right name for 0.
46722 (nis_stats): Likewise.
46723 * nis/nis_modify.c (nis_modify): Likewise.
46724 * nis/nis_remove.c (nis_remove): Likewise.
46725 * nis/nis_add.c (nis_add): Likewise.
46727 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
46729 * posix/fnmatch_loop.c: Add some consts.
46731 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
46733 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
46736 * config.make.in (config-cflags-novzeroupper): Define.
46737 * configure.in: Substitute libc_cv_cc_novzeroupper.
46738 * elf/Makefile (AVX-CFLAGS): Define.
46739 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
46740 (CFLAGS-tst-auditmod4a.c): Likewise.
46741 (CFLAGS-tst-auditmod4b.c): Likewise.
46742 (CFLAGS-tst-auditmod6b.c): Likewise.
46743 (CFLAGS-tst-auditmod6c.c): Likewise.
46744 (CFLAGS-tst-auditmod7b.c): Likewise.
46745 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
46747 2011-02-02 Ulrich Drepper <drepper@gmail.com>
46749 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
46750 function to the callback.
46751 Patch partly by Jiri Olsa <jolsa@redhat.com>.
46753 2011-02-02 Andreas Schwab <schwab@redhat.com>
46755 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
46758 2011-01-19 Ulrich Drepper <drepper@gmail.com>
46761 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
46763 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
46765 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
46768 * elf/Makefile: Add rules to build and run new test.
46769 * elf/tst-initorder.c: New file.
46770 * elf/tst-initorder.exp: New file.
46771 * elf/tst-initordera1.c: New file.
46772 * elf/tst-initordera2.c: New file.
46773 * elf/tst-initordera3.c: New file.
46774 * elf/tst-initordera4.c: New file.
46775 * elf/tst-initorderb1.c: New file.
46776 * elf/tst-initorderb2.c: New file.
46777 * elf/tst-order-a1.c: New file.
46778 * elf/tst-order-a2.c: New file.
46779 * elf/tst-order-a3.c: New file.
46780 * elf/tst-order-a4.c: New file.
46781 * elf/tst-order-b1.c: New file.
46782 * elf/tst-order-b2.c: New file.
46783 * elf/tst-order-main.c: New file.
46784 New test case by George Gensure <werkt0@gmail.com>.
46786 2010-10-01 Andreas Schwab <schwab@redhat.com>
46788 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46789 decoding ACE if AI_CANONIDN.
46791 2011-01-18 Ulrich Drepper <drepper@gmail.com>
46793 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
46795 2011-01-17 Ulrich Drepper <drepper@gmail.com>
46797 * version.h (RELEASE): Bump for 2.13 release.
46798 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
46800 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
46802 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
46804 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
46805 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
46806 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
46807 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
46808 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
46809 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
46811 * posix/getconf.c: Update copyright year.
46812 * catgets/gencat.c: Likewise.
46813 * csu/version.c: Likewise.
46814 * debug/catchsegv.sh: Likewise.
46815 * debug/xtrace.sh: Likewise.
46816 * elf/ldconfig.c: Likewise.
46817 * elf/ldd.bash.in: Likewise.
46818 * elf/sprof.c (print_version): Likewise.
46819 * iconv/iconv_prog.c: Likewise.
46820 * iconv/iconvconfig.c: Likewise.
46821 * locale/programs/locale.c: Likewise.
46822 * locale/programs/localedef.c: Likewise.
46823 * malloc/memusage.sh: Likewise.
46824 * malloc/mtrace.pl: Likewise.
46825 * nscd/nscd.c (print_version): Likewise.
46826 * nss/getent.c: Likewise.
46828 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
46829 PF_CAIF, and PF_ALG.
46830 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46832 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
46834 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
46835 (modules-names): Use them.
46836 (ifunc-test-modules, ifunc-pie-tests): Define.
46837 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
46838 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
46839 (test-extras): Likewise.
46840 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
46841 $(compile-command.c).
46842 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
46843 (all-built-dso): Define.
46844 (check-textrel.out, check-execstack.out): Depend on it.
46846 * configure.in: Don't override --enable-multi-arch.
46848 2011-01-15 Ulrich Drepper <drepper@gmail.com>
46851 * nscd/hstcache.c (tryagain): Define.
46852 (cache_addhst): Return tryagain not notfound for temporary errors.
46853 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
46856 2011-01-14 Ulrich Drepper <drepper@gmail.com>
46859 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
46860 to make the syscall.
46861 * sysdeps/unix/sysv/linux/setgroups.c: New file.
46864 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
46865 and fall back to matching as normal character if the string ends before
46866 the matching ']' is found. This is what POSIX requires.
46867 * posix/testfnm.c: Adjust test result.
46868 * posix/globtest.sh: Adjust test result. Add new test.
46869 * posix/tst-fnmatch.input: Likewise.
46870 * posix/tst-fnmatch2.c: Add new test.
46872 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
46874 * elf/Makefile (check-execstack): Revert last change. Depend on
46876 (check-execstack.h): New target.
46877 (generated): Add check-execstack.h.
46878 * elf/check-execstack.c: Include "check-execstack.h".
46879 (main): Revert last change.
46880 (handle_file): Return zero if GNU_STACK is absent and
46881 DEFAULT_STACK_PERMS doesn't include PF_X.
46883 2011-01-13 Ulrich Drepper <drepper@gmail.com>
46885 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
46886 in child fails because the descriptor is already closed.
46887 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
46888 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
46889 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
46892 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
46896 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
46897 temporary buffer used to handle multi lookups locally.
46898 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
46900 2011-01-12 Ulrich Drepper <drepper@gmail.com>
46902 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
46905 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
46907 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
46908 alignment for SSE2.
46910 2011-01-12 Ulrich Drepper <drepper@gmail.com>
46913 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
46914 characters. When rounding increased number of integer digits recompute
46916 * stdio-common/tst-grouping.c: New file.
46917 * stdio-common/Makefile: Add rules to build and run tst-grouping.
46919 2011-01-09 Ulrich Drepper <drepper@gmail.com>
46921 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
46922 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
46924 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
46926 * bits/select.h: Likewise.
46928 2011-01-08 Ulrich Drepper <drepper@gmail.com>
46930 * po/ja.po: Update from translation team.
46932 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
46935 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
46936 implementation just like for lxstat, fxstatat, et al.
46938 2010-12-27 Jim Meyering <meyering@redhat.com>
46941 * posix/regexec.c (build_trtable): Return failure indication upon
46942 calloc failure. Otherwise, re_search_internal could infloop on OOM.
46944 2010-12-25 Ulrich Drepper <drepper@gmail.com>
46947 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
46948 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
46949 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
46950 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
46953 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
46956 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
46957 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
46959 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
46961 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
46962 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
46963 script has SORT_BY_INIT_PRIORITY.
46964 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
46965 NO_CTORS_DTORS_SECTIONS is defined.
46966 * elf/soinit.c: Likewise.
46967 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
46968 NO_CTORS_DTORS_SECTIONS is defined.
46969 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
46970 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
46971 * sysdeps/sh/init-first.c: Likewise.
46972 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
46974 2010-12-24 Ulrich Drepper <drepper@gmail.com>
46976 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
46977 always use the slow path.
46979 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
46981 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
46982 similar rule which adds the sysdep directories to the header search in
46983 order to pick up the correct platform stackinfo.h.
46984 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
46985 perform test if it is, otherwise return successfully without testing.
46986 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
46987 DEFAULT_STACK_PERMS define in stackinfo.h.
46988 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
46989 defined in stackinfo.h.
46990 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
46991 DEFAULT_STACK_PERMS defined in stackinfo.h.
46992 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
46993 * sysdeps/ia64/stackinfo.h: Likewise.
46994 * sysdeps/s390/stackinfo.h: Likewise.
46995 * sysdeps/sh/stackinfo.h: Likewise.
46996 * sysdeps/sparc/stackinfo.h: Likewise.
46997 * sysdeps/x86_64/stackinfo.h: Likewise.
46998 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
46999 PF_X for powerpc64. Retain PF_X for powerpc32.
47001 2010-12-19 Ulrich Drepper <drepper@gmail.com>
47003 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
47005 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
47006 GETDENTS_64BIT_ALIGNED.
47008 2010-12-14 Ulrich Drepper <dreper@gmail.com>
47010 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
47012 2010-12-10 Andreas Schwab <schwab@redhat.com>
47014 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
47017 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
47018 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
47020 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
47021 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
47023 2010-12-09 Ulrich Drepper <drepper@gmail.com>
47026 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
47029 2010-12-09 Jakub Jelinek <jakub@redhat.com>
47031 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
47033 2010-12-03 Ulrich Drepper <drepper@gmail.com>
47035 * po/it.po: Update from translation team.
47037 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
47039 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
47042 2010-11-30 Ulrich Drepper <drepper@gmail.com>
47044 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
47046 2010-11-24 Andreas Schwab <schwab@redhat.com>
47048 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
47050 (gaih_getanswer_slice): Likewise.
47052 2010-10-20 Jakub Jelinek <jakub@redhat.com>
47054 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
47056 2010-05-31 Petr Baudis <pasky@suse.cz>
47059 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
47060 silently even in the chroot mode.
47062 2010-11-22 Ulrich Drepper <drepper@gmail.com>
47064 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
47065 last patch a bit. Pretty printing
47067 2010-05-31 Petr Baudis <pasky@suse.cz>
47070 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
47071 initialization of skip_initgroups_dyn.
47073 2010-11-19 Ulrich Drepper <drepper@gmail.com>
47075 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
47076 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
47078 2010-11-16 Ulrich Drepper <drepper@gmail.com>
47080 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
47082 2010-11-11 Andreas Schwab <schwab@redhat.com>
47084 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
47085 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
47086 (tst-fnmatch-ENV): Set MALLOC_TRACE.
47087 ($(objpfx)tst-fnmatch-mem): New rule.
47088 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
47089 * posix/tst-fnmatch.c (main): Call mtrace.
47091 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
47093 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47094 Support Intel processor model 6 and model 0x2c.
47096 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
47098 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
47101 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
47104 * string/test-strncasecmp.c (check_result): New function.
47105 (do_one_test): Use it.
47106 (check1): New function.
47107 (test_main): Use it.
47108 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
47109 Support strcasecmp and strncasecmp.
47111 2010-11-08 Ulrich Drepper <drepper@gmail.com>
47114 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
47115 * sysdeps/x86_64/bits/byteswap.h: Likewise.
47117 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
47119 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
47121 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47123 * sysdeps/x86_64/multiarch/bzero.S: New file.
47124 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
47125 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
47126 * sysdeps/x86_64/multiarch/memset.S: New file.
47127 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
47128 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47129 Set bit_Prefer_SSE_for_memop for Intel processors.
47130 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
47132 (index_Prefer_SSE_for_memop): Define.
47133 (HAS_PREFER_SSE_FOR_MEMOP): Define.
47135 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
47137 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
47138 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
47140 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
47143 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47144 (__x86_64_raw_data_cache_size_half): Likewise.
47145 (__x86_64_raw_shared_cache_size): Likewise.
47146 (__x86_64_raw_shared_cache_size_half): Likewise.
47148 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47149 (__x86_64_raw_data_cache_size_half): Likewise.
47150 (__x86_64_raw_shared_cache_size): Likewise.
47151 (__x86_64_raw_shared_cache_size_half): Likewise.
47152 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
47153 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
47154 and __x86_64_raw_shared_cache_size_half. Round
47155 __x86_64_data_cache_size_half, __x86_64_data_cache_size
47156 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
47157 to multiple of 256 bytes.
47159 2010-11-03 Ulrich Drepper <drepper@gmail.com>
47162 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
47163 of inacessible symlinks. Verify result of symlink before returning it.
47164 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
47165 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
47167 2010-10-28 Erich Ritz <erichritz@gmail.com>
47169 * math/math.h (isinf): Fix typo in comment.
47171 2010-11-01 Ulrich Drepper <drepper@gmail.com>
47173 * po/da.po: Update from translation team.
47175 2010-10-26 Ulrich Drepper <drepper@gmail.com>
47177 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
47178 is added to the list.
47180 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47181 Ulrich Drepper <drepper@gmail.com>
47183 * elf/dl-object.c (_dl_new_object): Don't append the new object to
47184 the global list here. Move code to...
47185 (_dl_add_to_namespace_list): ...here. New function.
47186 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
47187 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
47188 * elf/dl-load.c (lose): Don't remove the element from the list.
47189 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
47190 (_dl_map_object): Likewise.
47192 2010-10-25 Ulrich Drepper <drepper@gmail.com>
47195 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
47196 into all bytes of SSE register.
47197 Patch by Richard Li <richardpku@gmail.com>.
47199 2010-10-24 Ulrich Drepper <drepper@gmail.com>
47202 * malloc/malloc.c (_int_free): Fill correct number of bytes when
47205 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
47207 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
47208 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
47209 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
47210 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
47211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
47213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
47215 2010-10-22 Andreas Schwab <schwab@redhat.com>
47217 * include/dlfcn.h (__RTLD_SECURE): Define.
47218 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
47219 mode & __RTLD_SECURE instead.
47220 (open_path): Rename preloaded parameter to secure.
47221 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
47222 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
47223 * elf/dl-deps.c (openaux): Likewise.
47224 * elf/rtld.c (struct map_args): Remove is_preloaded.
47225 (map_doit): Don't use it.
47226 (dl_main): Likewise.
47227 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
47228 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
47230 2010-09-09 Andreas Schwab <schwab@redhat.com>
47232 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
47233 (sysd-rules-targets): Remove duplicates.
47234 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
47235 rtld-%.$o dependency.
47237 2010-10-18 Andreas Schwab <schwab@redhat.com>
47239 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
47240 _dl_map_object do it.
47242 2010-10-19 Ulrich Drepper <drepper@gmail.com>
47244 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
47245 fast fma builtins, define the macros in the C99 standard.
47246 (FP_FAST_FMAF): Likewise.
47247 (FP_FAST_FMAL): Likewise.
47248 * sysdeps/x86_64/bits/mathdef.h: Likewise.
47250 * bits/mathdef.h: Update copyright year.
47251 * sysdeps/powerpc/bits/mathdef.h: Likewise.
47253 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
47255 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
47256 builtins, define the macros in the C99 standard.
47257 (FP_FAST_FMAF): Likewise.
47258 (FP_FAST_FMAL): Likewise.
47259 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
47261 (FP_FAST_FMAF): Likewise.
47263 2010-10-15 Jakub Jelinek <jakub@redhat.com>
47266 * math/libm-test.inc (fma_test): Some new testcases.
47267 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
47268 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
47269 y and infinite z. Do multiplication by C already in long double.
47270 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
47271 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
47272 y and infinite z. Do bitwise or of inexact bit into u.d.
47273 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
47274 * sysdeps/i386/fpu/s_fmaf.S: Removed.
47275 * sysdeps/i386/fpu/s_fma.S: Removed.
47276 * sysdeps/i386/fpu/s_fmal.S: Removed.
47278 2010-10-16 Jakub Jelinek <jakub@redhat.com>
47281 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
47282 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
47283 computation is not scheduled after fetestexcept. Fix value
47284 of minimum denormal long double.
47286 2010-10-14 Jakub Jelinek <jakub@redhat.com>
47289 * math/libm-test.inc (fma_test): Add some more tests.
47290 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
47293 2010-10-15 Andreas Schwab <schwab@redhat.com>
47295 * scripts/data/localplt-s390-linux-gnu.data: New file.
47296 * scripts/data/localplt-s390x-linux-gnu.data: New file.
47298 2010-10-13 Jakub Jelinek <jakub@redhat.com>
47301 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
47302 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
47304 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
47306 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
47307 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
47308 if one of x and y is very large and the other is subnormal.
47309 * sysdeps/s390/fpu/s_fmaf.c: New file.
47310 * sysdeps/s390/fpu/s_fma.c: New file.
47311 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
47312 * sysdeps/powerpc/fpu/s_fma.S: New file.
47313 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
47314 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
47315 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
47317 2010-10-12 Jakub Jelinek <jakub@redhat.com>
47320 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
47322 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
47323 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
47324 * sysdeps/i386/i686/multiarch/s_fma.c: Include
47325 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
47326 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
47327 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
47328 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
47330 2010-10-12 Ulrich Drepper <drepper@redhat.com>
47333 * posix/regcomp.c (parse_branch): One more memory leak plugged.
47334 * posix/bug-regex31.input: Add test case.
47336 2010-10-11 Ulrich Drepper <drepper@gmail.com>
47338 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
47339 * posix/bug-regex31.input: New file.
47342 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
47343 (parse_sub_exp): Fix last change, use postorder.
47345 * posix/bug-regex31.c: New file.
47346 * posix/Makefile: Add rules to build and run bug-regex31.
47348 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
47351 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
47354 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
47355 to have entries in sys_siglist.
47358 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
47361 2010-10-07 Jakub Jelinek <jakub@redhat.com>
47364 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
47365 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
47366 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
47367 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
47368 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
47369 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
47370 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
47371 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
47372 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
47373 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
47374 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
47375 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
47376 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
47377 * math/ftestexcept.c (fetestexcept): Likewise.
47378 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
47379 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
47380 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
47381 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
47382 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
47383 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
47384 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
47386 2010-10-11 Ulrich Drepper <drepper@gmail.com>
47389 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
47392 2010-10-06 Ulrich Drepper <drepper@gmail.com>
47394 * string/bug-strstr1.c: New file.
47395 * string/Makefile: Add rules to build and run bug-strstr1.
47397 2010-10-05 Eric Blake <eblake@redhat.com>
47400 * string/str-two-way.h (two_way_long_needle): Always clear memory
47401 when skipping input due to the shift table.
47403 2010-10-03 Ulrich Drepper <drepper@gmail.com>
47406 * malloc/mcheck.c: Handle large requests.
47409 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
47410 for strncmp and strncasecmp.
47411 * string/stratcliff.c: Add tests for strcmp and strncmp.
47412 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
47414 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
47416 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
47419 2010-09-30 Andreas Jaeger <aj@suse.de>
47421 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
47422 (CGROUP_SUPER_MAGIC): Define.
47423 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47424 Handle btrfs and cgroup file systems.
47425 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
47428 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
47430 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
47431 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
47433 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47436 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
47437 trying to locate the ELF header.
47439 2010-09-27 Andreas Schwab <schwab@redhat.com>
47442 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
47443 Mask out sign-bit copies when constructing f_fsid.
47445 2010-09-24 Petr Baudis <pasky@suse.cz>
47447 * debug/stack_chk_fail_local.c: Add missing licence exception.
47448 * debug/warning-nop.c: Likewise.
47450 2010-09-15 Joseph Myers <joseph@codesourcery.com>
47452 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
47453 implementing getdents64 using getdents syscall, set d_type if
47454 __ASSUME_GETDENTS32_D_TYPE.
47456 2010-09-16 Andreas Schwab <schwab@redhat.com>
47458 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
47459 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
47461 2010-09-21 Ulrich Drepper <drepper@redhat.com>
47464 * posix/unistd.h: Undo change of feature selection for ftruncate from
47467 2010-09-20 Ulrich Drepper <drepper@redhat.com>
47469 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
47472 2010-09-20 Andreas Schwab <schwab@redhat.com>
47474 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
47476 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
47478 2010-09-14 Andreas Schwab <schwab@redhat.com>
47480 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
47481 variables after CHECK_SP call.
47482 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
47484 2010-09-13 Andreas Schwab <schwab@redhat.com>
47485 Ulrich Drepper <drepper@redhat.com>
47487 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
47488 re-relocationg ld.so.
47489 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
47490 _dl_init_paths call.
47491 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
47494 2010-09-14 Ulrich Drepper <drepper@redhat.com>
47496 * resolv/res_init.c (__res_vinit): Count the default server we added.
47498 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
47499 Ulrich Drepper <drepper@redhat.com>
47502 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
47503 (____longjmp_chk): Use %ebx for saving value across system call.
47506 2010-09-06 Andreas Schwab <schwab@redhat.com>
47508 * manual/Makefile: Don't mix pattern rules with normal rules.
47510 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
47512 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
47514 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
47515 * libio/iofopncook.c (_IO_cookie_init): Likewise.
47516 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
47517 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
47518 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47521 2010-09-04 Ulrich Drepper <drepper@redhat.com>
47524 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
47525 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
47527 2010-09-02 Ulrich Drepper <drepper@redhat.com>
47529 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
47530 * sysdeps/x86_64/addmul_1.S: Likewise.
47531 * sysdeps/x86_64/lshift.S: Likewise.
47532 * sysdeps/x86_64/mul_1.S: Likewise.
47533 * sysdeps/x86_64/rshift.S: Likewise.
47534 * sysdeps/x86_64/sub_n.S: Likewise.
47535 * sysdeps/x86_64/submul_1.S: Likewise.
47537 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
47539 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
47540 Define __sched_param instead of SCHED_* and sched_param when
47541 <bits/sched.h> is included with __need_schedparam defined.
47542 * bits/sched.h [__need_schedparam]
47543 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
47544 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
47545 (__defined_schedparam): Define to 1.
47546 (__sched_param): New structure, identical to sched_param.
47547 (__need_schedparam): Undefine.
47549 2010-08-31 Mike Frysinger <vapier@gentoo.org>
47551 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
47552 (epoll_create1): Declare.
47554 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
47556 2010-08-31 Andreas Schwab <schwab@redhat.com>
47559 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
47560 shifting retval into place.
47562 2010-09-01 Ulrich Drepper <drepper@redhat.com>
47564 * nis/rpcsvc/nis.h: Update copyright notice.
47565 * nis/rpcsvc/nis.x: Likewise.
47566 * nis/rpcsvc/nis_callback.h: Likewise.
47567 * nis/rpcsvc/nis_callback.x: Likewise.
47568 * nis/rpcsvc/nis_object.x: Likewise.
47569 * nis/rpcsvc/nis_tags.h: Likewise.
47570 * nis/rpcsvc/yp.h: Likewise.
47571 * nis/rpcsvc/yp.x: Likewise.
47572 * nis/rpcsvc/ypupd.h: Likewise.
47573 * nis/yp_xdr.c: Likewise.
47574 * nis/ypupdate_xdr.c: Likewise.
47576 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
47577 mainly the body of pmap_getport. Add parameters to specify timeouts.
47578 (pmap_getport): Use __libc_rpc_getport.
47579 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
47580 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
47581 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
47583 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
47585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
47588 2010-08-27 Roland McGrath <roland@redhat.com>
47590 * sysdeps/i386/i686/multiarch/Makefile
47591 (CFLAGS-varshift.c): New variable.
47593 2010-08-27 Ulrich Drepper <drepper@redhat.com>
47595 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
47596 * sysdeps/i386/i686/multiarch/varshift.c: New file.
47598 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
47600 * sysdeps/x86_64/strlen.S: Minimal code improvement.
47602 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
47604 * sysdeps/x86_64/strlen.S: Unroll the loop.
47605 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47606 strlen-sse2 strlen-sse2-bsf.
47607 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
47608 __strlen_no_bsf if bit_Slow_BSF is set.
47609 (__strlen_sse42): Removed.
47610 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
47611 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
47613 2010-08-25 Roland McGrath <roland@redhat.com>
47615 * sysdeps/x86_64/multiarch/varshift.S: File removed.
47616 * sysdeps/x86_64/multiarch/varshift.c: New file.
47617 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
47618 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
47619 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
47620 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
47622 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
47624 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47625 strlen-sse2 strlen-sse2-bsf.
47626 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
47627 __strlen_sse2_bsf if bit_Slow_BSF is unset.
47628 (__strlen_sse2): Removed.
47629 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
47630 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
47631 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
47632 bit_Slow_BSF for Atom.
47633 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
47634 (index_Slow_BSF): Define.
47635 (HAS_SLOW_BSF): Define.
47637 2010-08-25 Ulrich Drepper <drepper@redhat.com>
47640 * resolv/res_init.c (__res_vinit): When no server address at all
47641 is given default to loopback.
47643 2010-08-24 Roland McGrath <roland@redhat.com>
47645 * configure.in: Remove config-name.h generation.
47646 * configure: Regenerated.
47647 * config-name.in: File removed.
47648 * scripts/config-uname.sh: New file.
47649 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
47650 ($(objdir)config-name.h): New target.
47652 * sunrpc/rpc_parse.h: Avoid nested comment.
47654 2010-08-24 Richard Henderson <rth@redhat.com>
47655 Ulrich Drepper <drepper@redhat.com>
47656 H.J. Lu <hongjiu.lu@intel.com>
47658 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
47659 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
47660 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
47661 Replace _mm_srli_si128 with __m128i_shift_right. Replace
47662 _mm_alignr_epi8 with _mm_loadu_si128.
47663 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
47664 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
47665 (__m128i_shift_right): Removed.
47666 * sysdeps/i386/i686/multiarch/varshift.h: New file.
47667 * sysdeps/i386/i686/multiarch/varshift.S: New file.
47668 * sysdeps/x86_64/multiarch/varshift.h: New file.
47669 * sysdeps/x86_64/multiarch/varshift.S: New file.
47671 2010-08-21 Mike Frysinger <vapier@gentoo.org>
47673 * configure.in: Move assembler checks to before sysdep dir checking.
47675 2010-08-20 Petr Baudis <pasky@suse.cz>
47677 * LICENSES: Sync the sunrpc license.
47679 2010-08-19 Ulrich Drepper <drepper@redhat.com>
47681 * sunrpc/auth_des.c: Update copyright notice once again.
47682 * sunrpc/auth_none.c: Likewise.
47683 * sunrpc/auth_unix.c: Likewise.
47684 * sunrpc/authdes_prot.c: Likewise.
47685 * sunrpc/authuxprot.c: Likewise.
47686 * sunrpc/bindrsvprt.c: Likewise.
47687 * sunrpc/clnt_gen.c: Likewise.
47688 * sunrpc/clnt_perr.c: Likewise.
47689 * sunrpc/clnt_raw.c: Likewise.
47690 * sunrpc/clnt_simp.c: Likewise.
47691 * sunrpc/clnt_tcp.c: Likewise.
47692 * sunrpc/clnt_udp.c: Likewise.
47693 * sunrpc/clnt_unix.c: Likewise.
47694 * sunrpc/des_crypt.c: Likewise.
47695 * sunrpc/des_soft.c: Likewise.
47696 * sunrpc/get_myaddr.c: Likewise.
47697 * sunrpc/getrpcport.c: Likewise.
47698 * sunrpc/key_call.c: Likewise.
47699 * sunrpc/key_prot.c: Likewise.
47700 * sunrpc/openchild.c: Likewise.
47701 * sunrpc/pm_getmaps.c: Likewise.
47702 * sunrpc/pm_getport.c: Likewise.
47703 * sunrpc/pmap_clnt.c: Likewise.
47704 * sunrpc/pmap_prot.c: Likewise.
47705 * sunrpc/pmap_prot2.c: Likewise.
47706 * sunrpc/pmap_rmt.c: Likewise.
47707 * sunrpc/rpc/auth.h: Likewise.
47708 * sunrpc/rpc/auth_unix.h: Likewise.
47709 * sunrpc/rpc/clnt.h: Likewise.
47710 * sunrpc/rpc/des_crypt.h: Likewise.
47711 * sunrpc/rpc/key_prot.h: Likewise.
47712 * sunrpc/rpc/netdb.h: Likewise.
47713 * sunrpc/rpc/pmap_clnt.h: Likewise.
47714 * sunrpc/rpc/pmap_prot.h: Likewise.
47715 * sunrpc/rpc/pmap_rmt.h: Likewise.
47716 * sunrpc/rpc/rpc.h: Likewise.
47717 * sunrpc/rpc/rpc_des.h: Likewise.
47718 * sunrpc/rpc/rpc_msg.h: Likewise.
47719 * sunrpc/rpc/svc.h: Likewise.
47720 * sunrpc/rpc/svc_auth.h: Likewise.
47721 * sunrpc/rpc/types.h: Likewise.
47722 * sunrpc/rpc/xdr.h: Likewise.
47723 * sunrpc/rpc_clntout.c: Likewise.
47724 * sunrpc/rpc_cmsg.c: Likewise.
47725 * sunrpc/rpc_common.c: Likewise.
47726 * sunrpc/rpc_cout.c: Likewise.
47727 * sunrpc/rpc_dtable.c: Likewise.
47728 * sunrpc/rpc_hout.c: Likewise.
47729 * sunrpc/rpc_main.c: Likewise.
47730 * sunrpc/rpc_parse.c: Likewise.
47731 * sunrpc/rpc_parse.h: Likewise.
47732 * sunrpc/rpc_prot.c: Likewise.
47733 * sunrpc/rpc_sample.c: Likewise.
47734 * sunrpc/rpc_scan.c: Likewise.
47735 * sunrpc/rpc_scan.h: Likewise.
47736 * sunrpc/rpc_svcout.c: Likewise.
47737 * sunrpc/rpc_tblout.c: Likewise.
47738 * sunrpc/rpc_util.c: Likewise.
47739 * sunrpc/rpc_util.h: Likewise.
47740 * sunrpc/rpcinfo.c: Likewise.
47741 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
47742 * sunrpc/rpcsvc/key_prot.x: Likewise.
47743 * sunrpc/rpcsvc/klm_prot.x: Likewise.
47744 * sunrpc/rpcsvc/mount.x: Likewise.
47745 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
47746 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
47747 * sunrpc/rpcsvc/rex.x: Likewise.
47748 * sunrpc/rpcsvc/rstat.x: Likewise.
47749 * sunrpc/rpcsvc/rusers.x: Likewise.
47750 * sunrpc/rpcsvc/sm_inter.x: Likewise.
47751 * sunrpc/rpcsvc/spray.x: Likewise.
47752 * sunrpc/rpcsvc/yppasswd.x: Likewise.
47753 * sunrpc/rtime.c: Likewise.
47754 * sunrpc/svc.c: Likewise.
47755 * sunrpc/svc_auth.c: Likewise.
47756 * sunrpc/svc_authux.c: Likewise.
47757 * sunrpc/svc_raw.c: Likewise.
47758 * sunrpc/svc_run.c: Likewise.
47759 * sunrpc/svc_simple.c: Likewise.
47760 * sunrpc/svc_tcp.c: Likewise.
47761 * sunrpc/svc_udp.c: Likewise.
47762 * sunrpc/svc_unix.c: Likewise.
47763 * sunrpc/svcauth_des.c: Likewise.
47764 * sunrpc/xcrypt.c: Likewise.
47765 * sunrpc/xdr.c: Likewise.
47766 * sunrpc/xdr_array.c: Likewise.
47767 * sunrpc/xdr_float.c: Likewise.
47768 * sunrpc/xdr_mem.c: Likewise.
47769 * sunrpc/xdr_rec.c: Likewise.
47770 * sunrpc/xdr_ref.c: Likewise.
47771 * sunrpc/xdr_sizeof.c: Likewise.
47772 * sunrpc/xdr_stdio.c: Likewise.
47774 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
47777 2010-08-19 Andreas Schwab <schwab@redhat.com>
47779 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
47781 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
47783 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
47784 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
47785 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
47786 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
47787 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
47788 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
47789 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
47790 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
47791 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
47792 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
47793 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
47794 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
47795 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
47796 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
47798 2010-07-26 Anton Blanchard <anton@samba.org>
47800 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
47801 * malloc/arena.c (heap_trim): Likewise.
47803 2010-08-16 Ulrich Drepper <drepper@redhat.com>
47805 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
47807 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
47808 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
47810 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
47812 * sysdeps/i386/elf/Makefile: New file.
47814 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
47816 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
47817 from fanotify_init.
47818 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
47819 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
47821 2010-08-15 Ulrich Drepper <drepper@redhat.com>
47823 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
47825 * sysdeps/multiarch/strcmp.S: Likewise.
47827 2010-08-14 Ulrich Drepper <drepper@redhat.com>
47829 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
47830 strncase_l-nonascii.
47831 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
47832 Add strncase_l-ssse3.
47833 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
47834 * sysdeps/x86_64/strcmp.S: Likewise.
47835 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
47836 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
47837 * sysdeps/x86_64/strncase.S: New file.
47838 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
47839 * sysdeps/x86_64/strncase_l.S: New file.
47840 * string/Makefile (strop-tests): Add strncasecmp.
47841 * string/test-strncasecmp.c: New file.
47843 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
47846 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
47847 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
47849 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
47851 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
47853 2010-08-12 Ulrich Drepper <drepper@redhat.com>
47855 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
47856 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
47857 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
47859 2010-05-01 Alan Modra <amodra@gmail.com>
47861 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
47862 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
47863 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
47864 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
47865 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
47866 tidying. Don't tail-call __sigjmp_save for static lib.
47867 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
47869 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
47870 (CALL_MCOUNT): Add eh info, and nop after bl.
47871 (TAIL_CALL_SYSCALL_ERROR): New macro.
47872 (PSEUDO_RET): Use it.
47873 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
47874 Correct save location of integer regs and cr.
47875 (_dl_profile_resolve): Correct cr save location. Delete nops
47876 after bl when SHARED. Reduce cfi size a little by better
47877 placement of cfi directives.
47878 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
47879 make a stack frame. Instead use parm save area as a temp.
47880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
47881 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
47882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
47883 Don't make a stack frame for parent, use parm save area.
47884 Increase child stack frame to 112 bytes. Don't save unused reg,
47885 and adjust reg usage. Set up cfi on error recovery and
47886 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
47887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
47888 (__makecontext): Add dummy nop after jump to exit.
47889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
47890 Use correct parm save area and cr save, reduce stack frame.
47891 Correct cfi for possible PSEUDO_RET frame setup.
47892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
47893 Branch to local label emitted by PSEUDO_RET rather than
47896 2010-08-12 Andreas Schwab <schwab@redhat.com>
47899 * locale/programs/locale.c (print_assignment): New function.
47900 (show_locale_vars): Use it.
47902 2010-08-11 Ulrich Drepper <drepper@redhat.com>
47904 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
47906 (struct statfs64): Likewise.
47907 (_STATFS_F_FLAGS): Define.
47908 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
47909 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47910 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
47911 (ST_VALID): Define locally.
47912 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
47913 __statvfs_getflags, use the provided value.
47914 * sysdeps/unix/sysv/linux/kernel-features.h: Define
47915 __ASSUME_STATFS_F_FLAGS.
47917 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
47919 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
47920 Add sys/fanotify.h.
47921 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
47922 fanotify_mask for GLIBC_2.13.
47923 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
47924 fanotify_init and fanotify_mark.
47925 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
47926 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
47928 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
47930 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
47931 prlimit64 for GLIBC_2.13.
47932 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
47934 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
47936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
47937 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
47938 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
47939 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
47940 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
47942 * sysdeps/unix/sysv/linux/prlimit.c: New file.
47945 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
47946 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
47948 * nss/Makefile: Add rules to build and run tst-nss-test1.
47949 * shlib-versions: Add entry for libnss_test1.
47950 * nss/nss_test1.c: New file.
47951 * nss/tst-nss-test1.c: New file.
47953 * nss/nsswitch.c (__nss_database_custom): Define new variable.
47954 (__nss_configure_lookup): Set appropriate entry in
47955 __nss_configure_lookup to true.
47956 * nss/nsswitch.h: Define enum with indeces of databases in
47957 databases and __nss_database_custom arrays. Declare
47958 __nss_database_custom.
47959 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
47960 to avoid using nscd when custom rules are installed.
47961 * nss/getXXbyYY_r.c: Likewise.
47962 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
47964 * nss/nss_files/files-parse.c: Whitespace fixes.
47966 2010-08-09 Ulrich Drepper <drepper@redhat.com>
47969 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
47970 * posix/fnmatch_loop.c: Likewise.
47972 2010-07-17 Andi Kleen <ak@linux.intel.com>
47974 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
47975 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
47976 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
47977 * Versions.def [GLIBC_2.13]: Add.
47979 2010-08-06 Ulrich Drepper <drepper@redhat.com>
47981 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
47982 Also fail if tpwd after pwuid call is NULL.
47984 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
47986 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
47987 when converting to ms.
47989 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
47991 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
47992 EOPNOTSUPP errors with ENOTTY.
47993 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
47994 EOPNOTSUPP errors with ENOTTY.
47996 2010-07-31 Ulrich Drepper <drepper@redhat.com>
47998 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
47999 Add strcasecmp_l-ssse3.
48000 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
48002 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
48003 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
48004 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
48006 2010-07-30 Ulrich Drepper <drepper@redhat.com>
48008 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
48010 * string/Makefile (strop-tests): Add strcasecmp.
48011 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
48012 strcasecmp_l-nonascii.
48013 (gen-as-const-headers): Add locale-defines.sym.
48014 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
48015 * sysdeps/x86_64/strcasecmp.S: New file.
48016 * sysdeps/x86_64/strcasecmp_l.S: New file.
48017 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
48018 * sysdeps/x86_64/locale-defines.sym: New file.
48019 * string/test-strcasecmp.c: New file.
48021 * string/test-strcasestr.c: Test both ends of the range of characters.
48022 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
48024 2010-07-29 Roland McGrath <roland@redhat.com>
48027 * manual/locale.texi (Yes-or-No Questions): Fix example code.
48029 2010-07-27 Ulrich Drepper <drepper@redhat.com>
48031 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
48034 2010-07-27 Andreas Schwab <schwab@redhat.com>
48036 * manual/memory.texi (Malloc Tunable Parameters): Document
48039 2010-07-26 Roland McGrath <roland@redhat.com>
48042 * configure.in (-fgnu89-inline check): Set and substitute
48043 gnu89_inline, not libc_cv_gnu89_inline.
48044 * configure: Regenerated.
48045 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
48047 2010-07-26 Ulrich Drepper <drepper@redhat.com>
48049 * string/test-strnlen.c: New file.
48050 * string/Makefile (strop-tests): Add strnlen.
48051 * string/tester.c (test_strnlen): Add a few more test cases.
48052 * string/tst-strlen.c: Better error reporting.
48054 * sysdeps/x86_64/strnlen.S: New file.
48056 2010-07-24 Ulrich Drepper <drepper@redhat.com>
48058 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
48059 lower-latency instructions.
48061 2010-07-23 Ulrich Drepper <drepper@redhat.com>
48063 * string/test-strcasestr.c: New file.
48064 * string/test-strstr.c: New file.
48065 * string/Makefile (strop-tests): Add strstr and strcasestr.
48066 * string/str-two-way.h: Don't undefine MAX.
48067 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
48069 2010-07-21 Andreas Schwab <schwab@redhat.com>
48071 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48072 strcasestr-nonascii.
48073 (CFLAGS-strcasestr-nonascii.c): Define.
48074 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
48075 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
48076 Remove unused attribute.
48078 2010-07-20 Roland McGrath <roland@redhat.com>
48080 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
48081 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
48082 ld.so.cache was broken. With it, there is no way to disable dsocaps
48083 like LD_HWCAP_MASK can disable hwcaps.
48085 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
48087 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
48089 2010-07-16 Ulrich Drepper <drepper@redhat.com>
48091 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
48092 call in strcasestr.
48093 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
48094 __strcasestr_sse42_nonascii.
48095 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
48096 strcasestr-nonascii.c.
48097 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
48099 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
48101 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
48102 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
48103 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
48104 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
48106 2010-07-09 Ulrich Drepper <drepper@redhat.com>
48108 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
48111 2010-07-06 Andreas Schwab <schwab@redhat.com>
48114 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
48117 2010-07-06 Ulrich Drepper <drepper@redhat.com>
48119 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
48120 _PC_PIPE_BUF using F_GETPIPE_SZ.
48122 2010-07-05 Roland McGrath <roland@redhat.com>
48124 * manual/arith.texi (Rounding Functions): Fix rint description
48125 implicit in round description.
48127 2010-07-02 Ulrich Drepper <drepper@redhat.com>
48129 * elf/Makefile: Fix linking for a few tests to make recent linker
48132 2010-06-30 Andreas Schwab <schwab@redhat.com>
48134 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
48135 $(common-objpfx)libc_nonshared.a.
48137 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
48139 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
48140 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
48141 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48142 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48143 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
48144 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
48145 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48146 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
48148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
48149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
48150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
48152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
48154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
48155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
48156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
48157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
48159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
48161 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
48162 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
48163 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
48164 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
48165 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
48166 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
48167 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
48168 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
48169 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
48170 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
48171 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
48172 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
48173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
48174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
48175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
48176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
48177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
48178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
48179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
48180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
48181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
48182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
48183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
48184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
48185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
48186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
48188 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
48190 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
48191 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
48192 * string/memmove.c (memmove): Renamed to ...
48193 (MEMMOVE): ...this. Default to memmove.
48194 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
48195 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
48197 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48198 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
48199 mempcpy-ssse3-back memmove-ssse3-back.
48200 * sysdeps/x86_64/multiarch/bcopy.S: New file .
48201 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
48202 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
48203 * sysdeps/x86_64/multiarch/memcpy.S: New file.
48204 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
48205 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
48206 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
48207 * sysdeps/x86_64/multiarch/memmove.c: New file.
48208 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
48209 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
48210 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
48211 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
48212 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
48213 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
48215 (index_Fast_Copy_Backward): Define.
48216 (HAS_ARCH_FEATURE): Define.
48217 (HAS_FAST_REP_STRING): Define.
48218 (HAS_FAST_COPY_BACKWARD): Define.
48220 2010-06-21 Andreas Schwab <schwab@redhat.com>
48222 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48223 Restore proper fallback handling.
48225 2010-06-19 Ulrich Drepper <drepper@redhat.com>
48228 * posix/group_member.c (__group_member): Correct checking loop.
48230 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
48231 OOM in getpwuid_r correctly. Return error number when the caller
48232 should return, otherwise -1.
48233 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
48234 call returning > 0 value.
48235 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
48237 2010-06-07 Andreas Schwab <schwab@redhat.com>
48239 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
48240 libc_nonshared.a from targets in modules-names.
48242 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
48244 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
48247 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
48249 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
48250 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
48251 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
48252 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
48254 2010-06-02 Andreas Schwab <schwab@redhat.com>
48256 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
48258 2010-06-14 Ulrich Drepper <drepper@redhat.com>
48260 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
48262 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
48263 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48264 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48265 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48266 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48267 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
48269 2010-06-14 Roland McGrath <roland@redhat.com>
48271 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
48273 2010-06-07 Jakub Jelinek <jakub@redhat.com>
48275 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
48276 __REDIRECT followed by __THROW.
48277 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
48278 * posix/getopt.h (getopt): Likewise.
48280 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
48282 * hurd/lookup-at.c (__file_name_lookup_at): Accept
48283 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
48284 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
48286 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
48287 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
48289 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
48291 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
48293 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
48296 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48297 Properly check family and model.
48299 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
48301 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
48303 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
48305 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
48307 2010-05-21 Ulrich Drepper <drepper@redhat.com>
48309 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
48312 2010-05-19 Andreas Schwab <schwab@redhat.com>
48314 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
48317 2010-05-21 Andreas Schwab <schwab@redhat.com>
48319 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
48320 and internal_recvmmsg.
48321 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
48322 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
48323 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
48324 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
48326 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
48327 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
48328 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
48330 2010-05-20 Andreas Schwab <schwab@redhat.com>
48332 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
48334 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
48336 POWER7 optimizations.
48337 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
48338 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
48340 2010-05-19 Ulrich Drepper <drepper@redhat.com>
48342 * version.h: Update for 2.13 development version.
48344 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
48346 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
48347 exceptions. Return 0.
48349 2010-05-07 Roland McGrath <roland@redhat.com>
48351 * elf/ldconfig.c (main): Add a const.
48353 2010-05-06 Ulrich Drepper <drepper@redhat.com>
48355 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
48356 (args_options): Add no-idn option.
48357 (ahosts_keys_int): Add idn_flags to ai_flags.
48358 (parse_option): Handle 'i' option to clear idn_flags.
48360 * malloc/malloc.c (_int_free): Possible race in the most recently
48361 added check. Only act on the data if no current modification
48364 See ChangeLog.17 for earlier changes.