1 2014-06-30 Roland McGrath <roland@hack.frob.com>
3 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
4 from _TLS_H to _ARM_NPTL_TLS_H.
5 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
6 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
8 2014-06-30 Joseph Myers <joseph@codesourcery.com>
11 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
12 (__expm1l): Return argument unchanged when small but not
15 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
17 (_FP_UNPACK_RAW_1_P): Likewise.
18 (_FP_PACK_RAW_1): Likewise.
19 (_FP_PACK_RAW_1_P): Likewise.
20 (_FP_MUL_MEAT_1_wide): Likewise.
21 (_FP_MUL_MEAT_DW_1_hard): Likewise.
22 (_FP_MUL_MEAT_1_hard): Likewise.
23 (_FP_DIV_MEAT_1_imm): Likewise.
24 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
25 (_FP_DIV_MEAT_1_udiv): Likewise.
26 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
27 (_FP_UNPACK_RAW_2): Likewise.
28 (_FP_UNPACK_RAW_2_P): Likewise.
29 (_FP_PACK_RAW_2): Likewise.
30 (_FP_PACK_RAW_2_P): Likewise.
31 (_FP_MUL_MEAT_DW_2_wide): Likewise.
32 (_FP_MUL_MEAT_2_wide): Likewise.
33 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
34 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
35 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
36 (_FP_MUL_MEAT_2_gmp): Likewise.
37 (_FP_DIV_MEAT_2_udiv): Likewise.
38 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
39 (_FP_FRAC_SRL_4): Likewise.
40 (_FP_FRAC_SRST_4): Likewise.
41 (_FP_FRAC_SRS_4): Likewise.
42 (_FP_UNPACK_RAW_4): Likewise.
43 (_FP_UNPACK_RAW_4_P): Likewise.
44 (_FP_PACK_RAW_4): Likewise.
45 (_FP_PACK_RAW_4_P): Likewise.
46 (_FP_MUL_MEAT_DW_4_wide): Likewise.
47 (_FP_MUL_MEAT_4_wide): Likewise.
48 (_FP_MUL_MEAT_4_gmp): Likewise.
49 (umul_ppppmnnn): Likewise.
50 (_FP_DIV_MEAT_4_udiv): Likewise.
51 (__FP_FRAC_ADD_4): Likewise.
52 (__FP_FRAC_SUB_3): Likewise.
53 (__FP_FRAC_SUB_4): Likewise.
54 (__FP_FRAC_DEC_3): Likewise.
55 (__FP_FRAC_DEC_4): Likewise.
56 (__FP_FRAC_ADDI_4): Likewise.
57 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
58 (_FP_FRAC_SRL_8): Likewise.
59 (_FP_FRAC_SRS_8): Likewise.
61 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
63 (FP_UNPACK_RAW_EP): Likewise.
64 (FP_PACK_RAW_E): Likewise.
65 (FP_PACK_RAW_EP): Likewise.
66 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
67 (_FP_ISSIGNAN): Likewise.
68 (_FP_ADD_INTERNAL): Likewise.
72 (_FP_TO_INT): Likewise.
73 (_FP_FROM_INT): Likewise.
74 (FP_EXTEND): Likewise.
75 (_FP_DIV_MEAT_N_loop): Likewise.
77 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
79 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
82 2014-06-29 Joseph Myers <joseph@codesourcery.com>
85 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
86 result with correct sign in case of exponents that produce
87 overflow except for X very close to 1.
89 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
91 mktime: merge #if/#ifdef usage from glibc
92 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
93 as that works with both Glibc's and Gnulib's style.
94 See thread starting at Siddhesh Poyarekar's bug report at:
95 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
97 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
99 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
100 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
101 * sysdeps/tile/tilegx/memmove.c: Remove file.
103 2014-06-27 Joseph Myers <joseph@codesourcery.com>
105 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
107 * scripts/soversions.awk: Do not handle or generate ABI lines.
108 * shlib-versions: Remove ABI entries.
109 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
110 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
112 2014-06-27 Roland McGrath <roland@hack.frob.com>
114 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
115 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
116 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
117 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
118 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
119 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
120 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
122 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
124 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
125 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
126 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
127 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
128 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
129 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
130 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
131 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
132 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
133 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
134 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
135 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
136 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
138 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
139 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
140 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
141 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
142 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
143 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
145 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
146 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
148 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
149 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
150 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
151 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
153 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
154 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
155 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
156 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
157 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
158 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
159 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
160 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
162 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
163 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
164 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
165 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
167 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
168 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
170 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
171 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
172 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
173 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
175 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
177 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
178 Identical file removed.
179 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
181 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
182 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
183 Identical file removed.
184 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
185 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
186 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
188 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
189 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
190 Identical file removed.
191 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
192 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
193 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
194 Identical file removed.
195 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
196 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
197 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
198 Identical file removed.
199 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
200 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
201 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
202 Identical file removed.
203 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
205 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
206 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
207 Identical file removed.
208 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
210 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
211 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
212 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
213 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
214 Identical file removed.
215 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
217 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
219 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
220 Identical file removed.
221 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
223 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
224 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
225 Identical file removed.
226 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
228 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
229 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
230 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
231 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
232 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
233 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
235 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
236 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
237 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
239 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
240 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
241 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
242 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
243 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
245 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
248 * nscd/nscd.c (monitor_child): Return exit status of child
249 instead of return value from wait syscall.
251 2014-06-27 Joseph Myers <joseph@codesourcery.com>
253 * configure.ac (libc_commonpagesize): Remove variable.
254 (libc_relro_required): Likewise.
255 (libc_cv_z_relro): Remove configure test.
256 * configure: Regenerated.
257 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
259 (libc_relro_required): Likewise.
260 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
261 (libc_relro_required): Likewise.
262 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
263 (libc_relro_required): Likewise.
264 * sysdeps/arm/preconfigure: Regenerated.
265 * sysdeps/ia64/preconfigure: Remove file.
266 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
268 (libc_relro_required): Likewise.
272 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
273 (__ieee754_yn): Set FE_TONEAREST mode internally and then
274 recompute overflowing results in original rounding mode.
275 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
276 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
277 recompute overflowing results in original rounding mode.
278 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
279 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
280 recompute overflowing results in original rounding mode.
281 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
282 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
283 recompute overflowing results in original rounding mode.
284 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
285 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
286 recompute overflowing results in original rounding mode.
287 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
288 (libc_feholdsetround_ctx): New macro.
289 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
290 * sysdeps/i386/fpu/libm-test-ulps: Update.
291 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
293 2014-06-26 Joseph Myers <joseph@codesourcery.com>
295 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
296 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
297 corresponding .cpsetup call.
299 2014-06-26 Roland McGrath <roland@hack.frob.com>
301 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
302 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
303 * sysdeps/arm/Makefile [$(subdir) = csu]
304 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
305 (static-only-routines): Add aeabi_read_tp here.
306 (shared-only-routines): Add libc-aeabi_read_tp here.
307 (CFLAGS-libc-start.c): Add -fexceptions here.
308 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
309 (sysdep_routines, static-only-routines, shared-only-routines):
310 Don't add to these here.
311 (CFLAGS-libc-start.c): Likewise.
313 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
314 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
315 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
316 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
317 * sysdeps/arm/Makefile [$(subdir) = rt]
318 (librt-sysdep_routines, librt-shared-only-routines):
319 Append rt-aeabi_unwind_cpp_pr1 here.
320 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
321 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
322 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
323 (libpthread-sysdep_routines, libpthread-shared-only-routines):
324 Append nptl-aeabi_unwind_cpp_pr1 here.
325 (tests): Filter out tst-cleanupx4 here.
326 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
327 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
330 2014-06-26 Joseph Myers <joseph@codesourcery.com>
332 * scripts/list-sources.sh: Do not handle ports specially.
334 2014-06-26 Roland McGrath <roland@hack.frob.com>
336 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
337 * sysdeps/arm/feupdateenv.c: Likewise.
339 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
341 2014-06-26 Joseph Myers <joseph@codesourcery.com>
343 * manual/texinfo.tex: Update to version 2014-05-05.10 with
344 trailing whitespace removed.
345 * scripts/config.guess: Update to version 2014-03-23.
346 * scripts/config.sub: Update to version 2014-05-01
347 * scripts/install-sh: Update to version 2013-12-25.23.
348 * scripts/move-if-change: Update from gnulib.
350 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
352 * debug/memmove_chk.c: Remove pagecopy.h include.
354 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
356 * time/mktime.c (leapyear): Remove inline keyword. The code is now
357 identical to gnulib mktime.
359 2014-06-26 Joseph Myers <joseph@codesourcery.com>
361 * configure.ac: Do not test for machine being rs6000. Do not test
363 * configure: Regenerated.
365 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
367 * configure: Regenerated.
368 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
369 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
370 Remove configure test.
371 * sysdeps/arm/configure: Regenerated.
372 * sysdeps/nptl/configure.ac: Do not check
373 libc_cv_asm_cfi_directives.
374 * sysdeps/nptl/configure: Regenerated.
375 * sysdeps/x86_64/nptl/configure.ac: Remove file.
376 * sysdeps/x86_64/nptl/configure: Remove generated file.
377 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
379 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
381 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
383 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
384 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
385 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
388 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
389 instead of whether it is defined.
390 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
391 * sysdeps/hppa/dl-machine.h: Likewise.
392 * sysdeps/ia64/dl-machine.h: Likewise.
393 * sysdeps/m68k/dl-machine.h: Likewise.
394 * sysdeps/microblaze/dl-machine.h: Likewise.
395 * sysdeps/mips/dl-machine.: Likewise.
396 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
397 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
398 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
399 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
400 * sysdeps/sh/dl-machine.h: Likewise.
401 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
402 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
403 * sysdeps/tile/dl-machine.h: Likewise.
404 * sysdeps/x86_64/dl-machine.h: Likewise.
406 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
408 (verify_persistent_db): Likewise.
410 2014-06-26 Roland McGrath <roland@hack.frob.com>
412 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
413 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
414 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
415 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
416 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
418 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
420 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
421 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
422 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
423 Identical file removed.
424 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
425 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
426 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
427 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
428 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
429 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
430 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
431 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
432 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
433 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
434 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
436 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
437 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
438 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
439 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
440 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
441 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
443 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
444 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
445 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
446 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
447 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
448 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
449 Identical file removed.
450 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
451 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
452 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
453 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
454 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
456 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
458 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
459 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
460 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
461 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
462 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
463 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
464 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
465 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
466 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
467 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
468 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
470 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
471 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
473 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
474 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
475 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
476 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
478 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
479 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
480 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
482 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
484 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
485 * sysdeps/unix/sysv/linux/s390/Versions
486 (libpthread: GLIBC_2.19): New version set.
487 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
488 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
489 (librt: GLIBC_2.3.3): New version set.
490 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
491 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
492 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
493 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
494 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
495 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
496 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
497 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
498 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
499 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
500 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
501 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
502 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
503 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
504 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
505 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
506 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
507 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
508 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
509 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
510 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
511 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
512 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
513 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
514 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
515 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
516 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
517 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
518 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
519 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
520 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
521 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
522 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
523 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
524 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
525 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
526 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
527 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
528 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
529 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
530 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
531 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
532 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
533 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
534 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
536 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
537 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
538 (__libc_vfork): Define the function under this name.
539 [!NOT_IN_libc] (__vfork): Make this an alias.
540 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
541 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
542 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
543 (__libc_vfork): Define the function under this name.
544 [!NOT_IN_libc] (__vfork): Make this an alias.
545 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
546 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
547 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
548 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
549 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
550 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
552 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
553 code that was previously under [RESET_PID].
554 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
555 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
556 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
558 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
559 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
560 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
561 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
562 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
563 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
564 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
565 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
566 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
567 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
568 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
570 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
571 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
572 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
573 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
574 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
575 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
576 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
577 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
578 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
579 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
580 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
581 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
582 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
583 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
584 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
585 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
586 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
587 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
588 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
589 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
590 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
591 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
592 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
593 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
594 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
595 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
596 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
597 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
598 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
600 2014-06-25 Roland McGrath <roland@hack.frob.com>
602 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
603 that was previously under [RESET_PID].
604 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
606 2014-06-25 Joseph Myers <joseph@codesourcery.com>
608 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
609 not undefine and redefine.
610 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
611 [O_CLOEXEC]: Make code unconditional.
612 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
613 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
615 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
616 conditional variable definition.
617 (shm_open) [O_CLOEXEC]: Make code unconditional.
618 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
621 * configure.ac (USE_REGPARMS): Don't define here.
622 * configure: Regenerated.
623 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
624 * sysdeps/i386/configure: Regenerated.
626 * nptl/createthread.c: Don't include kernel-features.h.
627 * nptl/pthread_cancel.c: Likewise.
628 * nptl/pthread_condattr_setclock.c: Likewise.
629 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
630 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
631 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
632 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
633 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
634 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
635 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
636 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
637 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
638 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
639 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
640 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
641 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
642 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
643 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
644 * nscd/gai.c: Likewise.
645 * nss/nss_db/db-open.c: Likewise.
646 * sysdeps/generic/ldsodefs.h: Likewise.
647 * sysdeps/sh/nptl/tls.h: Likewise.
648 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
649 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
650 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
651 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
652 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
653 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
654 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
655 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
656 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
657 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
658 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
659 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
660 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
661 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
662 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
663 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
664 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
665 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
666 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
667 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
668 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
669 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
670 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
671 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
672 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
673 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
674 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
675 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
676 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
677 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
678 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
679 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
680 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
681 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
682 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
683 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
684 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
685 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
686 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
687 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
688 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
689 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
690 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
691 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
692 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
693 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
694 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
695 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
696 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
697 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
698 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
699 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
700 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
701 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
702 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
703 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
704 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
705 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
728 * sysdeps/unix/sysv/linux/pread.c: Likewise.
729 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
730 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
731 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
732 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
733 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
734 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
735 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
736 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
737 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
738 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
739 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
740 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
741 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
742 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
743 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
744 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
745 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
746 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
747 * sysdeps/unix/sysv/linux/system.c: Likewise.
748 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
749 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
750 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
751 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
752 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
753 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
754 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
756 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
757 * configure: Regenerated.
758 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
760 * configure.ac (base_machine): Do not set specially for particular
762 * configure: Regenerated.
763 * sysdeps/powerpc/preconfigure: Move machine and base_machine
764 settings from configure.ac.
765 * sysdeps/i386/preconfigure: New file.
766 * sysdeps/s390/preconfigure: Likewise.
767 * sysdeps/sh/preconfigure: Likewise.
768 * sysdeps/sparc/preconfigure: Likewise.
770 2014-06-25 Roland McGrath <roland@hack.frob.com>
772 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
773 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
774 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
775 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
776 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
777 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
778 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
779 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
780 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
781 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
782 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
783 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
784 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
785 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
786 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
787 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
788 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
789 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
790 * sysdeps/sparc/sparc64/Makefile: ... appended here.
792 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
793 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
794 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
795 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
796 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
797 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
798 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
799 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
800 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
801 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
802 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
803 * sysdeps/sparc/sparc32/sem_post.c: ... here.
804 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
805 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
806 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
807 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
808 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
809 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
810 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
811 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
812 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
813 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
814 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
815 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
816 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
817 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
818 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
819 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
820 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
821 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
822 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
823 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
824 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
825 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
826 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
827 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
828 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
829 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
831 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
832 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
833 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
834 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
835 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
837 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
839 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
840 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
841 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
842 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
843 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
845 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
846 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
847 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
848 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
849 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
850 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
851 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
852 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
854 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
855 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
857 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
858 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
859 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
860 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
862 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
863 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
864 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
865 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
866 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
867 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
868 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
869 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
870 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
871 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
873 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
875 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
876 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
877 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
878 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
879 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
881 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
882 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
883 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
884 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
885 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
886 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
887 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
888 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
890 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
891 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
893 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
894 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
895 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
896 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
898 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
899 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
900 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
901 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
902 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
904 2014-06-25 Joseph Myers <joseph@codesourcery.com>
906 * timezone/checktab.awk: Update from tzcode 2014e.
907 * timezone/private.h: Likewise.
908 * timezone/tzfile.h: Likewise.
909 * timezone/zdump.c: Likewise.
910 * timezone/zic.c: Likewise.
912 * sysdeps/unix/sysv/linux/kernel-features.h
913 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
914 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
915 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
916 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
917 Remove conditional code.
919 2014-06-25 Will Newton <will.newton@linaro.org>
921 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
922 (_dl_arm_cap_flags): Add HWCAP2 values.
923 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
924 (_DL_HWCAP_COUNT): Increase to 37.
925 (_DL_HWCAP_LAST): New define.
926 (_DL_HWCAP2_LAST): New define.
927 (_dl_procinfo): Add support for printing
929 (_dl_string_hwcap): Use _dl_hwcap_string.
931 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
933 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
935 2014-06-25 Joseph Myers <joseph@codesourcery.com>
937 * README: Do not mention ports directory.
939 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
941 * sysdeps/unix/sysv/linux/futimes.c: Do not include
943 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
944 conditional variable definition.
945 (__futimes): Update comment.
946 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
947 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
950 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
951 arguments close to 0.
952 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
954 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
956 * math/auto-libm-test-in: Add more tests of exp10.
957 * math/auto-libm-test-out: Regenerated.
958 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
960 * sysdeps/unix/sysv/linux/kernel-features.h
961 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
962 * sysdeps/unix/sysv/linux/readv.c: Do not include
964 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
965 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
966 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
968 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
970 * sysdeps/unix/sysv/linux/writev.c: Do not include
972 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
973 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
974 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
976 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
979 2014-06-25 Will Newton <will.newton@linaro.org>
981 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
982 comment changes throughout the file. Remove checks
983 for HAVE_*_H definitions that are not required.
984 (__gen_tempname): Call abort if an unknown kind value is
987 2014-06-25 Andreas Schwab <schwab@suse.de>
990 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
991 scalbln, scalblnf, scalblnl in libc.
993 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
996 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
997 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
998 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
1000 2014-06-24 Roland McGrath <roland@hack.frob.com>
1002 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
1003 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
1004 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
1005 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
1007 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
1008 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
1010 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
1011 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
1012 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
1013 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
1014 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
1015 * sysdeps/x86/bits/pthreadtypes.h: ... here.
1016 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
1017 * sysdeps/x86/bits/semaphore.h: ... here.
1018 * sysdeps/x86/nptl/elide.h: Moved ...
1019 * sysdeps/x86/elide.h: ... here.
1020 * sysdeps/x86_64/nptl/Implies: File removed.
1021 * sysdeps/i386/nptl/Implies: File removed.
1023 2014-06-24 Joseph Myers <joseph@codesourcery.com>
1026 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
1027 return the argument for normal arguments with exponent below -64.
1028 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1030 * math/auto-libm-test-in: Add another test of expm1.
1031 * math/auto-libm-test-out: Regenerated.
1034 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
1035 calling __erfcl for arguments at least 16.
1036 * math/auto-libm-test-in: Add more tests of erf.
1037 * math/auto-libm-test-out: Regenerated.
1039 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
1040 individual architectures.
1041 * sysdeps/unix/sysv/linux/configure: Regenerated.
1042 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
1043 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
1044 * sysdeps/unix/sysv/linux/powerpc/configure.ac
1045 (ldd_rewrite_script): Define variable.
1046 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
1047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
1049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
1051 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
1052 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
1053 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
1054 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
1055 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
1056 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
1057 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
1058 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
1060 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1063 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
1064 Rename member __data.d to __data.__elision_data.
1066 2014-06-24 Wilco <wdijkstr@arm.com>
1068 * NEWS: Add 16918 to fixed bug list.
1070 2014-06-24 Wilco <wdijkstr@arm.com>
1072 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
1074 2014-06-24 Wilco <wdijkstr@arm.com>
1076 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
1077 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
1078 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
1079 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
1080 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
1081 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
1082 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
1085 2014-06-24 Wilco <wdijkstr@arm.com>
1087 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
1089 2014-06-24 Wilco <wdijkstr@arm.com>
1091 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
1092 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
1093 * sysdeps/arm/fesetround.c (fesetround): Remove space.
1094 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
1096 2014-06-24 Wilco <wdijkstr@arm.com>
1099 * sysdeps/arm/feupdateenv.c (feupdateenv):
1100 Rewrite to reduce FPSCR accesses and fix return value.
1102 2014-06-24 Wilco <wdijkstr@arm.com>
1104 * sysdeps/arm/fclrexcpt.c (feclearexcept):
1105 Optimize to avoid unnecessary FPSCR writes.
1106 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
1107 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
1108 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
1109 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
1111 2014-06-24 Wilco <wdijkstr@arm.com>
1113 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
1114 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
1115 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
1116 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
1117 Call libc_fetestexcept_vfp.
1118 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
1119 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
1120 __SOFTFP__ ifdef so that they can be built for softfp.
1122 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1124 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
1125 argument type signed char.
1127 * Makerules (check-abi): Dump diff of symlist if the test
1130 2014-06-23 Roland McGrath <roland@hack.frob.com>
1132 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
1135 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
1136 Remove unused variable ST.
1138 2014-06-23 Joseph Myers <joseph@codesourcery.com>
1142 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
1143 small arguments before calling __expm1.
1144 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
1145 small arguments before calling __expm1f.
1146 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
1147 small arguments before calling __expm1l.
1148 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
1150 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
1151 * math/auto-libm-test-in: Add more cosh tests. Do not allow
1152 spurious underflow for some cosh tests.
1153 * math/auto-libm-test-out: Regenerated.
1154 * sysdeps/i386/fpu/libm-test-ulps: Update.
1157 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
1158 (__ieee754_y1): Set errno if return value overflows.
1159 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
1160 (__ieee754_y1f): Set errno if return value overflows.
1161 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
1162 (__ieee754_y1l): Set errno if return value overflows.
1163 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
1164 (__ieee754_y1l): Set errno if return value overflows.
1165 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
1166 * math/auto-libm-test-out: Regenerated.
1168 * math/gen-auto-libm-tests.c: Document use of
1169 ignore-zero-inf-sign.
1170 (input_flag_type): Add value flag_ignore_zero_inf_sign.
1171 (input_flags): Add ignore-zero-inf-sign.
1172 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
1173 * math/gen-libm-test.pl (generate_testfile): Handle
1174 ignore-zero-inf-sign.
1175 * math/auto-libm-test-in: Mark some cpow tests with
1176 ignore-zero-inf-sign and some with xfail-rounding.
1177 * math/auto-libm-test-out: Regenerated.
1178 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
1179 * sysdeps/i386/fpu/libm-test-ulps: Update.
1180 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1183 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
1184 overflowing or underflowing operations take place with sign of
1186 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1187 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
1188 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
1189 (__ieee754_pow): Recompute overflowing and underflowing results in
1190 original rounding mode.
1191 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
1192 (__powl_helper): Allow negative argument X and scale negated value
1193 as needed. Avoid passing value outside [-1, 1] to f2xm1.
1194 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
1195 overflowing or underflowing operations take place with sign of
1197 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
1199 * math/auto-libm-test-in: Add more tests of pow.
1200 * math/auto-libm-test-out: Regenerated.
1201 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
1202 (pow_tonearest_test_data): Remove.
1203 (pow_test_tonearest): Likewise.
1204 (pow_towardzero_test_data): Likewise.
1205 (pow_test_towardzero): Likewise.
1206 (pow_downward_test_data): Likewise.
1207 (pow_test_downward): Likewise.
1208 (pow_upward_test_data): Likewise.
1209 (pow_test_upward): Likewise.
1210 (main): Don't call removed functions.
1211 * sysdeps/i386/fpu/libm-test-ulps: Update.
1212 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1214 2014-06-23 Roland McGrath <roland@hack.frob.com>
1216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
1218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
1219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
1222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
1225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
1227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
1228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
1230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
1234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
1236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
1238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
1240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
1242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
1246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
1250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
1252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
1254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
1255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
1257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
1259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
1261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
1262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
1264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
1265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
1267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
1268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
1270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
1271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
1273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
1274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
1276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
1277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
1279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
1280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
1281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
1283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
1285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
1286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
1288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
1292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
1298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
1300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
1301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
1303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
1304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
1305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
1306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
1308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
1310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
1312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
1314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
1316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
1317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
1320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
1322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
1323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
1326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
1328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
1330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
1332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
1333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
1335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
1336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
1339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
1341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
1342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
1343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
1344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
1346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
1347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
1350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
1352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
1354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
1358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
1360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
1362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
1365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
1367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
1368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
1370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
1371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
1373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
1375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
1377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
1379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
1381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
1383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
1385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
1386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
1390 2014-06-23 Will Newton <will.newton@linaro.org>
1391 Wilco <wdijkstr@arm.com>
1393 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
1394 implementation. Include get-rounding-mode.h.
1395 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
1396 [!libc_feholdsetround_noex_ctx]: Define
1397 libc_feholdsetround_noex_ctx.
1398 [!libc_feholdsetround_noexf_ctx]: Define
1399 libc_feholdsetround_noexf_ctx.
1400 [!libc_feholdsetround_noexl_ctx]: Define
1401 libc_feholdsetround_noexl_ctx.
1402 (libc_feholdsetround_ctx): New function.
1403 (libc_feresetround_ctx): New function.
1404 (libc_feholdsetround_noex_ctx): New function.
1405 (libc_feresetround_noex_ctx): New function.
1407 2014-06-23 Roland McGrath <roland@hack.frob.com>
1409 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
1410 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
1411 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
1412 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
1413 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
1414 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
1416 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
1417 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
1418 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
1419 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
1420 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
1421 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
1422 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
1423 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
1424 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
1425 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
1426 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
1428 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
1430 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
1431 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
1432 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
1433 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
1434 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
1436 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
1437 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
1438 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
1439 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
1440 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
1441 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
1442 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
1443 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
1445 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
1446 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
1448 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
1449 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
1450 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
1451 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
1453 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
1454 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
1455 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
1456 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
1457 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
1458 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
1459 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
1460 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
1461 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
1462 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
1464 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
1466 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
1467 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
1468 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
1469 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
1470 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
1471 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
1472 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
1473 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
1474 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
1475 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
1476 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
1477 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
1478 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
1480 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
1481 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
1482 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
1483 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
1484 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
1485 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
1487 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
1488 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
1489 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
1490 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
1491 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
1493 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
1494 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
1495 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
1496 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
1497 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
1498 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
1499 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
1500 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
1501 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
1502 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
1503 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
1504 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
1505 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
1506 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
1507 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
1508 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
1509 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
1510 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
1511 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
1512 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
1513 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
1514 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
1515 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
1516 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
1517 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
1518 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
1519 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
1520 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
1522 2014-06-23 Joseph Myers <joseph@codesourcery.com>
1524 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
1525 (FALLOC_FL_COLLAPSE_RANGE): New macro.
1526 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
1527 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
1528 (IPV6_PMTUDISC_INTERFACE): Likewise.
1529 (IPV6_PMTUDISC_OMIT): Likewise.
1531 2014-06-23 Andreas Schwab <schwab@suse.de>
1533 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
1534 Remove unused errout label.
1536 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1538 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
1539 macro: hardware supports Vector Crypto instructions.
1541 2014-06-23 Will Newton <will.newton@linaro.org>
1543 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
1544 rather than __builtin_expect.
1546 * elf/dl-lookup.c (undefined_msg): Remove variable.
1547 (_dl_lookup_symbol_x): Replace undefined_msg with string
1550 * elf/dl-lookup.c (do_lookup_unique): New function.
1551 (do_lookup_x): Move STB_GNU_UNIQUE handling code
1552 to a separate function.
1554 2014-06-23 Andreas Schwab <schwab@suse.de>
1557 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
1558 before reading the next line.
1560 2014-06-23 Will Newton <will.newton@linaro.org>
1562 * test-skeleton.c (signal_handler): Use printf and %m
1563 rather than perror. Use printf rather than fprintf to
1564 stderr. Use puts rather than fputs to stderr.
1567 2014-06-22 Ludovic Courtès <ludo@gnu.org>
1569 * nscd/nscd.c (thread_info_t): Remove typedef.
1570 (thread_info): Remove variable.
1572 2014-06-21 Allan McRae <allan@archlinux.org>
1574 * NEWS: Mention CVE-2014-4043.
1576 2014-06-20 Roland McGrath <roland@hack.frob.com>
1578 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
1579 * nptl/smp.h: ... here.
1581 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
1583 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
1584 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
1585 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
1586 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
1588 * nptl/allocatestack.c: Include <stack-aliasing.h>.
1589 * nptl/stack-aliasing.h: New file.
1590 * sysdeps/i386/i686/stack-aliasing.h: New file.
1591 * sysdeps/i386/i686/nptl/Makefile: File removed.
1592 * sysdeps/x86_64/stack-aliasing.h: New file.
1593 * sysdeps/x86_64/nptl/Makefile
1594 (CFLAGS-pthread_create.c): Variable removed.
1596 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
1597 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
1599 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
1600 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
1603 2014-06-21 Joseph Myers <joseph@codesourcery.com>
1605 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1606 (__ASSUME_SIGFRAME_V2): Remove macro.
1607 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
1608 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
1609 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
1610 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
1611 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
1612 Declare as function. Remove conditional macro definitions.
1613 (__default_rt_sa_restorer): Likewise.
1614 (__default_sa_restorer_v1): Remove declaration.
1615 (__default_sa_restorer_v2): Likewise.
1616 (__default_rt_sa_restorer_v1): Likewise.
1617 (__default_rt_sa_restorer_v2): Likewise.
1618 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
1619 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
1620 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
1622 2014-06-20 Roland McGrath <roland@hack.frob.com>
1624 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
1625 (libpthread-routines): Add sysdep.
1626 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
1627 * sysdeps/unix/sysv/linux/sparc/Versions
1628 (libpthread: GLIBC_2.3.3): New version set.
1629 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
1630 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
1631 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
1632 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
1633 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
1634 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
1636 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
1637 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
1638 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
1639 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
1640 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
1641 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
1642 * sysdeps/sparc/nptl/sem_init.c: ... here.
1643 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
1644 * sysdeps/sparc/nptl/sem_post.c: ... here.
1645 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
1646 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
1647 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
1648 * sysdeps/sparc/nptl/sem_wait.c: ... here.
1649 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
1650 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
1651 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
1652 (libpthread-routines): Add cpu_relax.
1653 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
1655 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
1656 (librt: GLIBC_2.3.3): New version set.
1657 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
1658 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
1659 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
1660 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
1661 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
1662 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
1663 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
1664 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
1666 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
1667 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
1668 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
1669 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
1670 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
1671 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
1672 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
1673 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
1674 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
1675 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
1677 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
1679 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
1681 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
1683 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
1685 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
1687 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
1689 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
1691 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
1693 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
1695 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
1697 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
1699 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
1700 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
1701 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
1702 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
1703 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
1704 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
1705 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
1706 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
1707 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
1708 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
1709 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
1711 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
1712 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
1713 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
1714 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
1715 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
1717 2014-06-20 Joseph Myers <joseph@codesourcery.com>
1719 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
1720 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
1721 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
1722 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
1723 * nscd/nscd.c: Likewise.
1724 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
1725 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
1726 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
1727 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
1729 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
1730 <kernel-features.h>.
1731 (init_mq_netlink): Remove conditional have_sock_cloexec
1732 definitions. Remove code conditional on have_sock_cloexec < 0.
1733 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
1734 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
1735 * sysdeps/unix/sysv/linux/opensock.c: Do not include
1736 <kernel-features.h>.
1737 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
1738 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
1740 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
1742 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1743 Add tests for memset_chk and memset.
1745 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
1748 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
1751 * elf/tst-dl-iter-static.c: New file.
1752 * elf/Makefile (tests-static): Add tst-dl-iter-static.
1754 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
1757 2014-06-20 Joseph Myers <joseph@codesourcery.com>
1759 * sysdeps/unix/sysv/linux/kernel-features.h
1760 (__ASSUME_F_GETOWN_EX): Remove macro.
1761 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
1762 <kernel-features.h>.
1763 (miss_F_GETOWN_EX): Remove variable or macro.
1764 (do_fcntl): Do not check miss_F_GETOWN_EX.
1765 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
1767 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
1769 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
1770 [!__ASSUME_AT_RANDOM]: Remove conditional code.
1771 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
1773 * sysdeps/unix/sysv/linux/kernel-features.h
1774 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
1775 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
1776 [ADJ_OFFSET_SS_READ]: Make code unconditional.
1777 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
1779 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
1782 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
1783 Fix calculation of the symbol's value.
1784 * sysdeps/arm/tst-armtlsdescloc.c: New file.
1785 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
1786 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
1787 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
1788 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
1789 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
1790 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
1791 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
1792 (modules-names): Add `tst-armtlsdescmod',
1793 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
1794 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
1795 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
1796 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
1797 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
1798 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
1799 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
1800 ($(objpfx)tst-armtlsdescloc): New dependency.
1801 ($(objpfx)tst-armtlsdescextnow): Likewise.
1802 ($(objpfx)tst-armtlsdescextlazy): Likewise.
1803 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
1805 * sysdeps/arm/configure: Regenerate.
1807 2014-06-20 Joseph Myers <joseph@codesourcery.com>
1809 * include/fcntl.h (__atfct_seterrno): Remove prototype.
1810 (__atfct_seterrno_2): Likewise.
1811 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
1812 <kernel-features.h>.
1813 (__ASSUME_ATFCTS): Do not undefine and redefine.
1814 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
1815 (__have_atfcts): Remove conditional definition.
1816 (__fxstatat([__NR_fstatat64]: Make code unconditional.
1817 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
1818 unreachable if [__ASSUME_ATFCTS].
1819 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
1820 not undefine and redefine.
1821 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
1822 <kernel-features.h>.
1823 (faccessat) [__NR_faccessat]: Make code unconditional.
1824 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
1825 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
1826 <kernel-features.h>.
1827 (fchmodat) [__NR_fchmodat]: Make code unconditional.
1828 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
1829 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
1830 <kernel-features.h>.
1831 (fchownat) [__NR_fchownat]: Make code unconditional.
1832 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
1833 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
1834 <kernel-features.h>.
1835 (futimesat) [__NR_futimesat]: Make code unconditional.
1836 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
1837 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
1838 <kernel-features.h>.
1839 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
1840 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1841 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
1842 <kernel-features.h>.
1843 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
1844 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
1845 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
1846 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
1847 <kernel-features.h>.
1848 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
1849 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1850 * sysdeps/unix/sysv/linux/linkat.c: Do not include
1851 <kernel-features.h>.
1852 (linkat) [__NR_linkat]: Make code unconditional.
1853 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1854 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
1855 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
1856 <kernel-features.h>.
1857 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
1858 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
1859 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
1860 <kernel-features.h>.
1861 (mkdirat) [__NR_mkdirat]: Make code unconditional.
1862 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
1863 * sysdeps/unix/sysv/linux/openat.c: Do not include
1864 <kernel-features.h>.
1865 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
1866 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
1867 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
1868 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
1869 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
1870 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
1871 <kernel-features.h>.
1872 (readlinkat) [__NR_readlinkat]: Make code unconditional.
1873 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
1874 result of INLINE_SYSCALL directly, not via int variable.
1875 * sysdeps/unix/sysv/linux/renameat.c: Do not include
1876 <kernel-features.h>.
1877 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
1878 (renameat) [__NR_renameat]: Make code unconditional.
1879 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
1880 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
1881 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
1882 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
1883 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
1884 (__ASSUME_ATFCTS): Do not undefine and redefine.
1885 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
1886 <kernel-features.h>.
1887 (symlinkat) [__NR_symlinkat]: Make code unconditional.
1888 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1889 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
1890 <kernel-features.h>.
1891 (unlinkat) [__NR_unlinkat]: Make code unconditional.
1892 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1893 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
1894 (__ASSUME_ATFCTS): Do not undefine and redefine.
1895 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
1896 <kernel-features.h>.
1897 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
1898 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1899 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
1900 <kernel-features.h>.
1901 (__xmknodat) [__NR_mknodat]: Make code unconditional.
1902 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
1904 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
1906 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
1908 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
1911 * posix/regcomp.c (parse_reg_exp): Deallocate partially
1912 constructed tree before returning error.
1913 * posix/bug-regexp36.c: Expand test case.
1915 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
1918 * math/libm-test.inc (scalbln_test_date):
1919 Add errno expectations.
1920 * math/w_scalblnf.c: New File.
1921 Add wrapper which checks for setting errno to ERANGE.
1922 Add weak_alias for corresponding scalbln function.
1923 * math/w_scalbln.c: Likewise.
1924 * math/w_scalblnl.c: Likewise.
1925 * math/Makefile (libm-calls): Add w_scalbln.
1926 * sysdeps/ieee754/flt-32/s_scalblnf.c:
1927 Remove weak_alias for corresponding scalbln function.
1928 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1929 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
1930 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
1931 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1932 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
1933 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
1934 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
1935 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
1936 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
1937 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
1938 Remove long_double_symbol for scalblnl function in libm, libc.
1939 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
1940 Add wrapper which checks for setting errno to ERANGE.
1941 Add long_double_symbol for scalblnl function in libm, libc.
1942 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
1943 Remove long_double_symbol for scalblnl in libm.
1944 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
1945 Add wrapper which checks for setting errno to ERANGE.
1946 Add long_double_symbol for scalblnl function in libm.
1947 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
1948 Do not use wrapper because of own implementation.
1950 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
1952 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
1953 3 bytes for __pad1 for x32.
1954 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
1956 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
1957 H.J. Lu <hongjiu.lu@intel.com>
1959 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
1960 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
1961 * sysdeps/x86_64/multiarch/memset.S: Likewise.
1962 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1963 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
1965 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
1968 * posix/regcomp.c (parse_expression): Deallocate partially
1969 constructed tree before returning error.
1970 * posix/Makefile.c (tests): Add bug-regex36.
1971 (generated): Add bug-regex36.mtrace.
1972 (tests-special): Add $(objpfx)bug-regex36-mem.out
1973 (bug-regex36-ENV): New variable.
1974 ($(objpfx)bug-regex36-mem.out): New rule.
1975 * posix/bug-regex36.c: New file.
1977 2014-06-19 Will Newton <will.newton@linaro.org>
1979 * malloc/malloc.c (systrim): If extra is zero then return
1982 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1984 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
1986 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
1988 * sysdeps/aarch64/strchr.S: New file.
1990 2014-06-18 Joseph Myers <joseph@codesourcery.com>
1993 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
1994 from arguments -2 or below.
1995 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
1996 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
1998 2014-06-18 Andreas Schwab <schwab@suse.de>
2001 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
2002 of a bracket expr not to run off the end of the string.
2003 * posix/Makefile (tests): Add tst-fnmatch3.
2004 * posix/tst-fnmatch3.c: New file.
2006 2014-06-18 Joseph Myers <joseph@codesourcery.com>
2008 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
2009 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2010 [$(cross-compiling) = no]: Likewise.
2011 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2012 [$(cross-compiling) = no]: Likewise.
2014 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2017 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
2018 double, adjusted for any remainder from the high double.
2019 * math/libm-test.inc (nearbyint): Add tests.
2022 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2024 * nptl/sysdeps/powerpc/Makefile: Moved ...
2025 * sysdeps/powerpc/nptl/Makefile: ... here.
2026 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
2027 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
2028 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
2029 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
2030 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
2031 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
2032 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
2033 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
2034 * nptl/sysdeps/powerpc/tls.h: Moved ...
2035 * sysdeps/powerpc/nptl/tls.h: ... here.
2037 2014-06-16 Joseph Myers <joseph@codesourcery.com>
2040 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
2041 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
2042 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
2043 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
2044 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
2045 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
2046 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
2047 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
2048 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
2050 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
2052 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
2054 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
2056 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
2059 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
2062 2014-06-16 Florian Weimer <fweimer@redhat.com>
2065 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
2066 non-executed part of the test.
2068 2014-06-16 Andreas Schwab <schwab@suse.de>
2070 * string/bits/string2.h (strdup, strndup): Update feature guard.
2072 2014-06-14 David S. Miller <davem@davemloft.net>
2074 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2076 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
2078 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
2079 that was previously under [RESET_PID].
2080 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
2082 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
2083 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
2084 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
2085 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2086 (__libc_vfork): New strong alias.
2087 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
2089 2014-06-14 Andi Kleen <ak@linux.intel.com>
2091 * sysdeps/generic/elide.h: New file.
2093 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2095 * Makefile (installed-headers): Adjust path of pthread.h header.
2097 2014-06-13 Roland McGrath <roland@hack.frob.com>
2099 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
2100 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
2101 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
2102 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
2104 * nptl/sysdeps/s390/Makefile: Moved ...
2105 * sysdeps/s390/nptl/Makefile: ... here.
2106 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
2107 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
2108 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
2109 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
2110 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
2111 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
2112 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
2113 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
2114 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
2115 * sysdeps/s390/nptl/pthreaddef.h: ... here.
2116 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
2117 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
2118 * nptl/sysdeps/s390/tls.h: Moved ...
2119 * sysdeps/s390/nptl/tls.h: ... here.
2121 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
2122 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
2124 2014-06-13 David S. Miller <davem@davemloft.net>
2126 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
2127 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
2128 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
2129 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
2130 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
2131 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
2132 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
2133 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
2134 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
2135 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
2136 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
2137 Remove RESET_PID cpp guards.
2138 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
2139 Remove RESET_PID cpp guards.
2140 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
2142 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
2144 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
2147 2014-06-13 Andi Kleen <ak@linux.intel.com>
2149 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
2150 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
2151 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
2152 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
2153 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
2154 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
2155 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
2156 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
2157 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
2158 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
2159 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
2160 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
2161 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
2162 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
2163 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
2164 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
2165 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
2166 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
2167 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
2168 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
2170 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
2171 (pthread_rwlock_rdlock): Add elision.
2172 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
2173 (pthread_rwlock_wrlock): Add elision.
2174 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
2175 (pthread_rwlock_trywrlock): Add elision.
2176 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
2177 (pthread_rwlock_tryrdlock): Add elision.
2178 * nptl/pthread_rwlock_unlock.c: Include elide.h.
2179 (pthread_rwlock_tryrdlock): Add elision unlock.
2180 * nptl/sysdeps/pthread/pthread.h:
2181 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
2182 (PTHREAD_RWLOCK_INITIALIZER,
2183 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
2184 Handle new elision field.
2185 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
2186 * sysdeps/arm/nptl/bits/pthreadtypes.h
2187 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2188 * sysdeps/sh/nptl/bits/pthreadtypes.h
2189 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2190 * sysdeps/tile/nptl/bits/pthreadtypes.h
2191 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2192 * sysdeps/a/nptl/bits/pthreadtypes.h
2193 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2194 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
2195 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2196 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
2197 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2198 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
2199 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2200 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
2201 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2202 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
2203 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2204 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
2205 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2206 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
2207 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2208 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
2209 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2210 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
2211 (elision_init): Set try_xbegin to zero when no RTM.
2212 * sysdeps/x86/nptl/bits/pthreadtypes.h
2213 (pthread_rwlock_t): Change __pad1 to __rwelision.
2214 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2216 2014-06-13 Andi Kleen <ak@linux.intel.com>
2218 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
2219 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
2220 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
2221 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
2223 2014-06-13 Meador Inge <meadori@codesourcery.com>
2226 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
2227 that the cached result has been set before returning it.
2229 2014-06-12 Roland McGrath <roland@hack.frob.com>
2231 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
2232 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
2233 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
2234 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
2235 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
2236 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
2238 * nptl/sysdeps/sparc/Makefile: Moved ...
2239 * sysdeps/sparc/nptl/Makefile: ... here.
2240 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
2241 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
2242 * nptl/sysdeps/sparc/tls.h: Moved ...
2243 * sysdeps/sparc/nptl/tls.h: ... here.
2244 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
2245 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
2246 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
2247 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
2248 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
2249 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
2250 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
2251 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
2252 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
2253 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
2254 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
2255 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
2256 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
2257 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
2258 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
2259 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
2260 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
2261 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
2263 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
2264 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
2266 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
2267 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
2269 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
2270 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
2273 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2275 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
2276 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
2278 * sysdeps/pthread/posix-timer.h: Include <list.h>.
2279 (struct list_links): Type removed.
2280 (struct thread_node, struct timer_node): Replace struct list_links
2281 with struct list_head.
2282 (list_unlink_ip): Likewise.
2283 * sysdeps/pthread/timer_routines.c
2284 (timer_free_list, thread_free_list, thread_active_list): Likewise.
2285 (list_append, list_insbefore): Likewise.
2286 (list_init): Function removed.
2287 (thread_init, init_module): Use INIT_LIST_HEAD instead.
2288 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
2289 * sysdeps/pthread/Makefile: ... here, new file.
2291 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
2292 * sysdeps/nptl/Implies: ... here.
2293 * sysdeps/unix/sysv/linux/Implies: Add nptl.
2294 * nptl/sysdeps/pthread/list.h: Moved ...
2295 * include/list.h: ... here.
2296 * nptl/sysdeps/pthread/createthread.c: Moved ...
2297 * nptl/createthread.c: ... here.
2298 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
2299 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
2300 * nptl/pt-longjmp.c: ... here.
2301 * nptl/sysdeps/pthread/Makefile: Moved ...
2302 * sysdeps/nptl/Makefile: ... here.
2303 * nptl/sysdeps/pthread/Subdirs: Moved ...
2304 * sysdeps/nptl/Subdirs: ... here.
2305 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
2306 * sysdeps/nptl/aio_misc.h: ... here.
2307 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
2308 * sysdeps/nptl/bits/libc-lock.h: ... here.
2309 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
2310 * sysdeps/nptl/bits/libc-lockP.h: ... here.
2311 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
2312 * sysdeps/nptl/bits/stdio-lock.h: ... here.
2313 * nptl/sysdeps/pthread/configure: Moved ...
2314 * sysdeps/nptl/configure: ... here.
2315 * nptl/sysdeps/pthread/configure.ac: Moved ...
2316 * sysdeps/nptl/configure.ac: ... here.
2317 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
2318 * sysdeps/nptl/gai_misc.h: ... here.
2319 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
2320 * sysdeps/nptl/librt-cancellation.c: ... here.
2321 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
2322 * sysdeps/nptl/malloc-machine.h: ... here.
2323 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
2324 * sysdeps/nptl/pthread-functions.h: ... here.
2325 * nptl/sysdeps/pthread/pthread.h: Moved ...
2326 * sysdeps/nptl/pthread.h: ... here.
2327 * nptl/sysdeps/pthread/setxid.h: Moved ...
2328 * sysdeps/nptl/setxid.h: ... here.
2329 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
2330 * sysdeps/nptl/sigfillset.c: ... here.
2331 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
2332 * sysdeps/nptl/tcb-offsets.h: ... here.
2333 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
2334 * sysdeps/nptl/tst-mqueue8x.c: ... here.
2335 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
2336 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
2337 * nptl/sysdeps/pthread/allocalim.h: Moved ...
2338 * sysdeps/pthread/allocalim.h: ... here.
2339 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
2340 * sysdeps/pthread/bits/sigthread.h: ... here.
2341 * nptl/sysdeps/pthread/flockfile.c: Moved ...
2342 * sysdeps/pthread/flockfile.c: ... here.
2343 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
2344 * sysdeps/pthread/ftrylockfile.c: ... here.
2345 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
2346 * sysdeps/pthread/funlockfile.c: ... here.
2347 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
2348 * sysdeps/pthread/posix-timer.h: ... here.
2349 * nptl/sysdeps/pthread/timer_create.c: Moved ...
2350 * sysdeps/pthread/timer_create.c: ... here.
2351 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
2352 * sysdeps/pthread/timer_delete.c: ... here.
2353 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
2354 * sysdeps/pthread/timer_getoverr.c: ... here.
2355 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
2356 * sysdeps/pthread/timer_gettime.c: ... here.
2357 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
2358 * sysdeps/pthread/timer_routines.c: ... here.
2359 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
2360 * sysdeps/pthread/timer_settime.c: ... here.
2361 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
2362 * sysdeps/pthread/tst-timer.c: ... here.
2363 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
2364 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
2366 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
2367 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
2369 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
2370 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
2371 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
2372 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
2373 Update #include target.
2374 * nptl/sysdeps/i386/i686/Makefile: Moved ...
2375 * sysdeps/i386/i686/nptl/Makefile: ... here.
2376 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
2377 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
2378 Update #include target.
2379 * nptl/sysdeps/i386/i686/tls.h: Moved ...
2380 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
2381 * nptl/sysdeps/i386/Makefile: Moved ...
2382 * sysdeps/i386/nptl/Makefile: ... here.
2383 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
2384 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
2385 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
2386 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
2387 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
2388 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
2389 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
2390 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
2391 * sysdeps/i386/nptl/pthreaddef.h: ... here.
2392 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
2393 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
2394 * nptl/sysdeps/i386/tls.h: Moved ...
2395 * sysdeps/i386/nptl/tls.h: ... here.
2397 * sysdeps/sh/Makefile [$(subdir) = csu]
2398 (gen-as-const-headers): Add tcb-offsets.sym.
2399 * nptl/sysdeps/sh/Makefile: File removed.
2400 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
2401 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
2402 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
2403 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
2404 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
2405 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
2406 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
2407 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
2408 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
2409 * sysdeps/sh/nptl/pthreaddef.h: ... here.
2410 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
2411 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
2412 * nptl/sysdeps/sh/tls.h: Moved ...
2413 * sysdeps/sh/nptl/tls.h: ... here.
2414 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
2415 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
2416 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
2417 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
2418 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
2419 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
2420 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
2421 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
2422 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
2423 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
2424 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
2425 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
2426 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
2427 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
2428 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
2429 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
2430 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
2431 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
2432 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
2433 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
2434 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
2435 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
2436 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
2437 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
2438 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
2440 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
2441 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
2443 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
2444 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
2445 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
2446 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
2447 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
2448 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
2449 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
2450 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
2451 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
2452 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
2453 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
2454 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
2455 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
2456 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
2457 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
2458 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
2459 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
2460 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
2461 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
2463 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
2465 * posix/spawn_faction_addopen.c: Include string.h.
2467 2014-06-11 Roland McGrath <roland@hack.frob.com>
2469 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
2470 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
2471 * nptl/sysdeps/x86_64/Makefile: Moved ...
2472 * sysdeps/x86_64/nptl/Makefile: ... here.
2473 * nptl/sysdeps/x86_64/configure: Moved ...
2474 * sysdeps/x86_64/nptl/configure: ... here.
2475 * nptl/sysdeps/x86_64/configure.ac: Moved ...
2476 * sysdeps/x86_64/nptl/configure.ac: ... here.
2477 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
2478 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
2479 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
2480 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
2481 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
2482 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
2483 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
2484 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
2485 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
2486 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
2487 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
2488 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
2489 * nptl/sysdeps/x86_64/tls.h: Moved ...
2490 * sysdeps/x86_64/nptl/tls.h: ... here.
2491 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
2492 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
2493 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
2494 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
2496 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
2498 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2500 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2502 2014-06-11 Joseph Myers <joseph@codesourcery.com>
2504 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
2506 [POSIX] (off_t): Likewise.
2507 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
2508 [POSIX] (S_ISBLK): Require macro.
2509 [POSIX] (S_ISCHR): Likewise.
2510 [POSIX] (S_ISDIR): Likewise.
2511 [POSIX] (S_ISFIFO): Likewise.
2512 [POSIX] (S_ISREG): Likewise.
2513 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
2515 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
2517 [POSIX] (time_t): Likewise.
2518 [POSIX] (timer_t): Likewise.
2520 2014-06-11 Florian Weimer <fweimer@redhat.com>
2523 * posix/spawn_int.h (struct __spawn_action): Make the path string
2524 non-const to support deallocation.
2525 * posix/spawn_faction_addopen.c
2526 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
2527 * posix/spawn_faction_destroy.c
2528 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
2529 path in all spawn_do_open actions.
2530 * posix/tst-spawn.c (do_test): Exercise the copy operation in
2531 posix_spawn_file_actions_addopen.
2533 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
2535 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
2536 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
2537 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
2538 conditional code always true.
2539 (__libc_vfork): New alias.
2541 2014-06-11 Roland McGrath <roland@hack.frob.com>
2543 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2544 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
2546 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
2548 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2549 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
2551 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2552 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
2554 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2555 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
2557 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2559 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
2560 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
2561 multiarch strcmp for PPC64.
2562 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
2563 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
2564 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
2565 multiarch optimizations.
2566 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2567 (__libc_ifunc_impl_list): Likewise.
2569 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2571 * benchtests/scripts/validate_benchout.py: New script.
2572 * benchtests/Makefile (bench-func): Call it.
2573 * benchtests/scripts/benchout.schema.json: New file.
2575 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
2577 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
2578 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
2579 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
2580 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
2581 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
2582 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
2583 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
2584 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
2585 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
2586 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
2587 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
2588 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
2589 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
2590 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
2591 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
2592 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
2593 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2595 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2597 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2599 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
2600 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2602 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2604 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2606 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2608 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2610 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
2611 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2613 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2615 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2617 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2619 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2621 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
2622 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2624 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2626 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2628 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2630 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2632 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2634 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2636 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
2637 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2639 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2641 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2643 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2645 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2647 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2649 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2651 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
2652 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2654 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2656 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2658 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2660 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2662 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
2663 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2665 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2667 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2669 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
2670 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2672 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
2673 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2675 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2677 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2679 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2681 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2683 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2685 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2687 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
2688 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2690 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2692 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2694 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2696 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
2697 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
2698 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
2699 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
2700 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2702 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2704 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
2705 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
2706 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
2707 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
2708 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
2709 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
2710 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
2711 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
2712 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
2713 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
2714 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
2715 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
2716 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2718 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
2719 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2721 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
2722 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
2723 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
2724 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2726 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
2727 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
2728 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
2729 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
2730 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
2731 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
2732 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2734 2014-06-10 Wilco <wdijkstr@arm.com>
2736 * math/test-fenv-return.c: New file.
2737 * math/Makefile: Add new test test-fenv-return.
2739 2014-06-10 Joseph Myers <joseph@codesourcery.com>
2742 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
2744 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
2745 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
2746 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
2747 0.0L for an argument of 1.0L.
2748 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
2750 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
2751 value when x - 1 is zero.
2752 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
2753 * sysdeps/i386/fpu/libm-test-ulps: Update.
2754 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2756 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
2759 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
2761 2014-06-09 Roland McGrath <roland@hack.frob.com>
2763 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
2764 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
2766 2014-06-09 Roland McGrath <roland@hack.frob.com>
2768 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2769 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
2771 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2772 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
2774 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2775 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
2777 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2778 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
2780 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
2781 if not already defined.
2782 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
2783 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
2784 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
2785 (TLS_INIT_TP): Use it.
2786 (TLS_DEFINE_INIT_TP): New macro.
2787 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
2789 2014-06-09 Joseph Myers <joseph@codesourcery.com>
2791 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
2793 [POSIX] (IXANY): Likewise.
2794 [POSIX] (OLCUC): Likewise.
2795 [POSIX || POSIX2008] (CBAUD): Do not allow.
2796 [POSIX || POSIX2008] (DEFECHO): Likewise.
2797 [POSIX || POSIX2008] (ECHOCTL): Likewise.
2798 [POSIX || POSIX2008] (ECHOKE): Likewise.
2799 [POSIX || POSIX2008] (ECHOPRT): Likewise.
2800 [POSIX || POSIX2008] (EXTA): Likewise.
2801 [POSIX || POSIX2008] (EXTB): Likewise.
2802 [POSIX || POSIX2008] (FLUSHO): Likewise.
2803 [POSIX || POSIX2008] (LOBLK): Likewise.
2804 [POSIX || POSIX2008] (PENDIN): Likewise.
2805 [POSIX || POSIX2008] (SWTCH): Likewise.
2806 [POSIX || POSIX2008] (VDISCARD): Likewise.
2807 [POSIX || POSIX2008] (VDSUSP): Likewise.
2808 [POSIX || POSIX2008] (VLNEXT): Likewise.
2809 [POSIX || POSIX2008] (VREPRINT): Likewise.
2810 [POSIX || POSIX2008] (VSTATUS): Likewise.
2811 [POSIX || POSIX2008] (VWERASE): Likewise.
2812 (B*): Change to B[0123456789]*.
2813 * conform/data/time.h-data [POSIX || UNIX98]
2814 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
2815 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
2816 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
2817 [POSIX] (tm_*): Do not allow.
2819 2014-06-07 Joseph Myers <joseph@codesourcery.com>
2821 * Makefile (install): Don't set LANGUAGE.
2822 * Makefile.in (install): Likewise.
2823 * assert/Makefile (test-assert-ENV): Remove variable.
2824 (test-assert-perr-ENV): Likewise.
2825 * elf/Makefile (neededtest4-ENV): Likewise.
2826 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2827 [$(cross-compiling) = no]: Don't set LANGUAGE.
2828 * io/ftwtest-sh (LANG): Remove variable.
2829 * libio/Makefile (tst-widetext-ENV): Likewise.
2830 * manual/install.texi (Running make install): Don't refer to
2831 environment settings for make install.
2832 * INSTALL: Regenerated.
2833 * nptl/tst-tls6.sh: Don't set LANG.
2834 * posix/globtest.sh (LANG): Remove variable.
2835 * string/Makefile (tester-ENV): Likewise.
2836 (inl-tester-ENV): Likewise.
2837 (noinl-tester-ENV): Likewise.
2838 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2839 [$(cross-compiling) = no]: Don't set LANGUAGE.
2840 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
2841 without explicit environment settings.
2843 2014-06-06 Roland McGrath <roland@hack.frob.com>
2845 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
2846 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
2847 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
2848 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
2850 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
2852 * crypt/crypt-private.h [DOS]: Add some includes taken from the
2853 other files in the crypt directory.
2854 * crypt/crypt.c: Remove duplicate includes.
2855 * crypt/crypt-entry.c: Likewise.
2856 * crypt/crypt_util.c: Likewise.
2858 2014-06-06 Joseph Myers <joseph@codesourcery.com>
2860 * Makeconfig (run-program-env): New variable.
2861 (run-program-prefix-before-env): Likewise.
2862 (run-program-prefix-after-env): Likewise.
2863 (run-program-prefix): Define in terms of new variables.
2864 (built-program-cmd-before-env): New variable.
2865 (built-program-cmd-after-env): Likewise.
2866 (built-program-cmd): Define in terms of new variables.
2867 (test-program-prefix-before-env): New variable.
2868 (test-program-prefix-after-env): Likewise.
2869 (test-program-prefix): Define in terms of new variables.
2870 (test-program-cmd-before-env): New variable.
2871 (test-program-cmd-after-env): Likewise.
2872 (test-program-cmd): Define in terms of new variables.
2873 * Rules (make-test-out): Use $(run-program-env).
2874 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
2875 (help): Do not mention environment variables. Mention
2876 --timeoutfactor option.
2877 (timeoutfactor): New variable.
2878 (blacklist_exports): Remove function.
2879 (exports): Remove variable.
2880 (command): Do not include ${exports}.
2881 * manual/install.texi (Configuring and compiling): Do not mention
2882 test wrappers preserving environment variables. Mention that last
2883 assignment to a variable must take precedence.
2884 * INSTALL: Regenerated.
2885 * benchtests/Makefile (run-bench): Use $(run-program-env).
2886 * catgets/Makefile ($(objpfx)test1.cat): Use
2887 $(built-program-cmd-before-env), $(run-program-env) and
2888 $(built-program-cmd-after-env).
2889 ($(objpfx)test2.cat): Do not specify environment variables
2891 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
2892 $(run-program-env) and $(built-program-cmd-after-env).
2893 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
2894 $(run-program-env) and $(test-program-cmd-after-env).
2895 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
2897 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
2898 run_program_env and test_program_cmd_after_env arguments.
2899 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
2900 * elf/tst-pathopt.sh: Use run_program_env argument.
2901 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
2902 $(test-wrapper-env) and $(run-program-env).
2903 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
2904 run_program_env arguments.
2905 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
2906 * intl/Makefile ($(objpfx)tst-gettext.out): Use
2907 $(test-program-prefix-before-env), $(run-program-env) and
2908 $(test-program-prefix-after-env).
2909 ($(objpfx)tst-gettext2.out): Likewise.
2910 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
2911 run_program_env and test_program_prefix_after_env arguments.
2912 * intl/tst-gettext2.sh: Likewise.
2913 * intl/tst-gettext4.sh: Do not set environment variables
2915 * intl/tst-gettext6.sh: Likewise.
2916 * intl/tst-translit.sh: Likewise.
2917 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
2918 $(test-program-prefix-before-env), $(run-program-env) and
2919 $(test-program-prefix-after-env).
2920 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
2921 run_program_env and test_program_prefix_after_env arguments.
2922 * math/Makefile (run-regen-ulps): Use $(run-program-env).
2923 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
2924 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
2925 explicitly with each use of ${test_wrapper_env}.
2926 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
2927 $(test-program-prefix-before-env), $(run-program-env) and
2928 $(test-program-prefix-after-env).
2929 * posix/tst-getconf.sh: Do not set environment variables
2931 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
2932 run_program_env and test_program_prefix_after_env arguments.
2933 * stdio-common/tst-printf.sh: Do not set environment variables
2935 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
2936 $(test-program-prefix-before-env), $(run-program-env) and
2937 $(test-program-prefix-after-env).
2938 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
2939 run_program_env and test_program_prefix_after_env arguments.
2940 Split $test calls into $test_pre and $test.
2941 * timezone/Makefile (build-testdata): Use
2942 $(built-program-cmd-before-env), $(run-program-env) and
2943 $(built-program-cmd-after-env).
2945 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2947 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
2948 strlen for non SHARED builds.
2950 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2952 * nptl/allocatestack.c (check_list): Inlined function...
2953 (__reclaim_stacks): ... here.
2955 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
2958 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
2961 2014-06-05 Joseph Myers <joseph@codesourcery.com>
2963 * Rules (make-test-out): Include
2964 LOCPATH=$(common-objpfx)localedata in default environment.
2965 * debug/Makefile (tst-chk1-ENV): Remove variable.
2966 (tst-chk2-ENV): Likewise.
2967 (tst-chk3-ENV): Likewise.
2968 (tst-chk4-ENV): Likewise.
2969 (tst-chk5-ENV): Likewise.
2970 (tst-chk6-ENV): Likewise.
2971 (tst-lfschk1-ENV): Likewise.
2972 (tst-lfschk2-ENV): Likewise.
2973 (tst-lfschk3-ENV): Likewise.
2974 (tst-lfschk4-ENV): Likewise.
2975 (tst-lfschk5-ENV): Likewise.
2976 (tst-lfschk6-ENV): Likewise.
2977 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
2978 (tst-iconv7-ENV): Likewise.
2979 * intl/Makefile (LOCPATH-ENV): Likewise.
2980 (tst-codeset-ENV): Likewise.
2981 (tst-gettext3-ENV): Likewise.
2982 (tst-gettext5-ENV): Likewise.
2983 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
2984 (tst-fopenloc-ENV): Likewise.
2985 (tst-fgetws-ENV): Remove variable.
2986 (tst-ungetwc1-ENV): Likewise.
2987 (tst-ungetwc2-ENV): Likewise.
2988 (bug-ungetwc2-ENV): Likewise.
2989 (tst-swscanf-ENV): Likewise.
2990 (bug-ftell-ENV): Likewise.
2991 (tst-fgetwc-ENV): Likewise.
2992 (tst-fseek-ENV): Likewise.
2993 (tst-ftell-partial-wide-ENV): Likewise.
2994 (tst-ftell-active-handler-ENV): Likewise.
2995 (tst-ftell-append-ENV): Likewise.
2996 * posix/Makefile (tst-fnmatch-ENV): Likewise.
2997 (tst-regexloc-ENV): Likewise.
2998 (bug-regex1-ENV): Likewise.
2999 (tst-regex-ENV): Likewise.
3000 (tst-regex2-ENV): Likewise.
3001 (bug-regex5-ENV): Likewise.
3002 (bug-regex6-ENV): Likewise.
3003 (bug-regex17-ENV): Likewise.
3004 (bug-regex18-ENV): Likewise.
3005 (bug-regex19-ENV): Likewise.
3006 (bug-regex20-ENV): Likewise.
3007 (bug-regex22-ENV): Likewise.
3008 (bug-regex23-ENV): Likewise.
3009 (bug-regex25-ENV): Likewise.
3010 (bug-regex26-ENV): Likewise.
3011 (bug-regex30-ENV): Likewise.
3012 (bug-regex32-ENV): Likewise.
3013 (bug-regex33-ENV): Likewise.
3014 (bug-regex34-ENV): Likewise.
3015 (bug-regex35-ENV): Likewise.
3016 (tst-rxspencer-ENV): Likewise.
3017 (tst-rxspencer-no-utf8-ENV): Likewise.
3018 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
3019 (tst-sscanf-ENV): Likewise.
3020 (tst-swprintf-ENV): Likewise.
3021 (tst-swscanf-ENV): Likewise.
3022 (test-vfprintf-ENV): Likewise.
3023 (scanf13-ENV): Likewise.
3024 (bug14-ENV): Likewise.
3025 (tst-grouping-ENV): Likewise.
3026 * stdlib/Makefile (tst-strtod-ENV): Likewise.
3027 (tst-strtod3-ENV): Likewise.
3028 (tst-strtod4-ENV): Likewise.
3029 (tst-strtod5-ENV): Likewise.
3030 (testmb2-ENV): Likewise./
3031 * string/Makefile (tst-strxfrm-ENV): Likewise.
3032 (tst-strxfrm2-ENV): Likewise.
3033 (bug-strcoll1-ENV): Likewise.
3034 (test-strcasecmp-ENV): Likewise.
3035 (test-strncasecmp-ENV): Likewise.
3036 * time/Makefile (tst-strptime-ENV): Likewise.
3037 (tst-ftime_l-ENV): Likewise.
3038 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
3039 (tst-mbrtowc-ENV): Likewise.
3040 (tst-wcrtomb-ENV): Likewise.
3041 (tst-mbrtowc2-ENV): Likewise.
3042 (tst-c16c32-1-ENV): Likewise.
3043 (tst-mbsnrtowcs-ENV): Likewise.
3045 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
3047 * manual/resource.texi (How to get information about the memory
3048 subsystem?): Fix typo.
3049 Reported by Peon de la Parra Ivan <peon@keba.com>
3051 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
3054 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
3055 (pthread_spin_lock): Branch out of spin loop to proper location.
3056 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
3057 (pthread_spin_lock): Likewise.
3059 * nptl/tst-spin4.c: New test.
3060 * nptl/Makefile (tests): Add tst-spin4.
3062 2014-06-03 Andreas Schwab <schwab@suse.de>
3065 * resolv/res_send.c (send_dg): Reload file descriptor after
3068 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
3070 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3072 2014-06-03 Richard Henderson <rth@redhat.com>
3074 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
3075 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
3076 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
3077 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
3078 in the SAVE_PID block.
3079 (__libc_vfork): New alias.
3080 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
3082 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
3083 child in registers, not on the stack. Remove RESET_PID conditionals.
3084 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
3086 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
3088 * sysdeps/aarch64/libm-test-ulps: Regenerate.
3090 2014-06-03 Wilco <wdijkstr@arm.com>
3092 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
3093 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
3094 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3095 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
3096 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
3099 2014-06-03 Wilco <wdijkstr@arm.com>
3101 * sysdeps/aarch64/fpu/math_private.h
3102 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
3103 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
3104 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
3105 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3108 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3110 * crypt/crypt-private.h: Include ufc-crypt.h.
3111 (__b64_from_24bit): Declare extern.
3112 * crypt/crypt_util.c(__b64_from_24bit): New function.
3113 (b64t): New static const variable.
3114 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
3115 (b64t): Remove variable.
3116 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
3117 * crypt/sha256-crypt.c: Include crypt-private.h.
3118 (b64t): Remove variable.
3119 (__sha256_crypt_r): Remove b64_from_24bit and replace
3120 with __b64_from_24bit.
3121 * crypt/sha512-crypt.c: Likewise.
3123 2014-06-02 Roland McGrath <roland@hack.frob.com>
3125 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
3126 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
3127 Label the code __libc_vfork rather than __vfork.
3128 [!NOT_IN_libc] (vfork): Define as weak alias.
3129 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
3130 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
3131 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
3133 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3135 * malloc/malloc.c (malloc_info): Fix format specifier for
3138 2014-06-02 Wilco <wdijkstr@arm.com>
3140 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
3143 2014-06-02 Wilco <wdijkstr@arm.com>
3146 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
3147 Rewrite to reduce FPCR/FPSR accesses.
3149 2014-06-01 David S. Miller <davem@davemloft.net>
3151 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3153 2014-05-31 David S. Miller <davem@davemloft.net>
3155 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
3156 to occur in round to nearest mode when |x| >= 2.0
3158 2014-05-30 Richard Henderson <rth@twiddle.net>
3160 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
3161 (PSEUDO_RET_NOERRNO): Remove.
3162 (ret): Don't redefine.
3163 (ret_NOERRNO): Define in terms of ret.
3164 (ret_ERRVAL): Likewise.
3166 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
3167 use of PSEUDO_RET; perform the error check directly.
3169 2014-05-30 Marko Myllynen <myllynen@redhat.com>
3171 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
3174 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3176 * malloc/malloc (malloc_info): Fix formatting.
3178 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3179 Roland McGrath <roland@hack.frob.com>
3181 * malloc/malloc (malloc_info): Also print mmapped statistics.
3183 2014-05-30 Roland McGrath <roland@hack.frob.com>
3185 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
3186 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
3188 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
3190 * malloc/malloc.c (malloc_info): Inline mi_arena.
3192 2014-05-29 Richard Henderson <rth@twiddle.net>
3194 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
3195 Remove comma before expanding ASM_ARGS_##nr.
3196 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
3197 Make _x0 a strict output; make _x8 a strict input; adjust expansion
3199 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
3200 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
3201 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
3202 (ASM_ARGS_1): Add leading comma.
3204 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
3205 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
3206 to __errno_location.
3207 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
3208 Remove the expected plt for __errno_location.
3210 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3211 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
3214 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3215 Always allocate 64 bytes of stack frame. Use ldp/stp to create
3216 it and break it down.
3217 (DOCARGS_0, DOCARGS_1): Do nothing.
3218 (DOCARGS_2): Update to store into the new stack frame.
3219 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
3220 (UNDOCARGS_1): Update to restore from the new stack frame.
3221 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
3222 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
3224 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3225 (SINGLE_THREAD_P): New parameter for result regno.
3226 (PSEUDO): Update to match; use cbz instead of beq.
3228 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3229 Use ENTRY to define the _nocancel entry point. Share the syscall
3230 and syscall error check paths with the cancel path.
3233 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
3234 whitespace; tabs before and after asm mnemonics.
3236 2014-05-29 Eric Wong <normalperson@yhbt.net>
3239 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
3240 Call fstat64 or stat64 internally, depending on arguments passed.
3241 Replace stat buffer argument with file descriptor argument.
3242 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
3243 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
3244 Pass fd to __internal_statvfs instead of calling fstat64.
3245 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
3246 Pass fd to __internal_statvfs64 instead of calling fstat64.
3247 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
3248 Pass -1 to __internal_statvfs instead of calling stat64.
3249 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
3250 Pass -1 to __internal_statvfs64 instead of calling stat64.
3252 2014-05-28 Roland McGrath <roland@hack.frob.com>
3254 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
3255 that was previously under [RESET_PID].
3256 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
3258 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
3259 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
3261 2014-05-27 Roland McGrath <roland@hack.frob.com>
3263 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
3265 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
3266 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
3268 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
3270 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
3272 2014-05-27 Andreas Schwab <schwab@suse.de>
3274 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
3276 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
3277 * elf/rtld.c (init_tls, dl_main): Likewise.
3278 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
3279 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
3280 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
3281 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
3282 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
3283 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
3284 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
3285 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
3286 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
3287 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
3288 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
3289 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
3290 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
3291 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
3292 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
3293 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
3294 * sysdeps/generic/tls.h: Update description.
3296 2014-05-27 Will Newton <will.newton@linaro.org>
3299 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
3300 and restore r2 rather than just restoring.
3302 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3305 * libio/tst-ftell-append.c: New test case.
3306 * libio/Makefile (tests): Add test case.
3307 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
3309 * libio/wfileops.c (do_ftell_wide): Likewise.
3311 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3313 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3315 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
3317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
3318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
3319 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
3320 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
3321 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
3322 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
3323 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
3324 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
3325 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
3327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
3328 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
3330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
3331 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
3332 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
3333 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
3334 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
3335 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
3337 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
3338 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
3340 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
3342 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
3344 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
3345 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
3346 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
3348 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
3349 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
3350 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
3351 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
3353 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
3355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
3356 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
3358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
3359 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
3361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
3362 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
3364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
3366 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
3368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
3369 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
3371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
3373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
3374 conditional [RESET_PID].
3375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
3376 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
3378 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
3381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
3383 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3384 (__libc_vfork): New strong alias.
3385 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
3387 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
3390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
3392 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
3393 (__libc_vfork): New strong alias.
3394 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
3396 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
3399 2014-05-26 Carlos O'Donell <carlos@redhat.com>
3401 * malloc/malloc.c (mi_arena): New function.
3402 (malloc_info): Remove nested function mi_arena. Call non-nosted
3405 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3407 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
3409 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
3410 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
3411 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
3412 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
3413 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
3414 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
3415 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
3417 2014-05-26 Andreas Schwab <schwab@suse.de>
3420 * locale/programs/repertoire.c (repertoire_read): Add slash
3421 between I18NPATH element and file name.
3422 * locale/programs/locfile.c (locfile_read): Likewise.
3424 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
3426 * nptl/pthread_mutexattr_settype.c
3427 (__pthread_mutexattr_settype):
3428 Disable lock elision for PTHREAD_MUTEX_NORMAL.
3430 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
3432 * nptl/tst-mutex5 (do_test):
3433 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
3435 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3437 * benchtests/README: Document 'init' directive.
3438 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
3440 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
3441 (parse_file): Recognize 'init' directive.
3443 2014-05-26 Kyle McMartin <kyle@redhat.com>
3446 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
3447 alignment of struct pthread.
3449 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3452 * nscd/netgroupcache.c (addgetnetgrentX): Look for
3453 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3454 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
3455 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3457 2014-05-25 Richard Henderson <rth@twiddle.net>
3459 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3460 (SINGLE_THREAD_P_PIC): Remove.
3461 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
3462 (SINGLE_THREAD_P_PIC): Remove.
3464 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
3465 branch to syscall error ...
3467 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
3468 from __local_syscall_error to .Lsyscall_error.
3469 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
3470 (SYSCALL_ERROR): Update label name.
3472 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3473 Do not use DOARGS/UNDOARGS.
3474 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
3475 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
3476 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
3477 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
3478 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
3480 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
3483 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
3484 define if !NOT_IN_libc.
3485 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
3486 define with non-default symbol versions.
3488 2014-05-23 Richard Henderson <rth@twiddle.net>
3490 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
3491 (vfork, __vfork): Define via compat_symbol.
3493 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
3494 [!HAVE_IFUNC] (vfork_compat): Remove.
3495 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
3497 2014-05-23 Joseph Myers <joseph@codesourcery.com>
3500 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
3501 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
3504 2014-05-23 Richard Henderson <rth@twiddle.net>
3506 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
3507 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
3508 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
3509 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
3511 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
3512 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
3513 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
3514 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
3515 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
3516 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
3517 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
3518 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
3519 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
3520 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
3521 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
3522 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
3523 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
3524 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
3525 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
3526 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
3527 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
3528 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
3529 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
3530 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
3531 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
3532 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
3533 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
3534 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
3535 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
3536 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
3537 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
3538 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
3539 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
3540 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
3541 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
3542 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
3543 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
3544 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
3545 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
3546 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
3547 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
3548 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
3549 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
3550 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
3551 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
3552 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
3553 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
3554 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
3555 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
3556 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
3557 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
3558 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
3559 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
3560 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
3561 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
3562 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
3563 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
3564 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
3565 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
3566 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
3568 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
3569 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
3570 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
3571 before exiting on error.
3572 (__libc_vfork): New strong alias.
3573 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
3574 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
3576 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
3577 that was previously under [RESET_PID].
3578 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
3580 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
3582 2014-05-23 Joseph Myers <joseph@codesourcery.com>
3585 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
3586 value when x - 1 is zero.
3587 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
3588 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
3589 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
3590 0.0L for an argument of 1.0L.
3591 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
3593 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
3594 value when x - 1 is zero.
3595 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
3596 * sysdeps/i386/fpu/libm-test-ulps: Update.
3597 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3599 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3601 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
3602 alphasort and versionsort.
3604 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3606 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
3608 [copysignf]: Likewise.
3610 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3612 * crypt/md5-crypt.c: Fix formatting.
3614 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3616 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
3617 (b64_from_24bit): New function.
3619 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3621 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
3622 libc_hidden_builtin_def to ifunc.
3623 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
3624 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
3626 2014-05-21 Roland McGrath <roland@hack.frob.com>
3628 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
3629 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
3631 2014-05-21 Joseph Myers <joseph@codesourcery.com>
3633 * nscd/Depend (linuxthreads): Remove.
3635 * resolv/Depend (linuxthreads): Remove.
3636 * rt/Depend (linuxthreads): Remove.
3638 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
3639 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
3640 $(common-objpfx)elf/.
3641 (link-libc-before-gnulib): Likewise.
3642 (elfobjdir): Remove variable.
3643 * Makefile (install): Use $(elf-objpfx) instead of
3644 $(common-objpfx)elf/.
3645 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
3647 (link-libc-deps): Likewise.
3648 ($(common-objpfx)libc.so): Likewise.
3649 ($(common-objpfx)linkobj/libc.so): Likewise.
3650 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
3651 instead of $(common-objpfx)elf/.
3652 (symbolic-link-list): Likewise.
3653 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3654 [$(cross-compiling) = no]: Likewise.
3655 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
3657 (static-gnulib-arch): Likewise.
3658 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3659 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
3660 $(common-objpfx)elf/.
3662 2014-05-21 Richard Henderson <rth@redhat.com>
3664 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3665 (SINGLE_THREAD_P): Use the correct width load. Fold
3666 into the ldr offset.
3668 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
3669 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
3671 2014-05-20 Joseph Myers <joseph@codesourcery.com>
3673 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
3674 (libgcc_s_resume): Use __attribute_used__.
3675 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
3678 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3680 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
3681 optimization when used with float constants.
3683 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3685 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
3688 * locale/nl_langinfo_l.c: Make direct reference to every
3689 _nl_current_CATEGORY symbol.
3690 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
3691 (tests-static): Add tst-langinfo-static.
3692 (tests-special): Add tst-langinfo-static.out.
3693 ($(objpfx)tst-langinfo.out): Redirect output.
3694 ($(objpfx)tst-langinfo-static.out): New.
3695 * localedata/tst-langinfo.sh: Send output to stdout.
3696 * localedata/tst-langinfo-static.c: New file.
3699 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
3700 when the shift amount is modulo the limb size.
3702 2014-05-20 Richard Henderson <rth@redhat.com>
3705 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
3706 Change type of sa_flags from unsigned int to int.
3709 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
3711 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
3713 2014-05-20 Will Newton <will.newton@linaro.org>
3715 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3716 Test the return value of the system call in the nocancel case.
3718 2014-05-20 Will Newton <will.newton@linaro.org>
3719 Yvan Roux <yvan.roux@linaro.org>
3721 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
3722 #include of asm/ptrace.h.
3723 (PTRACE_GET_THREAD_AREA): Remove #undef.
3724 (PTRACE_GETHBPREGS): Likewise.
3725 (PTRACE_SETHBPREGS): Likewise.
3726 (struct user_regs_struct): New structure.
3727 (struct user_fpsimd_struct): New structure.
3728 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
3729 #include of asm/ptrace.h and second #include of sys/user.h.
3730 (PTRACE_GET_THREAD_AREA): Remove #undef.
3731 (PTRACE_GETHBPREGS): Likewise.
3732 (PTRACE_SETHBPREGS): Likewise.
3733 (ELF_NGREG): Use new struct user_regs_struct.
3734 (elf_fpregset_t): Use new struct user_fpsimd_struct.
3736 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3738 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
3739 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
3741 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3744 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
3745 membar to avoid block loads/stores to overlap previous stores.
3747 2014-05-17 Richard Henderson <rth@redhat.com>
3749 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
3750 Create the __##syscall_name##_nocancel entry point.
3751 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
3752 Remove; let the sysdep-cancel.h code create it.
3754 2014-05-17 David S. Miller <davem@davemloft.net>
3756 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
3757 Protect with __USE_GNU.
3758 (TIOCSET_TEMPT): Likewise.
3759 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
3760 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
3761 these are already provided in bits/ioctl-types.h
3763 2014-05-16 Roland McGrath <roland@hack.frob.com>
3765 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
3766 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
3768 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
3769 Use wait4 regardless of [__NR_waitpid].
3771 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
3774 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
3775 (_FP_NANSIGN_Q): Set the quiet bit.
3777 2014-05-16 Joseph Myers <joseph@codesourcery.com>
3779 * benchtests/Makefile
3780 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
3781 not $(common-objpfx)math/libm.so.
3782 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
3783 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
3784 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
3785 $(common-objpfx)dlfcn/libdl.so.
3786 ($(objpfx)tst-audit8): Depend on $(libm), not
3787 $(common-objpfx)math/libm.so.
3788 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
3789 not $(common-objpfx)dlfcn/libdl.so.
3791 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
3792 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
3793 [$(build-shared) = yes].
3794 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
3795 $(common-objpfx)nptl/libpthread.so.
3796 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
3797 $(common-objpfx)math/libm.so$(libm.so-version) or
3798 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
3799 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
3800 $(common-objpfx)dlfcn/libdl.so.
3801 * setjmp/Makefile (link-libm): Remove variable.
3802 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
3803 * stdio-common/Makefile (link-libm): Remove variable.
3804 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
3805 * stdlib/Makefile (link-libm): Remove variable.
3806 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
3807 ($(objpfx)tst-strtod-round): Likewise.
3808 ($(objpfx)tst-tininess): Likewise.
3809 ($(objpfx)tst-strtod-underflow): Likewise.
3810 ($(objpfx)tst-strtod6): Likewise.
3811 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
3812 $(libdl), not $(common-objpfx)nptl/libpthread.so and
3813 $(common-objpfx)dlfcn/libdl.so.
3815 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3817 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
3818 BSD terminal modes definitions.
3820 2014-05-16 Roland McGrath <roland@hack.frob.com>
3822 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
3823 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
3825 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
3826 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
3827 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
3828 Don't do #include_next.
3829 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
3830 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
3831 Don't do #include_next.
3832 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
3833 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
3834 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
3835 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
3837 2014-05-16 Allan McRae <allan@archlinux.org>
3839 * po/sv.po: Update Swedish translation from translation project.
3841 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
3844 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
3847 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
3848 errno if the TIOCGPTN ioctl fails with an error different than
3850 * login/tst-ptsname.c: New file.
3851 * login/Makefile (tests): Add tst-ptsname.
3854 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
3857 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3860 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
3861 herrno to return EAI_AGAIN.
3863 2014-05-14 Roland McGrath <roland@hack.frob.com>
3865 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
3866 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
3867 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
3868 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
3869 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
3870 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
3871 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
3872 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
3873 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
3874 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
3875 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
3876 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
3877 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
3878 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
3879 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
3880 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
3881 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
3882 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
3883 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
3884 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
3885 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
3886 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
3887 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
3888 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
3889 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
3890 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
3891 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
3892 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
3893 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
3894 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
3895 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
3896 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
3897 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
3898 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
3899 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
3901 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
3902 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
3903 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
3904 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
3905 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
3906 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
3907 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
3908 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
3909 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
3910 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
3911 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
3912 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
3913 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
3914 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
3915 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
3916 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
3917 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
3918 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
3919 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
3920 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
3921 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
3922 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
3923 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
3924 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
3925 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
3926 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
3927 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
3928 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
3930 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
3931 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
3932 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
3933 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
3934 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
3935 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
3936 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
3937 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
3938 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
3939 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
3940 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
3941 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
3942 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
3943 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
3944 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
3945 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
3946 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
3947 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
3948 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
3949 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
3951 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
3952 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
3953 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
3955 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
3956 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
3957 (libpthread-sysdep_routines): Add elision-related stuff here instead.
3958 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
3959 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
3960 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
3961 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
3962 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
3963 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
3964 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
3965 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
3966 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
3967 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
3968 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
3969 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
3970 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
3971 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
3972 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
3973 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
3974 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
3975 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
3976 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
3977 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
3978 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
3979 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
3980 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
3981 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
3982 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
3983 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
3984 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
3985 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
3987 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
3988 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
3990 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
3991 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
3992 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
3993 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
3994 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
3995 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
3997 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
3998 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
4000 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
4001 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
4003 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
4004 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
4006 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
4007 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
4008 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
4009 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
4011 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
4012 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
4013 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
4014 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
4015 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
4016 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
4017 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
4018 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
4020 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
4021 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4023 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4025 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
4026 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
4027 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
4028 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
4029 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4031 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4033 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
4035 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
4036 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
4037 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
4038 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
4039 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
4040 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
4042 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
4043 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
4045 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
4046 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
4048 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
4049 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
4051 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
4052 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
4053 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
4054 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
4056 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
4057 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
4058 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
4059 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
4060 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
4061 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
4062 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
4063 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
4065 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
4066 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4068 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4070 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
4071 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
4072 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
4073 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
4074 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4076 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4078 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
4080 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
4081 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
4082 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
4083 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
4084 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
4085 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
4086 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
4087 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
4088 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
4089 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
4091 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
4092 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
4094 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
4095 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
4097 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
4098 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
4100 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
4101 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
4102 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
4103 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
4104 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
4105 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
4107 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
4108 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
4109 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
4110 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
4111 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
4112 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
4113 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
4114 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
4116 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
4117 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4119 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4121 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
4122 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
4123 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
4124 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
4125 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4127 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4129 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
4131 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
4132 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
4133 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
4134 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
4135 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
4136 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
4137 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
4138 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
4139 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
4140 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
4141 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
4143 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
4144 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
4146 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
4147 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
4149 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
4150 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
4151 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
4152 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
4153 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
4154 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
4155 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
4156 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
4157 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
4158 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
4159 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
4160 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
4161 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
4162 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
4163 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
4164 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
4165 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
4166 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
4168 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
4169 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
4170 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
4171 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
4173 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
4174 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
4175 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
4176 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
4177 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
4178 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
4179 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
4180 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
4182 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
4183 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
4185 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
4186 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
4187 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
4188 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
4189 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
4190 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
4191 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
4192 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
4193 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
4194 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
4195 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
4196 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
4197 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
4198 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
4199 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
4200 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
4201 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
4203 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
4204 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
4205 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
4206 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
4207 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
4209 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
4210 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
4211 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
4212 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
4213 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
4214 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
4215 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
4216 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
4217 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
4218 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
4220 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
4221 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
4223 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
4224 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
4225 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
4226 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
4227 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
4228 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
4229 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
4230 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
4231 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
4232 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
4233 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
4234 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
4235 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
4236 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
4237 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
4239 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
4241 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4243 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4245 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4247 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
4249 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
4251 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
4253 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
4255 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
4257 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
4258 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
4259 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
4260 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
4261 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
4262 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
4263 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
4264 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
4265 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
4266 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
4267 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
4268 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
4269 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
4270 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
4271 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
4273 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
4274 that was previously under [RESET_PID].
4275 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
4276 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
4277 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
4279 * sysdeps/i386/nptl/Implies: New file.
4280 * sysdeps/x86_64/nptl/Implies: New file.
4281 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
4282 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
4283 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
4284 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
4286 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
4287 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4288 (__libc_vfork): New strong alias.
4289 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
4290 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
4292 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
4293 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4294 (__libc_vfork): New strong alias.
4295 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
4296 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
4298 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
4299 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4300 (__libc_vfork): New strong alias.
4301 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
4302 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
4303 * nptl/pt-vfork.c: New file.
4304 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
4305 (libpthread: GLIBC_2.20): New version set (empty).
4307 2014-05-14 Will Newton <will.newton@linaro.org>
4309 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
4312 2014-05-14 Joseph Myers <joseph@codesourcery.com>
4315 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
4316 arguments with exponent 65 or above.
4317 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
4318 arguments 0x1p113L or above.
4319 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
4320 to arguments 0x1p107L or above.
4321 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
4322 positive arguments with exponent 65 or above.
4323 * math/auto-libm-test-in: Add more tests of log1p.
4324 * math/auto-libm-test-out: Regenerated.
4327 * math/s_cacos.c (__cacos): Ensure zero real part of result from
4328 non-finite arguments is +0.
4329 * math/s_cacosf.c (__cacosf): Likewise.
4330 * math/s_cacosl.c (__cacosl): Likewise.
4331 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
4332 * sysdeps/i386/fpu/libm-test-ulps: Update.
4333 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4336 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
4338 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
4339 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
4340 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
4341 for explicit high bit of mantissa when testing for argument equal
4343 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
4344 * sysdeps/i386/fpu/libm-test-ulps: Update.
4345 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4348 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
4349 (__erf): Scale by 16 instead of 8 in potentially underflowing
4350 case. Ensure exception if result actually underflows.
4351 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
4352 (__erff): Scale by 16 instead of 8 in potentially underflowing
4353 case. Ensure exception if result actually underflows.
4354 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
4355 (efx8): Remove variable.
4356 (__erfl): Scale by 16 instead of 8 in potentially underflowing
4357 case. Ensure exception if result actually underflows.
4358 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
4359 (efx8): Remove variable.
4360 (__erfl): Scale by 16 instead of 8 in potentially underflowing
4361 case. Ensure exception if result actually underflows.
4362 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
4363 (efx8): Remove variable.
4364 (__erfl): Scale by 16 instead of 8 in potentially underflowing
4365 case. Ensure exception if result actually underflows.
4366 * math/auto-libm-test-in: Add more tests of erf.
4367 * math/auto-libm-test-out: Regenerated.
4369 2014-05-14 Andreas Schwab <schwab@suse.de>
4371 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
4372 Remove code conditionalized on USE___THREAD.
4374 * config.h.in (HAVE_PT_CHOWN): Define as 0.
4375 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
4378 2014-05-14 Joseph Myers <joseph@codesourcery.com>
4380 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
4381 Define unconditionally.
4382 (__ASSUME_O_CLOEXEC): Likewise.
4383 (__ASSUME_SOCK_CLOEXEC): Likewise.
4384 (__ASSUME_IN_NONBLOCK): Likewise.
4385 (__ASSUME_PIPE2): Likewise.
4386 (__ASSUME_EVENTFD2): Likewise.
4387 (__ASSUME_SIGNALFD4): Likewise.
4388 (__ASSUME_DUP3): Likewise.
4389 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4390 (__ASSUME_DUP3): Do not define.
4391 (__ASSUME_EVENTFD2): Likewise.
4392 (__ASSUME_IN_NONBLOCK): Likewise.
4393 (__ASSUME_O_CLOEXEC): Likewise.
4394 (__ASSUME_PIPE2): Likewise.
4395 (__ASSUME_SIGNALFD4): Likewise.
4396 (__ASSUME_SOCK_CLOEXEC): Likewise.
4397 (__ASSUME_UTIMES): Undefine.
4398 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4399 (__ASSUME_UTIMES): Do not define.
4400 (__ASSUME_O_CLOEXEC): Likewise.
4401 (__ASSUME_SOCK_CLOEXEC): Likewise.
4402 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
4403 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
4405 (__ASSUME_PIPE2): Likewise.
4406 (__ASSUME_EVENTFD2): Likewise.
4407 (__ASSUME_SIGNALFD4): Likewise.
4408 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
4409 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
4411 (__ASSUME_EVENTFD2): Likewise.
4412 (__ASSUME_SIGNALFD4): Likewise.
4413 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4414 (__ASSUME_32BITUIDS): Likewise.
4415 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
4416 (__ASSUME_IPC64): Likewise.
4417 (__ASSUME_ST_INO_64_BIT): Likewise.
4418 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
4419 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
4420 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4421 (__ASSUME_UTIMES): Do not define.
4422 (__ASSUME_PSELECT): Likewise.
4423 (__ASSUME_PPOLL): Likewise.
4424 (__ASSUME_O_CLOEXEC): Likewise.
4425 (__ASSUME_SOCK_CLOEXEC): Likewise.
4426 (__ASSUME_IN_NONBLOCK): Likewise.
4427 (__ASSUME_PIPE2): Likewise.
4428 (__ASSUME_EVENTFD2): Likewise.
4429 (__ASSUME_SIGNALFD4): Likewise.
4430 (__ASSUME_DUP3): Likewise.
4431 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4432 (__ASSUME_UTIMES): Likewise.
4433 (__ASSUME_O_CLOEXEC): Likewise.
4434 (__ASSUME_SOCK_CLOEXEC): Likewise.
4435 (__ASSUME_IN_NONBLOCK): Likewise.
4436 (__ASSUME_PIPE2): Likewise.
4437 (__ASSUME_EVENTFD2): Likewise.
4438 (__ASSUME_SIGNALFD4): Likewise.
4439 (__ASSUME_DUP3): Likewise.
4440 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4441 (__ASSUME_UTIMES): Likewise.
4442 (__ASSUME_O_CLOEXEC): Likewise.
4443 (__ASSUME_SOCK_CLOEXEC): Likewise.
4444 (__ASSUME_IN_NONBLOCK): Likewise.
4445 (__ASSUME_PIPE2): Likewise.
4446 (__ASSUME_EVENTFD2): Likewise.
4447 (__ASSUME_SIGNALFD4): Likewise.
4448 (__ASSUME_DUP3): Likewise.
4449 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
4451 (__ASSUME_UTIMES): Likewise.
4452 (__ASSUME_EVENTFD2): Likewise.
4453 (__ASSUME_SIGNALFD4): Likewise.
4454 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4455 (__ASSUME_O_CLOEXEC): Likewise.
4456 (__ASSUME_SOCK_CLOEXEC): Likewise.
4457 (__ASSUME_IN_NONBLOCK): Likewise.
4458 (__ASSUME_PIPE2): Likewise.
4459 (__ASSUME_EVENTFD2): Likewise.
4460 (__ASSUME_SIGNALFD4): Likewise.
4461 (__ASSUME_DUP3): Likewise.
4462 (__ASSUME_UTIMES): Undefine.
4464 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
4465 feclearexcept. Remove symbol versioning code.
4466 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
4467 symbol versioning code.
4468 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
4469 symbol versioning code.
4470 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
4471 feupdateenv. Remove symbol versioning code.
4472 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
4473 fegetexceptflag. Remove symbol versioning code.
4474 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
4475 fesetexceptflag. Remove symbol versioning code.
4476 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
4477 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
4478 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
4479 (__posix_fadvise64_l32): Remove prototype.
4480 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
4483 2014-05-13 Roland McGrath <roland@hack.frob.com>
4485 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
4486 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
4487 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
4488 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
4490 2014-05-13 Sami Kerola <kerolasa@iki.fi>
4492 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
4493 current working directory
4495 2014-05-13 Roland McGrath <roland@hack.frob.com>
4497 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
4498 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
4499 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
4500 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
4501 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
4502 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
4503 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
4504 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
4505 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
4506 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
4507 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
4508 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
4509 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
4510 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
4511 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
4512 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
4513 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
4514 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
4515 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
4516 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
4517 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
4518 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
4519 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
4520 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
4521 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
4522 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
4523 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
4524 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
4525 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
4526 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
4527 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
4528 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
4529 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
4530 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
4531 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
4532 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
4533 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
4534 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
4535 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
4536 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
4537 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
4538 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
4540 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
4541 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
4543 * sysdeps/unix/sysv/linux/arm/Makefile
4544 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
4545 Add rt-aeabi_unwind_cpp_pr1.
4546 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
4547 Add nptl-aeabi_unwind_cpp_pr1.
4548 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
4549 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
4550 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
4551 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
4552 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
4553 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
4555 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
4556 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
4557 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
4558 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
4560 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
4561 Deconditionalize the code that was previously under [RESET_PID].
4562 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
4564 * sysdeps/generic/exit-thread.h: New file.
4565 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
4566 * include/unistd.h (__exit_thread): Remove declaration.
4567 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
4568 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
4569 * csu/libc-start.c: Include <exit-thread.h>.
4570 (LIBC_START_MAIN): Pass no argument to __exit_thread.
4571 * nptl/pthread_create.c: Include <exit-thread.h>.
4572 (start_thread): Call __exit_thread in place of __exit_thread_inline.
4573 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
4574 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
4575 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
4576 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
4577 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
4578 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
4579 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
4580 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
4581 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
4582 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
4583 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
4584 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
4585 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
4586 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
4587 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
4588 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
4590 2014-05-13 Andreas Schwab <schwab@suse.de>
4592 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
4594 2014-05-12 Joseph Myers <joseph@codesourcery.com>
4596 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
4597 (__ASSUME_UTIMES): Do not condition on kernel version.
4598 (__ASSUME_PSELECT): Define unconditionally.
4599 (__ASSUME_PPOLL): Likewise.
4600 (__ASSUME_ATFCTS): Likewise.
4601 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
4602 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
4603 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
4604 (__ASSUME_UTIMENSAT): Define unconditionally.
4605 (__ASSUME_PRIVATE_FUTEX): Likewise.
4606 (__ASSUME_FALLOCATE): Likewise.
4607 (__ASSUME_O_CLOEXEC): Likewise.
4608 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
4609 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
4610 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
4611 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
4612 (__ASSUME_IN_NONBLOCK): Likewise.
4613 (__ASSUME_PIPE2): Likewise.
4614 (__ASSUME_EVENTFD2): Likewise.
4615 (__ASSUME_SIGNALFD4): Likewise.
4616 (__ASSUME_DUP3): Likewise.
4617 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4618 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
4619 (__ASSUME_AT_RANDOM): Likewise.
4620 (__ASSUME_PREADV): Likewise.
4621 (__ASSUME_PWRITEV): Likewise.
4622 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
4623 (__ASSUME_F_GETOWN_EX): Define unconditionally.
4624 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
4625 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
4626 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
4627 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4628 (__ASSUME_O_CLOEXEC): Define unconditionally.
4629 (__ASSUME_PSELECT): Do not undefine conditionally.
4630 (__ASSUME_PPOLL): Likewise.
4631 (__ASSUME_ATFCTS): Likewise.
4632 (__ASSUME_SET_ROBUST_LIST): Likewise.
4633 (__ASSUME_UTIMENSAT): Likewise.
4634 (__ASSUME_FDATASYNC): Define unconditionally.
4635 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4636 (__ASSUME_SIGFRAME_V2): Likewise.
4637 )__ASSUME_EVENTFD2): Likewise.
4638 (__ASSUME_SIGNALFD4): Likewise.
4639 (__ASSUME_PSELECT): Do not undefine conditionally.
4640 (__ASSUME_PPOLL): Likewise.
4641 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4642 (__ASSUME_PSELECT): Define unconditionally.
4643 (__ASSUME_PPOLL): Likewise.
4644 (__ASSUME_O_CLOEXEC): Likewise.
4645 (__ASSUME_SOCK_CLOEXEC): Likewise.
4646 (__ASSUME_IN_NONBLOCK): Likewise.
4647 (__ASSUME_PIPE2): Likewise.
4648 (__ASSUME_EVENTFD2): Likewise.
4649 (__ASSUME_SIGNALFD4): Likewise.
4650 (__ASSUME_DUP3): Likewise.
4651 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4652 (__ASSUME_O_CLOEXEC): Likewise.
4653 (__ASSUME_SOCK_CLOEXEC): Likewise.
4654 (__ASSUME_IN_NONBLOCK): Likewise.
4655 (__ASSUME_PIPE2): Likewise.
4656 (__ASSUME_EVENTFD2): Likewise.
4657 (__ASSUME_SIGNALFD4): Likewise.
4658 (__ASSUME_DUP3): Likewise.
4659 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4660 (__ASSUME_EVENTFD2): Likewise.
4661 (__ASSUME_SIGNALFD4): Likewise.
4662 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4664 2014-05-12 Andreas Schwab <schwab@suse.de>
4667 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
4668 (_nss_nis_gethostbyname4_r): Return error if item length is larger
4669 than maximum RPC packet size.
4670 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
4671 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
4672 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
4673 (_nss_nis_getservbyport_r): Likewise.
4675 2014-05-12 Will Newton <will.newton@linaro.org>
4677 * malloc/Makefile (tests): Add tst-mallopt.
4678 * malloc/tst-mallopt.c: New file.
4680 2014-05-09 Roland McGrath <roland@hack.frob.com>
4682 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
4683 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
4685 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4687 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
4688 (tst-tlsmod6.so): Likewise.
4690 2014-05-09 Roland McGrath <roland@hack.frob.com>
4692 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
4694 2014-05-09 Joseph Myers <joseph@codesourcery.com>
4697 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
4698 and <dl-procinfo.h>.
4699 (__fegetenv): Save SSE state in envp->__eip if supported.
4700 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
4701 envp->__eip if supported.
4702 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
4703 and <dl-procinfo.h>.
4704 (__fesetenv): Always set __eip, __cs_selector, __opcode,
4705 __data_offset and __data_selector in environment to 0. Set SSE
4707 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
4709 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
4711 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
4713 2014-05-09 Will Newton <will.newton@linaro.org>
4715 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
4716 and libc_relro_required for ARM.
4717 * sysdeps/arm/preconfigure: Regenerate.
4719 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
4720 Stefan Liebler <stli@linux.vnet.ibm.com>
4722 * config.make.in (enable-lock-elision): New Makefile variable.
4723 * configure.ac: Likewise.
4724 * configure: Regenerate.
4725 * sysdeps/s390/configure.ac:
4726 Add check for gcc transactions support.
4727 * sysdeps/s390/configure: Regenerate.
4728 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
4729 Build elision files if enabled.
4730 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
4731 Add lock elision support for s390.
4732 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
4733 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
4734 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
4735 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
4736 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
4737 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
4738 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
4740 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
4742 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
4744 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
4746 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
4747 (__lll_timedlock_elision, __lll_lock_elision)
4748 (__lll_unlock_elision, __lll_trylock_elision)
4749 (lll_timedlock_elision, lll_lock_elision)
4750 (lll_unlock_elision, lll_trylock_elision): Add.
4751 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4752 (pthread_mutex_t): Add lock elision support for s390.
4754 2014-05-14 Wilco <wdijkstr@arm.com>
4756 * sysdeps/arm/fclrexcpt.c: Cleanup.
4757 * sysdeps/arm/fedisblxcpt.c: Cleanup.
4758 * sysdeps/arm/feenablxcpt.c: Cleanup.
4759 * sysdeps/arm/fegetenv.c: Cleanup.
4760 * sysdeps/arm/fegetexcept.c: Cleanup.
4761 * sysdeps/arm/fegetround.c: Cleanup.
4762 * sysdeps/arm/feholdexcpt.c: Cleanup.
4763 * sysdeps/arm/fesetenv.c: Cleanup.
4764 * sysdeps/arm/fesetround.c: Cleanup.
4765 * sysdeps/arm/feupdateenv.c: Cleanup.
4766 * sysdeps/arm/fgetexcptflg.c: Cleanup.
4767 * sysdeps/arm/fraiseexcpt.c: Cleanup.
4768 * sysdeps/arm/fsetexcptflg.c: Cleanup.
4769 * sysdeps/arm/ftestexcept.c: Cleanup.
4770 * sysdeps/arm/get-rounding-mode.h: Cleanup.
4771 * sysdeps/arm/setfpucw.c: Cleanup.
4773 2014-05-09 Will Newton <will.newton@linaro.org>
4775 * sysdeps/arm/armv7/strcmp.S: New file.
4776 * NEWS: Mention addition of ARMv7 optimized strcmp.
4778 2014-05-08 Roland McGrath <roland@hack.frob.com>
4780 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
4781 look for %.ac rather than %.in.
4783 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
4784 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
4785 * sysdeps/mach/hurd/configure: Regenerated.
4786 * sysdeps/unix/sysv/linux/configure: Regenerated.
4788 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
4790 2014-05-07 Steve Ellcey <sellcey@mips.com>
4793 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
4797 2014-05-07 Andreas Schwab <schwab@suse.de>
4799 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
4800 when skipping over non-matching result from nscd.
4802 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
4805 * nptl/sockperf.c (client): Check socket return value.
4808 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
4809 nscd security class.
4811 2014-05-06 Roland McGrath <roland@hack.frob.com>
4813 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
4814 * sysdeps/arm/unwind.h: ... here.
4816 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
4819 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
4822 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4824 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
4825 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
4826 multiarch strncpy for PPC64.
4827 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
4828 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
4829 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
4830 multiarch optimizations.
4831 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4832 (__libc_ifunc_impl_list): Likewise.
4833 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
4834 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
4835 multiarch stpncpy for PPC64.
4836 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
4837 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
4839 2014-05-06 Andreas Schwab <schwab@suse.de>
4842 * gmon/mcount.c (_MCOUNT_DECL): Use
4843 atomic_compare_and_exchange_bool_acq instead of
4844 catomic_compare_and_exchange_bool_acq.
4846 2014-05-05 Roland McGrath <roland@hack.frob.com>
4848 * elf/Makefile (others, install-bin): Remove pldd.
4849 (pldd-modules): Variable removed.
4850 ($(objpfx)pldd): Target removed.
4851 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
4852 (others, install-bin): Append pldd here.
4853 ($(objpfx)pldd): New target.
4855 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
4856 to 0, so the first #if test emitted later doesn't see it undefined.
4857 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
4858 * sysdeps/gnu/errlist.c: Regenerated.
4860 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4862 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
4863 [libc_hidden_builtin_def]: Define to empty value.
4864 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
4865 [libc_hidden_builtin_def]: Likewise.
4866 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
4867 [libc_hidden_builtin_def]: Likewise.
4868 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
4869 [libc_hidden_builtin_def]: Likewise.
4870 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
4871 __redirect_memcpy and define ifunc as default hidden symbol.
4872 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
4873 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
4875 2014-05-04 Adam Conrad <adconrad@0c3.net>
4877 * locale/iso-4217.def: Reintroduce XDR currency.
4879 2014-05-04 Allan McRae <allan@archlinux.org>
4881 * po/eo.po: Update Esperanto translation from translation project.
4883 2014-05-02 Carlos O'Donell <carlos@redhat.com>
4885 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
4886 and FEATURE_INDEX_MAX to 1.
4887 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
4889 2014-05-01 Steve Ellcey <sellcey@mips.com>
4891 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
4892 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
4893 * iconvdata/big5.c (ONE_DIRECTION): Define.
4894 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
4895 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
4896 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
4897 * iconvdata/cp932.c (ONE_DIRECTION): Define.
4898 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
4899 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
4900 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
4901 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
4902 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
4903 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
4904 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
4905 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
4906 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
4907 * iconvdata/gbk.c (ONE_DIRECTION): Define.
4908 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
4909 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
4910 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
4911 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
4912 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
4913 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
4914 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
4915 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
4916 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
4917 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
4918 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
4919 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
4920 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
4921 * iconvdata/iso646.c (ONE_DIRECTION): Define.
4922 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
4923 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
4924 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
4925 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
4926 * iconvdata/johab.c (ONE_DIRECTION): Define.
4927 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
4928 * iconvdata/sjis.c (ONE_DIRECTION): Define.
4929 * iconvdata/t.61.c (ONE_DIRECTION): Define.
4930 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
4931 * iconvdata/tscii.c (ONE_DIRECTION): Define.
4932 * iconvdata/uhc.c (ONE_DIRECTION): Define.
4933 * iconvdata/unicode.c (ONE_DIRECTION): Define.
4934 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
4935 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
4936 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
4938 2014-05-01 Roland McGrath <roland@hack.frob.com>
4940 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
4941 (_IO_JUMPS_OFFSET): Define to 0.
4943 * nptl/sysdeps/pthread/bits/libc-lock.h
4944 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
4945 (__libc_lock_define_initialized_recursive): Always define using
4946 initializer. Modern compilers treat uninitialized (implicit zero) and
4947 explicit zero initializers the same (i.e. put the datum in bss).
4949 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
4951 * nscd/nscd-client.h: Include <string.h>.
4953 2014-05-01 David S. Miller <davem@davemloft.net>
4956 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
4957 multiple zero bytes exist at the end of a string.
4958 Reported by Aurelien Jarno <aurelien@aurel32.net>
4960 * string/test-strcmp.c (check): Add explicit test for situations where
4961 there are multiple zero bytes after the first.
4963 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
4966 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
4967 when compiling wprintf.
4968 * stdio-common/tstdiomisc.c (t3): New function.
4971 2014-05-01 Steve Ellcey <sellcey@mips.com>
4973 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
4974 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
4975 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
4976 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
4978 2014-05-01 Steve Ellcey <sellcey@mips.com>
4980 * stdlib/longlong.h: Updated from GCC.
4982 2014-05-01 Will Newton <will.newton@linaro.org>
4983 Bernard Ogden <bernie.ogden@linaro.org>
4985 * NEWS: Update fixed bug list.
4988 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
4990 2014-04-30 David S. Miller <davem@davemloft.net>
4992 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
4993 (libc_feholdexcept_setround_sparc_ctx): New function.
4994 (libc_fesetenv_sparc_ctx): Likewise.
4995 (libc_feupdateenv_sparc_ctx): Likewise.
4996 (libc_feholdsetround_sparc_ctx): Likewise.
4997 (libc_feholdexcept_setround_ctx): Define.
4998 (libc_feholdexcept_setroundf_ctx): Likewise.
4999 (libc_feholdexcept_setroundl_ctx): Likewise.
5000 (libc_fesetenv_ctx): Likewise.
5001 (libc_fesetenvf_ctx): Likewise.
5002 (libc_fesetenvl_ctx): Likewise.
5003 (libc_feupdateenv_ctx): Likewise.
5004 (libc_feupdateenvf_ctx): Likewise.
5005 (libc_feupdateenvl_ctx): Likewise.
5006 (libc_feresetround_ctx): Likewise.
5007 (libc_feresetroundf_ctx): Likewise.
5008 (libc_feresetroundl_ctx): Likewise.
5009 (libc_feholdsetround_ctx): Likewise.
5010 (libc_feholdsetroundf_ctx): Likewise.
5011 (libc_feholdsetroundl_ctx): Likewise.
5013 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5014 with __USE_GNU instead of XOPEN cpp guards.
5016 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
5019 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5020 with XOPEN cpp guards.
5022 2014-04-30 Julian Brown <julian@codesourcery.com>
5025 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
5028 2014-04-30 Joseph Myers <joseph@codesourcery.com>
5031 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
5033 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
5034 * sysdeps/unix/sysv/linux/configure: Regenerated.
5035 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
5036 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
5037 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
5038 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
5039 * README: Update reference to required Linux kernel version.
5040 * manual/install.texi (Linux): Update reference to required Linux
5041 kernel headers version.
5042 * INSTALL: Regenerated.
5044 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
5046 [POSIX] (limits.h): Likewise.
5047 [POSIX] (math.h): Likewise.
5048 [POSIX] (sys/wait.h): Likewise.
5049 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
5051 [POSIX] (stddef.h): Do not allow header inclusion.
5053 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5055 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
5057 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
5059 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
5060 Return immediately after lll_futex_wake.
5062 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5065 * nscd/nscd-client.h (datahead_init_common): Initialize entire
5067 (datahead_init_pos): Call datahead_init_common early.
5068 (datahead_init_neg): Likewise.
5070 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
5071 datahead_init_neg): New functions.
5072 * nscd/aicache.c (addhstaiX): Use them.
5073 * nscd/grpcache.c (cache_addgr): Likewise.
5074 * nscd/hstcache.c (cache_addhst): Likewise.
5075 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5076 * nscd/netgroupcache.c (do_notfound): Likewise.
5077 (addgetnetgrentX): Likewise.
5078 (addinnetgrX): Likewise.
5079 * nscd/pwdcache.c (cache_addpw): Likewise.
5080 * nscd/servicescache.c (cache_addserv): Likewise.
5082 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5083 Atsushi Onoe <atsushi@onoe.org>
5088 * resolv/res_query.c (__libc_res_nsearch): Return if at least
5089 one response is valid.
5090 * resolv/res_send.c (send_dg): Check for validity of other
5091 response if the current response is a referral.
5093 2014-04-29 Steve Ellcey <sellcey@mips.com>
5095 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
5097 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
5100 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
5101 Always divide by positive zero when computing -Inf result.
5102 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
5103 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
5105 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5107 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
5108 FPSCR if value do not change.
5109 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
5110 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
5111 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
5112 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
5113 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
5114 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
5117 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
5119 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
5120 * sysdeps/unix/sysv/linux/hppa: Move directory from
5121 ports/systeps/unix/sysv/linux/hppa.
5122 * README: Update listing for hppa-*-linux-gnu.
5124 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
5127 * manual/stdio.texi (Hook functions): Fix types of stream hook
5130 * socket/sys/socket.h: Fix typo in comment.
5132 2014-04-28 Wilco <wdijkstr@arm.com>
5134 * sysdeps/arm/fenv_private.h: New file.
5135 * sysdeps/arm/math_private.h: New file.
5136 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
5138 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
5140 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
5142 (La_x86_64_retval): Likewise.
5144 2014-04-24 Ian Bolton <ian.bolton@arm.com>
5146 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
5147 fpsr if value didn't change.
5148 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
5149 to fpcr if value didn't change.
5150 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
5151 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
5152 fpsr or fpcr if value didn't change.
5153 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
5154 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
5155 fpcr if value didn't change.
5156 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
5157 to fpsr if value didn't change.
5159 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5161 * nptl/tst-sem3.c: Use test-skeleton.c
5162 (main): Rename to do_test. Use return instead of
5164 * nptl/tst-sem4.c: Use test-skeleton.c
5165 (main): Rename to do_test.
5167 2014-04-22 David S. Miller <davem@davemloft.net>
5169 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
5170 (struct sigaction): New struct member __glibc_reserved0, change
5171 type of sa_flags to int.
5173 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
5175 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
5176 (COUNT_LEADING_ZEROS_0): Define for AArch64.
5178 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5180 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
5181 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
5183 2014-04-22 Will Newton <will.newton@linaro.org>
5184 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
5186 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
5187 (__longjmp): Add longjmp and longjmp_target SystemTap
5189 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
5190 (__sigsetjmp): Add setjmp SystemTap probe.
5192 2014-04-17 Carlos O'Donell <carlos@redhat.com>
5194 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
5197 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5199 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
5201 * sysdeps/powerpc/fpu/fenv_private.h
5202 (libc_feholdexcept_setroundl_ctx): Define to
5203 libc_feholdexcept_setround_ppc_ctx.
5204 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
5205 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
5206 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
5207 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
5209 2014-04-17 Ian Bolton <ian.bolton@arm.com>
5211 * sysdeps/aarch64/math-tests.h: New file.
5213 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
5215 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
5217 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5218 Check and set bit_AVX2_Usable.
5219 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
5221 (bit_AVX2): Likewise.
5222 (index_AVX2_Usable): Likewise.
5223 (CPUID_AVX2): Likewise.
5224 (HAS_AVX2): Likewise.
5226 2014-04-17 Will Newton <will.newton@linaro.org>
5228 * manual/setjmp.texi (System V contexts): Add note that
5229 calling setcontext on a context created by a call to a
5230 signal handler is undefined. Update text to note that
5231 setcontext from a signal handler is possible but not
5235 * stdlib/tst-setcontext.c: Include signal.h.
5236 (main): Check that the signal stack before and
5237 after swapcontext is the same.
5239 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
5240 Re-implement to restore registers in user code and avoid
5241 rt_sigreturn system call.
5243 2014-04-17 Wilco <wdijkstr@arm.com>
5245 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
5246 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
5247 * math/test-fenv.c: Skip exception trap tests on targets which only
5248 support non-stop mode.
5250 2014-04-17 Ian Bolton <ian.bolton@arm.com>
5251 Wilco Dijkstra <wilco.dijkstra@arm.com>
5253 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
5254 (libc_feholdsetround_aarch64_ctx)
5255 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
5256 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
5257 (libc_feresetround_ctx, libc_feresetroundf_ctx)
5258 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
5259 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
5260 (libc_feresetround_noexl_ctx): Define.
5262 2014-04-16 Richard Henderson <rth@redhat.com>
5264 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
5266 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
5269 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
5270 const from the non-libc, non-ldso copy.
5272 * sysdeps/alpha/libm-test-ulps: Regenerate.
5274 2014-04-16 Ian Bolton <ian.bolton@arm.com>
5275 Wilco Dijkstra <wilco.dijkstra@arm.com>
5277 * sysdeps/aarch64/fpu/math_private.h: New file.
5279 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
5281 * sysdeps/aarch64/libm-test-ulps: Regenerate.
5283 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
5285 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
5286 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
5287 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
5288 Intel MPX bound registers before _dl_profile_fixup.
5289 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
5290 registers after _dl_profile_fixup. Save and restore bound
5291 registers bnd0/bnd1 when calling _dl_call_pltexit.
5292 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
5293 (LR_BND_OFFSET): Likewise.
5294 (LRV_BND0_OFFSET): Likewise.
5295 (LRV_BND1_OFFSET): Likewise.
5297 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
5299 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
5301 * sysdeps/mach/hurd/i386/tls.h: ... here.
5302 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
5303 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
5306 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
5308 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
5310 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
5312 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5314 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
5317 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
5318 * sysdeps/s390/configure: Regenerate.
5321 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
5322 Set round-to-nearest internally to reduce error accumulation.
5324 2014-04-16 Alan Modra <amodra@gmail.com>
5328 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
5329 * math/libm-test.inc (frexp_test_data): Add tests.
5330 * NEWS: Update fixed bug list.
5332 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5334 * benchtests/Makefile: Depend on libraries in build directory.
5335 (bench-math): Separate out math tests.
5336 (bench-pthread): Separate out pthread tests.
5337 (bench): Include math and pthread tests.
5339 2014-04-14 Carlos O'Donell <carlos@redhat.com>
5342 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
5343 _dl_debug_initialize.
5345 * configure.ac: Remove SELinux header check.
5346 * configure: Regenerate.
5347 * nscd/selinux.c (perms): Array of const char* to permission names.
5348 (nscd_request_avc_has_perm): Call security_deny_unknown to find
5349 default policy. Call string_to_security_class and string_to_av_perm to
5350 translate strings. Enforce default policy and call avs_has_perm with
5351 results of translated strings.
5353 2014-04-13 David S. Miller <davem@davemloft.net>
5355 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5357 2014-04-12 Allan McRae <allan@archlinux.org>
5360 * manual/string.texi (Collation Functions): Fix qsort argument
5362 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5364 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
5366 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
5367 Make the test a no-op if there are no exceptions defined.
5369 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
5371 * elf/Makefile (tests): make tst-dlopen-aout conditional on
5372 enable-hardcoded-path-in-tests
5374 2014-04-11 Will Newton <will.newton@linaro.org>
5376 * benchtests/Makefile (extra-objs): Add json-lib.o.
5377 (bench-func): Tidy up JSON output.
5378 * benchtests/bench-skeleton.c: Include json-lib.h.
5379 (main): Use JSON library functions to do output of
5381 * benchtests/bench-timing-type.c (main): Output the
5382 timing type simply, leaving formatting to the user.
5383 * benchtests/json-lib.c: New file.
5384 * benchtests/json-lib.h: Likewise.
5386 2014-04-11 Torvald Riegel <triegel@redhat.com>
5389 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
5390 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
5391 memory barriers. Add comments.
5392 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
5393 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
5394 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
5395 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
5396 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
5397 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
5399 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
5401 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
5402 * sysdeps/s390/s390-64/configure.ac: ... this ...
5403 * sysdeps/s390/configure.ac: ... to here.
5404 * sysdeps/s390/s390-32/configure: Delete file.
5405 * sysdeps/s390/s390-64/configure: Delete file.
5406 * sysdeps/s390/configure: Regenerate.
5408 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
5410 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
5412 2014-04-11 Will Newton <will.newton@linaro.org>
5414 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
5415 to zero if it is not defined elsewhere. (mtrim): Test
5416 the value of MALLOC_DEBUG with #if rather than #ifdef.
5418 2014-04-10 Torvald Riegel <triegel@redhat.com>
5420 * benchtests/pthread_once-inputs: New file.
5421 * benchtests/pthread_once-source.c: New file.
5422 * benchtests/README: Update documentation.
5424 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
5425 H.J. Lu <hongjiu.lu@intel.com>
5427 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
5428 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
5429 * sysdeps/x86_64/configure: Regenerated.
5430 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
5432 (REGISTER_SAVE_RAX): Likewise.
5433 (REGISTER_SAVE_RCX): Likewise.
5434 (REGISTER_SAVE_RDX): Likewise.
5435 (REGISTER_SAVE_RSI): Likewise.
5436 (REGISTER_SAVE_RDI): Likewise.
5437 (REGISTER_SAVE_R8): Likewise.
5438 (REGISTER_SAVE_R9): Likewise.
5439 (REGISTER_SAVE_BND0): Likewise.
5440 (REGISTER_SAVE_BND1): Likewise.
5441 (REGISTER_SAVE_BND2): Likewise.
5442 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
5443 bound registers when calling _dl_fixup.
5445 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5447 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
5448 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
5450 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
5451 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
5452 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
5453 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
5454 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
5455 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
5456 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
5458 2014-04-09 Peter Brett <peter@peter-b.co.uk>
5461 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
5462 pathconf(_PC_NAME_MAX).
5464 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5466 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
5468 (__PTHREAD_SPINS): Move definition to ...
5469 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5470 (__PTHREAD_SPINS): ... here.
5471 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5472 (__PTHREAD_SPIN): Likewise.
5473 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
5474 (__PTHREAD_SPIN): Likewise.
5475 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
5476 (__PTHREAD_SPIN): Likewise.
5477 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
5478 (__PTHREAD_SPIN): Likewise.
5479 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
5480 (__PTHREAD_SPIN): Likewise.
5481 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
5482 (__PTHREAD_SPIN): Likewise.
5483 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
5484 (__PTHREAD_SPIN): Likewise.
5485 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
5486 (__PTHREAD_SPIN): Likewise.
5487 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
5488 (__PTHREAD_SPIN): Likewise.
5489 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
5490 (__PTHREAD_SPIN): Likewise.
5491 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
5492 (__PTHREAD_SPIN): Likewise.
5493 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
5494 (__PTHREAD_SPIN): Likewise.
5496 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
5497 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
5498 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
5499 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
5501 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
5502 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
5503 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
5504 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
5506 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
5507 strlen symbol for non multi-arch builds.
5508 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
5509 missing hidden_def and weak_alias.
5511 2014-04-08 Carlos O'Donell <carlos@redhat.com>
5513 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
5515 2014-04-07 Will Newton <will.newton@linaro.org>
5517 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
5518 and contents. [!_LIBC] Remove #ifndef and contents.
5519 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
5520 * string/memccpy.c (__memccpy): Use ANSI prototype.
5521 * string/memfrob.c (memfrob): Likewise.
5522 * string/strcoll.c (STRCOLL): Likewise.
5523 * string/strlen.c (strlen): Likewise.
5524 * string/strtok.c (STRTOK): Likewise.
5525 * string/strcat.c: Remove unused #include of memcopy.h.
5526 (strcat): Use ANSI prototype.
5527 * string/strchr.c: Remove unused #include of memcopy.h.
5528 (strchr): Use ANSI prototype.
5529 * string/strcmp.c: Remove unused #include of memcopy.h.
5530 (strcmp): Use ANSI prototype.
5531 * string/strcpy.c: Remove unused #include of memcopy.h.
5532 (strcpy): Use ANSI prototype.
5534 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5536 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
5537 * config.make.in (config-extra-cppflags): Set it from
5538 libc_extra_cppflags.
5539 * configure.ac (libc_extra_cflags): Make it accumulate over
5540 configure fragments.
5541 (libc_extra_cppflags): New flag.
5542 * configure. Regenerate.
5543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
5544 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
5545 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
5546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
5549 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
5550 result for FE_DOWNWARD rounding mode.
5551 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
5553 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5555 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
5557 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
5558 in function argument name.
5560 2014-04-03 David Svoboda <svoboda@cert.org>
5563 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
5566 2014-04-03 Roland McGrath <roland@hack.frob.com>
5568 * elf/dl-unmap-segments.h: New file.
5569 * sysdeps/generic/ldsodefs.h
5570 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
5571 * elf/dl-close.c: Include <dl-unmap-segments.h>.
5572 * elf/dl-fptr.c: Likewise.
5573 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
5574 * sysdeps/aarch64/tlsdesc.c: Likewise.
5575 * sysdeps/arm/tlsdesc.c: Likewise.
5576 * sysdeps/i386/tlsdesc.c: Likewise.
5577 * sysdeps/tile/dl-runtime.c: Likewise.
5578 * sysdeps/x86_64/tlsdesc.c: Likewise.
5579 * elf/dl-load.h: New file.
5580 * elf/dl-load.c: Include it.
5581 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
5582 Macros moved to dl-load.h.
5583 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
5584 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
5585 Use _dl_unmap_segments in place of __munmap.
5586 Break out segment-mapping loop into ...
5587 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
5589 2014-04-03 Will Newton <will.newton@linaro.org>
5591 * elf/dl-lookup.c (do_lookup_x): Remove comment
5592 referring to nested function and move variable
5593 declarations down to before first use.
5595 2014-04-02 Joseph Myers <joseph@codesourcery.com>
5599 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
5601 * math/s_catanf.c (__catanf): Likewise.
5602 * math/s_catanh.c (__catanh): Likewise.
5603 * math/s_catanhf.c (__catanhf): Likewise.
5604 * math/s_catanhl.c (__catanhl): Likewise.
5605 * math/s_catanl.c (__catanl): Likewise.
5606 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
5607 by positive zero when computing -Inf result.
5608 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
5609 (catanh_test): Likewise.
5610 * sysdeps/i386/fpu/libm-test-ulps: Update.
5611 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5614 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
5615 instead of using underflowing value in computing result.
5616 * math/s_clog10.c (__clog10): Likewise.
5617 * math/s_clog10f.c (__clog10f): Likewise.
5618 * math/s_clog10l.c (__clog10l): Likewise.
5619 * math/s_clogf.c (__clogf): Likewise.
5620 * math/s_clogl.c (__clogl): Likewise.
5621 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
5622 (clog10_test): Likewise.
5623 * sysdeps/i386/fpu/libm-test-ulps: Update.
5624 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5626 2014-04-02 Alan Modra <amodra@gmail.com>
5629 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
5630 output when value is near a power of two. Use int64_t for lx and
5631 remove casts. Use decimal rather than hex exponent constants.
5632 Don't use long double multiplication when double will suffice.
5633 * math/libm-test.inc (nextafter_test_data): Add tests.
5634 * NEWS: Add 16739 and 16786 to bug list.
5636 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
5638 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
5640 2014-04-01 Will Newton <will.newton@linaro.org>
5642 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
5643 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
5645 2014-04-01 Florian Weimer <fweimer@redhat.com>
5648 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
5649 * nptl/tst-setuid2.c: New file.
5650 * nptl/Makefile (xtests): Add tst-setuid2.
5652 2014-04-01 Alan Modra <amodra@gmail.com>
5655 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
5657 2014-03-31 Joseph Myers <joseph@codesourcery.com>
5661 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
5662 set errno as appropriate.
5663 * math/w_scalbf.c (__scalbf): Likewise.
5664 * math/w_scalbl.c (__scalbl): Likewise.
5665 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
5666 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
5667 * math/libm-test.inc (scalb_test_data): Add errno expectations.
5671 * math/w_atan2.c: Include <errno.h>.
5672 (__atan2): Set errno for result underflowing to zero.
5673 * math/w_atan2f.c: Include <errno.h>.
5674 (__atan2f): Set errno for result underflowing to zero.
5675 * math/w_atan2l.c: Include <errno.h>.
5676 (__atan2l): Set errno for result underflowing to zero.
5677 * math/auto-libm-test-in: Don't allow missing errno for some atan2
5679 * math/auto-libm-test-out: Regenerated.
5681 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5683 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
5684 Encode instruction correctly in little endian.
5685 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
5687 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
5689 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
5691 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
5694 2014-03-31 Joseph Myers <joseph@codesourcery.com>
5697 * sysdeps/unix/sysv/linux/kernel-features.h
5698 [__sparc__ && !__arch64__ && !__sparc_v9__]
5699 (__ASSUME_SET_ROBUST_LIST): Do not define.
5700 [__sparc__ && !__arch64__ && !__sparc_v9__]
5701 (__ASSUME_FUTEX_LOCK_PI): Likewise.
5702 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
5704 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5705 (__ASSUME_FUTEX_LOCK_PI): Undefine.
5706 (__ASSUME_REQUEUE_PI): Likewise.
5707 (__ASSUME_SET_ROBUST_LIST): Likewise.
5708 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5709 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
5711 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5712 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
5714 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
5716 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
5718 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5719 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
5721 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
5722 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
5726 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5727 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
5728 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
5730 2014-03-31 Will Newton <will.newton@linaro.org>
5732 * benchtests/Makefile (bench): Add ffs and ffsll to list
5734 * benchtests/ffs-inputs: New file.
5735 * benchtests/ffsll-inputs: Likewise.
5737 2014-03-29 Joseph Myers <joseph@codesourcery.com>
5740 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
5741 too large before casting to int.
5742 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
5743 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
5744 * math/libm-test.inc (scalb_test_data): Add more tests.
5746 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5748 * benchtests/Makefile (DETAILED_OPT): New make option.
5749 (bench-func): Run benchmark program with -d if DETAILED_OPT is
5751 * benchtests/bench-skeleton.c: Include stdbool.h.
5752 (main): Store and print timings per input.
5753 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
5754 member to each argument value.
5755 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
5756 (_print_arg_data): Initialize per-input timing to 0.
5758 * benchtests/Makefile (timing-type): New binary.
5759 (bench-clean): Also remove bench-timing-type.
5760 (bench): New target for timing-type.
5761 (bench-func): Print output in JSON format.
5762 * benchtests/bench-skeleton.c (main): Print output in JSON
5764 * benchtests/bench-timing-type.c: New file.
5765 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
5766 (TIMING_PRINT_STATS): Remove.
5767 * benchtests/scripts/bench.py (_print_arg_data): Store variant
5770 * benchtests/bench-modf.c: Remove.
5771 * benchtests/modf-inputs: New inputs file.
5773 2014-03-28 Joseph Myers <joseph@codesourcery.com>
5776 * math/s_clog10.c (M_PI_LOG10E): New macro.
5777 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
5778 imaginary parts are 0.
5779 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
5780 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
5781 imaginary parts are 0.
5782 * math/s_clog10l.c (M_PI_LOG10El): New macro.
5783 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
5784 imaginary parts are 0.
5785 * math/libm-test.inc (clog10_test_data): Update expected results
5786 for when real and imaginary parts are 0.
5788 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
5790 * elf/dl-load.c: Finish conversion of __builtin_expect into
5793 2014-03-27 Joseph Myers <joseph@codesourcery.com>
5796 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
5797 1+x for argument with exponent below -67.
5798 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
5800 * math/auto-libm-test-in: Add more tests of exp.
5801 * math/auto-libm-test-out: Regenerated.
5803 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5806 * inet/getnetgrent_r.c (get_nonempty_val): New function.
5807 (nscd_getnetgrent): Use it.
5810 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
5813 2014-03-27 Andi Kleen <ak@linux.intel.com>
5815 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
5816 (lll_robust_lock, lll_cond_lock, lll_timedlock)
5817 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
5818 (lll_robust_unlock): Remove out of line section. Use cfi
5820 (LLL_STUB_UNWIND_INFO*): Remove.
5821 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
5822 (lll_robust_lock, lll_cond_lock, lll_timedlock)
5823 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
5824 (lll_robust_unlock): Remove out of line section. Use cfi
5826 (LLL_STUB_UNWIND_INFO*): Remove.
5828 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5831 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
5834 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
5836 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
5838 2014-03-26 Joseph Myers <joseph@codesourcery.com>
5841 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
5843 * math/test-fenv-preserve.c: New file.
5844 * math/Makefile (tests): Add test-fenv-preserve.
5846 2014-03-26 Will Newton <will.newton@linaro.org>
5848 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
5850 2014-03-25 Roland McGrath <roland@hack.frob.com>
5852 * scripts/versionlist.awk: Partition the version sets and emit all
5853 GLIBC_* (sorted) before all others (sorted).
5855 2014-03-25 Joseph Myers <joseph@codesourcery.com>
5857 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
5858 GLIBC_2.2.5 version.
5860 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5862 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
5865 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
5868 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5870 2014-03-25 Andreas Schwab <schwab@suse.de>
5872 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
5873 label to be used after in6ailist is initialized.
5875 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5877 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5878 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
5880 2014-03-25 Joseph Myers <joseph@codesourcery.com>
5884 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
5886 (fp_formats): Update initializers.
5887 (init_fp_formats): Initialize new field.
5888 (output_for_one_input_case): Allow underflow for results up to
5890 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
5891 * math/auto-libm-test-in: Don't mark some underflows from asin and
5893 * math/auto-libm-test-out: Regenerated.
5894 * sysdeps/i386/fpu/libm-test-ulps: Update.
5895 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5897 2014-03-25 Andreas Schwab <schwab@suse.de>
5899 * libio/Makefile (tst-ftell-partial-wide-ENV)
5900 (tst-ftell-active-handler-ENV): Define.
5902 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
5904 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
5906 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
5908 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
5910 2014-03-24 Joseph Myers <joseph@codesourcery.com>
5912 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
5913 * sysdeps/x86_64/fpu/multiarch/e_exp.c
5914 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5916 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
5919 * elf/dl-load.c (open_verify): Add mode parameter.
5920 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
5921 (open_path): Change from boolean 'secure' to complete flag 'mode'
5922 (_dl_map_object): Adjust.
5923 * elf/Makefile (tests): Add tst-dlopen-aout.
5924 * elf/tst-dlopen-aout.c: New test.
5926 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
5929 * sysdeps/unix/sysv/linux/s390/bits/stat.h
5930 (struct stat): Rename member pad0 to __glibc_reserved0.
5933 * sysdeps/s390/s390-32/bits/wordsize.h
5934 (__WORDSIZE32_SIZE_ULONG): New define.
5935 * sysdeps/s390/s390-64/bits/wordsize.h
5936 (__WORDSIZE32_SIZE_ULONG): Likewise.
5937 * sysdeps/generic/stdint.h (SIZE_MAX):
5938 Define as UL if __WORDSIZE32_SIZE_ULONG.
5941 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
5942 (__glibc_reserved0): New variable.
5943 (sa_flags): Change type to int.
5945 * posix/Makefile (before-compile): Use += before-compile instead
5948 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5949 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
5951 2014-03-20 Andreas Schwab <schwab@suse.de>
5954 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
5955 non-matching result from nscd.
5957 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5959 * scripts/bench.py: Moved to ...
5960 * benchtests/scripts/bench.py: ... here.
5961 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
5963 2014-03-24 Andreas Schwab <schwab@suse.de>
5966 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
5967 alloca_account and account alloca use for struct in6ailist.
5969 2014-03-24 Joseph Myers <joseph@codesourcery.com>
5972 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
5973 rounding mode to recompute results that overflow to infinity or
5975 * math/auto-libm-test-in: Don't mark tests as expected to fail for
5977 * math/auto-libm-test-out: Regenerated.
5978 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
5979 (ccosh_test): Likewise.
5980 (csin_test_data): Use plus_oflow.
5981 (csin_test): Use ALL_RM_TEST.
5982 (csinh_test_data): Use plus_oflow.
5983 (csinh_test): Use ALL_RM_TEST.
5984 * sysdeps/i386/fpu/libm-test-ulps: Update.
5985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5987 2014-03-21 Joseph Myers <joseph@codesourcery.com>
5989 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
5990 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
5991 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
5994 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
5996 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
5997 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
5998 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
5999 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
6001 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
6002 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
6004 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
6005 * sysdeps/i386/fpu/libm-test-ulps: Update.
6006 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6008 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6010 * scripts/bench.pl: Remove file.
6011 * scripts/bench.py: New benchmark script.
6012 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
6013 * benchtests/README: Mention python dependency.
6014 * scripts/pylintrc: New file.
6015 * scripts/pylint: New file.
6017 * bits/mathdef.h: Use #ifdef instead of #if.
6018 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
6019 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6020 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
6021 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6022 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
6023 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6025 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6026 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6028 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
6029 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
6030 and strpbrk-ppc64 objects.
6031 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6032 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
6033 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
6034 multiarch strpbrk for POWER7.
6035 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
6036 multiarch strpbrk for PPC64.
6037 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
6039 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
6042 2014-03-20 Joseph Myers <joseph@codesourcery.com>
6044 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
6045 (atan_test): Likewise.
6046 (atanh_test_data): Use NO_TEST_INLINE for two tests.
6047 (atanh_test): Use ALL_RM_TEST.
6048 (atan2_test_data): Likewise.
6049 (cabs_test): Likewise.
6050 (cacosh_test): Likewise.
6051 (carg_test): Likewise.
6052 (casin_test): Likewise.
6053 (casinh_test): Likewise.
6054 (cbrt_test): Likewise.
6055 (csqrt_test): Likewise.
6056 (erf_test): Likewise.
6057 (erfc_test): Likewise.
6058 (pow10_test): Likewise.
6059 (exp2_test): Likewise.
6060 (hypot_test): Likewise.
6061 (j0_test): Likewise.
6062 (j1_test): Likewise.
6063 (lgamma_test): Likewise.
6064 (gamma_test): Likewise.
6065 (sincos_test): Likewise.
6066 (tanh_test): Likewise.
6067 (y0_test): Likewise.
6068 (y1_test): Likewise.
6069 * sysdeps/i386/fpu/libm-test-ulps: Update.
6070 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6072 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6074 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
6075 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6076 and strcspn-ppc64 objects.
6077 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6078 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
6079 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
6080 multiarch strcspn for POWER7.
6081 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
6082 multiarch strcspn for PPC64.
6083 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
6085 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
6088 2014-03-20 Joseph Myers <joseph@codesourcery.com>
6090 * math/gen-libm-test.pl (generate_testfile): Expect only function
6091 name as argument to AUTO_TESTS_* and pass results for all rounding
6092 modes to parse_args.
6093 (parse_auto_input): Separate inputs of automatic tests from
6094 outputs before storing in %auto_tests.
6095 * math/libm-test.inc (acos_test_data): Update call to
6097 (acos_test): Use ALL_RM_TEST.
6098 (acos_tonearest_test_data): Remove.
6099 (acos_test_tonearest): Likewise.
6100 (acos_towardzero_test_data): Likewise.
6101 (acos_test_towardzero): Likewise.
6102 (acos_downward_test_data): Likewise.
6103 (acos_test_downward): Likewise.
6104 (acos_upward_test_data): Likewise.
6105 (acos_test_upward): Likewise.
6106 (acosh_test_data): Update call to AUTO_TESTS_f_f.
6107 (asin_test_data): Likewise.
6108 (asin_test): Use ALL_RM_TEST.
6109 (asin_tonearest_test_data): Remove.
6110 (asin_test_tonearest): Likewise.
6111 (asin_towardzero_test_data): Likewise.
6112 (asin_test_towardzero): Likewise.
6113 (asin_downward_test_data): Likewise.
6114 (asin_test_downward): Likewise.
6115 (asin_upward_test_data): Likewise.
6116 (asin_test_upward): Likewise.
6117 (asinh_test_data): Update call to AUTO_TESTS_f_f.
6118 (atan_test_data): Likewise.
6119 (atanh_test_data): Likewise.
6120 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
6121 (cabs_test_data): Update call to AUTO_TESTS_c_f.
6122 (carg_test_data): Likewise.
6123 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
6124 (ccos_test_data): Update call to AUTO_TESTS_c_c.
6125 (ccosh_test_data): Likewise.
6126 (cexp_test_data): Likewise.
6127 (clog_test_data): Likewise.
6128 (clog10_test_data): Likewise.
6129 (cos_test_data): Update call to AUTO_TESTS_f_f.
6130 (cos_test): Use ALL_RM_TEST.
6131 (cos_tonearest_test_data): Remove.
6132 (cos_test_tonearest): Likewise.
6133 (cos_towardzero_test_data): Likewise.
6134 (cos_test_towardzero): Likewise.
6135 (cos_downward_test_data): Likewise.
6136 (cos_test_downward): Likewise.
6137 (cos_upward_test_data): Likewise.
6138 (cos_test_upward): Likewise.
6139 (cosh_test_data): Update call to AUTO_TESTS_f_f.
6140 (cosh_test): Use ALL_RM_TEST.
6141 (cosh_tonearest_test_data): Remove.
6142 (cosh_test_tonearest): Likewise.
6143 (cosh_towardzero_test_data): Likewise.
6144 (cosh_test_towardzero): Likewise.
6145 (cosh_downward_test_data): Likewise.
6146 (cosh_test_downward): Likewise.
6147 (cosh_upward_test_data): Likewise.
6148 (cosh_test_upward): Likewise.
6149 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
6150 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
6151 (ctan_test_data): Likewise.
6152 (ctan_test): Use ALL_RM_TEST.
6153 (ctan_tonearest_test_data): Remove.
6154 (ctan_test_tonearest): Likewise.
6155 (ctan_towardzero_test_data): Likewise.
6156 (ctan_test_towardzero): Likewise.
6157 (ctan_downward_test_data): Likewise.
6158 (ctan_test_downward): Likewise.
6159 (ctan_upward_test_data): Likewise.
6160 (ctan_test_upward): Likewise.
6161 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
6162 (ctanh_test): Use ALL_RM_TEST.
6163 (ctanh_tonearest_test_data): Remove.
6164 (ctanh_test_tonearest): Likewise.
6165 (ctanh_towardzero_test_data): Likewise.
6166 (ctanh_test_towardzero): Likewise.
6167 (ctanh_downward_test_data): Likewise.
6168 (ctanh_test_downward): Likewise.
6169 (ctanh_upward_test_data): Likewise.
6170 (ctanh_test_upward): Likewise.
6171 (erf_test_data): Update call to AUTO_TESTS_f_f.
6172 (erfc_test_data): Likewise.
6173 (exp_test_data): Likewise.
6174 (exp_test): Use ALL_RM_TEST.
6175 (exp_tonearest_test_data): Remove.
6176 (exp_test_tonearest): Likewise.
6177 (exp_towardzero_test_data): Likewise.
6178 (exp_test_towardzero): Likewise.
6179 (exp_downward_test_data): Likewise.
6180 (exp_test_downward): Likewise.
6181 (exp_upward_test_data): Likewise.
6182 (exp_test_upward): Likewise.
6183 (exp10_test_data): Update call to AUTO_TESTS_f_f.
6184 (exp10_test): Use ALL_RM_TEST.
6185 (exp10_tonearest_test_data): Remove.
6186 (exp10_test_tonearest): Likewise.
6187 (exp10_towardzero_test_data): Likewise.
6188 (exp10_test_towardzero): Likewise.
6189 (exp10_downward_test_data): Likewise.
6190 (exp10_test_downward): Likewise.
6191 (exp10_upward_test_data): Likewise.
6192 (exp10_test_upward): Likewise.
6193 (exp2_test_data): Update call to AUTO_TESTS_f_f.
6194 (expm1_test_data): Likewise.
6195 (expm1_test): Use ALL_RM_TEST.
6196 (expm1_tonearest_test_data): Remove.
6197 (expm1_test_tonearest): Likewise.
6198 (expm1_towardzero_test_data): Likewise.
6199 (expm1_test_towardzero): Likewise.
6200 (expm1_downward_test_data): Likewise.
6201 (expm1_test_downward): Likewise.
6202 (expm1_upward_test_data): Likewise.
6203 (expm1_test_upward): Likewise.
6204 (fma_test_data): Update call to AUTO_TESTS_fff_f.
6205 (fma_test): Use ALL_RM_TEST.
6206 (fma_towardzero_test_data): Remove.
6207 (fma_test_towardzero): Likewise.
6208 (fma_downward_test_data): Likewise.
6209 (fma_test_downward): Likewise.
6210 (fma_upward_test_data): Likewise.
6211 (fma_test_upward): Likewise.
6212 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
6213 (j0_test_data): Update call to AUTO_TESTS_f_f.
6214 (j1_test_data): Likewise.
6215 (jn_test_data): Update call to AUTO_TESTS_if_f.
6216 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
6217 (log_test_data): Update call to AUTO_TESTS_f_f.
6218 (log10_test_data): Likewise.
6219 (log1p_test_data): Likewise.
6220 (log2_test_data): Likewise.
6221 (pow_test_data): Update call to AUTO_TESTS_ff_f.
6222 (pow_tonearest_test_data): Likewise.
6223 (sin_test_data): Update call to AUTO_TESTS_f_f.
6224 (sin_test): Use ALL_RM_TEST.
6225 (sin_tonearest_test_data): Remove.
6226 (sin_test_tonearest): Likewise.
6227 (sin_towardzero_test_data): Likewise.
6228 (sin_test_towardzero): Likewise.
6229 (sin_downward_test_data): Likewise.
6230 (sin_test_downward): Likewise.
6231 (sin_upward_test_data): Likewise.
6232 (sin_test_upward): Likewise.
6233 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
6234 (sinh_test_data): Update call to AUTO_TESTS_f_f.
6235 (sinh_test): Use ALL_RM_TEST.
6236 (sinh_tonearest_test_data): Remove.
6237 (sinh_test_tonearest): Likewise.
6238 (sinh_towardzero_test_data): Likewise.
6239 (sinh_test_towardzero): Likewise.
6240 (sinh_downward_test_data): Likewise.
6241 (sinh_test_downward): Likewise.
6242 (sinh_upward_test_data): Likewise.
6243 (sinh_test_upward): Likewise.
6244 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
6245 (sqrt_test): Use ALL_RM_TEST.
6246 (sqrt_tonearest_test_data): Remove.
6247 (sqrt_test_tonearest): Likewise.
6248 (sqrt_towardzero_test_data): Likewise.
6249 (sqrt_test_towardzero): Likewise.
6250 (sqrt_downward_test_data): Likewise.
6251 (sqrt_test_downward): Likewise.
6252 (sqrt_upward_test_data): Likewise.
6253 (sqrt_test_upward): Likewise.
6254 (tan_test_data): Update call to AUTO_TESTS_f_f.
6255 (tan_test): Use ALL_RM_TEST.
6256 (tan_tonearest_test_data): Remove.
6257 (tan_test_tonearest): Likewise.
6258 (tan_towardzero_test_data): Likewise.
6259 (tan_test_towardzero): Likewise.
6260 (tan_downward_test_data): Likewise.
6261 (tan_test_downward): Likewise.
6262 (tan_upward_test_data): Likewise.
6263 (tan_test_upward): Likewise.
6264 (tanh_test_data): Update call to AUTO_TESTS_f_f.
6265 (tgamma_test_data): Likewise.
6266 (y0_test_data): Likewise.
6267 (y1_test_data): Likewise.
6268 (yn_test_data): Update call to AUTO_TESTS_if_f.
6269 (main): Do not call removed functions.
6271 2014-03-19 Joseph Myers <joseph@codesourcery.com>
6273 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
6274 (ldexp_test_data): Remove.
6275 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
6277 (scalb_test): Use ALL_RM_TEST.
6279 2014-03-19 Andreas Schwab <schwab@suse.de>
6281 * nscd/nscd.service: Also invalidate netgroup cache on reload.
6283 2014-03-19 Joseph Myers <joseph@codesourcery.com>
6286 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6287 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
6288 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
6289 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6290 (__ASSUME_PREADV): Undefine.
6291 (__ASSUME_PWRITEV): Likewise.
6293 2014-03-18 Roland McGrath <roland@hack.frob.com>
6295 * bits/mman-linux.h: Add comment about non-Linux use.
6296 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
6297 bits/mman-linux.h resting place.
6299 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
6300 * bits/mman-linux.h: ... here.
6302 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6304 * conform/conformtest.pl: Add standard definition when calling C
6305 preprocessor on data files.
6306 (checknamespace): Remove unused variable.
6308 2014-03-18 Joseph Myers <joseph@codesourcery.com>
6310 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
6311 minus_oflow, plus_uflow and minus_uflow in expected results.
6312 * math/libm-test.inc (scalbn_test_data): Add more tests of
6313 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
6315 (scalbn_test): Use ALL_RM_TEST.
6316 (scalbln_test_data): Add more tests of negative arguments. Use
6317 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
6318 (scalbln_test): Use ALL_RM_TEST.
6320 2014-03-18 Roland McGrath <roland@hack.frob.com>
6322 * scripts/abilist.awk: Ignore symbols marked with .hidden.
6324 2014-03-18 Will Newton <will.newton@linaro.org>
6326 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
6329 2014-03-18 Joseph Myers <joseph@codesourcery.com>
6331 * Makerules [!subdir] (check-abi): Exit with error status if a
6334 2014-03-17 Joseph Myers <joseph@codesourcery.com>
6336 * math/libm-test.inc (nearbyint_test_data): Include all tests used
6337 for rint. Include results for all rounding modes.
6338 (nearbyint_test): Use ALL_RM_TEST.
6339 (rint_test_data): Include all tests used for nearbyint.
6341 2014-03-17 Will Newton <will.newton@linaro.org>
6343 * nptl/sysdeps/pthread/pthread.h: Revert previous
6346 * sysdeps/generic/ldsodefs.h: Revert previous
6349 * libio/genops.c: Revert previous change.
6350 * libio/libioP.h: Likewise.
6351 * stdio-common/vfprintf.c: Likewise.
6353 * sysdeps/generic/math_private.h: Revert previous
6356 * sysdeps/generic/math_private.h: Check whether
6357 HAVE_RM_CTX is defined with #ifdef rather
6360 * argp/argp-fmtstream.h: Check whether
6361 __STRICT_ANSI__ is defined with #ifdef rather
6363 * argp/argp.h: Likewise.
6365 * libio/genops.c: Check whether
6366 _IO_JUMPS_OFFSET is defined with #ifdef rather
6368 * libio/libioP.h: Likewise.
6369 * stdio-common/vfprintf.c: Likewise.
6371 * sysdeps/generic/ldsodefs.h: Check whether
6372 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
6375 * nptl/sysdeps/pthread/pthread.h: Check
6376 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
6379 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6381 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
6383 * libio/tst-ftell-active-handler.c (do_append_test): Add a
6387 * libio/fileops.c (_IO_file_open): Seek to end of file but
6388 don't cache the offset.
6389 (get_file_offset): Remove function.
6390 (do_ftell): Use cached offset when available.
6391 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
6392 don't cache the offset.
6393 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
6395 (do_one_test): Call it.
6396 (do_ftell_test): Fix up expected old offset for a+ mode.
6397 * libio/wfileops.c (do_ftell_wide): Used cached offset when
6400 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
6401 up test status with function return status.
6402 (do_write_test): Likewise.
6403 (do_append_test): Likewise.
6405 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
6406 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
6409 2014-03-17 Joseph Myers <joseph@codesourcery.com>
6411 * math/gen-libm-test.pl (parse_args): Handle results specified for
6412 each rounding mode separately.
6413 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
6414 tests and results from lrint_tonearest_test_data,
6415 lrint_towardzero_test_data, lrint_downward_test_data and
6416 lrint_upward_test_data.
6417 (lrint_test): Use ALL_RM_TEST.
6418 (lrint_tonearest_test_data): Remove.
6419 (lrint_test_tonearest): Likewise.
6420 (lrint_towardzero_test_data): Likewise.
6421 (lrint_test_towardzero): Likewise.
6422 (lrint_downward_test_data): Likewise.
6423 (lrint_test_downward): Likewise.
6424 (lrint_upward_test_data): Likewise.
6425 (lrint_test_upward): Likewise.
6426 (llrint_test_data): Merge in per-rounding-mode tests and results
6427 from llrint_tonearest_test_data, llrint_towardzero_test_data,
6428 llrint_downward_test_data and llrint_upward_test_data.
6429 (llrint_test): Use ALL_RM_TEST.
6430 (llrint_tonearest_test_data): Remove.
6431 (llrint_test_tonearest): Likewise.
6432 (llrint_towardzero_test_data): Likewise.
6433 (llrint_test_towardzero): Likewise.
6434 (llrint_downward_test_data): Likewise.
6435 (llrint_test_downward): Likewise.
6436 (llrint_upward_test_data): Likewise.
6437 (llrint_test_upward): Likewise.
6438 (rint_test_data): Merge in per-rounding-mode tests and results
6439 from rint_tonearest_test_data, rint_towardzero_test_data,
6440 rint_downward_test_data and rint_upward_test_data. Add
6441 per-rounding-mode results for tests not in those arrays.
6442 (rint_test): Use ALL_RM_TEST.
6443 (rint_tonearest_test_data): Remove.
6444 (rint_test_tonearest): Likewise.
6445 (rint_towardzero_test_data): Likewise.
6446 (rint_test_towardzero): Likewise.
6447 (rint_downward_test_data): Likewise.
6448 (rint_test_downward): Likewise.
6449 (rint_upward_test_data): Likewise.
6450 (rint_test_upward): Likewise.
6451 (main): Don't call removed functions.
6453 2014-03-14 Roland McGrath <roland@hack.frob.com>
6455 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
6456 "Compiled on ..." crapola. It is anti-useful.
6458 2014-03-14 Joseph Myers <joseph@codesourcery.com>
6460 * scripts/evaluate-test.sh: Handle fourth argument to determine
6461 whether test run should stop on failure.
6462 * Makeconfig (stop-on-test-failure): New variable.
6463 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
6464 $(stop-on-test-failure).
6465 * Makefile (tests): Give a summary of results from testing and
6466 exit with failure status if they include an ERROR or FAIL.
6468 * manual/install.texi (Configuring and compiling): Mention
6469 stop-on-test-failure=y.
6470 * INSTALL: Regenerated.
6472 2014-03-14 Roland McGrath <roland@hack.frob.com>
6474 * scripts/versionlist.awk: New file.
6475 * Makerules [$(build-shared) = yes]
6476 (postclean-generated): Add Versions.def, not Versions.def.v and
6478 ($(common-objpfx)Versions.def.v.i): Target removed.
6479 ($(common-objpfx)Versions.def): New target.
6480 ($(common-objpfx)Versions.all): Depend on that rather that
6481 $(common-objpfx)Versions.def.v.
6482 * Versions.def: File removed.
6484 * Makeconfig (+gccwarn): Add -Wundef.
6485 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
6486 a dl-sysdep.h breaking its contract.
6487 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
6488 * include/stackinfo.h: New file.
6489 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
6490 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
6491 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
6492 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
6493 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
6494 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
6495 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6496 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6497 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6498 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6499 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6500 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
6501 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6502 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6503 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6505 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6508 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
6510 * math/libm-test.inc (round_test_data): Add more tests.
6513 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
6515 * math/libm-test.inc (nearbyint_test_data): Add more tests.
6518 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
6520 * math/libm-test.inc (ceil_test_data): Add more tests.
6522 * math/libm-test.inc (trunc_test_data): Add more tests related to
6525 2014-03-14 Roland McGrath <roland@hack.frob.com>
6527 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
6528 with #if rather than #ifdef.
6529 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
6531 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
6533 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
6534 first. Disable AVX-512 GCC support if assembler doesn't support
6536 * sysdeps/x86_64/configure: Regenerated.
6538 2014-03-13 Carlos O'Donell <carlos@redhat.com>
6540 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
6541 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
6542 (__old_pthread_attr_setstack): Likewise.
6543 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
6544 [!_STACK_GROWS_DOWN]: Likewise.
6546 2014-03-13 Mike Frysinger <vapier@gentoo.org>
6548 * config.make.in (have-bash2): Delete.
6549 * configure.ac (libc_cv_have_bash2): Delete.
6550 * configure: Regenerate.
6551 * elf/Makefile (common-ldd-rewrite): Rename to ...
6552 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
6553 (sh-ldd-rewrite): Delete.
6554 (bash-ldd-rewrite): Delete.
6555 (have-bash2): Delete checks.
6556 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
6559 * config.make.in (have-ksh): Delete.
6561 * configure.ac (libc_cv_have_ksh): Delete.
6562 * configure: Regenerate.
6564 * elf/Makefile: Delete $(have-ksh) check.
6565 ($(objpfx)sotruss): Change KSH to BASH.
6566 * elf/sotruss.ksh: Rename to ...
6567 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
6568 function style to match POSIX. Drop ksh vim mode setting.
6570 * manual/time.texi (Specifying the Time Zone with TZ): Change
6571 Tuesday to Thursday.
6573 * debug/tst-longjmp_chk2.c: Update header comment.
6574 (stackoverflow_handler): Add comment. Call assert on pass value.
6576 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
6578 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
6579 (HAVE_AVX512_ASM_SUPPORT): Likewise.
6580 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
6581 (La_x86_64_vector): Add zmm.
6582 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
6583 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
6584 ($(objpfx)tst-audit10): New target.
6585 ($(objpfx)tst-audit10.out): Likewise.
6586 (tst-audit10-ENV): New.
6587 (AVX512-CFLAGS): Likewise.
6588 (CFLAGS-tst-audit10.c): Likewise.
6589 (CFLAGS-tst-auditmod10a.c): Likewise.
6590 (CFLAGS-tst-auditmod10b.c): Likewise.
6591 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
6592 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
6593 * sysdeps/x86_64/configure: Regenerated.
6594 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
6595 AVX-512 zmm register support.
6596 (_dl_x86_64_save_sse): Likewise.
6597 (_dl_x86_64_restore_sse): Likewise.
6598 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
6599 size vector registers.
6600 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
6601 (ZMM_SIZE): Likewise.
6602 * sysdeps/x86_64/tst-audit10.c: New file.
6603 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
6604 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
6606 2014-03-13 Roland McGrath <roland@hack.frob.com>
6608 * configure.ac (HAVE_EHDR_START): New check.
6609 * configure: Regenerated.
6610 * config.h.in (HAVE_EHDR_START): New #undef.
6611 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
6612 assuming the lowest-addressed segment maps the start of the file.
6614 2014-03-13 Joseph Myers <joseph@codesourcery.com>
6616 * INSTALL: Regenerated.
6618 2014-03-13 Will Newton <will.newton@linaro.org>
6620 * manual/setjmp.texi (System V contexts): Improve
6621 clarity and grammar of documentation.
6623 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
6626 * elf/Makefile (tests): Add tst-pie2.
6627 (tests-pie): Add tst-pie2.
6628 * elf/tst-pie2.c: New file.
6629 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
6631 * elf/rtld.c (map_doit): Load executable as lt_executable.
6632 (dl_main): Likewise.
6634 2014-03-12 Joseph Myers <joseph@codesourcery.com>
6637 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6638 (__ASSUME_PSELECT): Undefine.
6640 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6643 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
6644 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
6646 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
6647 selector for static builds.
6649 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6652 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
6655 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6657 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
6658 IFUNC selector for static builds.
6660 2014-03-11 Joseph Myers <joseph@codesourcery.com>
6662 * sysdeps/mips/math_private.h [__mips_hard_float]
6663 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
6664 libc_feresetround_mips_ctx.
6665 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
6666 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
6667 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
6670 * math/s_nextafter.c (__nextafter): Do not return value from
6671 overflowing computation.
6672 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
6673 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
6674 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
6676 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
6678 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
6679 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
6681 2014-03-11 Roland McGrath <roland@hack.frob.com>
6683 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
6684 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
6685 Move sfi_sp use from the load-multiple (that no longer sets sp) to
6686 the new mov targetting sp.
6688 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6691 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
6692 Define it for static builds as well.
6693 (NO_BZERO_IMPL): Likewise.
6695 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6697 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
6698 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
6699 multiarch strspn for PPC64.
6700 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
6701 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
6702 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6703 (__libc_ifunc_impl_list): Likewise.
6704 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
6705 multiarch optimizations
6706 * string/strspn.c (strspn): Using macro to redefine symbol name.
6708 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6709 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6711 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
6712 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
6713 multiarch strncat for PPC64.
6714 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
6715 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
6716 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6717 (__libc_ifunc_impl_list): Likewise.
6718 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
6719 multiarch optimizations
6721 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6724 * nscd/nscd.service: Make service type forking.
6726 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6728 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
6729 sign in non default rounding modes.
6730 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6732 2014-03-08 Joseph Myers <joseph@codesourcery.com>
6734 * math/libm-test.inc (ALL_RM_TEST): New macro.
6735 (ceil_test): Use ALL_RM_TEST.
6736 (cimag_test): Likewise.
6737 (conj_test): Likewise.
6738 (copysign_test): Likewise.
6739 (cproj_test): Likewise.
6740 (creal_test): Likewise.
6741 (fabs_test): Likewise.
6742 (floor_test): Likewise.
6743 (fmax_test): Likewise.
6744 (fmin_test): Likewise.
6745 (fmod_test): Likewise.
6746 (fpclassify_test): Likewise.
6747 (frexp_test): Likewise.
6748 (ilogb_test): Likewise.
6749 (isfinite_test): Likewise.
6750 (finite_test): Likewise.
6751 (isgreater_test): Likewise.
6752 (isgreaterequal_test): Likewise.
6753 (isinf_test): Likewise.
6754 (isless_test): Likewise.
6755 (islessequal_test): Likewise.
6756 (islessgreater_test): Likewise.
6757 (isnan_test): Likewise.
6758 (isnormal_test): Likewise.
6759 (issignaling_test): Likewise.
6760 (isunordered_test): Likewise.
6761 (logb_test): Likewise.
6762 (logb_downward_test_data): Remove.
6763 (logb_test_downward): Likewise.
6764 (lround_test): Use ALL_RM_TEST.
6765 (llround_test): Likewise.
6766 (modf_test): Likewise.
6767 (nexttoward_test): Likewise.
6768 (remainder_test): Likewise.
6769 (drem_test): Likewise.
6770 (remainder_tonearest_test_data): Likewise.
6771 (remainder_test_tonearest): Likewise.
6772 (drem_test_tonearest): Likewise.
6773 (remainder_towardzero_test_data): Likewise.
6774 (remainder_test_towardzero): Likewise.
6775 (drem_test_towardzero): Likewise.
6776 (remainder_downward_test_data): Likewise.
6777 (remainder_test_downward): Likewise.
6778 (drem_test_downward): Likewise.
6779 (remainder_upward_test_data): Likewise.
6780 (remainder_test_upward): Likewise.
6781 (drem_test_upward): Likewise.
6782 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
6783 (round_test): Use ALL_RM_TEST.
6784 (signbit_test): Likewise.
6785 (trunc_test): Likewise.
6786 (significand_test): Likewise.
6787 (main): Don't call removed functions.
6789 2014-03-07 Joseph Myers <joseph@codesourcery.com>
6792 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
6794 (ILL_ILLOPN): Likewise.
6795 (ILL_ILLADR): Likewise.
6796 (ILL_ILLTRP): Likewise.
6797 (ILL_PRVOPC): Likewise.
6798 (ILL_PRVREG): Likewise.
6799 (ILL_COPROC): Likewise.
6800 (ILL_BADSTK): Likewise.
6801 (FPE_INTDIV): Likewise.
6802 (FPE_INTOVF): Likewise.
6803 (FPE_FLTDIV): Likewise.
6804 (FPE_FLTOVF): Likewise.
6805 (FPE_FLTUND): Likewise.
6806 (FPE_FLTRES): Likewise.
6807 (FPE_FLTINV): Likewise.
6808 (FPE_FLTSUB): Likewise.
6809 (SEGV_MAPERR): Likewise.
6810 (SEGV_ACCERR): Likewise.
6811 (BUS_ADRALN): Likewise.
6812 (BUS_ADRERR): Likewise.
6813 (BUS_OBJERR): Likewise.
6814 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6815 (TRAP_TRACE): Likewise.
6816 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6818 (CLD_KILLED): Likewise.
6819 (CLD_DUMPED): Likewise.
6820 (CLD_TRAPPED): Likewise.
6821 (CLD_STOPPED): Likewise.
6822 (CLD_CONTINUED): Likewise.
6823 (POLL_IN): Likewise.
6824 (POLL_OUT): Likewise.
6825 (POLL_MSG): Likewise.
6826 (POLL_ERR): Likewise.
6827 (POLL_PRI): Likewise.
6828 (POLL_HUP): Likewise.
6829 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
6831 (ILL_ILLOPN): Likewise.
6832 (ILL_ILLADR): Likewise.
6833 (ILL_ILLTRP): Likewise.
6834 (ILL_PRVOPC): Likewise.
6835 (ILL_PRVREG): Likewise.
6836 (ILL_COPROC): Likewise.
6837 (ILL_BADSTK): Likewise.
6838 (FPE_INTDIV): Likewise.
6839 (FPE_INTOVF): Likewise.
6840 (FPE_FLTDIV): Likewise.
6841 (FPE_FLTOVF): Likewise.
6842 (FPE_FLTUND): Likewise.
6843 (FPE_FLTRES): Likewise.
6844 (FPE_FLTINV): Likewise.
6845 (FPE_FLTSUB): Likewise.
6846 (SEGV_MAPERR): Likewise.
6847 (SEGV_ACCERR): Likewise.
6848 (BUS_ADRALN): Likewise.
6849 (BUS_ADRERR): Likewise.
6850 (BUS_OBJERR): Likewise.
6851 (BUS_MCEERR_AR): Likewise.
6852 (BUS_MCEERR_AO): Likewise.
6853 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6854 (TRAP_TRACE): Likewise.
6855 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6857 (CLD_KILLED): Likewise.
6858 (CLD_DUMPED): Likewise.
6859 (CLD_TRAPPED): Likewise.
6860 (CLD_STOPPED): Likewise.
6861 (CLD_CONTINUED): Likewise.
6862 (POLL_IN): Likewise.
6863 (POLL_OUT): Likewise.
6864 (POLL_MSG): Likewise.
6865 (POLL_ERR): Likewise.
6866 (POLL_PRI): Likewise.
6867 (POLL_HUP): Likewise.
6868 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
6869 (ILL_ILLOPN): Likewise.
6870 (ILL_ILLADR): Likewise.
6871 (ILL_ILLTRP): Likewise.
6872 (ILL_PRVOPC): Likewise.
6873 (ILL_PRVREG): Likewise.
6874 (ILL_COPROC): Likewise.
6875 (ILL_BADSTK): Likewise.
6876 (FPE_INTDIV): Likewise.
6877 (FPE_INTOVF): Likewise.
6878 (FPE_FLTDIV): Likewise.
6879 (FPE_FLTOVF): Likewise.
6880 (FPE_FLTUND): Likewise.
6881 (FPE_FLTRES): Likewise.
6882 (FPE_FLTINV): Likewise.
6883 (FPE_FLTSUB): Likewise.
6884 (SEGV_MAPERR): Likewise.
6885 (SEGV_ACCERR): Likewise.
6886 (BUS_ADRALN): Likewise.
6887 (BUS_ADRERR): Likewise.
6888 (BUS_OBJERR): Likewise.
6889 (BUS_MCEERR_AR): Likewise.
6890 (BUS_MCEERR_AO): Likewise.
6891 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6892 (TRAP_TRACE): Likewise.
6893 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6895 (CLD_KILLED): Likewise.
6896 (CLD_DUMPED): Likewise.
6897 (CLD_TRAPPED): Likewise.
6898 (CLD_STOPPED): Likewise.
6899 (CLD_CONTINUED): Likewise.
6900 (POLL_IN): Likewise.
6901 (POLL_OUT): Likewise.
6902 (POLL_MSG): Likewise.
6903 (POLL_ERR): Likewise.
6904 (POLL_PRI): Likewise.
6905 (POLL_HUP): Likewise.
6906 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
6908 (ILL_ILLOPN): Likewise.
6909 (ILL_ILLADR): Likewise.
6910 (ILL_ILLTRP): Likewise.
6911 (ILL_PRVOPC): Likewise.
6912 (ILL_PRVREG): Likewise.
6913 (ILL_COPROC): Likewise.
6914 (ILL_BADSTK): Likewise.
6915 (ILL_BADIADDR): Likewise.
6916 (ILL_BREAK): Likewise.
6917 (FPE_INTDIV): Likewise.
6918 (FPE_INTOVF): Likewise.
6919 (FPE_FLTDIV): Likewise.
6920 (FPE_FLTOVF): Likewise.
6921 (FPE_FLTUND): Likewise.
6922 (FPE_FLTRES): Likewise.
6923 (FPE_FLTINV): Likewise.
6924 (FPE_FLTSUB): Likewise.
6925 (FPE_DECOVF): Likewise.
6926 (FPE_DECDIV): Likewise.
6927 (FPE_DECERR): Likewise.
6928 (FPE_INVASC): Likewise.
6929 (FPE_INVDEC): Likewise.
6930 (SEGV_MAPERR): Likewise.
6931 (SEGV_ACCERR): Likewise.
6932 (SEGV_PSTKOVF): Likewise.
6933 (BUS_ADRALN): Likewise.
6934 (BUS_ADRERR): Likewise.
6935 (BUS_OBJERR): Likewise.
6936 (BUS_MCEERR_AR): Likewise.
6937 (BUS_MCEERR_AO): Likewise.
6938 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6939 (TRAP_TRACE): Likewise.
6940 (TRAP_BRANCH): Likewise.
6941 (TRAP_HWBKPT): Likewise.
6942 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6944 (CLD_KILLED): Likewise.
6945 (CLD_DUMPED): Likewise.
6946 (CLD_TRAPPED): Likewise.
6947 (CLD_STOPPED): Likewise.
6948 (CLD_CONTINUED): Likewise.
6949 (POLL_IN): Likewise.
6950 (POLL_OUT): Likewise.
6951 (POLL_MSG): Likewise.
6952 (POLL_ERR): Likewise.
6953 (POLL_PRI): Likewise.
6954 (POLL_HUP): Likewise.
6955 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
6956 (ILL_ILLOPN): Likewise.
6957 (ILL_ILLADR): Likewise.
6958 (ILL_ILLTRP): Likewise.
6959 (ILL_PRVOPC): Likewise.
6960 (ILL_PRVREG): Likewise.
6961 (ILL_COPROC): Likewise.
6962 (ILL_BADSTK): Likewise.
6963 (FPE_INTDIV): Likewise.
6964 (FPE_INTOVF): Likewise.
6965 (FPE_FLTDIV): Likewise.
6966 (FPE_FLTOVF): Likewise.
6967 (FPE_FLTUND): Likewise.
6968 (FPE_FLTRES): Likewise.
6969 (FPE_FLTINV): Likewise.
6970 (FPE_FLTSUB): Likewise.
6971 (SEGV_MAPERR): Likewise.
6972 (SEGV_ACCERR): Likewise.
6973 (BUS_ADRALN): Likewise.
6974 (BUS_ADRERR): Likewise.
6975 (BUS_OBJERR): Likewise.
6976 (BUS_MCEERR_AR): Likewise.
6977 (BUS_MCEERR_AO): Likewise.
6978 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6979 (TRAP_TRACE): Likewise.
6980 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6982 (CLD_KILLED): Likewise.
6983 (CLD_DUMPED): Likewise.
6984 (CLD_TRAPPED): Likewise.
6985 (CLD_STOPPED): Likewise.
6986 (CLD_CONTINUED): Likewise.
6987 (POLL_IN): Likewise.
6988 (POLL_OUT): Likewise.
6989 (POLL_MSG): Likewise.
6990 (POLL_ERR): Likewise.
6991 (POLL_PRI): Likewise.
6992 (POLL_HUP): Likewise.
6993 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
6994 (ILL_ILLOPN): Likewise.
6995 (ILL_ILLADR): Likewise.
6996 (ILL_ILLTRP): Likewise.
6997 (ILL_PRVOPC): Likewise.
6998 (ILL_PRVREG): Likewise.
6999 (ILL_COPROC): Likewise.
7000 (ILL_BADSTK): Likewise.
7001 (FPE_INTDIV): Likewise.
7002 (FPE_INTOVF): Likewise.
7003 (FPE_FLTDIV): Likewise.
7004 (FPE_FLTOVF): Likewise.
7005 (FPE_FLTUND): Likewise.
7006 (FPE_FLTRES): Likewise.
7007 (FPE_FLTINV): Likewise.
7008 (FPE_FLTSUB): Likewise.
7009 (SEGV_MAPERR): Likewise.
7010 (SEGV_ACCERR): Likewise.
7011 (BUS_ADRALN): Likewise.
7012 (BUS_ADRERR): Likewise.
7013 (BUS_OBJERR): Likewise.
7014 (BUS_MCEERR_AR): Likewise.
7015 (BUS_MCEERR_AO): Likewise.
7016 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7017 (TRAP_TRACE): Likewise.
7018 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7020 (CLD_KILLED): Likewise.
7021 (CLD_DUMPED): Likewise.
7022 (CLD_TRAPPED): Likewise.
7023 (CLD_STOPPED): Likewise.
7024 (CLD_CONTINUED): Likewise.
7025 (POLL_IN): Likewise.
7026 (POLL_OUT): Likewise.
7027 (POLL_MSG): Likewise.
7028 (POLL_ERR): Likewise.
7029 (POLL_PRI): Likewise.
7030 (POLL_HUP): Likewise.
7031 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
7032 (ILL_ILLOPN): Likewise.
7033 (ILL_ILLADR): Likewise.
7034 (ILL_ILLTRP): Likewise.
7035 (ILL_PRVOPC): Likewise.
7036 (ILL_PRVREG): Likewise.
7037 (ILL_COPROC): Likewise.
7038 (ILL_BADSTK): Likewise.
7039 (FPE_INTDIV): Likewise.
7040 (FPE_INTOVF): Likewise.
7041 (FPE_FLTDIV): Likewise.
7042 (FPE_FLTOVF): Likewise.
7043 (FPE_FLTUND): Likewise.
7044 (FPE_FLTRES): Likewise.
7045 (FPE_FLTINV): Likewise.
7046 (FPE_FLTSUB): Likewise.
7047 (SEGV_MAPERR): Likewise.
7048 (SEGV_ACCERR): Likewise.
7049 (BUS_ADRALN): Likewise.
7050 (BUS_ADRERR): Likewise.
7051 (BUS_OBJERR): Likewise.
7052 (BUS_MCEERR_AR): Likewise.
7053 (BUS_MCEERR_AO): Likewise.
7054 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7055 (TRAP_TRACE): Likewise.
7056 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7058 (CLD_KILLED): Likewise.
7059 (CLD_DUMPED): Likewise.
7060 (CLD_TRAPPED): Likewise.
7061 (CLD_STOPPED): Likewise.
7062 (CLD_CONTINUED): Likewise.
7063 (POLL_IN): Likewise.
7064 (POLL_OUT): Likewise.
7065 (POLL_MSG): Likewise.
7066 (POLL_ERR): Likewise.
7067 (POLL_PRI): Likewise.
7068 (POLL_HUP): Likewise.
7069 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
7070 (ILL_ILLOPN): Likewise.
7071 (ILL_ILLADR): Likewise.
7072 (ILL_ILLTRP): Likewise.
7073 (ILL_PRVOPC): Likewise.
7074 (ILL_PRVREG): Likewise.
7075 (ILL_COPROC): Likewise.
7076 (ILL_BADSTK): Likewise.
7077 (ILL_DBLFLT): Likewise.
7078 (ILL_HARDWALL): Likewise.
7079 (FPE_INTDIV): Likewise.
7080 (FPE_INTOVF): Likewise.
7081 (FPE_FLTDIV): Likewise.
7082 (FPE_FLTOVF): Likewise.
7083 (FPE_FLTUND): Likewise.
7084 (FPE_FLTRES): Likewise.
7085 (FPE_FLTINV): Likewise.
7086 (FPE_FLTSUB): Likewise.
7087 (SEGV_MAPERR): Likewise.
7088 (SEGV_ACCERR): Likewise.
7089 (BUS_ADRALN): Likewise.
7090 (BUS_ADRERR): Likewise.
7091 (BUS_OBJERR): Likewise.
7092 (BUS_MCEERR_AR): Likewise.
7093 (BUS_MCEERR_AO): Likewise.
7094 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7095 (TRAP_TRACE): Likewise.
7096 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7098 (CLD_KILLED): Likewise.
7099 (CLD_DUMPED): Likewise.
7100 (CLD_TRAPPED): Likewise.
7101 (CLD_STOPPED): Likewise.
7102 (CLD_CONTINUED): Likewise.
7103 (POLL_IN): Likewise.
7104 (POLL_OUT): Likewise.
7105 (POLL_MSG): Likewise.
7106 (POLL_ERR): Likewise.
7107 (POLL_PRI): Likewise.
7108 (POLL_HUP): Likewise.
7109 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
7110 (ILL_ILLOPN): Likewise.
7111 (ILL_ILLADR): Likewise.
7112 (ILL_ILLTRP): Likewise.
7113 (ILL_PRVOPC): Likewise.
7114 (ILL_PRVREG): Likewise.
7115 (ILL_COPROC): Likewise.
7116 (ILL_BADSTK): Likewise.
7117 (FPE_INTDIV): Likewise.
7118 (FPE_INTOVF): Likewise.
7119 (FPE_FLTDIV): Likewise.
7120 (FPE_FLTOVF): Likewise.
7121 (FPE_FLTUND): Likewise.
7122 (FPE_FLTRES): Likewise.
7123 (FPE_FLTINV): Likewise.
7124 (FPE_FLTSUB): Likewise.
7125 (SEGV_MAPERR): Likewise.
7126 (SEGV_ACCERR): Likewise.
7127 (BUS_ADRALN): Likewise.
7128 (BUS_ADRERR): Likewise.
7129 (BUS_OBJERR): Likewise.
7130 (BUS_MCEERR_AR): Likewise.
7131 (BUS_MCEERR_AO): Likewise.
7132 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7133 (TRAP_TRACE): Likewise.
7134 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7136 (CLD_KILLED): Likewise.
7137 (CLD_DUMPED): Likewise.
7138 (CLD_TRAPPED): Likewise.
7139 (CLD_STOPPED): Likewise.
7140 (CLD_CONTINUED): Likewise.
7141 (POLL_IN): Likewise.
7142 (POLL_OUT): Likewise.
7143 (POLL_MSG): Likewise.
7144 (POLL_ERR): Likewise.
7145 (POLL_PRI): Likewise.
7146 (POLL_HUP): Likewise.
7147 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
7148 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7151 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
7152 before #include of <time.h>.
7153 [!__USE_XOPEN2K] (__need_timespec): Likewise.
7154 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
7155 (test-xfail-UNIX98/sched.h/conform): Likewise.
7157 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
7159 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
7160 error absence of trapping exception support.
7161 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
7163 2014-03-07 Joseph Myers <joseph@codesourcery.com>
7165 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
7166 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
7167 * timezone/Makefile (testdata): Move definition above include of
7169 (test-zones): New variable.
7170 (tests-special): Add zone files.
7171 (build-testdata): Use $(evaluate-test).
7173 * elf/Makefile (tests-special): Rename tests to end with .out.
7174 ($(objpfx)noload-mem): Likewise.
7175 ($(objpfx)tst-leaks1-mem): Likewise.
7176 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
7177 * iconv/Makefile (xtests-special): Change test-iconvconfig to
7178 $(objpfx)test-iconvconfig.out.
7179 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
7180 set -e inside subshell and redirect output to file.
7181 * iconvdata/Makefile (generated): Rename tests to end with .out.
7183 (tests-special): Rename tests to end with .out.
7184 ($(objpfx)mtrace-tst-loading): Likewise.
7185 * intl/Makefile (generated): Likewise.
7186 (tests-special): Likewise.
7187 ($(objpfx)mtrace-tst-gettext): Likewise.
7188 * misc/Makefile (generated): Likewise.
7189 (tests-special): Likewise.
7190 ($(objpfx)tst-error1-mem): Likewise.
7191 * nptl/Makefile (tests-special): Likewise.
7192 ($(objpfx)tst-stack3-mem): Likewise.
7193 (generated): Likewise.
7194 * posix/Makefile (generated): Likewise.
7195 (tests-special): Likewise.
7196 (xtests-special): Likewise.
7197 ($(objpfx)tst-fnmatch-mem): Likewise.
7198 ($(objpfx)bug-regex2-mem): Likewise.
7199 ($(objpfx)bug-regex14-mem): Likewise.
7200 ($(objpfx)bug-regex21-mem): Likewise.
7201 ($(objpfx)bug-regex31-mem): Likewise.
7202 ($(objpfx)tst-vfork3-mem): Likewise.
7203 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
7204 ($(objpfx)tst-pcre-mem): Likewise.
7205 ($(objpfx)tst-boost-mem): Likewise.
7206 ($(objpfx)bug-ga2-mem): Likewise.
7207 ($(objpfx)bug-glob2-mem): Likewise.
7208 * resolv/Makefile (generate): Likewise.
7209 (tests-special): Likewise.
7210 (xtests-special): Likewise.
7211 (generated): Likewise.
7212 ($(objpfx)mtrace-tst-leaks): Likewise.
7213 ($(objpfx)mtrace-tst-leaks2): Likewise.
7215 * scripts/merge-test-results.sh: New file.
7216 * Makefile (tests-special-notdir): New variable.
7217 (tests): Run merge-test-results.sh.
7219 * Rules (tests-special-notdir): New variable.
7220 (xtests-special-notdir): Likewise.
7221 (tests): Run merge-test-results.sh
7224 * Makeconfig (test-xfail-name): New variable.
7225 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
7226 compute variable name for expected failures.
7227 * conform/Makefile (conformtest-headers-data): New variable.
7228 (conformtest-standards): Likewise.
7229 (conformtest-headers-ISO): Likewise.
7230 (conformtest-headers-ISO99): Likewise.
7231 (conformtest-headers-ISO11): Likewise.
7232 (conformtest-headers-POSIX): Likewise.
7233 (conformtest-headers-XPG3): Likewise.
7234 (conformtest-headers-XPG4): Likewise.
7235 (conformtest-headers-UNIX98): Likewise.
7236 (conformtest-headers-XOPEN2K): Likewise.
7237 (conformtest-headers-POSIX2008): Likewise.
7238 (conformtest-headers-XOPEN2K8): Likewise.
7239 (conformtest-header-list-base): Likewise.
7240 (conformtest-header-list-tests): Likewise.
7241 (conformtest-header-base): Likewise.
7242 (conformtest-header-tests): Likewise.
7243 (tests-special): Add $(conformtest-header-list-tests). If
7244 [$(fast-check) && !$(cross-compiling)], add
7245 $(conformtest-header-tests) instead of
7246 $(objpfx)run-conformtest.out.
7247 (generated): Add $(conformtest-header-list-base). If
7248 [$(fast-check) && !$(cross-compiling)], add
7249 $(conformtest-header-base). Remove previous setting.
7250 ($(conformtest-header-list-tests)): New target.
7251 (test-xfail-run-conformtest): Remove variable.
7252 ($(objpfx)run-conformtest.out): Remove target.
7253 (test-xfail-ISO11/complex.h/conform): New variable.
7254 (test-xfail-ISO11/stdalign.h/conform): Likewise.
7255 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
7256 (test-xfail-XPG3/varargs.h/conform): Likewise.
7257 (test-xfail-XPG4/varargs.h/conform): Likewise.
7258 (test-xfail-UNIX98/varargs.h/conform): Likewise.
7259 (test-xfail-XPG4/ndbm.h/conform): Likewise.
7260 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
7261 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
7262 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
7263 (test-xfail-XPG3/fcntl.h/conform): Likewise.
7264 (test-xfail-XPG3/ftw.h/conform): Likewise.
7265 (test-xfail-XPG3/grp.h/conform): Likewise.
7266 (test-xfail-XPG3/langinfo.h/conform): Likewise.
7267 (test-xfail-XPG3/limits.h/conform): Likewise.
7268 (test-xfail-XPG3/pwd.h/conform): Likewise.
7269 (test-xfail-XPG3/search.h/conform): Likewise.
7270 (test-xfail-XPG3/signal.h/conform): Likewise.
7271 (test-xfail-XPG3/stdio.h/conform): Likewise.
7272 (test-xfail-XPG3/stdlib.h/conform): Likewise.
7273 (test-xfail-XPG3/string.h/conform): Likewise.
7274 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
7275 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
7276 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
7277 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
7278 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
7279 (test-xfail-XPG3/sys/types.h/conform): Likewise.
7280 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
7281 (test-xfail-XPG3/termios.h/conform): Likewise.
7282 (test-xfail-XPG3/time.h/conform): Likewise.
7283 (test-xfail-XPG3/unistd.h/conform): Likewise.
7284 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
7285 (test-xfail-XPG4/fcntl.h/conform): Likewise.
7286 (test-xfail-XPG4/langinfo.h/conform): Likewise.
7287 (test-xfail-XPG4/netdb.h/conform): Likewise.
7288 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
7289 (test-xfail-XPG4/signal.h/conform): Likewise.
7290 (test-xfail-XPG4/stdio.h/conform): Likewise.
7291 (test-xfail-XPG4/stdlib.h/conform): Likewise.
7292 (test-xfail-XPG4/stropts.h/conform): Likewise.
7293 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
7294 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
7295 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
7296 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
7297 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
7298 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
7299 (test-xfail-XPG4/sys/time.h/conform): Likewise.
7300 (test-xfail-XPG4/sys/types.h/conform): Likewise.
7301 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
7302 (test-xfail-XPG4/termios.h/conform): Likewise.
7303 (test-xfail-XPG4/ucontext.h/conform): Likewise.
7304 (test-xfail-XPG4/unistd.h/conform): Likewise.
7305 (test-xfail-XPG4/utmpx.h/conform): Likewise.
7306 (test-xfail-POSIX/sched.h/conform): Likewise.
7307 (test-xfail-POSIX/signal.h/conform): Likewise.
7308 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7309 (test-xfail-POSIX/tar.h/conform): Likewise.
7310 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
7311 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
7312 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
7313 (test-xfail-UNIX98/netdb.h/conform): Likewise.
7314 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
7315 (test-xfail-UNIX98/sched.h/conform): Likewise.
7316 (test-xfail-UNIX98/signal.h/conform): Likewise.
7317 (test-xfail-UNIX98/stdio.h/conform): Likewise.
7318 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
7319 (test-xfail-UNIX98/stropts.h/conform): Likewise.
7320 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
7321 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
7322 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
7323 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
7324 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
7325 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
7326 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
7327 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
7328 (test-xfail-UNIX98/unistd.h/conform): Likewise.
7329 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
7330 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
7331 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
7332 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
7333 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
7334 (test-xfail-XOPEN2K/math.h/conform): Likewise.
7335 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
7336 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
7337 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
7338 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
7339 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
7340 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
7341 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
7342 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
7343 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
7344 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
7345 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
7346 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
7347 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
7348 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
7349 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
7350 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
7351 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
7352 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
7353 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
7354 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
7355 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
7356 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
7357 (test-xfail-POSIX2008/signal.h/conform): Likewise.
7358 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
7359 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
7360 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
7361 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
7362 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
7363 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
7364 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
7365 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
7366 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
7367 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
7368 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
7369 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
7370 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
7371 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
7372 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
7373 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
7374 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
7375 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
7376 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
7377 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
7378 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
7379 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
7380 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
7381 (conformtest-cc-flags): Likewise.
7382 ($(conformtest-header-tests): New target.
7383 * conform/check-header-lists.sh: New file.
7384 * conform/run-conformtest.sh: Remove.
7386 * conform/conformtest.pl: Allow ' and \ in values given for
7388 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
7390 [POSIX] (sys/types.h): Likewise.
7391 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
7393 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
7395 * conform/data/signal.h-data (SIGIO): Remove expectation.
7396 [XPG3] (SIGBUS): Do not expect.
7397 [POSIX || XPG3] (SIGPOLL): Likewise.
7398 [POSIX || XPG3] (SIGPROF): Likewise.
7399 [POSIX || XPG3] (SIGSYS): Likewise.
7400 [XPG3] (SIGTRAP): Likewise.
7401 [POSIX || XPG3] (SIGURG): Likewise.
7402 [POSIX || XPG3] (SIGVTALRM): Likewise.
7403 [POSIX || XPG3] (SIGXCPU): Likewise.
7404 [POSIX || XPG3] (SIGXFSZ): Likewise.
7405 [POSIX] (SA_SIGINFO): Expect.
7406 [XPG3] (siginfo_t): Do not expect type or contents.
7407 [POSIX] (si_pid): Do not expect element.
7408 [POSIX] (si_uid): Likewise.
7409 [POSIX] (si_addr): Likewise.
7410 [POSIX] (si_status): Likewise.
7411 [POSIX] (si_band): Likewise.
7412 [XPG4] (si_value): Likewise.
7413 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
7414 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
7415 [POSIX || XPG3] (ILL_ILLADR): Likewise.
7416 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
7417 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
7418 [POSIX || XPG3] (ILL_PRVREG): Likewise.
7419 [POSIX || XPG3] (ILL_COPROC): Likewise.
7420 [POSIX || XPG3] (ILL_BADSTK): Likewise.
7421 [POSIX || XPG3] (FPE_INTDIV): Likewise.
7422 [POSIX || XPG3] (FPE_INTOVF): Likewise.
7423 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
7424 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
7425 [POSIX || XPG3] (FPE_FLTUND): Likewise.
7426 [POSIX || XPG3] (FPE_FLTRES): Likewise.
7427 [POSIX || XPG3] (FPE_FLTINV): Likewise.
7428 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
7429 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
7430 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
7431 [POSIX || XPG3] (BUS_ADRALN): Likewise.
7432 [POSIX || XPG3] (BUS_ADRERR): Likewise.
7433 [POSIX || XPG3] (BUS_OBJERR): Likewise.
7434 [POSIX || XPG3] (CLD_EXITED): Likewise.
7435 [POSIX || XPG3] (CLD_KILLED): Likewise.
7436 [POSIX || XPG3] (CLD_DUMPED): Likewise.
7437 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
7438 [POSIX || XPG3] (CLD_STOPPED): Likewise.
7439 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
7440 [POSIX || XPG3] (POLL_IN): Likewise.
7441 [POSIX || XPG3] (POLL_OUT): Likewise.
7442 [POSIX || XPG3] (POLL_MSG): Likewise.
7443 [POSIX || XPG3] (POLL_ERR): Likewise.
7444 [POSIX || XPG3] (POLL_PRI): Likewise.
7445 [POSIX || XPG3] (POLL_HUP): Likewise.
7446 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
7447 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
7448 (SIG*): Do not allow.
7449 [XPG3] (si_*): Likewise.
7450 [XPG3] (SI_*): Likewise.
7451 [XPG3 || XPG4] (sigev_*): Likewise.
7452 [XPG3 || XPG4] (SIGEV_*): Likewise.
7453 [XPG3 || XPG4] (sival_*): Likewise.
7454 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
7455 [POSIX || XPG3] (BUS_*): Likewise.
7456 [POSIX || XPG3] (CLD_*): Likewise.
7457 [POSIX || XPG3] (FPE_*): Likewise.
7458 [POSIX || XPG3] (ILL_*): Likewise.
7459 [POSIX || XPG3] (POLL_*): Likewise.
7460 [POSIX || XPG3] (SEGV_*): Likewise.
7461 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
7462 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
7463 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
7464 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
7465 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
7466 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
7467 Specify type and value.
7468 (TVERSLEN): Likewise.
7469 (REGTYPE): Likewise.
7470 (AREGTYPE): Likewise.
7471 (LNKTYPE): Likewise.
7472 (SYMTYPE): Likewise.
7473 (CHRTYPE): Likewise.
7474 (BLKTYPE): Likewise.
7475 (DIRTYPE): Likewise.
7476 (FIFOTYPE): Likewise.
7477 (CONTTYPE): Likewise.
7482 (TUWRITE): Likewise.
7485 (TGWRITE): Likewise.
7488 (TOWRITE): Likewise.
7490 [POSIX] (TSVTX): Expect constant.
7492 2014-03-06 Joseph Myers <joseph@codesourcery.com>
7494 * Makefile (tests): Change dependencies to ....
7495 (tests-special): ... additions to this variable.
7496 (tests): Depend on $(tests-special).
7497 * Makerules (check-abi-list): New variable.
7498 (check-abi): Depend on $(check-abi-list).
7499 [$(subdir) = elf] (tests-special): Add
7500 $(objpfx)check-abi-libc.out.
7501 [$(build-shared) = yes && subdir] (tests-special): Add
7503 [$(build-shared) = yes && subdir] (tests): Do not depend on
7505 * Rules (tests): Depend on $(tests-special).
7506 (xtests): Depend on $(xtests-special).
7507 * catgets/Makefile (tests): Change dependencies to ....
7508 (tests-special): ... additions to this variable.
7509 * conform/Makefile (tests): Change dependencies to ....
7510 (tests-special): ... additions to this variable.
7511 * elf/Makefile (tests): Change dependencies to ....
7512 (tests-special): ... additions to this variable.
7513 * grp/Makefile (tests): Change dependencies to ....
7514 (tests-special): ... additions to this variable.
7515 * iconv/Makefile (xtests): Change dependencies to ....
7516 (xtests-special): ... additions to this variable.
7517 * iconvdata/Makefile (tests): Change dependencies to ....
7518 (tests-special): ... additions to this variable.
7519 * intl/Makefile (tests): Change dependencies to ....
7520 (tests-special): ... additions to this variable. Also add
7521 $(objpfx)tst-gettext.out.
7522 * io/Makefile (tests): Change dependencies to ....
7523 (tests-special): ... additions to this variable.
7524 * libio/Makefile (tests): Change dependencies to ....
7525 (tests-special): ... additions to this variable.
7526 * malloc/Makefile (tests): Change dependencies to ....
7527 (tests-special): ... additions to this variable.
7528 * misc/Makefile (tests): Change dependencies to ....
7529 (tests-special): ... additions to this variable.
7530 * nptl/Makefile (tests): Change dependencies to ....
7531 (tests-special): ... additions to this variable.
7532 * nptl_db/Makefile (tests): Change dependencies to ....
7533 (tests-special): ... additions to this variable.
7534 * posix/Makefile (tests): Change dependencies to ....
7535 (tests-special): ... additions to this variable.
7536 (xtests): Change dependencies to ....
7537 (xtests-special): ... additions to this variable.
7538 * resolv/Makefile (tests): Change dependencies to ....
7539 (tests-special): ... additions to this variable.
7540 (xtests): Change dependencies to ....
7541 (xtests-special): ... additions to this variable.
7542 * stdio-common/Makefile (tests): Change dependencies to ....
7543 (tests-special): ... additions to this variable.
7544 (do-tst-unbputc): Remove target.
7545 (do-tst-printf): Likewise.
7546 * stdlib/Makefile (tests): Change dependencies to ....
7547 (tests-special): ... additions to this variable.
7548 * string/Makefile (tests): Change dependencies to ....
7549 (tests-special): ... additions to this variable.
7550 * sysdeps/x86/Makefile (tests): Change dependencies to ....
7551 (tests-special): ... additions to this variable.
7553 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
7555 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
7557 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
7558 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
7560 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
7561 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
7562 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
7563 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
7564 * conform/data/libgen.h-data [XPG3]: Likewise.
7565 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
7566 * conform/data/ndbm.h-data [XPG3]: Likewise.
7567 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7568 * conform/data/netdb.h-data [XPG3]: Likewise.
7569 * conform/data/netinet/in.h-data [XPG3]: Likewise.
7570 * conform/data/poll.h-data [XPG3]: Likewise.
7571 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7572 * conform/data/strings.h-data [XPG3]: Likewise.
7573 * conform/data/stropts.h-data [XPG3]: Likewise.
7574 * conform/data/sys/mman.h-data [XPG3]: Likewise.
7575 * conform/data/sys/resource.h-data [XPG3]: Likewise.
7576 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
7578 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
7579 * conform/data/sys/time.h-data [XPG3]: Likewise.
7580 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
7581 * conform/data/sys/uio.h-data [XPG3]: Likewise.
7582 * conform/data/sys/un.h-data [XPG3]: Likewise.
7583 * conform/data/syslog.h-data [XPG3]: Likewise.
7584 * conform/data/ucontext.h-data [XPG3]: Likewise.
7585 * conform/data/utmpx.h-data [XPG3]: Likewise.
7586 * conform/data/varargs.h-data [UNIX98]: Enable file.
7588 * manual/Makefile (INSTALL_INFO): Remove variable setting.
7590 * math/libm-test.inc (struct test_f_f_data): Move expected results
7591 into structure for each rounding mode.
7592 (struct test_ff_f_data): Likewise.
7593 (struct test_ff_f_data_nexttoward): Likewise.
7594 (struct test_fi_f_data): Likewise.
7595 (struct test_fl_f_data): Likewise.
7596 (struct test_if_f_data): Likewise.
7597 (struct test_fff_f_data): Likewise.
7598 (struct test_c_f_data): Likewise.
7599 (struct test_f_f1_data): Likewise.
7600 (struct test_fF_f1_data): Likewise.
7601 (struct test_ffI_f1_data): Likewise.
7602 (struct test_c_c_data): Likewise.
7603 (struct test_cc_c_data): Likewise.
7604 (struct test_f_i_data): Likewise.
7605 (struct test_ff_i_data): Likewise.
7606 (struct test_f_l_data): Likewise.
7607 (struct test_f_L_data): Likewise.
7608 (struct test_fFF_11_data): Likewise.
7610 (RM_FE_DOWNWARD): Likewise.
7611 (RM_FE_TONEAREST): Likewise.
7612 (RM_FE_TOWARDZERO): Likewise.
7613 (RM_FE_UPWARD): Likewise.
7614 (RUN_TEST_LOOP_f_f): Update references to expected results.
7615 (RUN_TEST_LOOP_2_f): Likewise.
7616 (RUN_TEST_LOOP_fff_f): Likewise.
7617 (RUN_TEST_LOOP_c_f): Likewise.
7618 (RUN_TEST_LOOP_f_f1): Likewise.
7619 (RUN_TEST_LOOP_fF_f1): Likewise.
7620 (RUN_TEST_LOOP_fI_f1): Likewise.
7621 (RUN_TEST_LOOP_ffI_f1): Likewise.
7622 (RUN_TEST_LOOP_c_c): Likewise.
7623 (RUN_TEST_LOOP_cc_c): Likewise.
7624 (RUN_TEST_LOOP_f_i): Likewise.
7625 (RUN_TEST_LOOP_f_i_tg): Likewise.
7626 (RUN_TEST_LOOP_ff_i_tg): Likewise.
7627 (RUN_TEST_LOOP_f_b): Likewise.
7628 (RUN_TEST_LOOP_f_b_tg): Likewise.
7629 (RUN_TEST_LOOP_f_l): Likewise.
7630 (RUN_TEST_LOOP_f_L): Likewise.
7631 (RUN_TEST_LOOP_fFF_11): Likewise.
7632 * math/gen-libm-test.pl (parse_args): Output four copies of
7633 expected results for each test.
7635 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7636 (__ASSUME_UTIMES): Remove.
7637 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7638 (__ASSUME_UTIMES): Likewise.
7640 * math/gen-auto-libm-tests.c: Update comment on output format.
7641 (output_for_one_input_case): Generate before-rounding and
7642 after-rounding information as conditions on output flags not
7643 floating-point format.
7644 * math/auto-libm-test-out: Regenerated.
7645 * math/gen-libm-test.pl (cond_value): New function.
7646 (or_cond_value): Use cond_value.
7647 (generate_testfile): Handle conditional exceptions.
7649 2014-03-05 Joseph Myers <joseph@codesourcery.com>
7651 * math/libm-test.inc (max_valid_error): New variable.
7652 (init_max_error): Take new argument specifying whether function
7653 results are exactly determined. Set max_valid_error and bound
7654 other variables for errors based on this argument.
7655 (set_max_error): Do not record results above max_valid_error.
7656 (check_float_internal): Only accept errors of up to 0.5ulps if
7657 also at most max_valid_error.
7658 (START): Take new argument EXACT and pass it to init_max_error.
7659 (acos_test): Update call to START.
7660 (acos_test_tonearest): Likewise.
7661 (acos_test_towardzero): Likewise.
7662 (acos_test_downward): Likewise.
7663 (acos_test_upward): Likewise.
7664 (acosh_test): Likewise.
7665 (asin_test): Likewise.
7666 (asin_test_tonearest): Likewise.
7667 (asin_test_towardzero): Likewise.
7668 (asin_test_downward): Likewise.
7669 (asin_test_upward): Likewise.
7670 (asinh_test): Likewise.
7671 (atan_test): Likewise.
7672 (atanh_test): Likewise.
7673 (atan2_test): Likewise.
7674 (cabs_test): Likewise.
7675 (cacos_test): Likewise.
7676 (cacosh_test): Likewise.
7677 (carg_test): Likewise.
7678 (casin_test): Likewise.
7679 (casinh_test): Likewise.
7680 (catan_test): Likewise.
7681 (catanh_test): Likewise.
7682 (cbrt_test): Likewise.
7683 (ccos_test): Likewise.
7684 (ccosh_test): Likewise.
7685 (ceil_test): Likewise.
7686 (cexp_test): Likewise.
7687 (cimag_test): Likewise.
7688 (clog_test): Likewise.
7689 (clog10_test): Likewise.
7690 (conj_test): Likewise.
7691 (copysign_test): Likewise.
7692 (cos_test): Likewise.
7693 (cos_test_tonearest): Likewise.
7694 (cos_test_towardzero): Likewise.
7695 (cos_test_downward): Likewise.
7696 (cos_test_upward): Likewise.
7697 (cosh_test): Likewise.
7698 (cosh_test_tonearest): Likewise.
7699 (cosh_test_towardzero): Likewise.
7700 (cosh_test_downward): Likewise.
7701 (cosh_test_upward): Likewise.
7702 (cpow_test): Likewise.
7703 (cproj_test): Likewise.
7704 (creal_test): Likewise.
7705 (csin_test): Likewise.
7706 (csinh_test): Likewise.
7707 (csqrt_test): Likewise.
7708 (ctan_test): Likewise.
7709 (ctan_test_tonearest): Likewise.
7710 (ctan_test_towardzero): Likewise.
7711 (ctan_test_downward): Likewise.
7712 (ctan_test_upward): Likewise.
7713 (ctanh_test): Likewise.
7714 (ctanh_test_tonearest): Likewise.
7715 (ctanh_test_towardzero): Likewise.
7716 (ctanh_test_downward): Likewise.
7717 (ctanh_test_upward): Likewise.
7718 (erf_test): Likewise.
7719 (erfc_test): Likewise.
7720 (exp_test): Likewise.
7721 (exp_test_tonearest): Likewise.
7722 (exp_test_towardzero): Likewise.
7723 (exp_test_downward): Likewise.
7724 (exp_test_upward): Likewise.
7725 (exp10_test): Likewise.
7726 (exp10_test_tonearest): Likewise.
7727 (exp10_test_towardzero): Likewise.
7728 (exp10_test_downward): Likewise.
7729 (exp10_test_upward): Likewise.
7730 (pow10_test): Likewise.
7731 (exp2_test): Likewise.
7732 (expm1_test): Likewise.
7733 (expm1_test_tonearest): Likewise.
7734 (expm1_test_towardzero): Likewise.
7735 (expm1_test_downward): Likewise.
7736 (expm1_test_upward): Likewise.
7737 (fabs_test): Likewise.
7738 (fdim_test): Likewise.
7739 (floor_test): Likewise.
7740 (fma_test): Likewise.
7741 (fma_test_towardzero): Likewise.
7742 (fma_test_downward): Likewise.
7743 (fma_test_upward): Likewise.
7744 (fmax_test): Likewise.
7745 (fmin_test): Likewise.
7746 (fmod_test): Likewise.
7747 (fpclassify_test): Likewise.
7748 (frexp_test): Likewise.
7749 (hypot_test): Likewise.
7750 (ilogb_test): Likewise.
7751 (isfinite_test): Likewise.
7752 (finite_test): Likewise.
7753 (isgreater_test): Likewise.
7754 (isgreaterequal_test): Likewise.
7755 (isinf_test): Likewise.
7756 (isless_test): Likewise.
7757 (islessequal_test): Likewise.
7758 (islessgreater_test): Likewise.
7759 (isnan_test): Likewise.
7760 (isnormal_test): Likewise.
7761 (issignaling_test): Likewise.
7762 (isunordered_test): Likewise.
7763 (j0_test): Likewise.
7764 (j1_test): Likewise.
7765 (jn_test): Likewise.
7766 (ldexp_test): Likewise.
7767 (lgamma_test): Likewise.
7768 (gamma_test): Likewise.
7769 (lrint_test): Likewise.
7770 (lrint_test_tonearest): Likewise.
7771 (lrint_test_towardzero): Likewise.
7772 (lrint_test_downward): Likewise.
7773 (lrint_test_upward): Likewise.
7774 (llrint_test): Likewise.
7775 (llrint_test_tonearest): Likewise.
7776 (llrint_test_towardzero): Likewise.
7777 (llrint_test_downward): Likewise.
7778 (llrint_test_upward): Likewise.
7779 (log_test): Likewise.
7780 (log10_test): Likewise.
7781 (log1p_test): Likewise.
7782 (log2_test): Likewise.
7783 (logb_test): Likewise.
7784 (logb_test_downward): Likewise.
7785 (lround_test): Likewise.
7786 (llround_test): Likewise.
7787 (modf_test): Likewise.
7788 (nearbyint_test): Likewise.
7789 (nextafter_test): Likewise.
7790 (nexttoward_test): Likewise.
7791 (pow_test): Likewise.
7792 (pow_test_tonearest): Likewise.
7793 (pow_test_towardzero): Likewise.
7794 (pow_test_downward): Likewise.
7795 (pow_test_upward): Likewise.
7796 (remainder_test): Likewise.
7797 (drem_test): Likewise.
7798 (remainder_test_tonearest): Likewise.
7799 (drem_test_tonearest): Likewise.
7800 (remainder_test_towardzero): Likewise.
7801 (drem_test_towardzero): Likewise.
7802 (remainder_test_downward): Likewise.
7803 (drem_test_downward): Likewise.
7804 (remainder_test_upward): Likewise.
7805 (drem_test_upward): Likewise.
7806 (remquo_test): Likewise.
7807 (rint_test): Likewise.
7808 (rint_test_tonearest): Likewise.
7809 (rint_test_towardzero): Likewise.
7810 (rint_test_downward): Likewise.
7811 (rint_test_upward): Likewise.
7812 (round_test): Likewise.
7813 (scalb_test): Likewise.
7814 (scalbn_test): Likewise.
7815 (scalbln_test): Likewise.
7816 (signbit_test): Likewise.
7817 (sin_test): Likewise.
7818 (sin_test_tonearest): Likewise.
7819 (sin_test_towardzero): Likewise.
7820 (sin_test_downward): Likewise.
7821 (sin_test_upward): Likewise.
7822 (sincos_test): Likewise.
7823 (sinh_test): Likewise.
7824 (sinh_test_tonearest): Likewise.
7825 (sinh_test_towardzero): Likewise.
7826 (sinh_test_downward): Likewise.
7827 (sinh_test_upward): Likewise.
7828 (sqrt_test): Likewise.
7829 (sqrt_test_tonearest): Likewise.
7830 (sqrt_test_towardzero): Likewise.
7831 (sqrt_test_downward): Likewise.
7832 (sqrt_test_upward): Likewise.
7833 (tan_test): Likewise.
7834 (tan_test_tonearest): Likewise.
7835 (tan_test_towardzero): Likewise.
7836 (tan_test_downward): Likewise.
7837 (tan_test_upward): Likewise.
7838 (tanh_test): Likewise.
7839 (tgamma_test): Likewise.
7840 (trunc_test): Likewise.
7841 (y0_test): Likewise.
7842 (y1_test): Likewise.
7843 (yn_test): Likewise.
7844 (significand_test): Likewise.
7846 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
7847 individual tests in comment.
7848 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
7849 (prev_max_error): New variable.
7850 (prev_real_max_error): Likewise.
7851 (prev_imag_max_error): Likewise.
7852 (compare_ulp_data): Don't refer to test names in comment.
7853 (find_test_ulps): Remove function.
7854 (find_function_ulps): Likewise.
7855 (find_complex_function_ulps): Likewise.
7856 (init_max_error): Take function name as argument. Look up ulps
7858 (print_ulps): Remove function.
7859 (print_max_error): Use prev_max_error instead of calling
7861 (print_complex_max_error): Use prev_real_max_error and
7862 prev_imag_max_error instead of calling find_complex_function_ulps.
7863 (check_float_internal): Take max_ulp parameter instead of calling
7864 find_test_ulps. Don't call print_ulps.
7865 (check_float): Update call to check_float_internal.
7866 (check_complex): Update calls to check_float_internal.
7867 (START): Pass argument to init_max_error.
7868 * math/gen-libm-test.pl (%results): Don't include "kind"
7870 (parse_ulps): Don't handle ulps of individual tests.
7871 (print_ulps_file): Likewise.
7872 (output_ulps): Likewise.
7873 * math/README.libm-test: Update.
7874 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
7876 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
7877 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
7878 * sysdeps/arm/libm-test-ulps: Likewise.
7879 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
7880 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
7881 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
7882 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
7883 * sysdeps/microblaze/libm-test-ulps: Likewise.
7884 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
7885 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7886 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7887 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
7888 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7889 * sysdeps/sh/libm-test-ulps: Likewise.
7890 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7891 * sysdeps/tile/libm-test-ulps: Likewise.
7892 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7894 2014-03-04 Joseph Myers <joseph@codesourcery.com>
7896 * math/libm-test.inc (print_complex_max_error): Check separately
7897 whether real and imaginary errors are within allowed range and
7898 pass 0 to print_complex_function_ulps instead of value within
7901 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7903 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
7905 (get_handles_fopen): Likewise.
7906 (do_write_test): Likewise.
7908 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
7910 * libio/fileops.c (do_ftell): Use cached offset when
7912 * libio/iofwide.c (do_ftell_wide): Likewise.
7913 * libio/iofdopen.c (_IO_new_fdopen): Don't use
7915 * libio/wfileops.c (_IO_fwide): Don't cache offset.
7918 * libio/libioP.h (get_file_offset): New function.
7919 * libio/fileops.c (get_file_offset): Likewise.
7920 (do_ftell): Likewise.
7921 (_IO_new_file_seekoff): Split out ftell logic.
7922 * libio/wfileops.c (do_ftell_wide): Likewise.
7923 (_IO_wfile_seekoff): Split out ftell logic.
7924 * libio/tst-ftell-active-handler.c: New test case.
7925 * libio/Makefile (tests): Add it.
7927 2014-03-03 Roland McGrath <roland@hack.frob.com>
7929 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
7930 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
7932 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7935 * nscd/connections.c (nscd_init): Call do_exit.
7936 (start_threads): Call do_exit and notify_parent.
7937 (begin_drop_privileges): Call do_exit.
7938 (finish_drop_privileges): Likewise.
7939 * nscd/selinux.c (preserve_capabilities): Likewise.
7940 (install_real_capabilities): Likewise.
7941 (nscd_selinux_enabled): Likewise.
7942 (avc_create_thread): Likewise.
7943 (avc_alloc_lock): Likewise.
7944 (nscd_avc_init): Likewise.
7945 * nscd/nscd.c (parent_fd): New static variable.
7946 (main): Create a pipe between parent and child processes.
7947 Skip closing parent_fd.
7948 (monitor_child): New function.
7949 (do_exit): Likewise.
7950 (notify_parent): Likewise.
7951 * nscd/nscd.h (notify_parent): Likewise.
7952 (do_exit): Likewise.
7954 2014-03-03 Carlos O'Donell <carlos@redhat.com>
7956 * malloc/malloc.c (__libc_calloc): Revert last change.
7958 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7960 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7962 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7964 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
7965 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
7967 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7968 (__libc_ifunc_impl_list): Likewise.
7969 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
7970 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
7971 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
7972 * string/strrchr.c: Define STRRCHR.
7974 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
7976 * benchtest/bench-strtok.c (simple_strtok): Delete.
7977 (strtok_string): Use as benchmark.
7978 * string/strtok (STRTOK): New macro.
7980 2014-02-28 Carlos O'Donell <carlos@redhat.com>
7982 * manual/threads.texi: Add header and standard comments to all
7985 * elf/dl-lookup.c (check_match): New function.
7986 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
7987 (do_lookup_x): Remove nested function check_match. Use non-nested
7988 function check_match.
7990 2014-02-28 Roland McGrath <roland@hack.frob.com>
7992 * csu/Makefile (generated, before-compile): Use += rather than =.
7993 * catgets/Makefile (generated, generated-dirs): Likewise.
7994 * debug/Makefile (generated): Likewise.
7995 * dlfcn/Makefile (generated): Likewise.
7996 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
7997 * iconvdata/Makefile (before-compile, generated): Likewise.
7998 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
7999 * libio/Makefile (generated): Likewise.
8000 * malloc/Makefile (generated): Likewise.
8001 * manual/Makefile (generated, generated-dirs): Likewise.
8002 * misc/Makefile (generated): Likewise.
8003 * posix/Makefile (generated): Likewise.
8004 * resolv/Makefile (generated): Likewise.
8005 * sunrpc/Makefile (generated, generated-dirs): Likewise.
8006 * timezone/Makefile (generated, generated-dirs): Likewise.
8008 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
8010 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8012 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
8013 power8 implementation.
8014 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
8015 file: POWER8 llround ifunc implementation.
8016 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
8017 (__lllround): Add POWER8 implementation.
8018 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
8019 POWER8 llround implementation.
8021 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
8022 power8 implementation.
8023 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
8024 file: POWER8 llrint ifunc implementation.
8025 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
8026 Add POWER8 implementation.
8027 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
8028 POWER8 llrint implementation.
8030 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
8031 power8 implementation.
8032 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
8033 file: POWER8 finite ifunc implementation.
8034 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
8035 Add POWER8 implementation.
8036 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
8038 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
8039 POWER8 finite implementation.
8040 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
8042 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
8043 power8 implementation.
8044 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
8045 file: POWER8 isinf ifunc implementation.
8046 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
8047 POWER8 implementation.
8048 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
8050 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
8051 isinf implementation.
8052 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
8054 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
8055 (INIT_ARCH): Add hwcap2 initialization.
8056 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
8057 power8 implementation.
8058 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
8059 file: POWER8 isnan ifunc implementation.
8060 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
8061 POWER8 implementation.
8062 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
8064 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
8065 isnan implementation.
8066 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
8068 2014-02-27 Joey Ye <joey.ye@arm.com>
8070 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
8071 (_FP_NANFRAC_Q): Set to zero.
8073 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8076 * math/auto-libm-test-in: New test inputs.
8077 * math/auto-libm-test-out: Regenerate.
8078 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
8081 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
8083 2014-02-27 Joseph Myers <joseph@codesourcery.com>
8085 * scripts/evaluate-test.sh: Take new argument indicating whether
8086 failure is expected.
8087 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
8088 indicating whether failure is expected.
8089 * conform/Makefile (test-xfail-run-conformtest): New variable.
8090 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
8092 * posix/Makefile (test-xfail-annexc): New variable.
8093 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
8095 2014-02-26 Joseph Myers <joseph@codesourcery.com>
8097 * argp/Makefile: Include Makeconfig immediately after defining
8099 * assert/Makefile: Likewise.
8100 * benchtests/Makefile: Likewise.
8101 * catgets/Makefile: Likewise.
8102 * conform/Makefile: Likewise.
8103 * crypt/Makefile: Likewise.
8104 * csu/Makefile: Likewise.
8105 (all): Remove target.
8106 * ctype/Makefile: Include Makeconfig immediately after defining
8108 * debug/Makefile: Likewise.
8109 * dirent/Makefile: Likewise.
8110 * dlfcn/Makefile: Likewise.
8111 * gmon/Makefile: Likewise.
8112 * gnulib/Makefile: Likewise.
8113 * grp/Makefile: Likewise.
8114 * gshadow/Makefile: Likewise.
8115 * hesiod/Makefile: Likewise.
8116 * hurd/Makefile: Likewise.
8117 (all): Remove target.
8118 * iconvdata/Makefile: Include Makeconfig immediately after
8120 * inet/Makefile: Likewise.
8121 * intl/Makefile: Likewise.
8122 * io/Makefile: Likewise.
8123 * libio/Makefile: Likewise.
8124 (all): Remove target.
8125 * locale/Makefile: Include Makeconfig immediately after defining
8127 * login/Makefile: Likewise.
8128 * mach/Makefile: Likewise.
8129 (all): Remove target.
8130 * malloc/Makefile: Include Makeconfig immediately after defining
8132 (all): Remove target.
8133 * manual/Makefile: Include Makeconfig immediately after defining
8135 * math/Makefile: Likewise.
8136 * misc/Makefile: Likewise.
8137 * nis/Makefile: Likewise.
8138 * nss/Makefile: Likewise.
8139 * po/Makefile: Likewise.
8140 (all): Remove target.
8141 * posix/Makefile: Include Makeconfig immediately after defining
8143 * pwd/Makefile: Likewise.
8144 * resolv/Makefile: Likewise.
8145 * resource/Makefile: Likewise.
8146 * rt/Makefile: Likewise.
8147 * setjmp/Makefile: Likewise.
8148 * shadow/Makefile: Likewise.
8149 * signal/Makefile: Likewise.
8150 * socket/Makefile: Likewise.
8151 * soft-fp/Makefile: Likewise.
8152 * stdio-common/Makefile: Likewise.
8153 * stdlib/Makefile: Likewise.
8154 * streams/Makefile: Likewise.
8155 * string/Makefile: Likewise.
8156 * sunrpc/Makefile: Likewise.
8157 (all): Remove target.
8158 * sysvipc/Makefile: Include Makeconfig immediately after defining
8160 * termios/Makefile: Likewise.
8161 * time/Makefile: Likewise.
8162 * timezone/Makefile: Likewise.
8163 (all): Remove target.
8164 * wcsmbs/Makefile: Include Makeconfig immediately after defining
8166 * wctype/Makefile: Likewise.
8168 2014-02-26 Steve Ellcey <sellcey@mips.com>
8170 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
8171 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
8172 (libc_feholdexcept_setround_mips): Ditto.
8173 (libc_feholdsetround): New.
8174 (libc_feholdsetroundf): New.
8175 (libc_feholdsetroundl): New.
8176 (libc_feupdateenv_test_mips): New.
8177 (libc_feupdateenv_test): New.
8178 (libc_feupdateenv_testf): New.
8179 (libc_feupdateenv_testl): New.
8180 (libc_feresetround): New.
8181 (libc_feresetroundf): New.
8182 (libc_feresetroundl): New.
8183 (libc_fetestexcept_mips): New.
8184 (libc_fetestexcept): New.
8185 (libc_fetestexceptf): New.
8186 (libc_fetestexceptl): New.
8188 (libc_feholdexcept_setround_mips_ctx): New.
8189 (libc_feholdexcept_setround_ctx): New.
8190 (libc_feholdexcept_setroundf_ctx): New.
8191 (libc_feholdexcept_setroundl_ctx): New.
8192 (libc_fesetenv_mips_ctx): New.
8193 (libc_fesetenv_ctx): New.
8194 (libc_fesetenv_ctxf): New.
8195 (libc_fesetenv_ctxl): New.
8196 (libc_feupdateenv_mips_ctx): New.
8197 (libc_feupdateenv_ctx): New.
8198 (libc_feupdateenvf_ctx): New.
8199 (libc_feupdateenvl_ctx): New.
8200 (libc_feholdsetround_mips_ctx): New.
8201 (libc_feholdsetround_ctx): New.
8202 (libc_feholdsetroundf_ctx): New.
8203 (libc_feholdsetroundl_ctx): New.
8204 (libc_feresetround_mips_ctx): New.
8205 (libc_feresetround_ctx): New.
8206 (libc_feresetroundf_ctx): New.
8207 (libc_feresetroundl_ctx): New.
8209 2014-02-26 Carlos O'Donell <carlos@redhat.com>
8211 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
8213 * manual/ipc.texi: New file.
8214 * manual/Makefile (chapters): Add ipc.
8215 * manual/job.texi: Add "Inter-Process Communication" to next.
8216 * manual/process.texi: Add "Inter-Process Communication" to prev.
8218 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8220 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8222 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
8224 * malloc/malloc.c (__libc_calloc): Simplify implementation.
8226 * manual/arith.texi: Fix spaces after sentences.
8227 * manual/charset.texi: Likewise.
8228 * manual/errno.texi: Likewise.
8229 * manual/install.texi: Likewise.
8230 * manual/llio.texi: Likewise.
8231 * manual/locale.texi: Likewise.
8232 * manual/maint.texi: Likewise.
8233 * manual/math.texi: Likewise.
8234 * manual/memory.texi: Likewise.
8235 * manual/message.texi: Likewise.
8236 * manual/probes.texi: Likewise.
8237 * manual/resource.texi: Likewise.
8238 * manual/signal.texi: Likewise.
8239 * manual/socket.texi: Likewise.
8240 * manual/stdio.texi: Likewise.
8241 * manual/string.texi: Likewise.
8242 * manual/time.texi: Likewise.
8243 * manual/users.texi: Likewise.
8245 2014-02-25 Carlos O'Donell <carlos@redhat.com>
8248 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
8249 _DEFAULT_SOURCE is defined.
8251 2014-02-25 Ulrich Drepper <drepper@gmail.com>
8252 Carlos O'Donell <carlos@redhat.com>
8255 * elf/dl-tls.c (_dl_count_modids): New function.
8256 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
8257 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
8258 audit library and increment generation counter.
8259 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
8260 * elf/tst-audit9.c: New file.
8261 * elf/tst-auditmod9a.c: New file.
8262 * elf/tst-auditmod9b.c: New file.
8263 * elf/Makefile: Add rules to build and run tst-audit9.
8265 2014-02-25 Florian Weimer <fweimer@redhat.com>
8268 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
8270 2014-02-25 Will Newton <will.newton@linaro.org>
8272 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
8273 (__longjmp): Restore sp and lr before restoring callee
8274 saved registers. Add longjmp and longjmp_target
8275 SystemTap probe point.
8276 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
8277 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
8278 Define to zero to match jmpbuf layout.
8279 * sysdeps/arm/setjmp.S: Include stap-probe.h.
8280 (__sigsetjmp): Save sp and lr before saving callee
8281 saved registers. Add setjmp SystemTap probe point.
8283 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
8285 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8287 2014-02-24 Andreas Schwab <schwab@suse.de>
8290 * elf/pldd.c (wait_for_ptrace_stop): New function.
8291 (main): Call it after attaching.
8293 2014-02-22 Roland McGrath <roland@hack.frob.com>
8295 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
8296 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
8297 Versions files is now verboten.
8298 * hurd/Versions (libc: GLIBC_2.0):
8299 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
8300 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
8301 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
8302 * mach/Versions: Likewise.
8304 * csu/Versions: Remove unused %include.
8305 * resolv/Versions: Likewise.
8307 2014-02-21 Joseph Myers <joseph@codesourcery.com>
8309 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
8310 ($(objpfx)check-local-headers.out): Likewise.
8311 ($(objpfx)begin-end-check.out): Likewise.
8312 * Makerules (check-abi-%.out): Likewise.
8313 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
8314 ($(objpfx)test2.cat): Likewise.
8315 ($(objpfx)de/libc.cat): Likewise.
8316 ($(objpfx)test-gencat.out): Likewise.
8317 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
8318 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
8319 ($(objpfx)noload-mem): Likewise.
8320 ($(objpfx)tst-pathopt.out): Likewise.
8321 ($(objpfx)tst-rtld-load-self.out): Likewise.
8322 ($(objpfx)tst-array1-cmp.out): Likewise.
8323 ($(objpfx)tst-array1-static-cmp.out): Likewise.
8324 ($(objpfx)tst-array2-cmp.out): Likewise.
8325 ($(objpfx)tst-array3-cmp.out): Likewise.
8326 ($(objpfx)tst-array4-cmp.out): Likewise.
8327 ($(objpfx)tst-array5-cmp.out): Likewise.
8328 ($(objpfx)tst-array5-static-cmp.out): Likewise.
8329 ($(objpfx)check-textrel.out): Likewise.
8330 ($(objpfx)check-execstack.out): Likewise.
8331 ($(objpfx)check-localplt.out): Likewise.
8332 ($(objpfx)order2-cmp.out): Likewise.
8333 ($(objpfx)tst-leaks1-mem): Likewise.
8334 ($(objpfx)tst-leaks1-static-mem): Likewise.
8335 ($(objpfx)tst-initorder-cmp.out): Likewise.
8336 ($(objpfx)tst-initorder2-cmp.out): Likewise.
8337 ($(objpfx)tst-unused-dep.out): Likewise.
8338 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
8339 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
8340 * iconv/Makefile (test-iconvconfig): Likewise.
8341 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
8342 ($(objpfx)iconv-test.out): Likewise.
8343 ($(objpfx)tst-tables.out): Likewise.
8344 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
8345 ($(objpfx)tst-gettext.out): Likewise.
8346 ($(objpfx)tst-translit.out): Likewise.
8347 ($(objpfx)tst-gettext2.out): Likewise.
8348 ($(objpfx)tst-gettext4.out): Likewise.
8349 ($(objpfx)tst-gettext6.out): Likewise.
8350 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
8351 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
8352 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
8353 ($(objpfx)tst-fopenloc-mem.out): Likewise.
8354 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
8355 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
8356 * posix/Makefile ($(objpfx)globtest.out): Likewise.
8357 ($(objpfx)wordexp-tst.out): Likewise.
8358 ($(objpfx)annexc.out): Likewise.
8359 ($(objpfx)tst-fnmatch-mem): Likewise.
8360 ($(objpfx)bug-regex2-mem): Likewise.
8361 ($(objpfx)bug-regex14-mem): Likewise.
8362 ($(objpfx)bug-regex21-mem): Likewise.
8363 ($(objpfx)bug-regex31-mem): Likewise.
8364 ($(objpfx)tst-vfork3-mem): Likewise.
8365 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8366 ($(objpfx)tst-pcre-mem): Likewise.
8367 ($(objpfx)tst-boost-mem): Likewise.
8368 ($(objpfx)tst-getconf.out): Likewise.
8369 ($(objpfx)bug-ga2-mem): Likewise.
8370 ($(objpfx)bug-glob2-mem): Likewise.
8371 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
8372 ($(objpfx)mtrace-tst-leaks2): Likewise.
8373 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
8374 ($(objpfx)tst-printf.out): Likewise.
8375 ($(objpfx)tst-setvbuf1.out): Likewise.
8376 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
8377 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
8378 ($(objpfx)tst-fmtmsg.out): Likewise.
8379 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
8380 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
8382 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
8383 * bits/sigaction.h [__USE_MISC]: Likewise.
8384 * bits/waitstatus.h: Update #endif comments.
8385 * ctype/ctype.h: Likewise.
8386 * dirent/dirent.h: Likewise.
8387 [__USE_MISC]: Remove redundant conditionals.
8388 * grp/grp.h: Update #endif comments.
8389 [__USE_GNU]: Remove redundant conditionals.
8390 [__USE_MISC]: Likewise.
8391 * inet/netinet/in.h [__USE_GNU]: Likewise.
8392 * io/sys/stat.h [__USE_MISC]: Likewise.
8393 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
8394 * libio/bits/stdio.h: Update #endif comments.
8395 [__USE_MISC]: Remove redundant conditionals.
8396 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
8397 * libio/stdio.h: Update #endif comments.
8398 [__USE_MISC]: Remove redundant conditionals.
8399 * math/bits/math-finite.h [__USE_MISC]: Likewise.
8400 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
8401 * math/math.h: Update #else and #endif comments.
8402 [__USE_MISC]: Remove redundant conditionals.
8403 * misc/sys/uio.h: Update #endif comments.
8404 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
8405 * posix/glob.h [__USE_MISC]: Likewise.
8406 * posix/sys/types.h: Update #endif comments.
8407 [__USE_MISC]: Remove redundant conditionals.
8408 * posix/sys/wait.h: Update #endif comments.
8409 [__USE_MISC]: Remove redundant conditionals.
8410 * posix/unistd.h: Update #endif comments.
8411 [__USE_MISC]: Remove redundant conditionals.
8412 * pwd/pwd.h [__USE_GNU]: Likewise.
8413 [__USE_MISC]: Likewise.
8414 * resolv/netdb.h [__USE_GNU]: Likewise.
8415 * signal/signal.h: Update #endif comments.
8416 [__USE_MISC]: Remove redundant conditionals.
8417 * stdlib/stdlib.h: Update #else and #endif comments.
8418 [__USE_MISC]: Remove redundant conditionals.
8419 [__USE_GNU]: Likewise.
8420 * string/bits/string2.h [__USE_MISC]: Likewise.
8421 * string/string.h: Update #endif comments.
8422 [__USE_MISC]: Remove redundant conditionals.
8423 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
8425 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
8426 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
8427 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
8429 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
8431 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
8433 [__USE_MISC]: Remove redundant conditionals.
8434 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
8435 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
8436 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
8437 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
8438 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
8440 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
8441 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
8443 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
8444 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
8446 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
8448 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
8449 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
8451 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
8453 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
8454 * sysdeps/x86/bits/string.h: Update #endif comments.
8455 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
8457 * time/sys/time.h: Update #endif comments.
8458 * time/time.h: Likewise.
8459 [__USE_MISC]: Remove redundant conditionals.
8461 2014-02-21 Yury Gribov <y.gribov@samsung.com>
8464 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
8466 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
8468 * Versions.def (librt): Add GLIBC_2.17.
8470 2014-02-21 Adam Conrad <adconrad@0c3.net>
8472 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
8473 synonym for _SYS_AUXV_H to allow direct inclusion.
8474 * sysdeps/sparc/bits/hwcap.h: Likewise.
8475 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
8476 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
8477 * sysdeps/sparc/sysdep.h: Likewise.
8479 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8481 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
8483 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8485 * benchtests/bench-strrchr.c: Print length instead of position.
8487 2014-02-20 Joseph Myers <joseph@codesourcery.com>
8490 * sysdeps/unix/sysv/linux/kernel-features.h
8491 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
8492 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
8493 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
8494 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
8496 [__i386__ || __powerpc__ || __sh__ || __sparc__]
8497 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8498 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
8499 (__ASSUME_SENDMMSG): Define instead of using previous
8500 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
8501 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8502 (__ASSUME_SENDMMSG_SYSCALL): Define.
8503 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8504 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
8506 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8507 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8509 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8510 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8512 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
8513 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
8514 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
8515 [__ASSUME_SENDMMSG]: Change conditionals to
8516 [__ASSUME_SENDMMSG_SOCKETCALL].
8517 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8518 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
8520 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8521 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
8523 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
8524 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
8525 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
8526 [!__ASSUME_SENDMMSG]: Change conditional to
8527 [!__ASSUME_SENDMMSG_SOCKETCALL].
8528 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8529 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8533 * sysdeps/unix/sysv/linux/kernel-features.h
8534 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
8535 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
8536 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
8537 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
8538 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8539 [__i386__ || __sparc__]
8540 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8541 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
8542 (__ASSUME_RECVMMSG): Define instead of using previous
8543 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
8544 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8545 (__ASSUME_RECVMMSG_SYSCALL): Define.
8546 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8547 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8549 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8550 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8552 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8553 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8555 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
8556 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8557 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8558 [__ASSUME_RECVMMSG]: Change condition to
8559 [__ASSUME_RECVMMSG_SOCKETCALL].
8560 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8561 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8563 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8564 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8565 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8567 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
8568 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8569 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8570 [!__ASSUME_RECVMMSG]: Change condition to
8571 [!__ASSUME_RECVMMSG_SOCKETCALL].
8572 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8573 (__ASSUME_RECVMMSG_SYSCALL): Define.
8576 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
8577 __powerpc__ || __s390__ || __sh__ || __sparc__]
8578 (__ASSUME_SOCKETCALL): Define.
8579 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
8580 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
8581 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
8582 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
8583 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8584 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
8585 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
8586 (__ASSUME_ACCEPT4): Define instead of using previous
8587 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
8588 __powerpc__ || __sparc__ || __s390__)] condition.
8589 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8590 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8591 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
8592 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8593 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8594 [!__ASSUME_ACCEPT4]: Change condition to
8595 [!__ASSUME_ACCEPT4_SOCKETCALL].
8596 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8597 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
8598 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
8599 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8600 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
8601 __ASSUME_ACCEPT4_SYSCALL.
8602 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
8603 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
8604 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8605 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
8606 __ASSUME_ACCEPT4_SYSCALL.
8607 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
8608 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8609 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8610 [__ASSUME_ACCEPT4]: Change condition to
8611 [__ASSUME_ACCEPT4_SOCKETCALL].
8612 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8613 (__ASSUME_SOCKETCALL): Define.
8614 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
8615 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8616 (__ASSUME_SOCKETCALL): Define.
8617 (__ASSUME_ACCEPT4): Remove.
8618 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
8620 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8621 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
8623 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8624 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8626 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
8628 (HWCAP_ARM_LPAE): Likewise.
8629 (HWCAP_ARM_EVTSTRM): Likewise.
8630 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
8631 Add vpfd32, lpae and evtstrm.
8632 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
8635 2014-02-19 Joseph Myers <joseph@codesourcery.com>
8637 * math/auto-libm-test-in: Add tests of clog10.
8638 * math/auto-libm-test-out: Regenerated.
8639 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
8640 * sysdeps/i386/fpu/libm-test-ulps: Update.
8641 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8643 2014-02-18 Andreas Schwab <schwab@suse.de>
8646 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
8647 Store non-zero if the second buffer was newly allocated.
8648 (send_dg): Likewise.
8649 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
8650 to send_vc and send_dg.
8651 (res_nsend): Pass NULL for ansp2_malloced.
8652 * resolv/res_query.c (__libc_res_nquery): Add parameter
8653 answerp2_malloced and pass it down to __libc_res_nsend.
8654 (res_nquery): Pass additional NULL to __libc_res_nquery.
8655 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
8656 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
8657 second answer buffer if answerp2_malloced was set.
8658 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
8659 (__libc_res_nquerydomain): Add parameter
8660 answerp2_malloced and pass it down to __libc_res_nquery.
8661 (res_nquerydomain): Pass additional NULL to
8662 __libc_res_nquerydomain.
8663 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
8664 additional NULL to __libc_res_nsend and __libc_res_nquery.
8665 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
8666 additional NULL to __libc_res_nsearch.
8667 (_nss_dns_gethostbyname4_r): Revert last change. Use new
8668 parameter of __libc_res_nsearch to check for separately allocated
8670 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
8672 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
8673 additional NULL to __libc_res_nquery.
8674 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
8676 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
8677 * include/resolv.h: Update prototypes of __libc_res_nquery,
8678 __libc_res_nsearch, __libc_res_nsend.
8680 2014-02-18 Joseph Myers <joseph@codesourcery.com>
8682 * math/auto-libm-test-in: Add tests of fma.
8683 * math/auto-libm-test-out: Regenerated.
8684 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
8685 (fma_towardzero_test_data): Likewise.
8686 (fma_downward_test_data): Likewise.
8687 (fma_upward_test_data): Likewise.
8688 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
8690 (rounding_modes): Add values for new field.
8691 (func_calc_method): Add value mpfr_fff_f.
8692 (func_calc_desc): Add mpfr_fff_f union field.
8693 (test_function): Add field exact_args.
8694 (FUNC): Add macro argument EXACT_ARGS.
8695 (FUNC_mpfr_f_f): Update call to FUNC.
8696 (FUNC_mpfr_f_f): Likewise.
8697 (FUNC_mpfr_ff_f): Likewise.
8698 (FUNC_mpfr_if_f): Likewise.
8699 (FUNC_mpc_c_f): Likewise.
8700 (FUNC_mpc_c_c): Likewise.
8701 (test_functions): Add fma. Update calls to FUNC.
8702 (handle_input_arg): Add argument exact_args.
8703 (add_test): Update call to handle_input_arg.
8704 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
8705 (output_for_one_input_case): Update call to calc_generic_results.
8706 Recalculate exact zero results in each rounding mode.
8708 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
8709 non-negative before setting low bit.
8710 * math/auto-libm-test-in: Mark one asin test possibly having
8712 * math/auto-libm-test-out: Regenerated.
8713 * sysdeps/i386/fpu/libm-test-ulps: Update.
8714 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8716 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
8718 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
8719 * sysdeps/unix/sysv/linux/microblaze: Move directory from
8720 ports/sysdeps/unix/sysv/linux/microblaze.
8721 * README: Add missing listing for microblaze*-*-linux-gnu.
8723 2014-02-16 Mike Frysinger <vapier@gentoo.org>
8725 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
8726 * sysdeps/unix/sysv/linux/ia64: Move directory from
8727 ports/sysdeps/unix/sysv/linux/ia64.
8728 * README: Update listing for ia64-*-linux-gnu.
8730 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
8731 Joseph Myers <joseph@codesourcery.com>
8733 * Makeconfig (test-name): New variable.
8734 (evaluate-test): Likewise.
8735 * Makerules (do-test-clean): Remove .test-result files.
8736 (common-mostlyclean): Likewise.
8737 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
8738 * scripts/evaluate-test.sh: New file.
8740 2014-02-14 Joseph Myers <joseph@codesourcery.com>
8742 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
8743 separate $(objpfx)tst-fopenloc-cmp.out and
8744 $(objpfx)tst-fopenloc-mem.out targets.
8745 (tests): Update dependencies.
8746 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
8747 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
8748 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
8749 (tst-rxspencer-no-utf8-ARGS): New variable.
8750 (tst-rxspencer-no-utf8-ENV): Likewise.
8751 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
8752 instead of $(objpfx)tst-rxspencer-mem.
8753 ($(objpfx)tst-rxspencer-mem): Change target to
8754 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
8755 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
8756 * posix/tst-rxspencer-no-utf8.c: New file.
8758 * elf/Makefile ($(objpfx)order.out): Remove rule.
8759 [$(run-built-tests) = yes] (tests): Depend on
8760 $(objpfx)order-cmp.out.
8761 ($(objpfx)order-cmp.out): New rule.
8762 [$(run-built-tests) = yes] (tests): Depend on
8763 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
8764 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
8765 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
8766 $(objpfx)tst-array5-static-cmp.out.
8767 ($(objpfx)tst-array1.out): Remove rule.
8768 ($(objpfx)tst-array1-cmp.out): New rule.
8769 ($(objpfx)tst-array1-static.out): Remove rule.
8770 ($(objpfx)tst-array1-static-cmp.out): New rule.
8771 ($(objpfx)tst-array2.out): Remove rule.
8772 ($(objpfx)tst-array2-cmp.out): New rule.
8773 ($(objpfx)tst-array3.out): Remove rule.
8774 ($(objpfx)tst-array3-cmp.out): New rule.
8775 ($(objpfx)tst-array4.out): Remove rule.
8776 ($(objpfx)tst-array4-cmp.out): New rule.
8777 ($(objpfx)tst-array5.out): Remove rule.
8778 ($(objpfx)tst-array5-cmp.out): New rule.
8779 ($(objpfx)tst-array5-static.out): Remove rule.
8780 ($(objpfx)tst-array5-static-cmp.out): New rule.
8781 [$(run-built-tests) = yes] (tests): Depend on
8782 $(objpfx)order2-cmp.out.
8783 ($(objpfx)order2.out): Remove rule.
8784 ($(objpfx)order2-cmp.out): New rule.
8785 ($(objpfx)tst-initorder.out): Remove rule.
8786 [$(run-built-tests) = yes] (tests): Depend on
8787 $(objpfx)tst-initorder-cmp.out.
8788 ($(objpfx)tst-initorder-cmp.out): New rule.
8789 ($(objpfx)tst-initorder2.out): Remove rule.
8790 [$(run-built-tests) = yes] (tests): Depend on
8791 $(objpfx)tst-initorder2-cmp.out.
8792 ($(objpfx)tst-initorder2-cmp.out): New rule.
8793 [$(run-built-tests) = yes] (tests): Depend on
8794 $(objpfx)tst-unused-dep-cmp.out.
8795 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
8796 ($(objpfx)tst-unused-dep-cmp.out): New rule.
8797 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
8798 on $(objpfx)tst-setvbuf1-cmp.out.
8799 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
8800 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
8801 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
8802 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
8803 ($(objpfx)tst-svc.out): Remove rule.
8804 ($(objpfx)tst-svc-cmp.out): New rule.
8806 2014-02-13 Joseph Myers <joseph@codesourcery.com>
8808 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
8809 * ctype/ctype.h [__USE_MISC]: Likewise.
8810 * dirent/dirent.h [__USE_MISC]: Likewise.
8811 * grp/grp.h [__USE_MISC]: Likewise.
8812 * io/fcntl.h [__USE_MISC]: Likewise.
8813 * io/sys/stat.h [__USE_MISC]: Likewise.
8814 * libio/stdio.h [__USE_MISC]: Likewise.
8815 * posix/unistd.h [__USE_MISC]: Likewise.
8816 * pwd/pwd.h [__USE_MISC]: Likewise.
8817 * stdlib.h [__USE_MISC]: Likewise.
8818 * string/bits/string2.h [__USE_MISC]: Likewise.
8819 * string/string.h [__USE_MISC]: Likewise.
8820 * time/time.h [__USE_MISC]: Likewise.
8822 2014-02-13 Andreas Schwab <schwab@suse.de>
8825 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
8826 second answer buffer if it was separately allocated.
8828 2014-02-12 Joseph Myers <joseph@codesourcery.com>
8830 * sysdeps/mips/math-tests.h: Include <features.h>.
8831 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
8832 (ROUNDING_TESTS_long_double): Do not define.
8833 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
8834 (EXCEPTION_TESTS_long_double): Likewise.
8835 * sysdeps/mips/mips64/libm-test-ulps: Update.
8837 * include/features.h (__USE_BSD): Remove macro definitions.
8838 (__USE_SVID): Likewise.
8839 (_BSD_SOURCE): Likewise.
8840 (_SVID_SOURCE): Likewise.
8841 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
8842 from definition of _DEFAULT_SOURCE.
8843 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
8845 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
8846 * bits/mman.h [__USE_BSD]: Likewise.
8847 * bits/termios.h [__USE_BSD]: Likewise.
8848 * bits/waitstatus.h [__USE_BSD]: Likewise.
8849 * ctype/ctype.h [__USE_SVID]: Likewise.
8850 * dirent/dirent.h [__USE_BSD]: Likewise.
8851 * grp/grp.h [__USE_SVID]: Likewise.
8852 [__USE_BSD]: Likewise.
8853 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
8854 * io/fcntl.h [__USE_BSD]: Likewise.
8855 * io/ftw.h [__USE_BSD]: Likewise.
8856 * io/sys/stat.h [__USE_BSD]: Likewise.
8857 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
8858 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
8859 * libio/stdio.h [__USE_SVID]: Likewise.
8860 [__USE_BSD]: Likewise.
8861 * math/math.h [__USE_SVID]: Likewise.
8862 [__USE_BSD]: Likewise.
8863 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
8864 * misc/bits/syslog.h [__USE_BSD]: Likewise.
8865 * misc/search.h [__USE_SVID]: Likewise.
8866 * misc/sys/mman.h [__USE_BSD]: Likewise.
8867 * misc/sys/syslog.h [__USE_BSD]: Likewise.
8868 * misc/sys/uio.h [__USE_BSD]: Likewise.
8869 * posix/bits/unistd.h [__USE_BSD]: Likewise.
8870 * posix/glob.h [__USE_BSD]: Likewise.
8871 * posix/regex.h [__USE_BSD]: Likewise.
8872 * posix/sys/types.h [__USE_BSD]: Likewise.
8873 [__USE_SVID]: Likewise.
8874 * posix/sys/utsname.h [__USE_SVID]: Likewise.
8875 * posix/sys/wait.h [__USE_BSD]: Likewise.
8876 [__USE_SVID]: Likewise.
8877 * posix/unistd.h [__USE_BSD]: Likewise.
8878 [__USE_SVID]: Likewise.
8879 * pwd/pwd.h [__USE_SVID]: Likewise.
8880 * resolv/netdb.h [__USE_BSD]: Likewise.
8881 * setjmp/setjmp.h [__USE_BSD]: Likewise.
8882 * signal/signal.h [__USE_BSD]: Likewise.
8883 [__USE_SVID]: Likewise.
8884 * socket/sys/socket.h [__USE_BSD]: Likewise.
8885 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
8886 * stdlib/stdlib.h [__USE_BSD]: Likewise.
8887 [__USE_SVID]: Likewise.
8888 * string/bits/string2.h [__USE_BSD]: Likewise.
8889 [__USE_SVID]: Likewise.
8890 * string/bits/string3.h [__USE_BSD]: Likewise.
8891 * string/endian.h [__USE_BSD]: Likewise.
8892 * string/string.h [__USE_SVID]: Likewise.
8893 [__USE_BSD]: Likewise.
8894 * string/strings.h [__USE_BSD]: Likewise.
8895 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
8896 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
8897 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
8898 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
8899 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
8900 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
8902 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
8904 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
8905 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
8907 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
8908 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
8910 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
8912 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
8913 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
8914 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
8916 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
8918 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
8919 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
8920 * termios/termios.h [__USE_BSD]: Likewise.
8921 * time/sys/time.h [__USE_BSD]: Likewise.
8922 * time/time.h [__USE_BSD]: Likewise.
8923 [__USE_SVID]: Likewise.
8925 * Makefile (subdir_targets): Remove subdir_lint.out.
8927 * stdio-common/Makefile (do-tst-unbputc): Remove target.
8928 (do-tst-printf): Likewise.
8929 (tests): Depend directly on $(objpfx)tst-unbputc.out and
8930 $(objpfx)tst-printf.out.
8932 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
8934 * Makerules (check-abi-%): Change target to
8935 $(objpfx)check-abi-%.out.
8936 (check-abi target): Update dependencies.
8937 (check-abi-pattern variable): Redirect output of diff to $@.
8938 (check-abi variable): Likewise.
8939 * elf/Makefile (check-abi): Update dependencies.
8941 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
8943 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
8944 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
8946 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
8947 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
8948 value has largest subnormal exponent.
8949 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
8950 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
8951 * sysdeps/aarch64/soft-fp/sfp-machine.h
8952 (_FP_TININESS_AFTER_ROUNDING): New macro.
8953 * sysdeps/alpha/soft-fp/sfp-machine.h
8954 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8955 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8957 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
8958 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8959 * sysdeps/mips/soft-fp/sfp-machine.h
8960 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8961 * sysdeps/powerpc/soft-fp/sfp-machine.h
8962 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8963 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8965 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
8966 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8967 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
8968 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8969 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8972 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
8975 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
8978 2014-02-12 Richard Henderson <rth@redhat.com>
8980 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
8981 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
8982 * sysdeps/unix/sysv/linux/alpha: Move directory from
8983 ports/sysdeps/unix/sysv/linux/alpha.
8984 * README: Update listing for alpha-*-linux-gnu.
8986 2014-02-11 Joseph Myers <joseph@codesourcery.com>
8988 * include/features.h: Update comment documenting feature test
8990 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
8992 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
8993 (_SVID_SOURCE): Likewise.
8994 (_DEFAULT_SOURCE): Update description of default features.
8995 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
8997 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
8998 (S_ISVTX): Likewise.
8999 * manual/math.texi (Mathematical Constants): Likewise.
9000 * manual/signal.texi (Interrupted Primitives): Likewise.
9001 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
9002 * math/test-matherr.c (_SVID_SOURCE): Do not define.
9003 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
9004 Don't refer to _SVID_SOURCE in warning text.
9006 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9008 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
9010 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
9011 * sysdeps/mips/dl-lookup.c: Remove.
9012 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
9014 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
9017 * math/auto-libm-test-in: Add testcase for expl.
9018 * math/auto-libm-test-out: Regenerate.
9019 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
9020 calculation of unsafe.
9021 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
9023 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
9025 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
9026 * sysdeps/unix/sysv/linux/aarch64: Move directory from
9027 ports/sysdeps/unix/sysv/linux/aarch64.
9028 * README: Update listing for aarch64*-*-linux-gnu.
9030 2014-02-11 Will Newton <will.newton@linaro.org>
9032 * manual/probes.texi (Mathematical Function Probes): Use
9033 "triggered" instead of "hit".
9035 * manual/probes.texi (Internal Probes): Add documentation
9036 of setjmp, longjmp and longjmp_target probes.
9038 * include/stap-probe.h: Add comment about probe argument
9041 * malloc/mtrace.c (attribute_hidden): Remove unused macro
9042 definition. (tr_where, tr_freehook, tr_mallochook,
9043 tr_reallochook, tr_memalignhook): Use ANSI protoype.
9045 2014-02-11 David S. Miller <davem@davemloft.net>
9047 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
9048 processing int_tests.
9050 2014-02-10 Joseph Myers <joseph@codesourcery.com>
9052 * sysdeps/mips: Move directory from ports/sysdeps/mips.
9053 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
9054 * sysdeps/unix/sysv/linux/mips: Move directory from
9055 ports/sysdeps/unix/sysv/linux/mips.
9056 * README: Update listing for mips-*-linux-gnu and
9059 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
9061 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
9062 * sysdeps/unix/sysv/linux/m68k: Move directory from
9063 ports/sysdeps/unix/sysv/linux/m68k.
9064 * README: Update listing for m68k-*-linux-gnu.
9066 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
9068 * sysdeps/tile: Move directory from ports/sysdeps/tile.
9069 * sysdeps/unix/sysv/linux/generic: Move directory from
9070 ports/sysdeps/unix/sysv/linux/generic.
9071 * sysdeps/unix/sysv/linux/tile: Move directory from
9072 ports/sysdeps/unix/sysv/linux/tile.
9073 * README: Update listing for tile*-*-linux-gnu.
9075 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
9077 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
9079 * benchtests/bench-memmem.c (simple_memmem): Likewise.
9080 * catgets/open_catalog.c (__open_catalog): Likewise.
9081 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
9082 * debug/confstr_chk.c: Likewise.
9083 * debug/fread_chk.c (__fread_chk): Likewise.
9084 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
9085 * debug/getgroups_chk.c: Likewise.
9086 * debug/mbsnrtowcs_chk.c: Likewise.
9087 * debug/mbsrtowcs_chk.c: Likewise.
9088 * debug/mbstowcs_chk.c: Likewise.
9089 * debug/memcpy_chk.c: Likewise.
9090 * debug/memmove_chk.c: Likewise.
9091 * debug/mempcpy_chk.c: Likewise.
9092 * debug/memset_chk.c: Likewise.
9093 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
9094 * debug/strcat_chk.c (__strcat_chk): Likewise.
9095 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
9096 * debug/strncat_chk.c (__strncat_chk): Likewise.
9097 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
9098 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
9099 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
9100 * debug/wcpncpy_chk.c: Likewise.
9101 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
9102 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
9103 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
9104 * debug/wcsncpy_chk.c: Likewise.
9105 * debug/wcsnrtombs_chk.c: Likewise.
9106 * debug/wcsrtombs_chk.c: Likewise.
9107 * debug/wcstombs_chk.c: Likewise.
9108 * debug/wmemcpy_chk.c: Likewise.
9109 * debug/wmemmove_chk.c: Likewise.
9110 * debug/wmempcpy_chk.c: Likewise.
9111 * debug/wmemset_chk.c: Likewise.
9112 * dirent/scandirat.c (SCANDIRAT): Likewise.
9113 * dlfcn/dladdr1.c (dladdr1): Likewise.
9114 * dlfcn/dladdr.c (dladdr): Likewise.
9115 * dlfcn/dlclose.c (dlclose_doit): Likewise.
9116 * dlfcn/dlerror.c (__dlerror): Likewise.
9117 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
9118 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
9119 * dlfcn/dlopen.c (dlopen_doit): Likewise.
9120 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
9121 * dlfcn/dlsym.c (dlsym_doit): Likewise.
9122 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
9123 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
9124 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
9126 * elf/dl-conflict.c: Likewise.
9127 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
9128 * elf/dl-dst.h: Likewise.
9129 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
9130 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
9131 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
9132 * elf/dl-init.c (call_init, _dl_init): Likewise.
9133 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
9134 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
9135 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
9137 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
9139 * elf/dl-minimal.c (__libc_memalign): Likewise.
9140 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
9141 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
9142 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
9143 * elf/dl-sym.c (do_sym): Likewise.
9144 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
9145 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
9146 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
9147 * elf/dl-writev.h (_dl_writev): Likewise.
9148 * elf/ldconfig.c (search_dir): Likewise.
9149 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
9150 (dl_main): Likewise.
9151 * elf/setup-vdso.h (setup_vdso): Likewise.
9152 * grp/compat-initgroups.c (compat_call): Likewise.
9153 * grp/fgetgrent.c (fgetgrent): Likewise.
9154 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
9155 * grp/putgrent.c (putgrent): Likewise.
9156 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
9158 * hurd/hurdinit.c: Likewise.
9159 * iconvdata/8bit-gap.c (struct): Likewise.
9160 * iconvdata/ansi_x3.110.c : Likewise.
9161 * iconvdata/big5.c : Likewise.
9162 * iconvdata/big5hkscs.c : Likewise.
9163 * iconvdata/cp1255.c: Likewise.
9164 * iconvdata/cp1258.c : Likewise.
9165 * iconvdata/cp932.c : Likewise.
9166 * iconvdata/euc-cn.c: Likewise.
9167 * iconvdata/euc-jisx0213.c : Likewise.
9168 * iconvdata/euc-jp.c: Likewise.
9169 * iconvdata/euc-jp-ms.c : Likewise.
9170 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
9171 * iconvdata/gb18030.c : Likewise.
9172 * iconvdata/gbbig5.c (const): Likewise.
9173 * iconvdata/gbgbk.c: Likewise.
9174 * iconvdata/gbk.c : Likewise.
9175 * iconvdata/ibm1364.c : Likewise.
9176 * iconvdata/ibm930.c : Likewise.
9177 * iconvdata/ibm932.c: Likewise.
9178 * iconvdata/ibm933.c : Likewise.
9179 * iconvdata/ibm935.c : Likewise.
9180 * iconvdata/ibm937.c : Likewise.
9181 * iconvdata/ibm939.c : Likewise.
9182 * iconvdata/ibm943.c: Likewise.
9183 * iconvdata/iso_11548-1.c: Likewise.
9184 * iconvdata/iso-2022-cn.c : Likewise.
9185 * iconvdata/iso-2022-cn-ext.c : Likewise.
9186 * iconvdata/iso-2022-jp-3.c: Likewise.
9187 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
9188 * iconvdata/iso-2022-kr.c : Likewise.
9189 * iconvdata/iso646.c (gconv_end): Likewise.
9190 * iconvdata/iso_6937-2.c : Likewise.
9191 * iconvdata/iso_6937.c : Likewise.
9192 * iconvdata/iso8859-1.c: Likewise.
9193 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
9194 * iconvdata/shift_jisx0213.c : Likewise.
9195 * iconvdata/sjis.c : Likewise.
9196 * iconvdata/t.61.c : Likewise.
9197 * iconvdata/tcvn5712-1.c : Likewise.
9198 * iconvdata/tscii.c: Likewise.
9199 * iconvdata/uhc.c : Likewise.
9200 * iconvdata/unicode.c (gconv_end): Likewise.
9201 * iconvdata/utf-16.c (gconv_end): Likewise.
9202 * iconvdata/utf-32.c (gconv_end): Likewise.
9203 * iconvdata/utf-7.c (base64): Likewise.
9204 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
9205 * iconv/gconv_close.c (__gconv_close): Likewise.
9206 * iconv/gconv_open.c (__gconv_open): Likewise.
9207 * iconv/gconv_simple.c (internal_ucs4_loop_single)
9208 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
9209 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
9210 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
9211 (ucs4le_internal_loop_single): Likewise.
9212 * iconv/iconv.c (iconv): Likewise.
9213 * iconv/iconv_close.c: Likewise.
9214 * iconv/loop.c (SINGLE): Likewise.
9215 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
9216 * include/atomic.h: Likewise.
9217 * inet/inet6_option.c (option_alloc): Likewise.
9218 * intl/bindtextdom.c (set_binding_values): Likewise.
9219 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
9220 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
9221 * intl/localealias.c (read_alias_file): Likewise.
9222 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
9223 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
9224 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
9225 * libio/fmemopen.c (fmemopen): Likewise.
9226 * libio/iofgets.c (_IO_fgets): Likewise.
9227 * libio/iofgets_u.c (fgets_unlocked): Likewise.
9228 * libio/iofgetws.c (fgetws): Likewise.
9229 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
9230 * libio/iogetdelim.c (_IO_getdelim): Likewise.
9231 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
9232 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
9233 * locale/findlocale.c (_nl_find_locale): Likewise.
9234 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
9235 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
9237 * locale/setlocale.c (setlocale): Likewise.
9238 * login/programs/pt_chown.c (main): Likewise.
9239 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
9240 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
9241 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
9242 (mmap, mmap64, mremap, munmap): Likewise.
9243 * math/e_exp2l.c: Likewise.
9244 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
9245 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
9246 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
9247 * math/s_catan.c (__catan): Likewise.
9248 * math/s_catanf.c (__catanf): Likewise.
9249 * math/s_catanh.c (__catanh): Likewise.
9250 * math/s_catanhf.c (__catanhf): Likewise.
9251 * math/s_catanhl.c (__catanhl): Likewise.
9252 * math/s_catanl.c (__catanl): Likewise.
9253 * math/s_ccosh.c (__ccosh): Likewise.
9254 * math/s_ccoshf.c (__ccoshf): Likewise.
9255 * math/s_ccoshl.c (__ccoshl): Likewise.
9256 * math/s_cexp.c (__cexp): Likewise.
9257 * math/s_cexpf.c (__cexpf): Likewise.
9258 * math/s_cexpl.c (__cexpl): Likewise.
9259 * math/s_clog10.c (__clog10): Likewise.
9260 * math/s_clog10f.c (__clog10f): Likewise.
9261 * math/s_clog10l.c (__clog10l): Likewise.
9262 * math/s_clog.c (__clog): Likewise.
9263 * math/s_clogf.c (__clogf): Likewise.
9264 * math/s_clogl.c (__clogl): Likewise.
9265 * math/s_csin.c (__csin): Likewise.
9266 * math/s_csinf.c (__csinf): Likewise.
9267 * math/s_csinh.c (__csinh): Likewise.
9268 * math/s_csinhf.c (__csinhf): Likewise.
9269 * math/s_csinhl.c (__csinhl): Likewise.
9270 * math/s_csinl.c (__csinl): Likewise.
9271 * math/s_csqrt.c (__csqrt): Likewise.
9272 * math/s_csqrtf.c (__csqrtf): Likewise.
9273 * math/s_csqrtl.c (__csqrtl): Likewise.
9274 * math/s_ctan.c (__ctan): Likewise.
9275 * math/s_ctanf.c (__ctanf): Likewise.
9276 * math/s_ctanh.c (__ctanh): Likewise.
9277 * math/s_ctanhf.c (__ctanhf): Likewise.
9278 * math/s_ctanhl.c (__ctanhl): Likewise.
9279 * math/s_ctanl.c (__ctanl): Likewise.
9280 * math/w_pow.c: Likewise.
9281 * math/w_powf.c: Likewise.
9282 * math/w_powl.c: Likewise.
9283 * math/w_scalb.c (sysv_scalb): Likewise.
9284 * math/w_scalbf.c (sysv_scalbf): Likewise.
9285 * math/w_scalbl.c (sysv_scalbl): Likewise.
9286 * misc/error.c (error_tail): Likewise.
9287 * misc/pselect.c (__pselect): Likewise.
9288 * nis/nis_callback.c (__nis_create_callback): Likewise.
9289 * nis/nis_call.c (__nisfind_server): Likewise.
9290 * nis/nis_creategroup.c (nis_creategroup): Likewise.
9291 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
9292 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
9293 * nis/nis_getservlist.c (nis_getservlist): Likewise.
9294 * nis/nis_lookup.c (nis_lookup): Likewise.
9295 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
9296 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
9297 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
9298 * nis/nis_xdr.c (xdr_endpoint): Likewise.
9299 * nis/nss_compat/compat-grp.c (getgrent_next_file)
9300 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
9301 * nis/nss_compat/compat-initgroups.c (add_group)
9302 (internal_getgrent_r): Likewise.
9303 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
9304 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
9305 * nis/nss_compat/compat-spwd.c (getspent_next_file)
9306 (internal_getspnam_r): Likewise.
9307 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
9308 (_nss_nis_getaliasbyname_r): Likewise.
9309 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
9310 (_nss_nis_getntohost_r): Likewise.
9311 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
9312 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
9313 (_nss_nis_getgrgid_r): Likewise.
9314 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
9315 (internal_nis_gethostent_r, internal_gethostbyname2_r)
9316 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
9317 (_nss_nis_gethostbyname4_r): Likewise.
9318 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
9319 (initgroups_netid): Likewise.
9320 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
9321 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
9322 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
9323 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
9324 (_nss_nis_getprotobynumber_r): Likewise.
9325 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
9326 (_nss_nis_getsecretkey): Likewise.
9327 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
9328 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
9329 (_nss_nis_getpwuid_r): Likewise.
9330 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
9331 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
9332 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
9333 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
9334 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
9335 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
9336 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
9338 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
9339 (_nss_nisplus_getntohost_r): Likewise.
9340 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
9341 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
9342 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
9343 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
9345 * nis/nss_nisplus/nisplus-initgroups.c
9346 (_nss_nisplus_initgroups_dyn): Likewise.
9347 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
9348 (_nss_nisplus_getnetbyaddr_r): Likewise.
9349 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
9350 (_nss_nisplus_getprotobynumber_r): Likewise.
9351 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
9352 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
9353 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
9355 * nis/nss_nisplus/nisplus-service.c
9356 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
9357 (_nss_nisplus_getservbyport_r): Likewise.
9358 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
9359 (_nss_nisplus_getspnam_r): Likewise.
9360 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
9362 * nscd/aicache.c (addhstaiX): Likewise.
9363 * nscd/cache.c (cache_search, prune_cache): Likewise.
9364 * nscd/connections.c (register_traced_file, send_ro_fd)
9365 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
9366 (main_loop_epoll): Likewise.
9367 * nscd/grpcache.c (addgrbyX): Likewise.
9368 * nscd/hstcache.c (addhstbyX): Likewise.
9369 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9370 * nscd/mem.c (gc, mempool_alloc): Likewise.
9371 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
9372 (addinnetgrX): Likewise.
9373 * nscd/nscd-client.h (__nscd_acquire_maplock)
9374 (__nscd_drop_map_ref): Likewise.
9375 * nscd/nscd_getai.c (__nscd_getai): Likewise.
9376 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
9377 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
9379 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
9380 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
9381 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
9382 (__nscd_get_map_ref): Likewise.
9383 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
9384 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
9386 * nscd/pwdcache.c (addpwbyX): Likewise.
9387 * nscd/selinux.c (preserve_capabilities): Likewise.
9388 * nscd/servicescache.c (addservbyX): Likewise.
9389 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
9390 * posix/fnmatch.c (fnmatch): Likewise.
9391 * posix/getopt.c (_getopt_internal_r): Likewise.
9392 * posix/glob.c (glob, glob_in_dir): Likewise.
9393 * posix/wordexp.c (exec_comm_child): Likewise.
9394 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
9395 (getanswer_r, gaih_getanswer_slice): Likewise.
9396 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
9397 * resolv/res_init.c: Likewise.
9398 * resolv/res_mkquery.c (res_nmkquery): Likewise.
9399 * resolv/res_query.c (__libc_res_nquery): Likewise.
9400 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
9402 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
9403 * stdio-common/perror.c (perror): Likewise.
9404 * stdio-common/printf_fp.c (___printf_fp): Likewise.
9405 * stdio-common/tmpnam.c (tmpnam): Likewise.
9406 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
9407 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
9408 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
9410 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
9411 * stdlib/putenv.c (putenv): Likewise.
9412 * stdlib/setenv.c (__add_to_environ): Likewise.
9413 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
9414 * stdlib/strtol_l.c (INTERNAL): Likewise.
9415 * string/memmem.c (memmem): Likewise.
9416 * string/strerror.c (strerror): Likewise.
9417 * string/strnlen.c (__strnlen): Likewise.
9418 * string/test-memmem.c (simple_memmem): Likewise.
9419 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
9420 * sunrpc/pm_getport.c (__get_socket): Likewise.
9421 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
9422 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
9423 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
9424 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
9426 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
9427 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
9428 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
9429 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
9430 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
9431 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
9433 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
9435 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
9436 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
9437 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9438 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
9439 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
9440 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
9441 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
9442 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
9443 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
9444 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
9445 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9446 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
9448 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
9450 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
9452 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
9453 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9454 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
9455 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
9456 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
9457 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
9458 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
9459 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
9460 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
9461 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
9462 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
9463 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9464 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
9465 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
9466 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9467 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9469 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
9471 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
9473 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
9475 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9476 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9477 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
9479 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
9480 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
9481 * sysdeps/posix/opendir.c (__opendirat): Likewise.
9482 * sysdeps/posix/sleep.c: Likewise.
9483 * sysdeps/posix/tempname.c: Likewise.
9484 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
9485 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9487 * sysdeps/powerpc/powerpc32/dl-machine.h
9488 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
9489 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
9490 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9491 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
9492 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
9494 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
9495 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
9496 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
9497 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
9498 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
9499 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
9500 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
9501 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
9502 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9503 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
9504 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
9505 (elf_machine_lazy_rel): Likewise.
9506 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
9507 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
9508 (elf_machine_lazy_rel): Likewise.
9509 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
9510 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
9511 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
9512 * sysdeps/unix/grantpt.c (grantpt): Likewise.
9513 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
9514 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
9515 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
9516 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9518 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
9519 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
9520 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
9521 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
9522 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
9523 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
9524 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
9525 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
9526 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
9527 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
9528 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
9530 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
9531 (__posix_fallocate64_l64): Likewise.
9532 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
9533 (posix_fallocate): Likewise.
9534 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
9536 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9537 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
9538 (getifaddrs_internal): Likewise.
9539 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
9540 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
9541 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
9542 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
9543 * sysdeps/unix/sysv/linux/posix_fallocate64.c
9544 (__posix_fallocate64_l64): Likewise.
9545 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
9547 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
9548 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
9549 (__get_clockfreq): Likewise.
9550 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
9551 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
9552 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
9553 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9554 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9555 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
9556 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
9557 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
9559 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
9560 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
9561 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
9562 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
9563 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
9564 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
9565 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
9567 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9568 (posix_fallocate): Likewise.
9569 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9570 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
9571 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
9572 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
9573 (elf_machine_rela, elf_machine_rela_relative)
9574 (elf_machine_lazy_rel): Likewise.
9575 * time/asctime.c (asctime_internal): Likewise.
9576 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
9577 * time/tzset.c (__tzset_parse_tz): Likewise.
9578 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
9579 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
9580 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
9581 * wcsmbs/wcsmbsload.h: Likewise.
9584 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
9586 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
9587 (arena_get2): Remove THREAD_STATS conditionals.
9588 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
9589 (__malloc_stats, int): Likewise.
9591 2014-02-08 Mike Frysinger <vapier@gentoo.org>
9593 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
9594 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
9596 * manual/setjmp.texi: Fix typos/grammar errors.
9598 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
9599 Only return early when n is <= 0. Delete unused return statement.
9601 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
9602 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
9603 * debug/tst-longjmp_chk3.c: New file.
9605 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
9606 (test_main): Replace code with set_fortify_handler call.
9607 * debug/test-strcpy_chk.c: Likewise.
9608 * debug/tst-chk1.c: Likewise.
9609 * debug/tst-longjmp_chk.c: Likewise.
9610 * test-skeleton.c: Include fcntl.h & paths.h
9611 (set_fortify_handler): Define.
9613 * debug/tst-longjmp_chk.c: Add header comment and include
9615 (do_test): Mark static.
9616 (TEST_FUNCTION): Define.
9618 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
9619 (IP_PMTUDISC_INTERFACE): Likewise.
9620 (IP_MULTICAST_IF): Likewise.
9621 (IP_MULTICAST_TTL): Likewise.
9622 (IP_MULTICAST_LOOP): Likewise.
9623 (IP_ADD_MEMBERSHIP): Likewise.
9624 (IP_DROP_MEMBERSHIP): Likewise.
9625 (IP_UNBLOCK_SOURCE): Likewise.
9626 (IP_BLOCK_SOURCE): Likewise.
9627 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
9628 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
9629 (IP_MSFILTER): Likewise.
9630 (MCAST_JOIN_GROUP): Likewise.
9631 (MCAST_BLOCK_SOURCE): Likewise.
9632 (MCAST_UNBLOCK_SOURCE): Likewise.
9633 (MCAST_LEAVE_GROUP): Likewise.
9634 (MCAST_JOIN_SOURCE_GROUP): Likewise.
9635 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
9636 (MCAST_MSFILTER): Likewise.
9637 (IP_MULTICAST_ALL): Likewise.
9638 (IP_UNICAST_IF): Likewise.
9640 * timezone/Makefile: Delete $(have-ksh) check.
9641 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
9642 * timezone/tzselect.ksh: Add +x mode bits.
9644 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
9645 (ANON_INODE_FS_MAGIC): Likewise.
9646 (BDEVFS_MAGIC): Likewise.
9647 (BINFMTFS_MAGIC): Likewise.
9648 (BTRFS_TEST_MAGIC): Likewise.
9649 (CRAMFS_MAGIC_WEND): Likewise.
9650 (DEBUGFS_MAGIC): Likewise.
9651 (ECRYPTFS_SUPER_MAGIC): Likewise.
9652 (EXT3_SUPER_MAGIC): Likewise.
9653 (EXT4_SUPER_MAGIC): Likewise.
9654 (FUTEXFS_SUPER_MAGIC): Likewise.
9655 (HOSTFS_SUPER_MAGIC): Likewise.
9656 (HUGETLBFS_MAGIC): Likewise.
9657 (MINIX3_SUPER_MAGIC): Likewise.
9658 (MTD_INODE_FS_MAGIC): Likewise.
9659 (NILFS_SUPER_MAGIC): Likewise.
9660 (OPENPROM_SUPER_MAGIC): Likewise.
9661 (PIPEFS_MAGIC): Likewise.
9662 (PSTOREFS_MAGIC): Likewise.
9663 (QNX6_SUPER_MAGIC): Likewise.
9664 (RAMFS_MAGIC): Likewise.
9665 (REISERFS_SUPER_MAGIC_STRING): Likewise.
9666 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
9667 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
9668 (SECURITYFS_MAGIC): Likewise.
9669 (SELINUX_MAGIC): Likewise.
9670 (SMACK_MAGIC): Likewise.
9671 (SOCKFS_MAGIC): Likewise.
9672 (SQUASHFS_MAGIC): Likewise.
9673 (STACK_END_MAGIC): Likewise.
9674 (TMPFS_MAGIC): Likewise.
9675 (USBDEVICE_SUPER_MAGIC): Likewise.
9676 (V9FS_MAGIC): Likewise.
9677 (XENFS_SUPER_MAGIC): Likewise.
9678 (CRAMFS_MAGIC): Fix typo in comment.
9679 (EXT2_SUPER_MAGIC): Update comment.
9680 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
9682 2014-02-08 Joseph Myers <joseph@codesourcery.com>
9684 * sysdeps/arm: Move directory from ports/sysdeps/arm.
9685 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
9686 * sysdeps/unix/sysv/linux/arm: Move directory from
9687 ports/sysdeps/unix/sysv/linux/arm.
9688 * README: Update listing for arm-*-linux-gnueabi.
9690 * README: Remove mention of am33.
9692 2014-02-07 Roland McGrath <roland@hack.frob.com>
9694 * bits/sigset.h (__sigemptyset): Use a statement expression rather
9695 than the comma operator, to avoid "rhs of comma has no effect"
9697 (__sigfillset, __sigandset, __sigorset): Likewise.
9698 * include/signal.h (__sigemptyset): Likewise.
9699 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
9701 2014-02-07 Allan McRae <allan@archlinux.org>
9703 * version.h (RELEASE): Set to "development".
9704 (VERSION): Set to "2.19.90"
9705 * NEWS: Add 2.20 section.
9707 2014-02-06 Carlos O'Donell <carlos@redhat.com>
9710 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
9712 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9714 * manual/contrib.texi: Update entry for Carlos O'Donell,
9715 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
9717 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
9719 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
9721 * sysdeps/unix/sysv/linux/kernel-features.h
9722 [__LINUX_KERNEL_VERSION >= 0x020621]
9723 (__ASSUME_PROC_PID_TASK_COMM): Define.
9725 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9728 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
9729 conversion when destination buffer does not have enough space.
9730 * libio/tst-ftell-partial-wide.c: New test case.
9731 * libio/Makefile (tests): Add tst-ftell-partial-wide.
9733 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
9734 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
9735 Leonard and Allan McRae.
9737 2014-02-04 David S. Miller <davem@davemloft.net>
9739 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
9742 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
9746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
9748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
9750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
9752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
9754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
9756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
9758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
9760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
9762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
9764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
9766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
9768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
9771 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9773 * nptl/shlib-versions: Change powerpc*le start to 2.17.
9774 * shlib-versions: Likewise.
9776 2014-02-04 Roland McGrath <roland@hack.frob.com>
9777 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9779 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
9780 (abilist-pattern): New variable, set to %-le.abilist.
9782 * Makerules (abilist-pattern): New variable.
9783 (vpath): Use $(abilist-pattern) in place of %.abilist.
9784 (check-abi-% pattern rule): Likewise.
9785 (check-abi, update-abi): Likewise.
9787 2014-02-04 Eric Wong <normalperson@yhbt.net>
9789 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9791 2014-02-03 Carlos O'Donell <carlos@redhat.com>
9793 * manual/startup.texi: Add next, previous, and top entries for
9794 the `Program Arguments' and `Environment Variables' nodes.
9796 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
9798 * manual/macros.texi: Add comments before MTASC-safety macros.
9800 * manual/users.texi: Document MTASC-safety properties.
9802 * manual/threads.texi (pthread_key_create, pthread_key_delete)
9803 (pthread_getspecific, pthread_setspecific): Format with
9804 @deftypefun, and add @safety note.
9805 * manual/signal.texi: Move comments that analyze the above
9806 functions to their home place.
9808 2014-02-03 Allan McRae <allan@archlinux.org>
9810 * po/sl.po: Update Slovenian translation from translation project.
9812 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
9814 * manual/time.texi (timegm): Add missing blank after @c.
9815 Reported by Joseph Myers <joseph@codesourcery.com>.
9817 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
9819 * manual/check-safety.sh: New.
9820 * manual/Makefile ($(objpfx)stamp-summary): Run it.
9822 * manual/terminal.texi: Document MTASC-safety properties.
9824 * manual/filesys.texi: Document MTASC-safety properties.
9826 * manual/errno.texi: Document MTASC-safety properties.
9828 * manual/intro.texi: Document safety identifiers and
9831 * manual/string.texi (wcstok): Fix prototype.
9832 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
9834 * manual/time.texi: Document MTASC-safety properties.
9836 * manual/string.texi: Document MTASC-safety properties.
9838 * manual/threads.texi: Document MTASC-safety properties.
9840 * manual/stdio.texi: Document MTASC-safety properties.
9842 * manual/syslog.texi: Document MTASC-safety properties.
9844 * manual/sysinfo.texi: Document MTASC-safety properties.
9846 * manual/startup.texi: Document MTASC-safety properties.
9848 * manual/socket.texi: Document MTASC-safety properties.
9850 * manual/signal.texi: Document MTASC-safety properties.
9852 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
9854 * manual/setjmp.texi: Document MTASC-safety properties.
9856 * manual/search.texi: Document MTASC-safety properties.
9858 * manual/resource.texi: Document MTASC-safety properties.
9860 * manual/process.texi: Document MTASC-safety properties.
9862 * manual/platform.texi: Document MTASC-safety properties.
9864 * manual/pipe.texi: Document MTASC-safety properties.
9866 * manual/pattern.texi: Document MTASC-safety properties.
9868 * manual/message.texi: Document MTASC-safety properties.
9871 * manual/memory.texi: Document MTASC-safety properties.
9873 * manual/math.texi: Document MTASC-safety properties.
9875 * manual/locale.texi: Document MTASC-safety properties.
9877 * manual/llio.texi: Document MTASC-safety properties.
9879 * manual/libdl.texi: New.
9881 * manual/lang.texi: Document MTASC-safety properties.
9883 * manual/job.texi: Document MTASC-safety properties.
9885 * manual/getopt.texi: Document MTASC-safety properties.
9887 * manual/ctype.texi: Document MTASC-safety properties.
9889 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
9892 * csu/libc-tls.c (static_map): Remove variable.
9893 (__libc_setup_tls): Use main executable's link map for TLS data.
9894 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
9895 casing for LM_ID_BASE and GL(dl_nns).
9896 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
9897 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
9898 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
9899 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
9900 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
9902 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
9905 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
9907 * manual/debug.texi: Document MTASC-safety properties.
9909 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
9912 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
9913 of __x86_64__ when disabling x87 inline functions.
9915 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
9917 * manual/charset.texi: Document MTASC-safety properties.
9919 * manual/crypt.texi: Document MTASC-safety properties.
9921 * manual/conf.texi: Document MTASC-safety properties.
9923 * manual/arith.texi: Document MTASC-safety properties.
9925 * manual/argp.texi: Document MTASC-safety properties.
9927 * manual/macros.texi: Introduce macros to document multi
9928 thread, asynchronous signal and asynchronous cancellation
9930 * manual/intro.texi: Introduce the properties themselves.
9932 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9934 * sysdeps/sh/sh4/Makefile: New file.
9936 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
9938 * math/gen-libm-test.pl ($srcdir): New variable.
9939 ($auto_input): Use it.
9941 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9944 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
9945 access beyond array bounds when parsing netgroups file.
9947 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
9948 the old buffer before realloc.
9950 2014-01-27 Allan McRae <allan@archlinux.org>
9952 * po/fr.po: Update French translation from translation project.
9954 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9956 * sysdeps/sh/libm-test-ulps: Regenerate.
9958 2014-01-24 David S. Miller <davem@davemloft.net>
9960 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
9962 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9964 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
9965 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
9967 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9970 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
9971 string pointers after reallocation.
9973 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9975 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
9976 __SH4A__ instead of __SH_FPU_ANY__.
9978 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9980 * sysdeps/sh/fpu_control.h: New file.
9981 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
9982 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
9983 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
9984 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
9985 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
9986 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
9987 * sysdeps/sh/sys/ucontext.h: Remove.
9988 * sysdeps/sh/sys: Remove directory.
9990 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9992 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
9993 s390/sys/ucontext.h.
9994 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
9995 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
9997 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
10000 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
10002 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10005 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
10006 Adjust the vDSO correctly for internal calls.
10007 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
10009 2014-01-20 Allan McRae <allan@archlinux.org>
10011 * po/ca.po: Update Catalan translation from translation project.
10013 2014-01-16 Mike Frysinger <vapier@gentoo.org>
10015 * sysdeps/s390/sotruss-lib.c: New file.
10017 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10020 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
10021 (__GI___gettimeofday): Alias for a different internal symbol to avoid
10022 local calls issues by not having a PLT stub required for IFUNC calls.
10023 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
10025 2014-01-16 Joseph Myers <joseph@codesourcery.com>
10027 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
10028 * math/test-fpucw-static.c: Likewise.
10030 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10033 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
10035 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10037 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
10038 implementation for powerpc.
10040 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
10043 * sysdeps/posix/system.c (__libc_system): Do not enable
10044 asynchronous cancellation.
10046 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10049 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
10050 handling only for numbers special also in the IEEE case.
10052 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10054 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10056 2014-01-11 Allan McRae <allan@archlinux.org>
10058 * po/bg.po: Update Bulgarian translation from translation project.
10060 * po/de.po: Update German translation from translation project.
10062 2014-01-10 Roland McGrath <roland@hack.frob.com>
10064 * sysdeps/generic/gcc-compat.h: New file.
10066 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10068 * benchtests/asin-inputs: Correct slow inputs.
10069 * benchtests/acos-inputs: Likewise.
10071 2014-01-10 Allan McRae <allan@archlinux.org>
10073 * po:sv.po: Update Swedish translation from translation project.
10075 * po/vi.po: Update Vietnamese translation from translation project.
10077 * po/eo.po: Update Esperanto translation from translation project.
10079 * po/cs.po: Update Czech translation from translation project.
10081 * po/nl.po: Update Dutch translation from translation project.
10083 * po/pl.po: Update Polish translation from translation project.
10085 * po/ru.po: Update Russian translation from translation project.
10087 * po/uk.po: Update Ukrainian translation from translation project.
10089 2014-01-08 Brooks Moses <bmoses@google.com>
10091 * elf/dl-load.c: Fix comment typo.
10093 2014-01-08 Carlos O'Donell <carlos@redhat.com>
10095 * po/header.pot: Rename to...
10096 * po/pot.header: ... this.
10097 * po/Makefile: Use pot.header.
10099 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
10100 Maxim Kuvyrkov <maxim@kugelworks.com>
10103 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
10104 SRC and DEST against LEN.
10106 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10109 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
10111 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
10113 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10115 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10117 2014-01-08 Joseph Myers <joseph@codesourcery.com>
10120 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
10121 for large positive arguments.
10123 2014-01-07 Joseph Myers <joseph@codesourcery.com>
10125 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10127 * math/auto-libm-test-in: Mark various tests with
10128 xfail-rounding:ldbl-128ibm.
10129 * math/auto-libm-test-out: Regenerated.
10132 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
10133 Increase overflow threshold.
10135 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
10138 * stdio-common/vfprintf.c: Check for integer overflow.
10140 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10142 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
10143 the first argument and return value of __tls_get_addr_internal.
10145 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10147 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
10148 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
10150 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10152 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
10153 * sysdeps/s390/rtld-global-offsets.sym: New file.
10154 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
10156 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
10157 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
10158 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
10160 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
10161 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
10163 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10165 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10167 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
10168 halfs of GPRs for high_gprs contexts.
10169 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
10170 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
10172 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
10174 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
10176 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
10177 for high GPRs (uc_high_gprs) and for future extensions
10179 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
10180 for future extensions (__reserved).
10181 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
10183 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
10184 SC_HIGHGPRS offset definition.
10185 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
10186 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
10188 * Versions.def: Add GLIBC_2.19 for libpthread.
10189 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
10190 siglongjmp for libpthread with GLIBC_2.19 symver.
10191 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
10192 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
10193 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
10194 * sysdeps/s390/__longjmp.c: New file.
10195 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
10196 * sysdeps/s390/longjmp.c: New file.
10197 * sysdeps/s390/setjmp.S: New file.
10198 * sysdeps/s390/sigjmp.S: New file.
10199 * sysdeps/s390/v1-longjmp.c: New file.
10200 * sysdeps/s390/v1-setjmp.h: New file.
10201 * sysdeps/s390/v1-sigjmp.c: New file.
10202 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
10203 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
10204 GLIBC_2.19 version.
10205 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
10206 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
10207 versioned symbols for ____longjmp_chk.
10208 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
10210 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10212 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10214 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10216 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10218 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
10219 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
10220 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
10221 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
10222 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
10223 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
10224 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
10225 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
10226 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
10227 * sysdeps/s390/rtld-__longjmp.c: New file.
10228 * sysdeps/s390/rtld-setjmp.S: New file.
10230 2014-01-06 Joseph Myers <joseph@codesourcery.com>
10233 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10234 Return -__logl (x) for small positive arguments without evaluating
10237 2014-01-06 Mike Frysinger <vapier@gentoo.org>
10239 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
10241 (__ptrace_peeksiginfo_args): ... this.
10242 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10243 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10244 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10246 2014-01-06 Allan McRae <allan@archlinux.org>
10248 * inet/netinet/in.h: Fix typo in comment.
10250 2014-01-05 Andreas Jaeger <aj@suse.de>
10252 * sysdeps/i386/fpu/libm-test-ulps: Update.
10254 2014-01-05 Allan McRae <allan@archlinux.org>
10256 * po/libc.pot: Regenerated.
10258 * malloc/memusagestat.c: Fix gettext call formatting.
10260 2014-01-04 Sami Kerola <kerolasa@iki.fi>
10262 * nscd/nscd.c: Improve usage() output.
10264 2014-01-04 Mike Frysinger <vapier@gentoo.org>
10266 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
10267 * sysdeps/unix/sysv/linux/configure: Regenerated.
10268 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
10269 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
10271 2014-01-03 Joseph Myers <joseph@codesourcery.com>
10274 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
10275 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
10277 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10279 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
10280 extra tokens at end of #undef directive.
10281 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
10282 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
10283 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
10285 2014-01-03 Joseph Myers <joseph@codesourcery.com>
10287 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10289 * math/auto-libm-test-in: Mark various tests with
10290 xfail-rounding:ldbl-128ibm.
10291 * math/auto-libm-test-out: Regenerated.
10293 2014-01-02 Joseph Myers <joseph@codesourcery.com>
10296 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
10297 numbers with subnormal high part when calculating exponent.
10300 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
10304 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
10306 (__ieee754_acoshl): Use __log1pl not __log1p.
10308 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
10310 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
10311 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
10312 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
10313 (grow_heap, heap_trim, _int_new_arena, get_free_list)
10314 (reused_arena, arena_get2): Convert to GNU style.
10315 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
10316 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
10317 (memalign_check, __malloc_set_state): Likewise.
10318 * malloc/mallocbug.c (main): Likewise.
10319 * malloc/malloc.c (__malloc_assert, malloc_init_state)
10320 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
10321 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
10322 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
10323 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
10324 (__posix_memalign, malloc_info): Likewise.
10325 * malloc/malloc.h: Likewise.
10326 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
10327 (mallochook, memalignhook, reallochook, mabort): Likewise.
10328 * malloc/mcheck.h: Likewise.
10329 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
10330 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
10331 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
10332 * malloc/morecore.c (__default_morecore): Likewise.
10333 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
10334 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
10335 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
10336 (print_and_abort): Likewise.
10337 * malloc/obstack.h: Likewise.
10338 * malloc/set-freeres.c (__libc_freeres): Likewise.
10339 * malloc/tst-mallocstate.c (main): Likewise.
10340 * malloc/tst-mtrace.c (main): Likewise.
10341 * malloc/tst-realloc.c (do_test): Likewise.
10343 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10346 * nscd/netgroupcache.c (do_notfound): New function.
10347 (addgetnetgrentX): Use it.
10350 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
10351 NSS_STATUS_NOTFOUND.
10353 2014-01-01 Joseph Myers <joseph@codesourcery.com>
10355 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
10356 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10358 2014-01-01 Allan McRae <allan@archlinux.org>
10360 * scripts/update-copyrights: Update configure input file suffix.
10362 * NEWS: Update copyright year.
10363 * catgets/gencat.c: Likewise.
10364 * csu/version.c: Likewise.
10365 * debug/catchsegv.sh: Likewise.
10366 * debug/pcprofiledump.c: Likewise.
10367 * debug/xtrace.sh: Likewise.
10368 * elf/ldconfig.c: Likewise.
10369 * elf/ldd.bash.in: Likewise.
10370 * elf/pldd.c: Likewise.
10371 * elf/sotruss.ksh: Likewise.
10372 * elf/sprof.c: Likewise.
10373 * iconv/iconv_prog.c: Likewise.
10374 * iconv/iconvconfig.c: Likewise.
10375 * locale/programs/locale.c: Likewise.
10376 * locale/programs/localedef.c: Likewise.
10377 * login/programs/pt_chown.c: Likewise.
10378 * malloc/memusage.sh: Likewise.
10379 * malloc/memusagestat.c: Likewise.
10380 * malloc/mtrace.pl: Likewise.
10381 * manual/libc.texinfo: Likewise.
10382 * nscd/nscd.c: Likewise.
10383 * nss/getent.c: Likewise.
10384 * nss/makedb.c: Likewise.
10385 * posix/getconf.c: Likewise.
10386 * scripts/test-installation.pl: Likewise.
10388 * All files with FSF copyright notices: Update copyright dates
10389 using scripts/update-copyrights.
10390 * intl/plural.c: Regenerated.
10391 * locale/programs/charmap-kw.h: Likewise.
10392 * locale/programs/locfile-kw.h: Likewise.
10394 2013-12-31 Mike Frysinger <vapier@gentoo.org>
10396 * sysdeps/unix/sysv/linux/configure: Regenerated.
10397 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
10398 the linux/fanotify.h header.
10399 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
10400 HAVE_LINUX_FANOTIFY_H is defined.
10402 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
10404 * benchtests/cos-inputs: New inputs.
10405 * benchtests/sin-inputs: Likewise.
10407 * benchtests/atan-inputs: New inputs. Fix name of multiple
10408 precision fallback inputs.
10410 * benchtests/atanh-inputs: New inputs.
10411 * benchtests/tanh-inputs: Likewise.
10413 * benchtests/acosh-inputs: New inputs.
10414 * benchtests/asinh-inputs: Likewise.
10416 * benchtests/cosh-inputs: New inputs.
10417 * benchtests/sinh-inputs: Likewise.
10419 * benchtests/acos-inputs: Add more inputs.
10420 * benchtests/asin-inputs: Likewise.
10422 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
10425 * manual/arith.texi: Fix spelling.
10426 * manual/charset.texi: Likewise.
10427 * manual/errno.texi: Likewise.
10428 * manual/filesys.texi: Likewise.
10429 * manual/lang.texi: Likewise.
10430 * manual/llio.texi: Likewise.
10431 * manual/locale.texi: Likewise.
10432 * manual/message.texi: Likewise.
10433 * manual/resource.texi: Likewise.
10434 * manual/search.texi: Likewise.
10435 * manual/setjmp.texi: Likewise.
10436 * manual/stdio.texi: Likewise.
10437 * manual/string.texi: Likewise.
10438 * manual/sysinfo.texi: Likewise.
10439 * manual/time.texi: Likewise.
10441 2013-12-27 Carlos O'Donell <carlos@redhat.com>
10443 * po/sl.po: New file.
10445 2013-12-27 Mike Frysinger <vapier@gentoo.org>
10447 * .gitignore: Add core/.gdbinit/.gdb_history.
10449 2013-12-27 Allan McRae <allan@archlinux.org>
10452 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
10453 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
10455 2013-12-24 Brooks Moses <bmoses@google.com>
10457 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
10458 all compilers that claim C++98 compliance, not just GCC.
10459 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
10462 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
10464 * NEWS: Restore accidentally deleted bug-fix entries.
10466 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
10467 Ondřej Bílka <neleai@seznam.cz>
10470 * malloc/malloc.c (_int_free): Perform sanity check only if we
10473 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
10476 * manual/stdio.texi (String Input Conversions): Clarify that character
10477 classes are not supported.
10479 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10481 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10483 2013-12-22 Joseph Myers <joseph@codesourcery.com>
10486 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10487 Calculate results for small negative arguments directly rather
10488 than using reflection formula with special underflow handling.
10490 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
10491 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
10492 sysdeps/unix/bsd/bsd4.4/syscalls.list.
10493 (fchflags): Likewise.
10494 (revoke): Likewise.
10495 (setlogin): Likewise.
10496 (sigaltstack): Likewise.
10498 (sigblock): Remove.
10499 (sigsetmask): Likewise.
10501 (waitpid): Likewise.
10502 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
10503 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
10505 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
10506 * sysdeps/unix/bsd/Makefile: ... here.
10507 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
10508 * sysdeps/unix/bsd/Versions: ... here.
10509 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
10510 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
10511 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
10512 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
10513 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
10514 * sysdeps/unix/bsd/sigblock.c: ... here.
10515 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
10516 * sysdeps/unix/bsd/sigsetmask.c: ... here.
10517 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
10518 * sysdeps/unix/bsd/sigvec.c: ... here.
10519 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
10520 * sysdeps/unix/bsd/tcdrain.c: ... here.
10521 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
10522 * sysdeps/unix/bsd/tcgetattr.c: ... here.
10523 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
10524 * sysdeps/unix/bsd/tcsetattr.c: ... here.
10525 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
10526 * sysdeps/unix/bsd/wait.c: ... here.
10527 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
10528 * sysdeps/unix/bsd/wait3.c: ... here.
10529 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
10530 * sysdeps/unix/bsd/waitpid.c: ... here.
10532 2013-12-21 Joseph Myers <joseph@codesourcery.com>
10535 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
10536 round-to-nearest for [!USE_AS_EXPM1L].
10537 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
10538 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
10539 more tests of exp and exp10. Expect some exp10 tests to miss
10540 exceptions or fail in directed rounding modes.
10541 * math/auto-libm-test-out: Regenerated.
10542 * math/libm-test.inc (exp10_tonearest_test_data): New array.
10543 (exp10_test_tonearest): New function.
10544 (exp10_towardzero_test_data): New array.
10545 (exp10_test_towardzero): New function.
10546 (exp10_downward_test_data): New array.
10547 (exp10_test_downward): New function.
10548 (exp10_upward_test_data): New array.
10549 (exp10_test_upward): New function.
10550 (main): Call the new functions.
10551 * sysdeps/i386/fpu/libm-test-ulps: Update.
10552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10554 2013-12-20 Joseph Myers <joseph@codesourcery.com>
10556 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
10557 asinh, atan, atan2, atanh, cbrt, cos and cosh.
10558 * math/auto-libm-test-out: Regenerated.
10559 * math/libm-test.inc (acosh_test_data): Add more tests.
10560 (atanh_test_data): Likewise.
10561 (ceil_test_data): Likewise.
10562 (copysign_test_data): Likewise.
10563 * sysdeps/i386/fpu/libm-test-ulps: Update.
10564 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10566 * timezone/checktab.awk: Update from tzcode 2013i.
10567 * timezone/private.h: Likewise.
10568 * timezone/scheck.c: Likewise.
10569 * timezone/tzfile.h: Likewise.
10570 * timezone/tzselect.ksh: Likewise.
10571 * timezone/zdump.c: Likewise.
10572 * timezone/zic.c: Likewise.
10574 * math/auto-libm-test-in: Add tests of cpow.
10575 * math/auto-libm-test-out: Regenerated.
10576 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
10577 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10579 (func_calc_desc): Add mpc_cc_c union field.
10580 (test_functions): Add cpow.
10581 (special_fill_2pi): New function.
10582 (special_real_inputs): Add 2pi.
10583 (calc_generic_results): Handle mpc_cc_c.
10584 * sysdeps/i386/fpu/libm-test-ulps: Update.
10585 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10587 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
10588 csqrt, ctan and ctanh.
10589 * math/auto-libm-test-out: Regenerated.
10590 * math/libm-test.inc (TEST_COND_x86_64): New macro.
10591 (TEST_COND_x86): Likewise.
10592 (ccos_test_data): Use AUTO_TESTS_c_c.
10593 (ccosh_test_data): Likewise.
10594 (cexp_test_data): Likewise.
10595 (clog_test_data): Likewise.
10596 (csqrt_test_data): Likewise.
10597 (ctan_test_data): Likewise.
10598 (ctan_tonearest_test_data): Likewise.
10599 (ctan_towardzero_test_data): Likewise.
10600 (ctan_downward_test_data): Likewise.
10601 (ctan_upward_test_data): Likewise.
10602 (ctanh_test_data): Likewise.
10603 (ctanh_tonearest_test_data): Likewise.
10604 (ctanh_towardzero_test_data): Likewise.
10605 (ctanh_downward_test_data): Likewise.
10606 (ctanh_upward_test_data): Likewise.
10607 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10609 (func_calc_desc): Add mpc_c_c union field.
10610 (FUNC_mpc_c_c): New macro.
10611 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
10612 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
10614 (special_fill_min_subnorm_p120): New function.
10615 (special_real_inputs): Add min_subnorm_p120.
10616 (calc_generic_results): Handle mpc_c_c.
10617 * sysdeps/i386/fpu/libm-test-ulps: Update.
10618 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10620 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10622 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
10623 (do_sin_slow): New functions.
10624 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
10625 (cslow2, csloww1, csloww2): Use the new functions.
10627 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
10628 Use M to change sign of result instead of X. Assume X is
10630 (csloww1): Likewise.
10634 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
10635 arguments A and DA.
10639 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
10641 (sloww1): Don't adjust sign of DX.
10642 (csloww1): Likewise.
10643 (sloww2): Use X directly and don't adjust sign of DX.
10644 (csloww2): Likewise.
10646 2013-12-19 Joseph Myers <joseph@codesourcery.com>
10648 * math/auto-libm-test-in: Add tests of cabs and carg.
10649 * math/auto-libm-test-out: Regenerated.
10650 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
10651 (carg_test_data): Likewise.
10652 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10654 (func_calc_desc): Add mpc_c_f union field.
10655 (test_functions): Add cabs and carg.
10656 (calc_generic_results): Handle mpc_c_f.
10658 * sysdeps/powerpc/powerpc32/libgcc-compat.S
10659 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
10660 as a macro and a compat symbol.
10661 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
10662 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
10663 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
10664 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
10665 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
10666 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
10668 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
10670 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
10672 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
10674 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
10676 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
10678 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
10679 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
10682 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10684 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10686 2013-12-19 Joseph Myers <joseph@codesourcery.com>
10688 * manual/texinfo.tex: Update to version 2013-11-26.10 with
10689 trailing whitespace removed.
10690 * scripts/config.guess: Update to version 2013-11-29.
10691 * scripts/config.sub: Update to version 2013-10-01.
10693 * math/auto-libm-test-in: Add tests of sincos.
10694 * math/auto-libm-test-out: Regenerated.
10695 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
10696 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10698 (func_calc_desc): Add mpfr_f_11 union field.
10699 (test_functions): Add sincos.
10700 (calc_generic_results): Handle mpfr_f_11.
10701 * sysdeps/i386/fpu/libm-test-ulps: Update.
10702 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10704 2013-12-19 Andreas Schwab <schwab@suse.de>
10706 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
10708 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
10709 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
10710 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
10712 2013-12-19 Joseph Myers <joseph@codesourcery.com>
10714 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
10715 * sysdeps/i386/fpu/libm-test-ulps: Update.
10716 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10719 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
10720 round-to-nearest mode when using frndint.
10721 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
10722 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
10723 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
10725 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
10727 * math/auto-libm-test-out: Regenerated.
10728 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
10729 (TEST_COND_x86): Likewise.
10730 (expm1_tonearest_test_data): New array.
10731 (expm1_test_tonearest): New function.
10732 (expm1_towardzero_test_data): New array.
10733 (expm1_test_towardzero): New function.
10734 (expm1_downward_test_data): New array.
10735 (expm1_test_downward): New function.
10736 (expm1_upward_test_data): New array.
10737 (expm1_test_upward): New function.
10738 (main): Run the new test functions.
10739 * sysdeps/i386/fpu/libm-test-ulps: Update.
10740 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10742 * include/features.h: Update comment documenting feature test
10743 macros. Mention _DEFAULT_SOURCE in comment.
10744 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
10745 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
10746 _BSD_SOURCE and _SVID_SOURCE.
10747 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
10748 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
10749 !_SVID_SOURCE]: Likewise.
10750 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10751 (__USE_POSIX_IMPLICITLY): Define.
10752 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10753 (_POSIX_SOURCE): Undefine and redefine.
10754 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10755 (_POSIX_C_SOURCE): Likewise.
10756 * manual/creature.texi (_DEFAULT_SOURCE): Document.
10757 (Feature Test Macros): Update documentation of default features.
10759 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10761 * benchtests/Makefile: Add bench-strtok.
10762 * benchtests/bench-strtok.c: New file: strtok benchtest.
10764 2013-12-19 Allan McRae <allan@archlinux.org>
10766 * manual/install.texi: Suppress menu for plain text output.
10767 * INSTALL: Regenerated.
10769 2013-12-18 Brooks Moses <bmoses@google.com>
10772 * misc/getauxval.c: Include errno.h.
10773 (__getauxval): Set errno to ENOENT if the requested type is not
10775 * misc/sys/auxv.h (getauxval): Document that it may set errno;
10776 don't declare with __attribute_const__.
10777 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
10778 * manual/startup.texi: Document that getauxval sets errno.
10780 2013-12-18 Joseph Myers <joseph@codesourcery.com>
10782 * math/auto-libm-test-in: Add tests of jn and yn.
10783 * math/auto-libm-test-out: Regenerated.
10784 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
10785 (yn_test_data): Likewise.
10786 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10788 (func_calc_desc): Add mpfr_if_f union field.
10789 (FUNC_mpfr_if_f): New macro.
10790 (test_functions): Add jn and yn.
10791 (calc_generic_results): Assert type of second input for
10792 mpfr_ff_f. Handle mpfr_if_f.
10793 (output_for_one_input_case): Disable all checking for arguments
10794 fitting floating-point types in case of an integer argument.
10795 * sysdeps/i386/fpu/libm-test-ulps: Update.
10796 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10799 Don't expect fegetround reference in libm.so.
10801 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10803 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
10804 $(config-cflags-nofma).
10806 2013-12-18 Joseph Myers <joseph@codesourcery.com>
10808 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
10809 * math/auto-libm-test-out: Regenerated.
10812 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
10813 to determine exponent and adjust argument to have exponent of -1.
10814 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
10816 * math/auto-libm-test-out: Regenerated.
10817 * sysdeps/i386/fpu/libm-test-ulps: Update.
10818 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10820 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
10822 * manual/probes.texi: Remove cases when per-thread arenas are
10825 2013-12-18 Andreas Schwab <schwab@suse.de>
10827 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
10828 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
10829 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
10830 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
10831 * sysdeps/i386/i686/multiarch/Makefile: Update.
10832 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
10834 2013-12-17 Joseph Myers <joseph@codesourcery.com>
10836 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
10837 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
10839 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
10842 Support TZ transition times < 00:00:00.
10843 This is needed for version-3 tz-format files; it supports time
10844 stamps past 2037 for America/Godthab (the only entry in the tz
10845 database for which this change is relevant).
10846 * manual/time.texi (TZ Variable): Document transition times
10847 from -167:59:59 through -00:00:01.
10848 * time/tzset.c (tz_rule): Time of day is now signed.
10849 (__tzset_parse_tz): Parse negative time of day.
10851 Document TZ transition times >= 25:00:00.
10852 * manual/time.texi (TZ Variable): Document transition times from
10853 25:00:00 through 167:59:59. These are already supported, and this
10854 support will help with version-3 tz-format files.
10856 * manual/time.texi (TZ Variable): Modernize North America example
10857 to reflect current (i.e., 2007-and-later) daylight saving rules.
10859 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
10861 2013-12-17 Joseph Myers <joseph@codesourcery.com>
10863 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
10864 * sysdeps/unix/bsd/bits/stat.h: Likewise.
10865 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
10866 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
10867 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
10868 * sysdeps/unix/bsd/bsdstat.h: Likewise.
10869 * sysdeps/unix/bsd/clock.c: Likewise.
10870 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
10871 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
10872 * sysdeps/unix/bsd/init-posix.c: Likewise.
10873 * sysdeps/unix/bsd/poll.c: Likewise.
10874 * sysdeps/unix/bsd/ptsname.c: Likewise.
10875 * sysdeps/unix/bsd/seekdir.c: Likewise.
10876 * sysdeps/unix/bsd/setegid.c: Likewise.
10877 * sysdeps/unix/bsd/seteuid.c: Likewise.
10878 * sysdeps/unix/bsd/setgid.c: Likewise.
10879 * sysdeps/unix/bsd/setrgid.c: Likewise.
10880 * sysdeps/unix/bsd/setruid.c: Likewise.
10881 * sysdeps/unix/bsd/setsid.c: Likewise.
10882 * sysdeps/unix/bsd/setuid.c: Likewise.
10883 * sysdeps/unix/bsd/sigaction.c: Likewise.
10884 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
10885 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
10886 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
10887 * sysdeps/unix/bsd/telldir.c: Likewise.
10888 * sysdeps/unix/bsd/times.c: Likewise.
10889 * sysdeps/unix/bsd/usleep.c: Likewise.
10891 * misc/Makefile (install-lib): Remove libbsd-compat.a.
10892 ($(objpfx)libbsd-compat.a): Remove rule.
10894 * include/features.h (__FAVOR_BSD): Do not define.
10895 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
10896 features conflicting with POSIX.
10897 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
10898 (_BSD_SOURCE): Remove description of not being a subset of other
10899 feature test macros.
10900 * manual/job.texi (getpgrp): Do not document BSD version.
10901 (getpgid): Do not document by reference to BSD getpgrp.
10902 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
10903 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
10904 * signal/signal.h [__FAVOR_BSD]: Likewise.
10905 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
10906 instead of making contents conditional on [__FAVOR_BSD].
10907 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
10909 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10911 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10913 2013-12-17 Joseph Myers <joseph@codesourcery.com>
10916 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
10917 values below 2**-450, not 2**-500.
10918 * math/auto-libm-test-in: Don't allow spurious underflow from
10920 * math/auto-libm-test-out: Regenerated.
10924 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
10925 values of ha and hb and sort them after adjusting subnormal
10927 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
10929 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
10930 values of ea and eb and sort them after adjusting subnormal
10932 * math/auto-libm-test-in: Do not expect some hypot tests of
10933 subnormals to fail. Add more hypot tests.
10934 * math/auto-libm-test-out: Regenerated.
10936 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10939 * sysdeps/sh/s_fma.c: New file.
10940 * sysdeps/sh/s_fmaf.c: New file.
10941 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
10943 * sysdeps/sh/Implies: Add sh/soft-fp.
10945 2013-12-16 Roland McGrath <roland@hack.frob.com>
10947 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
10948 level of indirection to members `objname', `errstring', `malloced'.
10949 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
10950 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
10951 it as the __longjmp argument (just pass 1 instead).
10952 (_dl_catch_error): Initialize C with argument pointers and address of
10953 volatile local ERRCODE rather than copying values out of C at return.
10955 2013-12-16 Joseph Myers <joseph@codesourcery.com>
10957 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
10958 * math/auto-libm-test-out: Regenerated.
10959 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
10960 (hypot_test_data): Likewise.
10961 (pow_test_data): Likewise.
10962 (pow_tonearest_test_data): Likewise.
10963 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10965 (func_calc_desc): Add mpfr_ff_f union field.
10966 (FUNC_mpfr_ff_f): New macro.
10967 (test_functions): Add atan2, hypot and pow.
10968 (special_fill_min): New function.
10969 (special_fill_minus_min): Likewise.
10970 (special_fill_min_subnorm): Likewise.
10971 (special_fill_minus_min_subnorm): Likewise.
10972 (special_real_inputs): Add min, -min, min_subnorm and
10974 (calc_generic_results): Handle mpfr_ff_f.
10975 * sysdeps/i386/fpu/libm-test-ulps: Update.
10976 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10978 2013-12-16 Will Newton <will.newton@linaro.org>
10980 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
10981 (Aligned Memory Blocks): Add documentation for aligned_alloc
10982 and suggest it as an alternative to posix_memalign.
10983 (Hooks for Malloc): Document __memalign_hook is also called
10984 for aligned_alloc. (Summary of Malloc): Add summary for
10985 aligned alloc. Document __memalign_hook is also called
10988 2013-12-16 Will Newton <will.newton@linaro.org>
10990 * manual/memory.texi (Malloc Examples): Clarify default
10991 alignment documentation. Suggest posix_memalign rather
10992 than memalign or valloc.
10993 (Aligned Memory Blocks): Remove suggestion to use memalign
10994 or valloc. Remove obsolete comment about BSD.
10995 Document memalign errno values and mark the function obsolete.
10996 Document posix_memalign returned error codes. Mark valloc
10997 as obsolete. (Hooks for Malloc): __memalign_hook is also
10998 called for posix_memalign and valloc.
10999 (Summary of Malloc): Add posix_memalign to function summary.
11000 __memalign_hook is also called for posix_memalign and valloc.
11002 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11004 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
11008 (sloww): Use mynumber union. Expand ternary operator into
11009 if-else statements.
11010 (cslow): use mynumber union.
11012 2013-12-16 Allan McRae <allan@archlinux.org>
11014 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
11015 * configure: Regenerated.
11017 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
11020 * configure.ac: Added --enable-maintainer-mode. Check for
11021 autoconf when enabled.
11022 * configure: Regenerated.
11024 * nscd/nscd.service: New file.
11025 * nscd/nscd.tmpfiles: New file.
11027 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
11030 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
11031 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
11032 * sysdeps/x86_64/multiarch/strstr.c: ... here.
11033 (strstr): Add __strstr_sse2_unaligned ifunc.
11034 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
11035 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
11036 (strcasestr): Remove __strcasestr_sse42 ifunc.
11037 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
11038 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11039 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
11041 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11043 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
11044 * sysdeps/sh/bits/fenv.h: ... here.
11045 * sysdeps/sh/sh4/fpu/bits: Remove directory.
11047 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11049 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
11051 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
11052 hypotf multiarch implementations.
11053 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
11054 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
11055 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
11056 multiarch hypot for PPC64.
11057 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
11058 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
11059 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
11060 multiarch hypotf for PPC64.
11062 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
11063 modff multiarch implementations.
11064 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
11065 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
11066 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
11067 multiarch modf for PPC64.
11068 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
11069 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
11070 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
11071 multiarch modff for PPC64.
11073 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
11074 and logl multiarch implementations.
11075 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
11076 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
11077 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
11078 multiarch logb for PPC64.
11079 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
11080 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
11081 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
11082 multiarch logb for PPC64.
11083 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
11084 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
11085 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
11086 multiarch logb for PPC64.
11088 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
11089 isinff multiarch implementation.
11090 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
11092 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
11093 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
11094 multiarch isinf for PPC64.
11095 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
11097 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
11098 multiarch isinff for PPC64.
11100 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
11101 finitef multiarch implementation.
11102 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
11104 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
11105 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
11106 multiarch finite for PPC64.
11107 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
11109 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
11110 multiarch finitef for PPC64.
11112 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
11113 lrint multiarch implementation.
11114 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
11116 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
11117 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
11118 multiarch llrint for PPC64.
11119 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
11120 multiarch lrint for PPC64.
11122 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
11123 copysignf multiarch implementation.
11124 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
11126 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
11128 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
11129 multiarch copysign for PPC64.
11130 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
11131 multiarch copysignf for PPC64.
11133 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
11134 multiarch implementation.
11135 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
11137 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
11139 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
11141 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
11143 multiarch llround for PPC64.
11144 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
11145 multiarch trunc for PPC64.
11146 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
11147 multiarch truncf for PPC64.
11149 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
11150 multiarch implementation.
11151 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
11153 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
11155 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
11157 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
11159 multiarch llround for PPC64.
11160 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
11161 multiarch round for PPC64.
11162 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
11163 multiarch roundf for PPC64.
11165 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
11166 multiarch implementation.
11167 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
11169 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
11171 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
11173 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
11175 multiarch llround for PPC64.
11176 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
11177 multiarch floor for PPC64.
11178 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
11179 multiarch floorf for PPC64.
11181 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
11182 multiarch implementation.
11183 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
11185 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
11187 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
11189 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
11191 multiarch llround for PPC64.
11192 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
11193 multiarch ceil for PPC64.
11194 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
11195 multiarch ceilf for PPC64.
11197 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
11198 multiarch implementation.
11199 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
11201 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
11203 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
11205 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
11206 multiarch llround for PPC64.
11207 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
11208 multiarch lround for PPC64.
11210 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
11211 multiarch implementation.
11212 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
11213 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
11214 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
11216 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
11217 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
11218 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
11219 multiarch isnan for PPC64.
11220 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
11221 multiarch isnanf for PPC64.
11223 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
11224 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
11225 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
11226 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
11227 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
11228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
11230 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
11231 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11232 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11233 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11235 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
11236 multiarch implementations.
11237 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11238 (__libc_ifunc_impl_list): Likewise.
11239 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
11240 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
11241 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
11242 multiarch stpcpy for PPC64.
11244 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
11245 multiarch implementations.
11246 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11247 (__libc_ifunc_impl_list): Likewise.
11248 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
11249 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
11250 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
11251 multiarch strcpy for PPC64.
11253 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
11254 redefine function name.
11255 (_wordcopy_fwd_dest_aligned): Likewise.
11256 (_wordcopy_bwd_aligned): Likewise.
11257 (_wordcopy_bwd_dest_aligned): Likewise.
11258 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
11259 multiarch implementations.
11260 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11261 (__libc_ifunc_impl_list): Likewise.
11262 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
11263 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
11264 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
11265 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
11266 multiarch wcscpy for PPC64.
11268 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
11269 multiarch implementations.
11270 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11271 (__libc_ifunc_impl_list): Likewise.
11272 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
11273 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
11274 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
11275 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
11276 multiarch wcscpy for PPC64.
11278 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
11279 multiarch implementations.
11280 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11281 (__libc_ifunc_impl_list): Likewise.
11282 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
11283 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
11284 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
11285 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
11286 multiarch wcsrchr for PPC64.
11288 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
11289 multiarch implementations.
11290 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11291 (__libc_ifunc_impl_list): Likewise.
11292 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
11293 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
11294 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
11295 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
11296 multiarch wcschr for PPC64.
11298 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
11299 multiarch implementations.
11300 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11301 (__libc_ifunc_impl_list): Likewise.
11302 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
11303 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
11304 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
11305 multiarch strchrnul for PPC64.
11307 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
11309 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11310 (__libc_ifunc_impl_list): Likewise.
11311 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
11312 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
11313 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
11314 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
11317 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
11319 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11320 (__libc_ifunc_impl_list): Likewise.
11321 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
11322 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
11323 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
11324 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
11327 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
11328 multiarch implementations.
11329 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11330 (__libc_ifunc_impl_list): Likewise.
11331 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
11332 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
11333 strncasecmp for PPC64.
11334 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
11335 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
11336 multiarch strncasecmp_l for PPC64.
11338 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
11339 multiarch implementations.
11340 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11341 (__libc_ifunc_impl_list): Likewise.
11342 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
11343 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
11344 multiarch strcasecmp for PPC64.
11345 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
11347 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
11348 multiarch strcasecmp_l for PPC64.
11350 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
11352 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11353 (__libc_ifunc_impl_list): Likewise.
11354 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
11355 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
11356 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
11359 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
11361 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11362 (__libc_ifunc_impl_list): Likewise.
11363 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
11364 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
11365 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
11368 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
11370 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11371 (__libc_ifunc_impl_list): Likewise.
11372 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
11373 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
11374 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
11375 rawmemrchr for PPC64.
11377 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
11379 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11380 (__libc_ifunc_impl_list): Likewise.
11381 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
11382 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
11383 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
11386 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
11388 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11389 (__libc_ifunc_impl_list): Likewise.
11390 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
11391 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
11392 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
11395 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
11397 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11398 (__libc_ifunc_impl_list): Likewise.
11399 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
11400 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
11401 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
11404 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
11405 avoid cretion of __bzero symbol.
11406 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
11408 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
11410 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
11412 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
11413 multiarch implementations.
11414 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11415 (__libc_ifunc_impl_list): Likewise.
11416 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
11417 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
11418 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
11419 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
11421 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
11422 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
11423 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
11424 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
11425 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
11427 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
11429 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
11430 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
11432 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11433 (__libc_ifunc_impl_list): Likewise.
11434 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
11435 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
11436 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
11437 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
11440 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
11441 multiarch for POWER/PPC64.
11442 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
11443 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
11444 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
11445 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
11446 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
11447 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
11448 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
11449 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
11450 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
11453 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
11454 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
11455 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
11456 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
11457 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
11458 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
11459 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
11460 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
11461 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
11462 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
11463 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
11464 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
11465 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
11466 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
11467 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
11468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
11469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
11470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
11471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
11472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
11473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
11474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
11476 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11478 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
11480 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11482 * benchtests/Makefile (bench): Add exp2 and log2.
11483 (LDLIBS-bench-exp2): Add -lm.
11484 (LDLIBS-bench-log2): Likewise.
11485 * benchtests/exp2-inputs: New inputs file.
11486 * benchtests/log2-inputs: New inputs file.
11487 * benchtests/log-inputs: Add new inputs.
11488 * benchtests/tan-inputs: Likewise.
11490 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11492 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
11494 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
11495 (csloww2): ... from here.
11497 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
11498 instead of structures.
11499 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
11500 (POLYNOMIAL): Likewise.
11501 (TAYLOR_SLOW): Likewise.
11507 (sloww1); Likewise.
11508 (sloww2): Likewise.
11509 (bsloww1): Likewise.
11510 (bsloww2): Likewise.
11511 (cslow2): Likewise.
11512 (csloww): Likewise.
11513 (csloww1): Likewise.
11514 (csloww2): Likewise.
11516 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
11518 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
11519 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
11520 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
11521 * malloc/hooks.c (realloc_check): Likewise.
11523 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
11524 * malloc/arena.c: Remove PER_THREAD conditional.
11525 [!PER_THREAD]: Remove code.
11526 (ptmalloc_unlock_all2): Likewise.
11527 (ptmalloc_init): Likewise.
11528 (_int_new_arena): Likewise.
11529 (arena_get2): Likewise.
11530 * malloc/hooks.c (__malloc_get_state): Likewise.
11531 (__malloc_set_state): Likewise.
11532 * malloc/malloc.c: Likewise.
11533 (struct malloc_state): Likewise.
11534 (struct malloc_par): Likewise.
11535 (__libc_realloc): Likewise.
11536 (__libc_mallopt): Likewise.
11538 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11540 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
11542 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
11544 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
11545 macro to a function. Check for zero perturb_byte.
11546 (_int_malloc, _int_free): Remove zero perturb_byte checks.
11548 * malloc/malloc.c: (force_reg): Remove.
11549 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
11550 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
11551 force_reg by atomic_forced_read.
11552 * malloc/arena.c (ptmalloc_init): Likewise.
11553 * malloc/hooks.c (top_check): Likewise.
11555 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11557 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11559 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
11561 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11563 2013-12-08 Joseph Myers <joseph@codesourcery.com>
11565 * math/auto-libm-test-in: Add tests of lgamma.
11566 * math/auto-libm-test-out: Regenerated.
11567 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
11568 (M_LOG_2_SQRT_PIl): Likewise.
11569 (lgamma_test_data): Use AUTO_TESTS_f_f1.
11570 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11572 (func_calc_desc): Add mpfr_f_f1 union field.
11573 (ARGS1): New macro.
11581 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
11582 (test_functions): Add lgamma.
11583 (calc_generic_results): Handle mpfr_f_f1.
11584 * sysdeps/i386/fpu/libm-test-ulps: Update.
11585 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11587 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11589 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
11590 __mpn_add_n for PowerPC64/POWER7.
11591 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
11592 __mpn_sub_n for PowerPC64/POWER7.
11594 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
11595 __mpn_addmul_1 for PowerPC64.
11596 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
11597 __mpn_submul_1 for PowerPC64.
11598 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
11600 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
11603 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
11606 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
11608 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11610 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
11612 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
11613 add multiarch folders.
11614 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
11615 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
11616 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
11617 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
11618 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
11619 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
11620 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
11621 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
11622 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
11623 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
11624 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
11625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
11626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
11627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
11628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
11629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
11630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
11632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11633 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
11634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
11636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
11638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
11639 multiarch __ieee754_hypot for PowerPC32.
11640 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
11642 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
11644 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
11645 multiarch __ieee754_hypotf for PowerPC32.
11647 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
11648 long_double_symbol only if __logbl is defined.
11649 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
11650 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
11651 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
11652 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
11653 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
11654 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
11655 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
11656 path for implementation.
11657 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
11658 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
11659 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
11660 logb, and logbl multiarch implementations for PowerPC32.
11661 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
11663 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
11665 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
11666 multiarch logb for PowerPC32.
11667 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
11669 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
11671 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
11672 multiarch logbf for PowerPC32.
11673 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
11674 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
11676 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
11677 multiarch logbl implementation for PowerPC32.
11679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
11680 and modff multiarch implementations.
11681 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
11683 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
11685 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
11686 multiarch modf for PowerPC32.
11687 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
11689 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
11691 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
11692 multiarch modff for PowerPC32.
11694 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
11695 and lrintf multiarch implementations.
11696 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
11698 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
11700 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
11701 multiarch lrint for PowerPC32.
11702 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
11703 file: multiarch lrintf for PowerPC32.
11705 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
11706 and lroundf multiarch implementations.
11707 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
11709 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
11711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
11713 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
11714 multiarch lround for PowerPC32.
11715 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
11716 file: multiarch lroundf for PowerPC32.
11718 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11719 copysign and copysignf multiarch implementations.
11720 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
11722 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
11724 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
11725 file: multiarch copysign for PowerPC32.
11726 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
11727 file: multiarch copysignf for PowerPC32.
11729 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
11730 and truncf multiarch implementations.
11731 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
11733 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
11735 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
11736 multiarch trunc for PowerPC32.
11737 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
11739 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
11741 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
11742 multiarch truncf for PowerPC32.
11744 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
11745 and roundf multiarch implementations.
11746 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
11748 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
11750 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
11751 multiarch round for PowerPC32.
11752 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
11754 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
11756 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
11757 multiarch roundf for PowerPC32.
11759 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
11760 and floorf multiarch implementations.
11761 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
11763 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
11765 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
11766 multiarch floor for PowerPC32.
11767 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
11769 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
11771 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
11772 multiarch floorf for PowerPC32.
11774 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
11775 and ceilf multiarch implementations.
11776 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
11778 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
11780 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
11781 multiarch ceil for PowerPC32.
11782 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
11784 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
11786 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
11787 multiarch ceilf for PowerPC32.
11789 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
11791 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
11792 FINITEF is defined.
11793 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
11794 and finitef multiarch implementations.
11795 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
11797 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
11799 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
11800 multiarch finite for PowerPC32.
11801 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
11803 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
11804 file: multiarch finitef for PowerPC32.
11806 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
11807 and isinff multiarch implementations.
11808 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
11810 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
11812 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
11813 multiarch isinf for PowerPC32.
11814 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
11816 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
11817 multiarch isinff for PowerPC32.
11819 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
11820 alias when __isnan is defined.
11821 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
11822 and isnanf multiarch implementations.
11823 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
11825 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
11827 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
11829 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
11831 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
11832 multiarch isnan for PowerPC32.
11833 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
11835 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
11837 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
11838 multiarch isnanf for PowerPC32.
11840 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
11841 and sqrtf multiarch implementations.
11842 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
11844 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
11846 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
11847 multiarch sqrt for PowerPC32.
11848 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
11850 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
11852 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
11853 multiarch sqrtf for PowerPC32.
11855 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
11856 and llroundf multiarch implementations.
11857 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
11859 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
11861 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
11863 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
11864 file: multiarch llround for PowerPC32.
11865 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
11866 file: multiarch llroundf for PowerPC32.
11868 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
11869 multiarch PowerPC32 fpu implementations.
11870 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
11872 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
11874 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
11875 multiarch llrint for PowerPC32.
11876 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
11878 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
11880 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
11883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
11885 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
11887 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
11889 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
11891 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
11892 multiarch wordcopy for PPC32.
11893 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
11895 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11896 (__libc_ifunc_impl_list): Likewise.
11897 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
11898 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
11899 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
11900 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
11901 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
11902 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
11904 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
11905 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
11907 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
11909 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
11911 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
11912 multiarch wcscpy for PPC32.
11913 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
11915 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11916 (__libc_ifunc_impl_list): Likewise.
11917 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
11918 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
11919 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
11920 sysdeps/powerpc/power6/wcscpy.c.
11922 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
11923 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
11925 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
11927 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
11929 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
11930 multiarch wcsrchr for PPC32.
11931 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
11933 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11934 (__libc_ifunc_impl_list): Likewise.
11935 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
11936 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
11937 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
11938 sysdeps/powerpc/power6/wcsrchr.c.
11940 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
11942 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
11944 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
11945 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
11946 multiarch wcschr for PPc32.
11947 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
11949 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11950 (__libc_ifunc_impl_list): Likewise.
11951 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
11952 * sysdeps/powerpc/power6/wcschr.c: ... to here.
11953 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
11954 sysdeps/powerpc/power6/wcschr.c.
11956 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
11957 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
11959 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
11960 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
11961 file: multiarch strchr for PPC32.
11962 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
11964 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11965 (__libc_ifunc_impl_list): Likewise.
11967 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
11969 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
11971 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
11973 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
11974 multiarch strchrnul for PPC32.
11975 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
11977 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11978 (__libc_ifunc_impl_list): Likewise.
11980 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
11982 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
11983 multiarch strncasecmp for PPC32.
11984 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
11986 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
11987 multiarch strncasecmp_l for PPC32.
11988 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
11989 strncasecmp multiarch objects.
11990 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11991 (__libc_ifunc_impl_list): Likewise.
11993 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
11995 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
11996 multiarch strncasecmp for PPC32.
11997 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
11999 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
12000 multiarch strcasecmp_l for PPC32.
12001 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
12003 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12004 (__libc_ifunc_impl_list): Likewise.
12006 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
12008 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
12010 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
12011 multiarch strncmp for PPC32.
12012 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
12014 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12015 (__libc_ifunc_impl_list): Likewise.
12017 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
12018 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
12020 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
12021 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
12022 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
12024 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12025 (__libc_ifunc_impl_list): Likewise.
12027 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
12029 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
12031 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
12032 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
12034 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12035 (__libc_ifunc_impl_list): Likewise.
12037 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
12039 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
12041 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
12042 multiarch rawmemchr for PPC32.
12043 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
12045 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12046 (__libc_ifunc_impl_list): Likewise.
12048 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
12050 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
12052 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
12053 file: memrchr multiarch for PPC32.
12054 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
12056 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12057 (__libc_ifunc_impl_list): Likewise.
12059 * string/memchr.c (__memchr): Using macro to redefine symbol name.
12060 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
12062 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
12063 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
12064 multiarch memchr for PPC32.
12065 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
12067 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12068 (__libc_ifunc_impl_list): Likewise.
12070 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
12071 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
12073 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
12075 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
12076 file: multiarch mempcpy for PPC32.
12077 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
12079 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12080 (__libc_ifunc_impl_list): Likewise.
12082 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
12083 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
12084 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
12085 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
12086 multiarch bzero for PPC32.
12087 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
12089 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
12091 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
12092 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
12093 file: multiarch memset for PPC32.
12094 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
12095 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
12096 memset multiarch objects.
12097 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12098 (__libc_ifunc_impl_list): Likewise.
12100 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
12102 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
12103 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
12105 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
12106 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
12108 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12109 (__libc_ifunc_impl_list): Likewise.
12111 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
12112 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
12113 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
12115 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
12117 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
12119 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
12120 multiarch memcpy for PPC32.
12121 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
12123 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12124 (__libc_ifunc_impl_list): Likewise.
12126 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
12127 support multiarch for POWER/PPC32.
12128 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
12130 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
12131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
12132 Implies file to make multiarch folder appers before the fpu and
12133 default folder for power4 configuration.
12135 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12137 * scripts/bench.pl: Append volatile keyword to type.
12139 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12141 * sysdeps/sh/sotruss-lib.c: New file.
12142 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
12144 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12146 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12148 2013-12-05 Joseph Myers <joseph@codesourcery.com>
12151 * math/w_tgamma.c: Include <errno.h>.
12152 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
12153 * math/w_tgammaf.c: Include <errno.h>.
12154 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
12155 * math/w_tgammal.c: Include <errno.h>.
12156 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
12157 * math/auto-libm-test-in: Do not allow missing errno on tgamma
12158 underflow. Add more tgamma tests.
12159 * math/auto-libm-test-out: Regenerated.
12160 * sysdeps/i386/fpu/libm-test-ulps: Update.
12161 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12163 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
12164 sin, sinh, tan, tanh, tgamma, y0 and y1.
12165 * math/auto-libm-test-out: Regenerated.
12166 * math/libm-test.inc (TEST_COND_x86_64): New macro.
12167 (TEST_COND_x86): Likewise.
12168 (M_E2l): Remove macro.
12170 (M_2_SQRT_PIl): Likewise.
12171 (M_SQRT_PIl): Likewise.
12172 (M_1_DIV_El): Likewise.
12173 (log_test_data): Use AUTO_TESTS_f_f.
12174 (log10_test_data): Likewise.
12175 (log1p_test_data): Likewise.
12176 (log2_test_data): Likewise.
12177 (sin_test_data): Likewise.
12178 (sin_tonearest_test_data): Likewise.
12179 (sin_towardzero_test_data): Likewise.
12180 (sin_downward_test_data): Likewise.
12181 (sin_upward_test_data): Likewise.
12182 (sinh_test_data): Likewise.
12183 (sinh_tonearest_test_data): Likewise.
12184 (sinh_towardzero_test_data): Likewise.
12185 (sinh_downward_test_data): Likewise.
12186 (sinh_upward_test_data): Likewise.
12187 (tan_test_data): Likewise.
12188 (tan_tonearest_test_data): Likewise.
12189 (tan_towardzero_test_data): Likewise.
12190 (tan_downward_test_data): Likewise.
12191 (tan_upward_test_data): Likewise.
12192 (tanh_test_data): Likewise.
12193 (tgamma_test_data): Likewise.
12194 (y0_test_data): Likewise.
12195 (y1_test_data): Likewise.
12196 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
12197 (special_real_inputs): Add pi/4.
12198 * sysdeps/i386/fpu/libm-test-ulps: Update.
12199 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12201 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12203 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
12204 "longjmp_target" static probes.
12205 (__longjmp): Rename to __longjmp_symbol.
12206 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12207 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
12208 on which longjmp to generate.
12209 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
12210 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
12212 (__sigsetjmp): Rename to __sigsetjmp_symbol.
12213 (__sigjmp_save): Rename to __sigjmp_save_symbol.
12214 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
12215 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
12216 and __sigjmp_save_symbol based on which sigsetjmp to generated.
12217 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
12218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
12219 __longjmp_symbol based on which __longjmp to generate.
12220 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
12222 (setjmp): Rename to setjmp_symbol.
12223 (__sigsetjmp): Rename to __sigsetjmp_symbol.
12224 (_setjmp): Rename to _setjmp_symbol.
12225 (__sigsetjmp): Rename to __sigsetjmp_symbol.
12226 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
12227 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
12228 which setjmp to generate.
12229 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
12230 "longjmp_target" static probes.
12232 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12234 * benchtests/README: Add note about output arguments.
12235 * benchtests/bench-sincos.c: Remove file.
12236 * benchtests/sincos-inputs: New file.
12237 * scripts/bench.pl: Identify output arguments and define
12238 static variables for them.
12240 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
12243 * Makefile (INSTALL): Add install-plain.texi as the primary
12245 * manual/install-plain.texi: New file.
12246 * manual/install.texi: Include node directive only for
12247 non-plaintext output.
12249 2013-12-04 Joseph Myers <joseph@codesourcery.com>
12251 * stdlib/longlong.h: Update from GCC.
12255 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
12256 * math/w_j0f.c (y0f): Likewise.
12257 * math/w_j0l.c (__y0l): Likewise.
12258 * math/w_j1.c (y1): Likewise.
12259 * math/w_j1f.c (y1f): Likewise.
12260 * math/w_j1l.c (__y1l): Likewise
12261 * math/w_jn.c (yn): Likewise.
12262 * math/w_jnf.c (ynf): Likewise.
12263 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
12264 Bessel function pole errors in _POSIX_ mode. Use NAN as return
12265 value for Bessel function domain errors outside _SVID_ mode.
12266 Adjust sign of return value for yn (negative integer, 0).
12267 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
12268 by zero in return for negative x and set sign appropriately for
12270 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
12271 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
12272 * math/libm-test.inc (y0_test_data): Add more tests and adjust
12273 expectations in error cases.
12274 (y1_test_data): Likewise.
12275 (yn_test_data): Likewise.
12276 * sysdeps/i386/fpu/libm-test-ulps: Update.
12277 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12279 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12281 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
12282 "64" to "64-v1". Add "64-v2".
12283 (abi-64-options): Rename to ...
12284 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
12285 (abi-64-condition): Rename to ...
12286 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
12287 (abi-64-ld-soname): Rename to ...
12288 (abi-64-v1-ld-soname): ... this.
12289 (abi-64-v2-options): Define.
12290 (abi-64-v2-condition): Likewise.
12291 (abi-64-v2-ld-soname): Likewise.
12292 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
12293 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
12294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
12295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
12296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
12298 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12299 Alan Modra <amodra@gmail.com>
12301 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
12302 New versions for use with the ELFv2 ABI.
12303 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
12304 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
12306 (struct La_ppc64v2_retval): Likewise.
12307 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
12308 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
12309 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
12310 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
12311 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
12312 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
12313 Do not save or restore CR.
12314 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
12315 (_dl_profile_resolve): Do no save or restore CR. Support extended
12316 return values for ELFv2 ABI. Fix location of FPR return registers.
12317 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
12318 updated values for _CALL_ELF == 2.
12319 (La_regs, La_retval, int_retval): Likewise.
12321 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12323 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
12324 (FRAME_MIN_SIZE_PARM): Likewise.
12325 (FRAME_BACKCHAIN): Likewise.
12326 (FRAME_CR_SAVE): Likewise.
12327 (FRAME_LR_SAVE): Likewise.
12328 (FRAME_TOC_SAVE): Likewise.
12329 (FRAME_PARM_SAVE): Likewise.
12330 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
12331 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
12332 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
12333 (call_mcount_parm_offset): New macro.
12334 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
12335 (PROF): Use symbolic stack frame offsets.
12336 (TAIL_CALL_SYSCALL_ERROR): Likewise.
12337 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
12338 Redefine in terms of FRAME_MIN_SIZE.
12339 (_dl_runtime_resolve): Use symbolic stack frame offsets.
12340 (_dl_profile_resolve): Likewise. Update comment.
12341 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
12342 symbols stack frame offsets.
12343 (__sigsetjmp): Likewise.
12344 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
12345 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
12346 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
12347 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
12349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
12350 (FRAME_BACKCHAIN): Remove.
12351 (FRAME_CR_SAVE): Likewise.
12352 (FRAME_LR_SAVE): Likewise.
12353 (FRAME_COMPILER_DW): Likewise.
12354 (FRAME_LINKER_DW): 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 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
12361 (CHECK_SP): Use symbolic stack frame offsets.
12362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
12363 zone" instead of caller's parameter save area for temp storage.
12364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
12365 Likewise. Also, use symbolic stack frame offsets.
12366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
12367 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
12368 our own stack frame instead of the caller's.
12369 (__socket): Use symbolic stack frame offsets.
12371 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12372 Alan Modra <amodra@gmail.com>
12374 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
12376 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
12377 (PPC64_LOCAL_ENTRY_OFFSET): Define.
12378 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
12380 (elf_machine_fixup_plt): Call it.
12381 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
12383 (elf_machine_rela): Update call to elf_machine_plt_conflict.
12384 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12385 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
12386 r2 before calling target.
12388 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12389 Alan Modra <amodra@gmail.com>
12391 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
12392 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
12393 versions of macros to support ELFv2 ABI.
12394 (LOCALENTRY): New macro.
12395 (ENTRY, EALIGN): Use it.
12396 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
12397 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
12398 fall through into ENTRY entry point.
12399 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
12400 Only define if _CALL_ELF != 2.
12402 (elf_machine_matches_host): Verify ABI version matches.
12403 (RTLD_START): Use LOCALENTRY.
12404 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
12405 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
12406 (PLT_ENTRY_WORDS): New macro.
12407 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
12408 (elf_machine_runtime_setup): Support ELFv2 ABI.
12409 (elf_machine_fixup_plt): Likewise.
12410 (elf_machine_plt_conflict): Likewise.
12411 (resolve_ifunc): Likewise.
12412 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
12413 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
12415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
12416 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
12417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12418 (makecontext): Support ELFv2 ABI.
12419 * elf/elf.h (EF_PPC64_ABI): Define.
12421 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12423 * sysdeps/powerpc/powerpc64/sysdep.h
12424 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
12425 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
12426 (ENTRY) [ASSEMBLER]: ... but instead here ...
12427 (EALIGN) [ASSEMBLER]: ... and here.
12428 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
12429 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
12430 (ENTRY_2) [!ASSEMBLER]: Use it.
12431 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
12432 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
12433 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12434 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
12435 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
12436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
12437 Use PPC64_LOAD_FUNCPTR.
12439 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
12441 2013-12-04 Alan Modra <amodra@gmail.com>
12443 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
12444 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
12445 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
12446 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
12448 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
12449 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
12450 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
12451 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
12452 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
12453 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
12455 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12458 (__makecontext): Fix incorrect CFI when backtracing out of
12459 context created via makecontext.
12460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
12461 (__setcontext): Fix incorrect CFI during switch to new context.
12462 (__novec_setcontext): Likewise.
12464 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
12467 * time/strptime_l.c (__strptime_internal): Allow modifiers
12469 * time/tst-strptime.c (day_tests): Add testcase.
12471 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12473 * scripts/bench.pl: Skip over blank lines.
12475 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
12478 * manual/time.texi (Calendar Time): Clarify what timezone functions
12481 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12483 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12485 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
12487 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
12489 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
12490 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
12491 * debug/memset_chk.c (__memset_chk): Likewise.
12492 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
12493 * debug/strncpy_chk.c: Likewise.
12495 2013-12-03 Joseph Myers <joseph@codesourcery.com>
12499 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
12500 (__ieee754_exp): For possibly underflowing results, check size of
12501 result and force underflow exception if required.
12502 * math/auto-libm-test-in: Add more tests of exp.
12503 * math/auto-libm-test-out: Regenerated.
12504 * sysdeps/i386/fpu/libm-test-ulps: Update.
12505 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12508 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
12509 * math/w_exp2f.c (__exp2f): Likewise.
12510 * math/w_exp2l.c (__exp2l): Likewise.
12511 * math/auto-libm-test-in: Do not allow missing errno on exp2
12513 * math/auto-libm-test-out: Regenerated.
12515 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
12518 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
12519 handle filename validation.
12520 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
12523 2013-12-03 Joseph Myers <joseph@codesourcery.com>
12526 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
12527 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
12528 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
12530 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
12531 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
12532 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12533 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
12534 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12535 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
12536 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12537 * math/auto-libm-test-in: Don't allow missing errno from erfc.
12538 Add more erfc tests.
12539 * math/auto-libm-test-out: Regenerated.
12540 * sysdeps/i386/fpu/libm-test-ulps: Update.
12541 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12543 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
12544 exp2, expm1, j0 and j1.
12545 * math/auto-libm-test-out: Regenerated.
12546 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
12547 (erfc_test_data): Likewise.
12548 (exp_test_data): Likewise.
12549 (exp_tonearest_test_data): Likewise.
12550 (exp_towardzero_test_data): Likewise.
12551 (exp_downward_test_data): Likewise.
12552 (exp_upward_test_data): Likewise.
12553 (exp10_test_data): Likewise.
12554 (exp2_test_data): Likewise.
12555 (expm1_test_data): Likewise.
12556 (j0_test_data): Likewise.
12557 (j1_test_data): Likewise.
12558 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
12559 (input_flag_type): Add flag_xfail_rounding.
12560 (input_flags): Add xfail-rounding.
12561 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
12562 (output_for_one_input_case): Handle flag_xfail_rounding.
12563 * sysdeps/i386/fpu/libm-test-ulps: Update.
12564 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12566 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
12569 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
12572 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12575 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
12576 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
12577 (STAP_PROBE0): New macro.
12578 (STAP_PROBE1): Likewise.
12579 (STAP_PROBE2): Likewise.
12580 (STAP_PROBE3): Likewise.
12581 (STAP_PROBE4): Likewise.
12583 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
12585 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
12587 2013-12-02 Steve Ellcey <sellcey@mips.com>
12589 * benchtests/Makefile (bench): Add sqrt.
12590 (LDLIBS-bench-sqrt): New.
12591 * benchtests/sqrt-input: New.
12593 2013-12-02 Pavel Simerda <psimerda@redhat.com>
12595 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
12596 (GAIH_EAI): Likewise.
12597 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
12598 (gaih_inet): Likewise.
12599 (getaddrinfo): Don't use GAIH_EAI.
12601 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
12602 (struct gaih): Remove definition.
12604 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12606 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
12607 Use HERRNOP directly.
12609 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12611 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12613 2013-11-30 Joseph Myers <joseph@codesourcery.com>
12615 * math/gen-auto-libm-tests.c (test_functions): Add more
12616 single-argument functions.
12617 (special_fill_pi_2): New function.
12618 (special_fill_minus_pi_2): Likewise.
12619 (special_fill_pi_6): Likewise.
12620 (special_fill_minus_pi_6): Likewise.
12621 (special_fill_pi_3): Likewise.
12622 (special_fill_2pi_3): Likewise.
12623 (special_fill_e): Likewise.
12624 (special_fill_1_e): Likewise.
12625 (special_fill_e_minus_1): Likewise.
12626 (special_real_inputs): Add more special inputs.
12627 (output_for_one_input_case): Do not require ERANGE on underflow to
12628 zero if round-to-nearest result does not underflow to zero, unless
12629 exact results required.
12630 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
12631 atan, atanh, cbrt, cos and cosh.
12632 * math/auto-libm-test-out: Regenerated.
12633 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
12634 (acos_tonearest_test_data): Likewise.
12635 (acos_towardzero_test_data): Likewise.
12636 (acos_downward_test_data): Likewise.
12637 (acos_upward_test_data): Likewise.
12638 (acosh_test_data): Likewise.
12639 (asin_test_data): Likewise.
12640 (asin_tonearest_test_data): Likewise.
12641 (asin_towardzero_test_data): Likewise.
12642 (asin_upward_test_data): Likewise.
12643 (asinh_test_data): Likewise.
12644 (atan_test_data): Likewise.
12645 (atanh_test_data): Likewise.
12646 (cbrt_test_data): Likewise.
12647 (cos_test_data): Likewise.
12648 (cos_tonearest_test_data): Likewise.
12649 (cos_towardzero_test_data): Likewise.
12650 (cos_downward_test_data): Likewise.
12651 (cos_upward_test_data): Likewise.
12652 (cosh_test_data): Likewise.
12653 (cosh_tonearest_test_data): Likewise.
12654 (cosh_towardzero_test_data): Likewise.
12655 (cosh_downward_test_data): Likewise.
12656 (cosh_upward_test_data): Likewise.
12657 * sysdeps/i386/fpu/libm-test-ulps: Update.
12658 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12660 2013-11-29 Joseph Myers <joseph@codesourcery.com>
12663 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
12664 * math/w_exp10f.c (__exp10f): Likewise.
12665 * math/w_exp10l.c (__exp10l): Likewise.
12666 * math/libm-test.inc (exp10_test_data): Add more tests and expect
12667 errno settings in existing tests.
12670 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
12671 precision control set to double precision.
12672 * sysdeps/i386/fpu/w_sqrt.c: New file.
12673 * math/auto-libm-test-in: Add more tests.
12674 * math/auto-libm-test-out: Update.
12676 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
12677 (sqrt_test_tonearest): New function.
12678 (sqrt_towardzero_test_data): New variable.
12679 (sqrt_test_towardzero): New function.
12680 (sqrt_downward_test_data): New variable.
12681 (sqrt_test_downward): New function.
12682 (sqrt_upward_test_data): New variable.
12683 (sqrt_test_upward): New function.
12684 (main): Call the new functions.
12686 * math/gen-auto-libm-tests.c: New file.
12687 * math/auto-libm-test-in: Likewise.
12688 * math/auto-libm-test-out: New generated file.
12689 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
12691 (%beautify): Add generated representations of zero.
12692 (top level): Set $auto_input and call parse_auto_input.
12693 (beautify): Remove trailing "f" from hex float constants.
12694 (parse_args): Handle XFAIL_TEST.
12695 (convert_condition): New function.
12696 (or_value): Likewise.
12697 (or_cond_value): Likewise.
12698 (generate_testfile): Handle AUTO_TESTS_* lines.
12699 (parse_auto_input): New function.
12700 * math/libm-test.inc (XFAIL_TEST): New macro.
12701 (ERRNO_UNCHANGED): Update value.
12702 (ERRNO_EDOM): Likewise.
12703 (ERRNO_ERANGE): Likewise.
12704 (IGNORE_RESULT): Likewise.
12705 (TEST_COND_flt_32): New macro.
12706 (TEST_COND_dbl_64): Likewise.
12707 (TEST_COND_ldbl_96_intel): Likewise.
12708 (TEST_COND_ldbl_96_m68k): Likewise.
12709 (TEST_COND_ldbl_128): Likewise.
12710 (TEST_COND_ldbl_128ibm): Likewise.
12711 (TEST_COND_long32): Likewise.
12712 (TEST_COND_long64): Likewise.
12713 (TEST_COND_before_rounding): Likewise.
12714 (TEST_COND_after_rounding): Likewise.
12715 (enable_test): Handle XFAIL_TEST flag.
12716 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
12717 with finite results.
12718 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
12719 auto-libm-test-out.
12721 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12722 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12725 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
12726 __tls_get_addr_internal instead of __tls_get_offset in order to
12727 avoid GOT pointer dependency. Make rtld export
12728 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
12729 __tls_get_addr since we are a __tls_get_offset platform.
12730 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
12731 GOT pointer being set up before.
12732 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
12734 2013-11-28 Joseph Myers <joseph@codesourcery.com>
12736 * manual/math.texi (Errors in Math Functions): Document accuracy
12740 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
12741 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
12742 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
12743 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12744 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12745 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12746 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12747 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
12748 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
12749 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12750 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12751 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12752 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12753 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12754 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
12755 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
12757 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
12758 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
12759 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
12760 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
12761 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
12763 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
12765 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
12767 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
12768 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
12769 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
12770 atomic-feupdateenv and flt-rounds.
12771 * sysdeps/powerpc/nofpu/Versions (libc): Add
12772 __atomic_feholdexcept, __atomic_feclearexcept,
12773 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
12774 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
12775 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
12776 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
12777 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
12779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
12782 * manual/arith.texi (FP Exceptions): Document that exceptions may
12783 not be raised when matherr is used.
12784 (Math Error Reporting): Document overflow in directed rounding
12785 modes. Document that errno may not be set when finite values are
12786 returned on overflow. Document intent to set errno on underflow
12787 only for underflow to zero.
12790 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
12791 round-to-nearest then adjust result for other rounding modes.
12792 * include/fenv.h (fegetround): Use libm_hidden_proto.
12793 * math/fegetround.c (fegetround): Use libm_hidden_def.
12794 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
12795 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
12796 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
12797 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
12799 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
12800 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
12801 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
12802 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
12804 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12807 * nss/Versions (libnss_files): Add
12808 _nss_files_gethostbyname3_r.
12809 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
12811 (HOST_DB_LOOKUP): Remove macro.
12812 (_nss_files_gethostbyname_r): Implement function without the
12813 HOST_DB_LOOKUP macro.
12814 (_nss_files_gethostbyname2_r): Likewise.
12816 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
12818 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
12820 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
12822 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
12823 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
12826 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12828 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
12829 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
12830 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
12831 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
12832 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
12833 __fe_nomask_env_priv and attribute_hidden.
12834 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
12835 (libc_feupdateenv_test_ppc): Likewise.
12836 (libc_feresetround_ppc): Likewise.
12837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12838 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
12839 compat_symbol macro.
12840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12841 (__fe_nomask_env): Likewise.
12842 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
12844 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
12846 * string/Makefile: Remove ifunc tests.
12847 * string/test-string.h: Define TEST_IFUNC.
12848 * string/test-bcopy-ifunc.c: Remove.
12849 * string/test-bzero-ifunc.c: Likewise.
12850 * string/test-memccpy-ifunc.c: Likewise.
12851 * string/test-memchr-ifunc.c: Likewise.
12852 * string/test-memcmp-ifunc.c: Likewise.
12853 * string/test-memcpy-ifunc.c: Likewise.
12854 * string/test-memmem-ifunc.c: Likewise.
12855 * string/test-memmove-ifunc.c: Likewise.
12856 * string/test-mempcpy-ifunc.c: Likewise.
12857 * string/test-memrchr-ifunc.c: Likewise.
12858 * string/test-memset-ifunc.c: Likewise.
12859 * string/test-rawmemchr-ifunc.c: Likewise.
12860 * string/test-stpcpy-ifunc.c: Likewise.
12861 * string/test-stpncpy-ifunc.c: Likewise.
12862 * string/test-strcasecmp-ifunc.c: Likewise.
12863 * string/test-strcasestr-ifunc.c: Likewise.
12864 * string/test-strcat-ifunc.c: Likewise.
12865 * string/test-strchr-ifunc.c: Likewise.
12866 * string/test-strchrnul-ifunc.c: Likewise.
12867 * string/test-strcmp-ifunc.c: Likewise.
12868 * string/test-strcpy-ifunc.c: Likewise.
12869 * string/test-strcspn-ifunc.c: Likewise.
12870 * string/test-strlen-ifunc.c: Likewise.
12871 * string/test-strncasecmp-ifunc.c: Likewise.
12872 * string/test-strncat-ifunc.c: Likewise.
12873 * string/test-strncmp-ifunc.c: Likewise.
12874 * string/test-strncpy-ifunc.c: Likewise.
12875 * string/test-strnlen-ifunc.c: Likewise.
12876 * string/test-strpbrk-ifunc.c: Likewise.
12877 * string/test-strrchr-ifunc.c: Likewise.
12878 * string/test-strspn-ifunc.c: Likewise.
12879 * string/test-strstr-ifunc.c: Likewise.
12881 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
12883 * benchtests/Makefile: Remove ifunc tests.
12884 * benchtests/bench-string.h: Define TEST_IFUNC.
12885 * benchtests/bench-bcopy-ifunc.c: Remove.
12886 * benchtests/bench-bzero-ifunc.c: Likewise.
12887 * benchtests/bench-memccpy-ifunc.c: Likewise.
12888 * benchtests/bench-memchr-ifunc.c: Likewise.
12889 * benchtests/bench-memcmp-ifunc.c: Likewise.
12890 * benchtests/bench-memcpy-ifunc.c: Likewise.
12891 * benchtests/bench-memmem-ifunc.c: Likewise.
12892 * benchtests/bench-memmove-ifunc.c: Likewise.
12893 * benchtests/bench-mempcpy-ifunc.c: Likewise.
12894 * benchtests/bench-memrchr-ifunc.c: Likewise.
12895 * benchtests/bench-memset-ifunc.c: Likewise.
12896 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
12897 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
12898 * benchtests/bench-stpcpy-ifunc.c: Likewise.
12899 * benchtests/bench-stpncpy-ifunc.c: Likewise.
12900 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
12901 * benchtests/bench-strcasestr-ifunc.c: Likewise.
12902 * benchtests/bench-strcat-ifunc.c: Likewise.
12903 * benchtests/bench-strchr-ifunc.c: Likewise.
12904 * benchtests/bench-strchrnul-ifunc.c: Likewise.
12905 * benchtests/bench-strcmp-ifunc.c: Likewise.
12906 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
12907 * benchtests/bench-strcpy-ifunc.c: Likewise.
12908 * benchtests/bench-strcspn-ifunc.c: Likewise.
12909 * benchtests/bench-strlen-ifunc.c: Likewise.
12910 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
12911 * benchtests/bench-strncat-ifunc.c: Likewise.
12912 * benchtests/bench-strncmp-ifunc.c: Likewise.
12913 * benchtests/bench-strncpy-ifunc.c: Likewise.
12914 * benchtests/bench-strnlen-ifunc.c: Likewise.
12915 * benchtests/bench-strpbrk-ifunc.c: Likewise.
12916 * benchtests/bench-strrchr-ifunc.c: Likewise.
12917 * benchtests/bench-strsep-ifunc.c: Likewise.
12918 * benchtests/bench-strspn-ifunc.c: Likewise.
12919 * benchtests/bench-strstr-ifunc.c: Likewise.
12921 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
12923 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
12925 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
12927 * resolv/netdb.h: Use __glibc_reserved instead __unused.
12928 * rt/aio.h: Likewise.
12929 * sysdeps/gnu/bits/utmp.h: Likewise.
12930 * sysdeps/gnu/bits/utmpx.h: Likewise.
12931 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
12932 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
12933 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
12934 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
12935 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
12936 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
12937 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
12938 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
12939 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
12940 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
12941 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
12942 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
12943 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
12944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
12945 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12946 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
12947 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
12948 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
12949 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
12950 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
12951 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
12952 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
12953 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
12954 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
12955 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
12956 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12957 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
12958 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
12959 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
12960 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
12961 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
12962 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
12963 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
12964 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
12965 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
12966 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
12967 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
12968 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
12969 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
12970 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
12971 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
12972 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
12974 2013-11-25 Carlos O'Donell <carlos@redhat.com>
12977 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
12978 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
12980 2013-11-25 Joseph Myers <joseph@codesourcery.com>
12982 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
12983 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
12986 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12988 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
12989 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
12990 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
12991 (__fesetround): Remove define.
12992 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
12993 rounding and exceptions handling.
12994 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
12995 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
12996 (__fe_nomask_env): Likewise.
12997 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
12998 __fegetround instead of fegetround.
12999 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
13000 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
13002 2013-11-21 Roland McGrath <roland@hack.frob.com>
13004 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
13007 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
13009 2013-11-21 Meador Inge <meadori@codesourcery.com>
13012 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
13013 (encrypt_r): Likewise.
13014 * malloc/obstack.h (obstack_free): Likewise.
13015 * posix/unistd.h (encrypt): Likewise.
13017 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
13019 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
13020 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
13021 DL_CALL_DT_FINI() that call the functions directly.
13022 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
13023 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
13024 * elf/dl-fini.c: Likewise.
13026 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
13028 * malloc/hooks.c (memalign_check): Add alignment rounding.
13029 * malloc/malloc.c (_mid_memalign): New function.
13030 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
13031 Implement by calling _mid_memalign.
13032 * manual/probes.texi (Memory Allocation Probes): Remove
13033 memory_valloc_retry and memory_pvalloc_retry.
13035 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13037 * locale/programs/locarchive.c (open_archive): Add const
13038 qualifier to ARCHIVEFNAME and copy default fname to
13042 * libio/tst-widetext.input: Rename Oriya to Odia.
13043 * locale/iso-639.def: Likewise.
13045 * manual/probes.texi (Mathematical Function Probes): Add
13046 documentation for sin, cos, asin and acos probes.
13047 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
13048 (__sin32): Add slowasin probe.
13049 (__cos32): Add slowacos probe.
13050 (__mpsin): Add slowsin probe.
13051 (__mpcos): Add slowcos probe.
13053 2013-11-19 Joseph Myers <joseph@codesourcery.com>
13056 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
13057 thread-local __sim_exceptions_thread and global
13058 __sim_exceptions_global.
13059 (__sim_disabled_exceptions): Change to thread-local
13060 __sim_disabled_exceptions_thread and global
13061 __sim_disabled_exceptions_global.
13062 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13063 and global __sim_round_mode_global.
13064 (__simulate_exceptions): Use thread-local floating-point state and
13065 set global state from it as needed.
13066 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
13067 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
13068 __sim_round_mode_thread.
13069 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
13070 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
13071 and global __sim_exceptions_global.
13072 (__sim_disabled_exceptions): Change to thread-local
13073 __sim_disabled_exceptions_thread and global
13074 __sim_disabled_exceptions_global.
13075 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13076 and global __sim_round_mode_global.
13077 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
13078 (SIM_SET_GLOBAL): Likewise.
13079 * sysdeps/powerpc/soft-fp/sfp-machine.h
13080 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
13081 __sim_round_mode_thread.
13082 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
13083 __sim_disabled_exceptions_thread.
13084 (__sim_exceptions): Change to __sim_exceptions_thread.
13085 (__sim_disabled_exceptions): Change to
13086 __sim_disabled_exceptions_thread.
13087 (__sim_round_mode): Change to __sim_round_mode_thread.
13088 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
13089 thread-local floating-point state and set global state from it as
13091 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
13092 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
13093 (__sim_disabled_exceptions): Remove extern declaration.
13094 (feenableexcept): Use thread-local floating-point state and set
13095 global state from it as needed.
13096 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
13097 extern declaration.
13098 (__sim_disabled_exceptions): Likewise.
13099 (__sim_round_mode): Likewise.
13100 (__fegetenv): Use thread-local floating-point state.
13101 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
13102 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13103 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
13104 floating-point state and set global state from it as needed.
13105 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
13106 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
13107 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
13109 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
13110 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
13112 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
13113 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
13114 Use __sim_round_mode_thread.
13115 * math/test-fenv-tls.c: New file.
13116 * math/Makefile (tests): Add test-fenv-tls.
13117 ($(objpfx)test-fenv-tls): Depend on
13118 $(common-objpfx)nptl/libpthread.so.
13120 2013-11-19 Andreas Schwab <schwab@suse.de>
13122 * locale/programs/locale.c (show_info): Decode wordarray elements.
13123 * locale/categories.def (LC_MONETARY): Add element for
13124 _NL_MONETARY_CRNCYSTR.
13125 * locale/C-monetary.c (conversion_rate): New variable.
13126 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
13129 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
13131 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
13132 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
13134 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
13136 * elf/Makefile (tst-auxv): New test.
13137 * elf/tst-auxv.c: New
13138 * elf/rtld.c (dl_main): Adjust AT_EXECFN
13140 2013-11-18 Joseph Myers <joseph@codesourcery.com>
13142 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
13143 (hidden_proto): Caller changed.
13144 (hidden_tls_proto): New macro.
13145 (libc_hidden_tls_proto): Likewise.
13146 (rtld_hidden_tls_proto): Likewise.
13147 (libm_hidden_tls_proto): Likewise.
13148 (libresolv_hidden_tls_proto): Likewise.
13149 (librt_hidden_tls_proto): Likewise.
13150 (libdl_hidden_tls_proto): Likewise.
13151 (libnss_files_hidden_tls_proto): Likewise.
13152 (libnsl_hidden_tls_proto): Likewise.
13153 (libnss_nisplus_hidden_tls_proto): Likewise.
13154 (libutil_hidden_tls_proto): Likewise.
13156 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
13159 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
13160 (decompose_rpath): Defer expansion to fillin_rpath.
13161 (_dl_init_paths): Pass linkmap to fillin_rpath.
13163 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13165 * benchtests/Makefile: Add strsep.
13166 * benchtests/bench-strsep.c: New file: strsep benchtest.
13167 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
13169 2013-11-18 Andreas Schwab <schwab@suse.de>
13171 * locale/programs/locale.c (show_info) [case byte]: Check for
13172 '\377' instead of '\177'.
13173 * locale/C-monetary.c (not_available): Always use "\377".
13174 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
13175 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
13176 detect unavailable sign_posn locale elements.
13177 * locale/localeconv.c (__localeconv): For grouping and
13178 mon_grouping handle "\177" and "\377" like no grouping.
13179 (INT_ELEM): New macro. Use it to set all numeric members.
13180 * locale/programs/ld-monetary.c (monetary_read)
13181 <tok_mon_grouping>: Normalize single -1 to the empty string.
13182 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
13185 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
13188 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
13189 when we match (nil).
13190 * stdio-common/tst-sscanf.c (struct test): Add testcase.
13192 2013-11-16 Joseph Myers <joseph@codesourcery.com>
13194 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
13195 (NO_TEST_INLINE): Update value.
13196 (ERRNO_UNCHANGED): Likewise.
13197 (ERRNO_EDOM): Likewise.
13198 (ERRNO_ERANGE): Likewise.
13199 (IGNORE_RESULT): Likewise.
13200 (check_float_internal): Check signs of NaN results if
13201 TEST_NAN_SIGN used.
13202 (check_complex): Pass TEST_NAN_SIGN flag through to second
13203 check_float_internal call.
13204 (copysign_test_data): Add tests with quiet NaNs as second
13205 argument. Use TEST_NAN_SIGN.
13206 (fabs_test_data): Add test of negative quiet NaN argument. Use
13208 (signbit_test_data): Add tests of quiet NaN argument.
13209 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
13211 * math/gen-libm-test.pl (show_exceptions): Take extra argument
13213 (parse_args): Handle function results specified as IGNORE.
13214 * math/libm-test.inc (IGNORE_RESULT): New macro.
13215 (check_float_internal): Do not check numerical result if flag
13217 (check_complex): Pass through IGNORE_RESULT to second
13218 check_float_internal call.
13219 (check_int): Do not check numerical result if flag IGNORE_RESULT
13221 (check_long): Likewise.
13222 (check_bool): Likewise.
13223 (check_longlong): Likewise.
13224 (lrint_test_data): Add tests of infinite and NaN arguments.
13225 (lrint_tonearest_test_data): Likewise.
13226 (lrint_towardzero_test_data): Likewise.
13227 (lrint_downward_test_data): Likewise.
13228 (lrint_upward_test_data): Likewise.
13229 (llrint_test_data): Likewise.
13230 (llrint_tonearest_test_data): Likewise.
13231 (llrint_towardzero_test_data): Likewise.
13232 (llrint_downward_test_data): Likewise.
13233 (llrint_upward_test_data): Likewise.
13234 (lround_test_data): Likewise.
13235 (llround_test_data): Likewise.
13237 * math/libm-test.inc (NO_TEST_INLINE): New macro.
13238 (ERRNO_UNCHANGED): Update value.
13239 (ERRNO_EDOM): Likewise.
13240 (ERRNO_ERANGE): Likewise.
13241 (NO_TEST_INLINE_FLOAT): New macro.
13242 (NO_TEST_INLINE_DOUBLE): Likewise.
13243 (enable_test): New function.
13244 (RUN_TEST_f_f): Check enable_test before running test.
13245 (RUN_TEST_2_f): Likewise.
13246 (RUN_TEST_fff_f): Likewise.
13247 (RUN_TEST_c_f): Likewise.
13248 (RUN_TEST_f_f1): Likewise.
13249 (RUN_TEST_fF_f1): Likewise.
13250 (RUN_TEST_fI_f1): Likewise.
13251 (RUN_TEST_ffI_f1): Likewise.
13252 (RUN_TEST_c_c): Likewise.
13253 (RUN_TEST_cc_c): Likewise.
13254 (RUN_TEST_f_i): Likewise.
13255 (RUN_TEST_f_i_tg): Likewise.
13256 (RUN_TEST_ff_i_tg): Likewise.
13257 (RUN_TEST_f_b): Likewise.
13258 (RUN_TEST_f_b_tg): Likewise.
13259 (RUN_TEST_f_l): Likewise.
13260 (RUN_TEST_f_L): Likewise.
13261 (RUN_TEST_fFF_11): Likewise.
13262 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
13264 (cosh_test_data): Likewise.
13265 (exp_test_data): Likewise.
13266 (expm1_test_data): Likewise.
13267 (hypot_test_data): Likewise.
13268 (pow_test_data): Likewise.
13269 (sinh_test_data): Likewise.
13270 (tanh_test_data): Likewise.
13271 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
13274 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
13275 tests with quiet NaN input and output.
13276 (acosh_test_data): Likewise.
13277 (asin_test_data): Likewise.
13278 (asinh_test_data): Likewise.
13279 (atan_test_data): Likewise.
13280 (atanh_test_data): Likewise.
13281 (atan2_test_data): Likewise.
13282 (cbrt_test_data): Likewise.
13283 (cos_test_data): Likewise.
13284 (cosh_test_data): Likewise.
13285 (erf_test_data): Likewise.
13286 (erfc_test_data): Likewise.
13287 (exp_test_data): Likewise.
13288 (exp10_test_data): Likewise.
13289 (exp2_test_data): Likewise.
13290 (expm1_test_data): Likewise.
13291 (hypot_test_data): Likewise.
13292 (j0_test_data): Likewise.
13293 (j1_test_data): Likewise.
13294 (jn_test_data): Likewise.
13295 (lgamma_test_data): Likewise.
13296 (log_test_data): Likewise.
13297 (log10_test_data): Likewise.
13298 (log1p_test_data): Likewise.
13299 (log2_test_data): Likewise.
13300 (pow_test_data): Likewise.
13301 (scalb_test_data): Likewise.
13302 (sin_test_data): Likewise.
13303 (sincos_test_data): Likewise.
13304 (sinh_test_data): Likewise.
13305 (tan_test_data): Likewise.
13306 (tanh_test_data): Likewise.
13307 (tgamma_test_data): Likewise.
13308 (y0_test_data): Likewise.
13309 (y1_test_data): Likewise.
13310 (yn_test_data): Likewise.
13313 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
13314 argument being NaN and avoid computations with second argument in
13316 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
13317 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
13318 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
13320 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
13322 * locale/iso-639.def: Add Chitwani Tharu (the).
13324 2013-11-14 Andreas Schwab <schwab@suse.de>
13326 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
13327 word instead of empty string.
13329 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13332 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
13333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13334 (__fe_nomask_env): Likewise.
13336 2013-11-13 Steve Ellcey <sellcey@mips.com>
13338 * benchtests/bench-timing.h: Include time.h.
13340 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
13343 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
13345 * sysdeps/unix/sysv/linux/configure: Regenerated.
13347 2013-11-13 Joseph Myers <joseph@codesourcery.com>
13350 * stdlib/strtod_l.c (round_and_return): Do not consider
13351 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
13352 exponent one less than half the least subnormal exponent.
13353 * stdlib/test-strtod-round-data: Add more tests.
13354 * stdlib/tst-strtod-round.c (tests): Regenerated.
13356 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13359 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
13360 (__fe_mask_env): Likewise.
13361 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
13362 libm_hidden_proto and add function prototype.
13363 (__fe_mask_env): Add function prototype.
13364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13365 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
13366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
13367 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
13368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13369 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
13371 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13373 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
13374 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
13376 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13378 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
13379 of htab_find_slot().
13381 2013-11-11 David S. Miller <davem@davemloft.net>
13384 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
13385 symbol in the non-vis3 case in static builds.
13386 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
13387 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
13388 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
13389 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
13391 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13394 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
13397 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13399 * benchtests/Makefile: Add bench-strtod.
13400 * benchtests/bench-strtod.c: New file: strtod benchtest
13402 2013-11-11 Andreas Schwab <schwab@suse.de>
13405 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
13406 terminating NUL in key length.
13408 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13410 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13411 Add artificial ODP entry for vDSO symbol for PPC64.
13412 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
13413 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
13415 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
13418 * nss/getent.c (services_keys): Recognize services starting with digit.
13420 2013-11-06 David S. Miller <davem@davemloft.net>
13423 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
13424 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
13426 2013-11-06 Will Newton <will.newton@linaro.org>
13428 * manual/memory.texi (Malloc Examples): Remove register
13429 keyword from examples.
13431 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
13433 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
13435 2013-11-04 Joseph Myers <joseph@codesourcery.com>
13438 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
13439 depending on [__GCC_IEC_559 > 0].
13440 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
13441 depending on [__GCC_IEC_559_COMPLEX > 0].
13443 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
13445 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
13448 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
13450 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
13452 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
13455 * malloc/malloc (malloc_info): Do not handle first bin as
13458 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
13460 * locale/iso-639.def: Add Central Nahuatl (nhn).
13462 2013-11-01 Bruno Haible <bruno@clisp.org>
13465 * manual/math.texi (BSD Random): Specify range upper bound as
13468 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
13470 * locale/iso-639.def: Add Meadow Mari (mhr).
13472 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
13474 [BZ #14752], [BZ #15763]
13475 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
13477 * rt/tst_shm.c: Add test for escaping directory.
13479 2013-10-31 Andreas Schwab <schwab@suse.de>
13482 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
13483 followed by 'x' as part of digit sequence.
13484 * stdio-common/tst-sscanf.c (double_tests2): New tests.
13486 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
13489 * configure.ac: allow GNU Make 4.0 and greater.
13490 * configure: Regenerated.
13492 2013-10-30 Will Newton <will.newton@linaro.org>
13495 * malloc/hooks.c (memalign_check): Limit alignment to the
13496 maximum representable power of two.
13497 * malloc/malloc.c (__libc_memalign): Likewise.
13498 * malloc/tst-memalign.c (do_test): Add test for very
13499 large alignment values.
13500 * malloc/tst-posix_memalign.c (do_test): Likewise.
13502 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
13505 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
13506 (munmap_chunk): Likewise.
13507 (mremap_chunk): Likewise.
13509 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
13512 * stdlib/div.c (div): Remove obsolete code.
13513 * stdlib/ldiv.c (ldiv): Likewise.
13514 * stdlib/lldiv.c (lldiv): Likewise.
13516 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13519 * nss/nss_files/files-XXX.c (get_contents_ret): New
13521 (get_contents): New function.
13522 (internal_getent): Use it. Expand size of LINEBUFLEN.
13524 2013-10-30 Mike Frysinger <vapier@gentoo.org>
13526 * configure.in: Moved to ...
13527 * configure.ac: ... here. Change reference to configure.in
13529 * sysdeps/arm/preconfigure.ac: ... here.
13530 configure.in to configure.ac.
13531 * sysdeps/gnu/configure.in: Moved to ...
13532 * sysdeps/gnu/configure.ac: ... here.
13533 * sysdeps/i386/configure.in: Moved to ...
13534 * sysdeps/i386/configure.ac: ... here.
13535 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
13536 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
13537 * sysdeps/mach/configure.in: Moved to ...
13538 * sysdeps/mach/configure.ac: ... here.
13539 * sysdeps/mach/hurd/configure.in: Moved to ...
13540 * sysdeps/mach/hurd/configure.ac: ... here.
13541 * sysdeps/powerpc/configure.in: Moved to ...
13542 * sysdeps/powerpc/configure.ac: ... here.
13543 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
13544 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
13545 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
13546 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
13547 * sysdeps/s390/s390-32/configure.in: Moved to ...
13548 * sysdeps/s390/s390-32/configure.ac: ... here.
13549 * sysdeps/s390/s390-64/configure.in: Moved to ...
13550 * sysdeps/s390/s390-64/configure.ac: ... here.
13551 * sysdeps/sh/configure.in: Moved to ...
13552 * sysdeps/sh/configure.ac: ... here.
13553 * sysdeps/sparc/configure.in: Moved to ...
13554 * sysdeps/sparc/configure.ac: ... here.
13555 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
13556 * sysdeps/unix/sysv/linux/configure.ac: ... here.
13557 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
13558 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
13559 * sysdeps/x86_64/configure.in: Moved to ...
13560 * sysdeps/x86_64/configure.ac: ... here.
13561 * sysdeps/x86_64/preconfigure.in: Moved to ...
13562 * sysdeps/x86_64/preconfigure.ac: ... here.
13563 * aclocal.m4: Change reference to configure.in to configure.ac.
13564 * config.h.in: Likewise.
13565 * manual/install.texi: Likewise.
13566 * manual/maint.texi: Likewise.
13567 * Makefile: Likewise.
13568 * malloc/Makefile: Likewise.
13569 * nscd/Makefile: Likewise.
13570 * Makeconfig: Change reference to configure.in and
13571 preconfigure.in to configure.ac and preconfigure.ac
13573 * INSTALL: Regenerated.
13574 * configure: Likewise.
13575 * sysdeps/gnu/configure: Likewise.
13576 * sysdeps/i386/configure: Likewise.
13577 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
13578 * sysdeps/mach/configure: Likewise.
13579 * sysdeps/mach/hurd/configure: Likewise.
13580 * sysdeps/powerpc/configure: Likewise.
13581 * sysdeps/powerpc/powerpc32/configure: Likewise.
13582 * sysdeps/powerpc/powerpc64/configure: Likewise.
13583 * sysdeps/s390/s390-32/configure: Likewise.
13584 * sysdeps/s390/s390-64/configure: Likewise.
13585 * sysdeps/sh/configure: Likewise.
13586 * sysdeps/sparc/configure: Likewise.
13587 * sysdeps/unix/sysv/linux/configure: Likewise.
13588 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
13589 * sysdeps/x86_64/configure: Likewise.
13590 * sysdeps/x86_64/preconfigure: Likewise.
13592 2013-10-29 Andreas Schwab <schwab@suse.de>
13594 * stdio-common/Makefile (tst-swscanf-ENV): Define.
13596 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13598 * benchtests/pow-inputs: Add new inputs.
13600 * benchtests/exp-inputs: Add new inputs.
13602 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
13603 conditional check for return value.
13604 (__cos32): Likewise.
13606 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13608 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
13609 to provide a boost for large inputs with word alignment.
13610 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
13611 implementation based on optimized PPC64 strcpy.
13612 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
13613 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
13614 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
13615 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
13617 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
13620 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
13622 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
13625 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
13626 * time/tst-strptime.c (day_tests): Add testcase.
13628 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
13631 * manual/pattern.texi: Acknowledge that fnmatch can fail.
13633 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
13636 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
13637 MAP_FAILED on error.
13639 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13642 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
13643 heap for large requests.
13645 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
13648 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
13649 result if the result has no associated interface.
13650 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
13651 interface for all 127.X.Y.Z addresses.
13653 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
13655 * locale/iso-639.def: Add Ligurian (lij)
13657 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
13660 * sunrpc/rpc_main.c: Document rpcgen -5.
13662 2013-10-19 Michael Stahl <mstahl@redhat.com>
13664 * elf/rtld.c (do_preload): Print the reason why preloading failed.
13666 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
13669 * posix/glob.c: Match only directories when trailing slash is present.
13670 * posix/tst-gnuglob.c (my_opendir): Do not open files.
13671 (main): Add testcase.
13673 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
13676 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
13678 2013-10-18 Carlos O'Donell <carlos@redhat.com>
13680 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
13681 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
13682 AUTH_DES and cindex for FIPS 140-2.
13683 (DES Encryption): Add cindex FIPS 46-3.
13685 * locale/locarchive.h (struct locarhandle): Add fname.
13686 * locale/programs/localedef.c (main): Pass ARGV[remaining]
13687 if an optional argument was specified to --list-archive,
13689 * locale/programs/locarchive.c (show_archive_content): Take new
13690 argument fname and pass it via ah.fname to open_archive.
13691 * locale/programs/localedef.h: Update decl.
13692 (open_archive): If AH->fname is non-null, open that file
13693 rather than the default file name, and don't ignore ENOENT.
13694 (create_archive): Set AH.fname to NULL.
13695 (delete_locales_from_archive): Likewise.
13696 (add_locales_to_archive): Likewise.
13697 * locale/programs/locfile.c (write_all_categories): Likewise.
13699 2013-10-18 Joseph Myers <joseph@codesourcery.com>
13700 Aldy Hernandez <aldyh@redhat.com>
13702 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
13703 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
13704 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
13705 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
13706 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
13707 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
13708 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
13709 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
13710 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
13711 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
13712 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
13713 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
13714 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
13715 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
13716 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
13718 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
13720 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
13722 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
13724 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
13725 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
13727 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
13728 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
13729 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
13730 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
13732 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
13733 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
13734 * sysdeps/powerpc/preconfigure: Likewise.
13735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
13737 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
13738 Replace contents of file by #include of <fenv_libc.h>.
13739 * sysdeps/powerpc/soft-fp/sfp-machine.h
13740 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
13742 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
13743 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
13744 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
13745 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
13746 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
13747 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
13748 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
13749 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
13750 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
13751 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
13752 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
13753 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
13754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
13755 Allow copysignl PLT reference to be missing.
13757 2013-10-18 Richard Sandiford <richard@codesourcery.com>
13758 Joseph Myers <joseph@codesourcery.com
13761 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
13763 (add_to_tablewc): Assert sequence of wide characters is nonempty.
13765 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13767 * elf/tst-tls-dlinfo.c: Don't include tls.h.
13768 * elf/tst-tls1.c: Likewise.
13769 * elf/tst-tls10.h: Likewise.
13770 * elf/tst-tls14.c: Likewise.
13771 * elf/tst-tls2.c: Likewise.
13772 * elf/tst-tls3.c: Likewise.
13773 * elf/tst-tls4.c: Likewise.
13774 * elf/tst-tls5.c: Likewise.
13775 * elf/tst-tls6.c: Likewise.
13776 * elf/tst-tls7.c: Likewise.
13777 * elf/tst-tls8.c: Likewise.
13778 * elf/tst-tls9.c: Likewise.
13779 * elf/tst-tlsmod1.c: Likewise.
13780 * elf/tst-tlsmod13.c: Likewise.
13781 * elf/tst-tlsmod13a.c: Likewise.
13782 * elf/tst-tlsmod14a.c: Likewise.
13783 * elf/tst-tlsmod16a.c: Likewise.
13784 * elf/tst-tlsmod16b.c: Likewise.
13785 * elf/tst-tlsmod2.c: Likewise.
13786 * elf/tst-tlsmod3.c: Likewise.
13787 * elf/tst-tlsmod4.c: Likewise.
13788 * elf/tst-tlsmod5.c: Likewise.
13789 * elf/tst-tlsmod6.c: Likewise.
13791 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
13794 * malloc/malloc.c: remove checks for statistics.
13796 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
13799 * inet/inet_net.c (inet_network): Detect additional invalid strings.
13800 * inet/tst-network.c: Add testcase.
13802 2013-10-17 Andreas Schwab <schwab@suse.de>
13805 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
13806 to determine canonical name.
13808 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
13810 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
13811 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
13812 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13813 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13814 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13815 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13816 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13817 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13818 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13819 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13820 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
13821 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13822 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13823 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13824 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13825 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13826 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13827 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13828 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13829 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13830 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13831 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13832 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13833 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
13834 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
13835 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13836 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13837 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
13838 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13839 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
13840 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13841 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13842 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
13843 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13844 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13845 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13846 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13847 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13848 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13849 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13850 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13851 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
13852 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
13853 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13854 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13855 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13856 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13857 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13858 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
13859 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13860 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
13861 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13862 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13863 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
13864 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13865 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13866 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13867 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13869 2013-10-17 Joseph Myers <joseph@codesourcery.com>
13872 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
13873 make result into a quiet NaN.
13875 2013-10-16 Joseph Myers <joseph@codesourcery.com>
13877 * soft-fp/adddf3.c: Fix horizontal whitespace.
13878 * soft-fp/addsf3.c: Likewise.
13879 * soft-fp/addtf3.c: Likewise.
13880 * soft-fp/divdf3.c: Likewise.
13881 * soft-fp/divsf3.c: Likewise.
13882 * soft-fp/divtf3.c: Likewise.
13883 * soft-fp/double.h: Likewise.
13884 * soft-fp/eqdf2.c: Likewise.
13885 * soft-fp/eqsf2.c: Likewise.
13886 * soft-fp/eqtf2.c: Likewise.
13887 * soft-fp/extenddftf2.c: Likewise.
13888 * soft-fp/extended.h: Likewise.
13889 * soft-fp/extendsfdf2.c: Likewise.
13890 * soft-fp/extendsftf2.c: Likewise.
13891 * soft-fp/extendxftf2.c: Likewise.
13892 * soft-fp/fixdfdi.c: Likewise.
13893 * soft-fp/fixdfsi.c: Likewise.
13894 * soft-fp/fixdfti.c: Likewise.
13895 * soft-fp/fixsfdi.c: Likewise.
13896 * soft-fp/fixsfsi.c: Likewise.
13897 * soft-fp/fixsfti.c: Likewise.
13898 * soft-fp/fixtfdi.c: Likewise.
13899 * soft-fp/fixtfsi.c: Likewise.
13900 * soft-fp/fixtfti.c: Likewise.
13901 * soft-fp/fixunsdfdi.c: Likewise.
13902 * soft-fp/fixunsdfsi.c: Likewise.
13903 * soft-fp/fixunsdfti.c: Likewise.
13904 * soft-fp/fixunssfdi.c: Likewise.
13905 * soft-fp/fixunssfsi.c: Likewise.
13906 * soft-fp/fixunssfti.c: Likewise.
13907 * soft-fp/fixunstfdi.c: Likewise.
13908 * soft-fp/fixunstfsi.c: Likewise.
13909 * soft-fp/fixunstfti.c: Likewise.
13910 * soft-fp/floatdidf.c: Likewise.
13911 * soft-fp/floatdisf.c: Likewise.
13912 * soft-fp/floatditf.c: Likewise.
13913 * soft-fp/floatsidf.c: Likewise.
13914 * soft-fp/floatsisf.c: Likewise.
13915 * soft-fp/floatsitf.c: Likewise.
13916 * soft-fp/floattidf.c: Likewise.
13917 * soft-fp/floattisf.c: Likewise.
13918 * soft-fp/floattitf.c: Likewise.
13919 * soft-fp/floatundidf.c: Likewise.
13920 * soft-fp/floatundisf.c: Likewise.
13921 * soft-fp/floatunditf.c: Likewise.
13922 * soft-fp/floatunsidf.c: Likewise.
13923 * soft-fp/floatunsisf.c: Likewise.
13924 * soft-fp/floatunsitf.c: Likewise.
13925 * soft-fp/floatuntidf.c: Likewise.
13926 * soft-fp/floatuntisf.c: Likewise.
13927 * soft-fp/floatuntitf.c: Likewise.
13928 * soft-fp/fmadf4.c: Likewise.
13929 * soft-fp/fmasf4.c: Likewise.
13930 * soft-fp/fmatf4.c: Likewise.
13931 * soft-fp/gedf2.c: Likewise.
13932 * soft-fp/gesf2.c: Likewise.
13933 * soft-fp/getf2.c: Likewise.
13934 * soft-fp/ledf2.c: Likewise.
13935 * soft-fp/lesf2.c: Likewise.
13936 * soft-fp/letf2.c: Likewise.
13937 * soft-fp/muldf3.c: Likewise.
13938 * soft-fp/mulsf3.c: Likewise.
13939 * soft-fp/multf3.c: Likewise.
13940 * soft-fp/negdf2.c: Likewise.
13941 * soft-fp/negsf2.c: Likewise.
13942 * soft-fp/negtf2.c: Likewise.
13943 * soft-fp/op-1.h: Likewise.
13944 * soft-fp/op-2.h: Likewise.
13945 * soft-fp/op-4.h: Likewise.
13946 * soft-fp/op-8.h: Likewise.
13947 * soft-fp/op-common.h: Likewise.
13948 * soft-fp/quad.h: Likewise.
13949 * soft-fp/single.h: Likewise.
13950 * soft-fp/soft-fp.h: Likewise.
13951 * soft-fp/sqrtdf2.c: Likewise.
13952 * soft-fp/sqrtsf2.c: Likewise.
13953 * soft-fp/sqrttf2.c: Likewise.
13954 * soft-fp/subdf3.c: Likewise.
13955 * soft-fp/subsf3.c: Likewise.
13956 * soft-fp/subtf3.c: Likewise.
13957 * soft-fp/truncdfsf2.c: Likewise.
13958 * soft-fp/trunctfdf2.c: Likewise.
13959 * soft-fp/trunctfsf2.c: Likewise.
13960 * soft-fp/trunctfxf2.c: Likewise.
13961 * soft-fp/unorddf2.c: Likewise.
13962 * soft-fp/unordsf2.c: Likewise.
13963 * soft-fp/unordtf2.c: Likewise.
13965 2013-10-15 Joseph Myers <joseph@codesourcery.com>
13967 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
13968 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
13970 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
13972 * elf/dl-libc.c: Clear initfini list after freeing.
13974 2013-10-14 Joseph Myers <joseph@codesourcery.com>
13976 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
13977 * soft-fp/addsf3.c: Likewise.
13978 * soft-fp/addtf3.c: Likewise.
13979 * soft-fp/divdf3.c: Likewise.
13980 * soft-fp/divsf3.c: Likewise.
13981 * soft-fp/divtf3.c: Likewise.
13982 * soft-fp/double.h: Likewise.
13983 * soft-fp/eqdf2.c: Likewise.
13984 * soft-fp/eqsf2.c: Likewise.
13985 * soft-fp/eqtf2.c: Likewise.
13986 * soft-fp/extenddftf2.c: Likewise.
13987 * soft-fp/extended.h: Likewise.
13988 * soft-fp/extendsfdf2.c: Likewise.
13989 * soft-fp/extendsftf2.c: Likewise.
13990 * soft-fp/extendxftf2.c: Likewise.
13991 * soft-fp/fixdfdi.c: Likewise.
13992 * soft-fp/fixdfsi.c: Likewise.
13993 * soft-fp/fixdfti.c: Likewise.
13994 * soft-fp/fixsfdi.c: Likewise.
13995 * soft-fp/fixsfsi.c: Likewise.
13996 * soft-fp/fixsfti.c: Likewise.
13997 * soft-fp/fixtfdi.c: Likewise.
13998 * soft-fp/fixtfsi.c: Likewise.
13999 * soft-fp/fixtfti.c: Likewise.
14000 * soft-fp/fixunsdfdi.c: Likewise.
14001 * soft-fp/fixunsdfsi.c: Likewise.
14002 * soft-fp/fixunsdfti.c: Likewise.
14003 * soft-fp/fixunssfdi.c: Likewise.
14004 * soft-fp/fixunssfsi.c: Likewise.
14005 * soft-fp/fixunssfti.c: Likewise.
14006 * soft-fp/fixunstfdi.c: Likewise.
14007 * soft-fp/fixunstfsi.c: Likewise.
14008 * soft-fp/fixunstfti.c: Likewise.
14009 * soft-fp/floatdidf.c: Likewise.
14010 * soft-fp/floatdisf.c: Likewise.
14011 * soft-fp/floatditf.c: Likewise.
14012 * soft-fp/floatsidf.c: Likewise.
14013 * soft-fp/floatsisf.c: Likewise.
14014 * soft-fp/floatsitf.c: Likewise.
14015 * soft-fp/floattidf.c: Likewise.
14016 * soft-fp/floattisf.c: Likewise.
14017 * soft-fp/floattitf.c: Likewise.
14018 * soft-fp/floatundidf.c: Likewise.
14019 * soft-fp/floatundisf.c: Likewise.
14020 * soft-fp/floatunsidf.c: Likewise.
14021 * soft-fp/floatunsisf.c: Likewise.
14022 * soft-fp/floatuntidf.c: Likewise.
14023 * soft-fp/floatuntisf.c: Likewise.
14024 * soft-fp/floatuntitf.c: Likewise.
14025 * soft-fp/fmadf4.c: Likewise.
14026 * soft-fp/fmasf4.c: Likewise.
14027 * soft-fp/fmatf4.c: Likewise.
14028 * soft-fp/gedf2.c: Likewise.
14029 * soft-fp/gesf2.c: Likewise.
14030 * soft-fp/getf2.c: Likewise.
14031 * soft-fp/ledf2.c: Likewise.
14032 * soft-fp/lesf2.c: Likewise.
14033 * soft-fp/letf2.c: Likewise.
14034 * soft-fp/muldf3.c: Likewise.
14035 * soft-fp/mulsf3.c: Likewise.
14036 * soft-fp/multf3.c: Likewise.
14037 * soft-fp/negdf2.c: Likewise.
14038 * soft-fp/negsf2.c: Likewise.
14039 * soft-fp/negtf2.c: Likewise.
14040 * soft-fp/op-1.h: Likewise.
14041 * soft-fp/op-2.h: Likewise.
14042 * soft-fp/op-4.h: Likewise.
14043 * soft-fp/op-8.h: Likewise.
14044 * soft-fp/op-common.h: Likewise.
14045 * soft-fp/quad.h: Likewise.
14046 * soft-fp/single.h: Likewise.
14047 * soft-fp/soft-fp.h: Likewise.
14048 * soft-fp/sqrtdf2.c: Likewise.
14049 * soft-fp/sqrtsf2.c: Likewise.
14050 * soft-fp/sqrttf2.c: Likewise.
14051 * soft-fp/subdf3.c: Likewise.
14052 * soft-fp/subsf3.c: Likewise.
14053 * soft-fp/subtf3.c: Likewise.
14054 * soft-fp/truncdfsf2.c: Likewise.
14055 * soft-fp/trunctfdf2.c: Likewise.
14056 * soft-fp/trunctfsf2.c: Likewise.
14057 * soft-fp/trunctfxf2.c: Likewise.
14058 * soft-fp/unorddf2.c: Likewise.
14059 * soft-fp/unordsf2.c: Likewise.
14060 * soft-fp/unordtf2.c: Likewise.
14062 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
14065 * misc/error.c (error_tail): Fix possible buffer overflow.
14067 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
14070 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
14073 2013-10-14 P. J. McDermott <pj@pehjota.net>
14076 * elf/ldd.bash.in (try_trace): New function. Delete previous code
14077 testing pipefail option.
14079 2013-10-12 Joseph Myers <joseph@codesourcery.com>
14081 * soft-fp/double.h: Indent preprocessor directives inside #if.
14082 * soft-fp/extended.h: Likewise.
14083 * soft-fp/op-2.h: Likewise.
14084 * soft-fp/op-4.h: Likewise.
14085 * soft-fp/op-common.h: Likewise.
14086 * soft-fp/quad.h: Likewise.
14087 * soft-fp/single.h: Likewise.
14088 * soft-fp/soft-fp.h: Likewise.
14090 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
14092 * iconv/iconv_prog.c: Fix typos.
14093 * stdio-common/psiginfo-data.h: Likewise.
14095 2013-10-12 Reuben Thomas <rrt@sc3d.org>
14098 * locale/setlocale.c: Fix typo.
14100 2013-10-12 Joseph Myers <joseph@codesourcery.com>
14103 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
14104 signaling NaN arguments.
14105 * soft-fp/unordsf2.c (__unordsf2): Likewise.
14106 * soft-fp/unordtf2.c (__unordtf2): Likewise.
14109 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
14110 unordered operands.
14111 * soft-fp/gesf2.c (__gesf2): Likewise.
14112 * soft-fp/getf2.c (__getf2): Likewise.
14113 * soft-fp/ledf2.c (__ledf2): Likewise.
14114 * soft-fp/lesf2.c (__lesf2): Likewise.
14115 * soft-fp/letf2.c (__letf2): Likewise.
14117 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
14118 * soft-fp/eqsf2.c (__eqsf2): Likewise.
14119 * soft-fp/eqtf2.c (__eqtf2): Likewise.
14120 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
14121 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
14122 * soft-fp/fixdfti.c (__fixdfti): Likewise.
14123 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
14124 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
14125 * soft-fp/fixsfti.c (__fixsfti): Likewise.
14126 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
14127 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
14128 * soft-fp/fixtfti.c (__fixtfti): Likewise.
14129 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
14130 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
14131 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
14132 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
14133 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
14134 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
14135 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
14136 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
14137 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
14138 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
14139 * soft-fp/floatdisf.c (__floatdisf): Likewise.
14140 * soft-fp/floatsisf.c (__floatsisf): Likewise.
14141 * soft-fp/floattidf.c (__floattidf): Likewise.
14142 * soft-fp/floattisf.c (__floattisf): Likewise.
14143 * soft-fp/floattitf.c (__floattitf): Likewise.
14144 * soft-fp/floatundidf.c (__floatundidf): Likewise.
14145 * soft-fp/floatundisf.c (__floatundisf): Likewise.
14146 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
14147 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
14148 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
14149 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
14150 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
14151 * soft-fp/gesf2.c (__gesf2): Likewise.
14152 * soft-fp/getf2.c (__getf2): Likewise.
14153 * soft-fp/ledf2.c (__ledf2): Likewise.
14154 * soft-fp/lesf2.c (__lesf2): Likewise.
14155 * soft-fp/letf2.c (__letf2): Likewise.
14157 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
14158 Undefine and redefine.
14159 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
14160 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
14161 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
14162 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
14163 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14164 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
14165 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14166 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
14167 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14168 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
14169 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14170 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
14171 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14172 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
14173 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14176 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
14177 without decrementing exponent if mantissa >= that for the
14178 denominator, not >.
14179 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
14180 denominator, not >. Decrement exponent in < case instead of
14181 incrementing in >= case.
14182 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
14183 without decrementing exponent if mantissa >= that for the
14184 denominator, not >.
14186 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
14187 computing saturated result for unsigned overflow.
14189 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14190 Jeff Law <law@redhat.com>
14192 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
14193 (atan2Mp): Add systemtap probe marker.
14194 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
14195 (__ieee754_log): Add systemtap probe marker.
14196 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
14197 (atanMp): Add systemtap probe marker.
14198 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
14199 (tanMp): Add systemtap probe marker.
14200 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
14201 (__slowexp): Add systemtap probe marker.
14202 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
14203 (__slowpow): Add systemtap probe marker.
14204 * manual/probes.texi: Document probes.
14206 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
14209 * libio/fileops.c (_IO_new_file_write): Return count of bytes
14211 (_IO_new_file_xsputn): Don't return EOF if nothing has been
14213 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
14214 written to buffer but not flushed.
14215 * libio/iofwrite_u.c: Likewise.
14216 * libio/iopadn.c: Return bytes returned even if EOF was
14218 * libio/iowpadn.c: Likewise.
14219 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
14220 if _IO_padn does not write the whole buffer.
14221 [!COMPILE_WPRINTF] (PAD): Likewise.
14223 2013-10-10 David S. Miller <davem@davemloft.net>
14225 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
14228 2013-10-10 Joseph Myers <joseph@codesourcery.com>
14230 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
14231 instead of FSF address.
14232 * soft-fp/fixdfti.c: Likewise.
14233 * soft-fp/fixsfti.c: Likewise.
14234 * soft-fp/fixtfti.c: Likewise.
14235 * soft-fp/fixunsdfti.c: Likewise.
14236 * soft-fp/fixunssfti.c: Likewise.
14237 * soft-fp/fixunstfti.c: Likewise.
14238 * soft-fp/floattidf.c: Likewise.
14239 * soft-fp/floattisf.c: Likewise.
14240 * soft-fp/floattitf.c: Likewise.
14241 * soft-fp/floatuntidf.c: Likewise.
14242 * soft-fp/floatuntisf.c: Likewise.
14243 * soft-fp/floatuntitf.c: Likewise.
14244 * soft-fp/trunctfxf2.c: Likewise.
14246 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
14247 * soft-fp/fixdfti.c: Likewise.
14248 * soft-fp/fixsfti.c: Likewise.
14249 * soft-fp/fixtfti.c: Likewise.
14250 * soft-fp/fixunsdfti.c: Likewise.
14251 * soft-fp/fixunssfti.c: Likewise.
14252 * soft-fp/fixunstfti.c: Likewise.
14253 * soft-fp/floattidf.c: Likewise.
14254 * soft-fp/floattisf.c: Likewise.
14255 * soft-fp/floattitf.c: Likewise.
14256 * soft-fp/floatuntidf.c: Likewise.
14257 * soft-fp/floatuntisf.c: Likewise.
14258 * soft-fp/floatuntitf.c: Likewise.
14259 * soft-fp/trunctfxf2.c: Likewise.
14261 2013-10-10 David S. Miller <davem@davemloft.net>
14263 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14265 2013-10-10 Joseph Myers <joseph@codsourcery.com>
14267 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
14268 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
14269 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
14270 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
14271 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
14272 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
14273 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
14275 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
14276 for NaNs before doing comparisons on argument.
14277 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
14280 2013-10-10 Will Newton <will.newton@linaro.org>
14282 * malloc/hooks.c (memalign_check): Ensure the value of bytes
14283 passed to _int_memalign does not overflow.
14285 2013-10-10 Torvald Riegel <triegel@redhat.com>
14287 * scripts/bench.pl: Add include-sources directive.
14288 * benchtests/README: Update documentation.
14290 2013-10-10 Joseph Myers <joseph@codesourcery.com>
14292 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
14293 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
14294 instead of FP_INIT_ROUNDMODE.
14295 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
14296 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
14299 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
14300 copy class of input value.
14301 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
14302 not handle exceptions.
14303 * soft-fp/negsf2.c (__negsf2): Likewise.
14304 * soft-fp/negtf2.c (__negtf2): Likewise.
14305 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
14307 2013-10-09 Joseph Myers <joseph@codesourcery.com>
14309 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
14310 semicolon. From Linux kernel.
14312 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
14314 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
14316 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
14319 * manual/socket.texi: Added statement about buffer
14320 for gethostbyname2_r.
14322 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
14324 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
14325 Use .p2align directive instead, throughout.
14326 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14327 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
14328 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
14329 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14330 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14331 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
14332 * sysdeps/x86_64/strchr.S: Likewise.
14333 * sysdeps/x86_64/strrchr.S: Likewise.
14335 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
14337 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
14339 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
14341 * sysdeps/generic/math_private.h (__mpsin1): Remove
14343 (__mpcos1): Likewise.
14344 (__mpsin): New argument __range_reduce.
14345 (__mpcos): Likewise.
14346 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14347 (slow): Use __mpsin and __mpcos.
14351 (sloww1): Likewise.
14352 (sloww2): Likewise.
14353 (bsloww): Likewise.
14354 (bsloww1): Likewise.
14355 (bsloww2): Likewise.
14356 (cslow2): Likewise.
14357 (csloww): Likewise.
14358 (csloww1): Likewise.
14359 (csloww2): Likewise.
14360 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
14361 range_reduce. Merge in __mpsin1.
14362 (__mpcos): Likewise.
14363 (__mpsin1): Remove.
14364 (__mpcos1): Likewise.
14366 2013-10-07 Joseph Myers <joseph@codesourcery.com>
14368 * locale/loadlocale.c (_nl_intern_locale_data): Use
14370 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
14371 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
14372 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
14373 obstack data is appropriately aligned.
14374 (obstack_int32_grow_fast): Likewise.
14375 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
14376 * locale/programs/locfile.c (add_locale_uint32): Likewise.
14377 (add_locale_uint32_array): Likewise.
14379 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
14381 * benchtests/Makefile: Remove ARGLIST and RET variables.
14382 ($(objpfx)bench-%.c): Pass only function name to the script.
14383 * benchtests/README: Update documentation.
14384 * benchtests/acos-inputs: Add new directives.
14385 * benchtests/acosh-inputs: Likewise.
14386 * benchtests/asin-inputs: Likewise.
14387 * benchtests/asinh-inputs: Likewise.
14388 * benchtests/atan-inputs: Likewise.
14389 * benchtests/atanh-inputs: Likewise.
14390 * benchtests/cos-inputs: Likewise.
14391 * benchtests/cosh-inputs: Likewise.
14392 * benchtests/exp-inputs: Likewise.
14393 * benchtests/log-inputs: Likewise.
14394 * benchtests/pow-inputs: Likewise.
14395 * benchtests/rint-inputs: Likewise.
14396 * benchtests/sin-inputs: Likewise.
14397 * benchtests/sinh-inputs: Likewise.
14398 * benchtests/tan-inputs: Likewise.
14399 * benchtests/tanh-inputs: Likewise.
14400 * scripts/bench.pl: Add support for new directives.
14402 2013-10-07 Alan Modra <amodra@gmail.com>
14404 * README: Fix careless merge.
14406 2013-10-05 Alan Modra <amodra@gmail.com>
14408 * NEWS: Mention powerpc64le support and bugs fixed.
14409 * README: Both big-endian and little-endian powerpc64 supported.
14411 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
14413 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
14414 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
14415 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
14416 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
14418 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
14420 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
14423 2013-10-04 Joseph Myers <joseph@codesourcery.com>
14425 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
14426 Move -mhard-float appending from
14427 ports/sysdeps/powerpc/powerpc32/Makefile.
14428 [$(with-fp) = yes] (ASFLAGS): Likewise.
14429 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
14430 * sysdeps/powerpc/nofpu: Move directory from
14431 ports/sysdeps/powerpc/nofpu.
14432 * sysdeps/powerpc/soft-fp: Move directory from
14433 ports/sysdeps/powerpc/soft-fp.
14434 * sysdeps/powerpc/powerpc32/405: Move directory from
14435 ports/sysdeps/powerpc/powerpc32/405.
14436 * sysdeps/powerpc/powerpc32/440: Move directory from
14437 ports/sysdeps/powerpc/powerpc32/440.
14438 * sysdeps/powerpc/powerpc32/464: Move directory from
14439 ports/sysdeps/powerpc/powerpc32/464.
14440 * sysdeps/powerpc/powerpc32/476: Move directory from
14441 ports/sysdeps/powerpc/powerpc32/476.
14442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
14443 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
14444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
14445 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
14446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
14447 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
14448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
14449 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
14450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
14451 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
14452 * README: Update for powerpc-*-linux-gnu software floating point
14455 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
14456 case to powerpc/powerpc32*.
14457 * sysdeps/unix/sysv/linux/configure: Regenerated.
14459 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
14460 (_FPU_MASK_OM): Define as 0x04.
14461 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
14462 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
14464 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
14466 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
14468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
14469 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
14471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
14472 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
14474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
14475 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
14476 and setcontext_e500.
14478 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
14480 * locale/iso-3166.def: Update iso-1366.def and related occurrences
14482 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14484 * manual/threads.texi (Default Thread Attributes): Fix typo.
14486 2013-10-04 Will Newton <will.newton@linaro.org>
14488 * malloc/Makefile: Add tst-memalign.
14489 * malloc/tst-memalign.c: New file.
14491 * malloc/tst-posix_memalign.c: Add comments.
14492 (do_test): Add comments and call free on all potentially
14493 allocated pointers. Add space after cast.
14495 * malloc/tst-pvalloc.c: Add comments.
14496 (do_test): Add comments and call free on all potentially
14497 allocated pointers. Remove duplicate check for NULL pointer.
14498 Add space after cast.
14500 * malloc/tst-valloc.c: Add comments.
14501 (do_test): Add comments and call free on all potentially
14502 allocated pointers. Remove duplicate check for NULL pointer.
14503 Add space after cast.
14505 2013-10-04 Alan Modra <amodra@gmail.com>
14507 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14508 Use stdint types in rather than __attribute__((mode())).
14509 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14511 2013-10-04 Alan Modra <amodra@gmail.com>
14513 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14514 Correct handling of unaligned relocs for little-endian.
14515 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14517 2013-10-04 Alan Modra <amodra@gmail.com>
14519 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
14520 * configure: Regenerate.
14521 * nptl/shlib-versions: Powerpc*le starts at 2.18.
14522 * shlib-versions: Likewise.
14524 2013-10-04 Alan Modra <amodra@gmail.com>
14526 * string/tester.c (test_memrchr): Increment reported test cycle.
14528 2013-10-04 Alan Modra <amodra@gmail.com>
14530 * string/test-memcpy.c (do_one_test): When reporting errors, print
14531 string address and don't overrun end of string.
14533 2013-10-04 Alan Modra <amodra@gmail.com>
14535 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
14536 insrdi. Make better use of reg selection to speed exit slightly.
14537 Schedule entry path a little better. Remove useless "are we done"
14538 checks on entry to main loop. Handle wrapping around zero address.
14539 Correct main loop count. Handle single left-over word from main
14540 loop inline rather than by using loop_small. Remove extra word
14541 case in loop_small caused by wrong loop count. Add little-endian
14543 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14544 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
14546 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14547 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
14548 support. Avoid rlwimi.
14549 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
14551 2013-10-04 Alan Modra <amodra@gmail.com>
14553 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
14554 insrdi. Formatting.
14555 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
14556 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14557 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
14558 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
14559 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
14560 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
14562 2013-10-04 Alan Modra <amodra@gmail.com>
14564 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
14565 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14566 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
14567 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
14568 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14569 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14570 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14571 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14572 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
14573 use of regs. Use power7 mtocrf. Tidy function tails.
14575 2013-10-04 Alan Modra <amodra@gmail.com>
14577 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
14578 Formatting. Consistently use rXXX register defines or rN defines.
14579 Use early exit labels that avoid restoring unused non-volatile regs.
14580 Make cr field use more consistent with rWORDn compares. Rename
14581 regs used as shift registers for unaligned loop, using rN defines
14582 for short lifetime/multiple use regs.
14583 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14584 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
14585 addi 1,1,64 to pop stack frame. Simplify return value code.
14586 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14588 2013-10-04 Alan Modra <amodra@gmail.com>
14590 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
14591 support. Correct typos, formatting. Optimize tail. Use insrdi
14592 rather than rlwimi.
14593 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
14594 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
14595 little-endian support. Correct typos.
14596 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
14597 rather than rlwimi.
14598 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
14599 in loop and entry code to keep "and." results.
14600 (strchr): Add little-endian support. Comment. Move cntlzd
14602 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
14604 2013-10-04 Alan Modra <amodra@gmail.com>
14606 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
14607 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
14608 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
14609 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
14611 2013-10-04 Alan Modra <amodra@gmail.com>
14613 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
14614 (rTMP): Define as r11.
14615 (strcmp): Add little-endian support. Optimise tail.
14616 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
14617 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14618 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14619 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14620 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14621 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14622 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14624 2013-10-04 Alan Modra <amodra@gmail.com>
14626 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
14627 little-endian support. Remove unnecessary "are we done" tests.
14628 Handle "s" wrapping around zero and extremely large "size".
14629 Correct main loop count. Handle single left-over word from main
14630 loop inline rather than by using small_loop. Correct comments.
14631 Delete "zero" tail, use "end_max" instead.
14632 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
14634 2013-10-04 Alan Modra <amodra@gmail.com>
14636 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
14637 support. Don't branch over align.
14638 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
14639 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
14640 support. Rearrange tmp reg use to suit. Comment.
14641 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
14643 2013-10-04 Alan Modra <amodra@gmail.com>
14645 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
14647 2013-10-04 Alan Modra <amodra@gmail.com>
14649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
14650 conditional form of branch and link when obtaining pc.
14651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
14653 2013-10-04 Alan Modra <amodra@gmail.com>
14655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
14657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
14658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
14660 2013-10-04 Alan Modra <amodra@gmail.com>
14662 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
14663 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
14664 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
14665 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
14666 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
14667 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
14668 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
14669 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
14670 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
14671 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
14673 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
14674 Alistair Popple <alistair@ozlabs.au.ibm.com>
14675 Alan Modra <amodra@gmail.com>
14678 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
14679 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
14680 _dl_hwcap access for little-endian.
14681 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
14682 destroy vmx regs when saving unaligned.
14683 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
14684 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
14685 destroy vmx regs when saving unaligned.
14687 2013-10-04 Alan Modra <amodra@gmail.com>
14689 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
14690 Don't use a union to pack hi/low value.
14692 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
14694 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
14696 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
14697 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
14698 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
14699 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
14700 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
14702 2013-10-04 Alan Modra <amodra@gmail.com>
14704 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
14705 constants to usual value for .cst8 section, and remove redundant
14707 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
14708 constant for 0x1p52. Load little-endian words of double from
14709 correct stack offsets.
14711 2013-10-04 Alan Modra <amodra@gmail.com>
14713 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
14714 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
14715 words of double from correct stack offsets.
14716 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
14717 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
14718 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
14719 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
14720 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
14721 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
14722 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
14723 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
14724 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
14725 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
14726 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
14727 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
14728 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
14729 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
14730 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
14731 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
14732 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
14734 2013-10-04 Alan Modra <amodra@gmail.com>
14736 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
14737 64-bit int/double union.
14738 (_FPU_SETCW): Likewise.
14739 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
14740 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
14742 2013-10-04 Alan Modra <amodra@gmail.com>
14744 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
14745 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
14747 2013-10-04 Alan Modra <amodra@gmail.com>
14749 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
14750 use vector int constants.
14751 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
14753 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
14755 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
14756 array with long long.
14757 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
14758 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
14759 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
14760 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
14761 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
14762 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
14763 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
14764 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
14765 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
14766 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
14767 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
14768 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
14769 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
14771 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
14773 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
14774 (__signbit): Likewise. Correct for little-endian.
14775 (__signbitl): Call __signbit.
14776 (lrint): Correct for little-endian.
14777 (lrintf): Call lrint.
14779 2013-10-04 Alan Modra <amodra@gmail.com>
14781 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
14782 union 32-bit int array member with 64-bit int array.
14783 (t515, tm256): Double rather than long double.
14784 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
14786 2013-10-04 Alan Modra <amodra@gmail.com>
14788 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
14790 (IEEE854_LONG_DOUBLE_BIAS): Delete.
14791 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
14792 version of math_ldbl.h.
14794 2013-10-04 Alan Modra <amodra@gmail.com>
14796 [BZ #15734], [BZ #15735]
14797 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
14798 all uses of ieee875 long double macros and unions. Simplify test
14799 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
14800 ldbl_extract_mantissa value for ix,iy exponents. Properly
14801 normalize after ldbl_extract_mantissa, and don't add hidden bit
14802 already handled. Don't treat low word of ieee854 mantissa like
14803 low word of IBM long double and mask off bit when testing for
14805 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
14806 all uses of ieee875 long double macros and unions. Simplify tests
14807 for 0.0L and inf. Correct double adjustment of k. Delete dead code
14808 adjusting ha,hb. Simplify code setting kld. Delete two600 and
14809 two1022, instead use their values. Recognise that tests for large
14810 "a" and small "b" are mutually exclusive. Rename vars. Comment.
14811 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
14812 Rewrite all uses of ieee875 long double macros and unions. Simplify
14813 test for 0.0L and nan. Correct negation.
14814 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
14815 ieee875 long double macros and unions. Correct output for large
14816 magnitude x. Correct absolute value calculation.
14817 (__erfcl): Likewise.
14818 * math/libm-test.inc: Add tests for errors discovered in IBM long
14819 double versions of fmodl, remainderl, erfl and erfcl.
14821 2013-10-04 Alan Modra <amodra@gmail.com>
14823 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
14824 all uses of ieee854 long double macros and unions. Simplify tests
14825 for long doubles that are fully specified by the high double.
14826 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
14828 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
14829 Remove dead code too.
14830 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14831 (__ieee754_ynl): Likewise.
14832 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
14833 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
14834 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
14835 Remove dead code too.
14836 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
14837 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
14838 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
14839 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
14841 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
14843 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
14844 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
14845 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
14846 Comment on variable precision.
14847 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
14848 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14850 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
14851 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
14852 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
14853 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
14854 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
14856 2013-10-04 Alan Modra <amodra@gmail.com>
14858 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
14859 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
14860 all uses of ieee854 long double macros and unions.
14861 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
14862 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14863 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
14864 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
14865 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
14866 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
14868 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
14869 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
14870 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
14871 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
14872 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
14873 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
14874 Simplify sign and nan test too.
14875 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
14876 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
14877 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
14878 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
14880 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
14881 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
14883 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14884 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
14885 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
14886 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
14887 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
14888 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
14890 2013-10-04 Alan Modra <amodra@gmail.com>
14892 * stdio-common/printf_size.c (__printf_size): Don't use
14893 union ieee854_long_double in fpnum union.
14894 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
14895 signbit macro to retrieve sign from long double.
14896 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
14897 retrieve sign from long double.
14898 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
14899 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
14900 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
14901 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
14902 * math/test-misc.c (main): Don't use union ieee854_long_double.
14904 2013-10-04 Alan Modra <amodra@gmail.com>
14907 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
14908 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
14909 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
14910 calculation. Remove unnecessary test for denormal exponent.
14911 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
14912 Correct handling of denormals. Avoid undefined shift behaviour.
14913 Correct normalisation of low mantissa when low double is denormal.
14914 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
14915 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
14916 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
14917 Correct normalisation of low mantissa. Test for overflow of high
14918 mantissa and normalise.
14919 (ldbl_nearbyint): Use more readable constant for two52.
14920 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
14921 (__mpn_construct_long_double): Fix test for overflow of high
14922 mantissa and correct normalisation. Avoid undefined shift.
14924 2013-10-04 Alan Modra <amodra@gmail.com>
14926 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
14927 (union ibm_extended_long_double): Define as an array of ieee754_double.
14928 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
14929 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
14930 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
14931 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
14932 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14933 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
14934 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14935 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
14936 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
14937 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
14938 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
14940 2013-10-03 Joseph Myers <joseph@codesourcery.com>
14942 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
14943 page size instead of calling getpagesize.
14945 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
14946 (LOCFILE_ALIGN_MASK): Likewise.
14947 (LOCFILE_ALIGN_UP): Likewise.
14948 (LOCFILE_ALIGNED_P): Likewise.
14949 * locale/programs/ld-collate.c (collate_output): Use the new
14950 macros instead of __alignof__ (int32_t).
14951 * locale/weight.h (findidx): Likewise.
14953 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
14956 * manual/string.texi: Fix strncat and wcsncat.
14958 2013-10-03 Brooks Moses <bmoses@google.com>
14961 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
14962 * Makerules: ...here, and adjust associated comments.
14964 2013-10-02 Will Newton <will.newton@linaro.org>
14966 * malloc/Makefile: Add tst-pvalloc.
14967 * malloc/tst-pvalloc.c: New file.
14969 2013-10-02 Will Newton <will.newton@linaro.org>
14971 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
14972 improve test coverage.
14974 2013-10-02 Will Newton <will.newton@linaro.org>
14976 * malloc/Makefile: Add tst-posix_memalign.
14977 * malloc/tst-posix_memalign.c: New file.
14979 2013-10-01 Eric Blake <eblake@redhat.com>
14981 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
14982 Use __THROWNL rather than __THROW on static functions.
14984 2013-09-30 Petr Machata <pmachata@redhat.com>
14986 * elf/elf.h (R_AARCH64_ABS16): New macro.
14987 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
14988 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
14989 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
14990 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
14991 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
14992 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
14993 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
14994 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
14995 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
14996 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
14997 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
14998 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
14999 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
15000 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
15001 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
15002 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
15003 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
15004 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
15005 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
15006 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
15007 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
15008 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
15009 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
15010 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
15011 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
15012 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
15013 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
15014 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
15015 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
15016 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
15017 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
15018 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
15019 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
15020 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
15021 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
15022 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
15023 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
15024 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
15025 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
15026 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
15027 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
15028 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
15029 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
15030 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
15031 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
15032 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
15033 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
15034 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
15035 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
15036 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
15037 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
15038 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
15039 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
15040 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
15041 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
15042 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
15043 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
15044 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
15045 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
15046 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
15047 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
15048 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
15049 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
15050 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
15051 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
15052 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
15053 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
15054 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
15055 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
15056 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
15057 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
15058 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
15059 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
15060 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
15061 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
15062 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
15063 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
15064 (R_AARCH64_TLSDESC_LDR): Likewise.
15065 (R_AARCH64_TLSDESC_ADD): Likewise.
15066 (R_AARCH64_TLSDESC_CALL): Likewise.
15068 2013-09-30 Andreas Schwab <schwab@suse.de>
15071 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
15072 the nss database lookup.
15073 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15074 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15076 2013-09-28 Mike Frysinger <vapier@gentoo.org>
15078 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
15080 2013-09-28 P. J. McDermott <pj@pehjota.net>
15082 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
15083 ${Bash-specific parameter/pattern/string} parameter expansion.
15084 * sysdeps/unix/make-syscalls.sh: Likewise.
15086 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15088 * sysdeps/sh/stackguard-macros.h: New file.
15090 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
15092 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
15093 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
15094 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
15095 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
15096 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15097 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
15099 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15101 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
15102 Fix thread ID register.
15104 2013-09-25 Joseph Myers <joseph@codesourcery.com>
15106 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
15107 [POSIX || UNIX98]: Require rather than permitting all symbols from
15109 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
15110 element of struct sched_param.
15111 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
15112 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
15113 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
15114 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
15117 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
15119 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
15120 argument calculation.
15122 2013-09-24 Joseph Myers <joseph@codesourcery.com>
15124 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
15126 [POSIX] (pthread_attr_t): Do not require type.
15127 [POSIX] (pthread_cond_t): Likewise.
15128 [POSIX] (pthread_condattr_t): Likewise.
15129 [POSIX] (pthread_key_t): Likewise.
15130 [POSIX] (pthread_mutex_t): Likewise.
15131 [POSIX] (pthread_mutexattr_t): Likewise.
15132 [POSIX] (pthread_once_t): Likewise.
15133 [POSIX] (pthread_t): Likewise.
15134 [POSIX-based standards] (pthread_atfork): Expect function.
15136 2013-09-24 Joseph Myers <joseph@codesourcery.com>
15137 Richard Sandiford <richard@codesourcery.com>
15139 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
15140 (swap_endianness_p): New extern variable.
15141 (set_big_endian): New inline function.
15142 (maybe_swap_uint32): Likewise.
15143 (maybe_swap_uint32_array): Likewise.
15144 (maybe_swap_uint32_obstack): Likewise.
15145 * locale/programs/locfile.c: Include <stdbool.h>.
15146 (swap_endianness_p): New variable.
15147 (add_locale_uint32): Call maybe_swap_uint32.
15148 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
15149 (write_locale_data): Call maybe_swap_uint32_array.
15150 * locale/programs/ld-collate.c (obstack_int32_grow): Call
15152 (obstack_int32_grow_fast): Likewise.
15153 (output_weightwc): Call maybe_swap_uint32_obstack.
15154 (collate_output): Likewise.
15155 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
15156 (OPT_LITTLE_ENDIAN): Likewise.
15157 (options): Add --little-endian and --big-endian options.
15158 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
15159 * locale/programs/locarchive.c: Include "locfile.h".
15163 (create_archive): Use the new macros to access fields of
15164 structures directly mapped from or written to locale archives.
15165 (oldlocrecentcmp): Likewise.
15166 (enlarge_archive): Likewise.
15167 (insert_name): Likewise.
15168 (add_alias): Likewise.
15169 (add_locale): Likewise.
15170 (delete_locales_from_archive): Likewise.
15171 (show_archive_content): Likewise.
15172 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
15175 2013-09-24 Roland McGrath <roland@hack.frob.com>
15177 * manual/freemanuals.texi: Updated from (newly) canonical copy at
15178 http://www.gnu.org/doc/freemanuals.texi.
15179 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
15181 2013-09-24 Will Newton <will.newton@linaro.org>
15183 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
15186 2013-09-23 Joseph Myers <joseph@codesourcery.com>
15188 * locale/hashval.h (compute_hashval): Interpret bytes of key as
15191 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
15193 * manual/threads.texi (POSIX Threads): Fix a typo.
15195 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15198 * string/tst-strcoll-overflow.c: New test case.
15199 * string/Makefile (xtests): Add tst-strcoll-overflow.
15200 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
15201 cache if string sizes may cause integer overflow.
15204 * string/strcoll_l.c (coll_seq): New members rule, idx,
15205 save_idx and back_us.
15206 (get_next_seq_nocache): New function.
15207 (do_compare_nocache): New function.
15208 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
15211 2013-09-23 Carlos O'Donell <carlos@redhat.com>
15214 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
15215 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
15216 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
15219 * elf/Makefile (tests): Add tst-ptrguard1.
15220 (tests-static): Add tst-ptrguard1-static.
15221 (tst-ptrguard1-ARGS): Define.
15222 (tst-ptrguard1-static-ARGS): Define.
15223 * elf/tst-ptrguard1.c: New file.
15224 * elf/tst-ptrguard1-static.c: New file.
15225 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
15226 * sysdeps/i386/stackguard-macros.h: Likewise.
15227 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
15228 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
15229 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
15230 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
15231 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
15232 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
15234 2013-09-23 Hector Marco <hecmargi@upv.es>
15235 Ismael Ripoll <iripoll@disca.upv.es>
15236 Carlos O'Donell <carlos@redhat.com>
15239 * sysdeps/generic/stackguard-macros.h: Define
15240 __pointer_chk_guard_local and POINTER_CHK_GUARD.
15241 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
15242 Define __pointer_chk_guard_local.
15243 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
15244 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
15246 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
15249 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
15251 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
15253 * include/string.h (__ffs): Declare as hidden.
15254 * string/ffs.c (__ffs): Define as hidden.
15255 * sysdeps/i386/ffs.c (__ffs): Likewise.
15256 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
15257 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
15258 * sysdeps/s390/ffs.c (__ffs): Likewise.
15259 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
15261 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
15263 * NEWS: Mention malloc probes.
15265 * malloc/arena.c (new_heap): New memory_heap_new probe.
15266 (grow_heap): New memory_heap_more probe.
15267 (shrink_heap): New memory_heap_less probe.
15268 (heap_trim): New memory_heap_free probe.
15269 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
15270 (systrim): New memory_sbrk_less probe.
15271 * manual/probes.texi: Document them.
15273 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
15274 * manual/probes.texi: Document it.
15276 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
15277 (__libc_realloc): Add memory_realloc_retry probe.
15278 (__libc_memalign): Add memory_memalign_retry probe.
15279 (__libc_valloc): Add memory_valloc_retry probe.
15280 (__libc_pvalloc): Add memory_pvalloc_retry probe.
15281 (__libc_calloc): Add memory_calloc_retry probe.
15282 * manual/probes.texi: Document them.
15284 * malloc/arena.c (get_free_list): Add probe
15285 memory_arena_reuse_free_list.
15286 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
15287 and memory_arena_reuse.
15288 (arena_get2) [!PER_THREAD]: Likewise.
15289 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
15290 memory_arena_reuse_realloc.
15291 * manual/probes.texi: Document them.
15293 * malloc/malloc.c (__libc_free): Add
15294 memory_mallopt_free_dyn_thresholds probe.
15295 (__libc_mallopt): Add multiple memory_mallopt probes.
15296 * manual/probes.texi: Document them.
15298 * malloc/malloc.c: Include stap-probe.h.
15299 (__libc_mallopt): Add memory_mallopt probe.
15300 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
15301 * manual/probes.texi: New.
15302 * manual/Makefile (chapters): Add probes.
15303 * manual/threads.texi: Set next node.
15305 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
15307 [BZ #15963, #13985]
15308 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
15309 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
15310 Add `Chinese' to `nan' entry name.
15312 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15314 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
15315 (POLYNOMIAL): Likewise.
15316 (TAYLOR_SINCOS): Likewise.
15317 (TAYLOR_SLOW): Likewise.
15318 (__sin): Use TAYLOR_SINCOS.
15320 (slow): Use TAYLOR_SLOW.
15322 (bsloww): Likewise.
15323 (csloww): Likewise.
15325 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15327 * stdlib/strtod_l.c: Fix buffer overrun.
15329 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15331 * benchtests/Makefile (bench): Add sincos.
15332 * benchtests/bench-sincos.c: New file.
15334 * math/libm-test.inc (cos_test_data): New test inputs.
15335 (sin_test_data): Likewise.
15337 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
15343 (sloww1): Likewise.
15344 (sloww2): Likewise.
15345 (bsloww1): Likewise.
15346 (bsloww2): Likewise.
15347 (cslow2): Likewise.
15348 (csloww1): Likewise.
15349 (csloww2): Likewise.
15351 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
15356 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
15360 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
15362 * config.h.in (HAVE_MIPS_NAN2008): New macro.
15363 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
15364 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
15365 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
15366 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
15367 * elf/cache.c (print_entry): Handle the new cache flags.
15369 2013-09-18 Joseph Myers <joseph@codesourcery.com>
15370 Aldy Hernandez <aldyh@redhat.com>
15372 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
15373 Change condition to [_SOFT_FLOAT].
15374 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
15375 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
15376 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
15377 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
15378 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
15379 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
15380 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
15381 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
15382 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
15383 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
15384 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
15385 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
15386 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
15387 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
15388 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
15389 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
15392 2013-09-18 Joseph Myers <joseph@codesourcery.com>
15394 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
15395 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15396 (__longjmp): Use LOAD_GP to load saved GPRs.
15397 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
15398 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15399 (__sigsetjmp): Use SAVE_GP to save GPRs.
15401 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
15402 Do not append -msoft-float.
15403 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
15405 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15407 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
15409 2013-09-17 Joseph Myers <joseph@codesourcery.com>
15412 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
15413 (_FPU_GETCW): Use initial "__" on variable and field names but not
15414 on macro parameter name.
15415 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
15416 parentheses around reference to macro parameter.
15418 2013-09-13 Richard Sandiford <richard@codesourcery.com>
15420 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
15422 (ctype_startup): Use uint32_t in cast and sizeof for
15425 2013-09-11 Jia Liu <proljc@gmail.com>
15427 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
15429 [__FreeBSD__]: Likewise.
15431 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
15433 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15434 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
15435 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
15436 (strchr): Remove __strchr_sse42 ifunc selection.
15437 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
15438 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
15440 2013-09-11 Will Newton <will.newton@linaro.org>
15442 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
15443 parameter to RES. Remove hardcoded 1000 value.
15444 * benchtests/bench-skeleton.c (main): Pass RES parameter
15445 to TIMING_INIT and multiply result by 1000.
15447 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15449 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15451 2013-09-11 Andreas Schwab <schwab@suse.de>
15453 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
15455 (O_TMPFILE) [__USE_GNU]: Define.
15456 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
15459 2013-09-11 Will Newton <will.newton@linaro.org>
15462 * malloc/malloc.c (__libc_memalign): Check the value of bytes
15465 2013-09-11 Will Newton <will.newton@linaro.org>
15468 * malloc/malloc.c (__libc_valloc): Check the value of bytes
15471 2013-09-11 Will Newton <will.newton@linaro.org>
15474 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
15477 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
15479 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
15480 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15481 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15482 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15483 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15485 2013-09-10 Allan McRae <allan@archlinux.org>
15488 * manual/arith.texi (Parsing of Floats): Clarify
15492 * manual/install.texi (Running make install): Mention
15494 * INSTALL: Regenerated.
15496 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15498 * csu/init-first.c (_init): Remove the !SHARED condition around
15499 FPU control word initialization.
15500 * elf/dl-support.c (_dl_fpu_control): New variable.
15501 (_dl_aux_init) <AT_FPUCW>: Initialize it.
15502 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
15503 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
15504 * math/test-fpucw-static.c: New file.
15505 * math/test-fpucw-ieee.c: New file.
15506 * math/test-fpucw-ieee-static.c: New file.
15507 * math/Makefile (tests): Add `test-fpucw-ieee' and
15509 (tests-static): New variable.
15510 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
15512 [($(build-shared),yes)]
15513 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
15515 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
15518 2013-09-09 Allan McRae <allan@archlinux.org>
15521 * manual/string.texi (Collation Functions): Fix typo in
15523 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
15526 * stdlib/isomac.c (get_null_defines): Fix memory leak.
15529 * libio/memstream.c (open_memstream): Fix memory leak.
15530 * libio/wmemstream.c (open_wmemstream): Likewise.
15533 * nscd/netgroupcache.c: Fix nesting of ifdefs.
15535 2013-09-09 Will Newton <will.newton@linaro.org>
15537 * malloc/Makefile: Add tst-realloc to tests.
15538 * malloc/tst-realloc.c: New file.
15540 2013-09-09 Allan McRae <allan@archlinux.org>
15543 * COPYING: Update from GNU website to fix FSF address.
15544 * COPYING.LIB: Likewise.
15546 2013-09-06 David S. Miller <davem@davemloft.net>
15548 * po/zh_TW.po: Update Chinese (traditional) translation from
15549 translation project.
15551 2013-09-06 Richard Sandiford <richard@codesourcery.com>
15552 Joseph Myers <joseph@codesourcery.com>
15554 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
15556 (obstack_chunk_alloc): New macro.
15557 (obstack_chunk_free): Likewise.
15558 (record_offset): New function.
15559 (init_locale_data): Likewise.
15560 (align_locale_data): Likewise.
15561 (add_locale_empty): Likewise.
15562 (add_locale_raw_data): Likewise.
15563 (add_locale_raw_obstack): Likewise.
15564 (add_locale_string): Likewise.
15565 (add_locale_wstring): Likewise.
15566 (add_locale_uint32): Likewise.
15567 (add_locale_uint32_array): Likewise.
15568 (add_locale_char): Likewise.
15569 (start_locale_structure): Likewise.
15570 (end_locale_structure): Likewise.
15571 (start_locale_prelude): Likewise.
15572 (end_locale_prelude): Likewise.
15573 (write_locale_data): Take locale_file structure rather than an
15575 * locale/programs/locfile.h: Include "obstack.h".
15576 (struct locale_file): Change to store locale file contents instead
15578 (init_locale_data): New prototype.
15579 (align_locale_data): Likewise.
15580 (add_locale_empty): Likewise.
15581 (add_locale_raw_data): Likewise.
15582 (add_locale_raw_obstack): Likewise.
15583 (add_locale_string): Likewise.
15584 (add_locale_wstring): Likewise.
15585 (add_locale_uint32): Likewise.
15586 (add_locale_uint32_array): Likewise.
15587 (add_locale_char): Likewise.
15588 (start_locale_structure): Likewise.
15589 (end_locale_structure): Likewise.
15590 (start_locale_prelude): Likewise.
15591 (end_locale_prelude): Likewise.
15592 (write_locale_data): Update prototype.
15593 * locale/programs/3level.h (struct TABLE): Remove result field.
15594 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
15595 Use new locale_file interface.
15596 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
15597 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
15598 * locale/programs/ld-address.c (address_output): Use new
15599 locale_file interface.
15600 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
15602 (collate_finish): Don't call collseq_table_finalize.
15603 (collate_output): Use new locale_file interface.
15604 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
15606 (NO_FINALIZE): Change to NO_ADD_LOCALE.
15607 (TABLE): Move defines earlier in file.
15608 (ELEMENT): Likewise.
15609 (DEFAULT): Likewise.
15610 (wctrans_table_add): Move macro and inline function earlier in
15612 (struct wctype_table): Move type earlier in file.
15613 (add_locale_wctype_table): New static prototype.
15614 (struct locale_ctype_t): Use logical types instead of struct iovec
15615 pointers for members.
15616 (ctype_output): Use new locale_file interface.
15617 (wctype_table_finalize): Change to add_locale_wctype_table. Use
15618 new locale_file interface.
15619 (allocate_arrays): Update for use of new locale_file interface.
15620 * locale/programs/ld-identification.c (identification_output): Use
15621 new locale_file interface.
15622 * locale/programs/ld-measurement.c (measurement_output): Likewise.
15623 * locale/programs/ld-messages.c (messages_output): Likewise.
15624 * locale/programs/ld-monetary.c (monetary_output): Likewise.
15625 * locale/programs/ld-name.c (name_output): Likewise.
15626 * locale/programs/ld-numeric.c (numeric_output): Likewise.
15627 * locale/programs/ld-paper.c (paper_output): Likewise.
15628 * locale/programs/ld-telephone.c (telephone_output): Likewise.
15629 * locale/programs/ld-time.c (time_output): Likewise.
15631 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15633 * benchtests/Makefile: Add memrchr benchmark.
15634 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
15635 benchmark as memrchr.
15636 * benchtests/bench-memrchr-ifunc.c: New file.
15637 * benchtests/bench-memrchr.c: New file.
15639 2013-09-06 Will Newton <will.newton@linaro.org>
15641 * benchtests/Makefile (string-bench): Add memcpy.
15643 2013-09-05 Carlos O'Donell <carlos@redhat.com>
15644 Cong Wang <amwang@redhat.com>
15647 * sysdeps/unix/sysv/linux/bits/in.h
15648 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
15649 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
15650 before __USE_KERNEL_IPV6_DEFS uses.
15651 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
15653 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
15654 sockaddr_in6, or ipv6_mreq.
15656 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15658 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
15659 memory access for final bytes in some large inputs.
15660 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
15662 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15664 * string/test-memrchr.c: New file.
15665 * string/test-memrchr-ifunc.c: New file.
15666 * string/Makefile: Add new memrchr testcase.
15668 2013-09-05 Mike Frysinger <vapier@gentoo.org>
15670 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
15671 fanotify_init returns EPERM.
15673 2013-09-04 Joseph Myers <joseph@codesourcery.com>
15675 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
15677 (top level): Treat second token from macro or constant entries for
15678 allowed headers as allowed.
15679 * include/complex.h: Condition internal declarations on
15681 * include/fenv.h: Condition include of <stdbool.h> and internal
15682 declarations on [!_ISOMAC].
15684 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
15687 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
15689 2013-09-04 Joseph Myers <joseph@codesourcery.com>
15691 * configure.in (--enable-versioning): Remove configure option.
15692 (libc_cv_asm_symver_directive): Remove configure test.
15693 (libc_cv_ld_version_script_option): Likewise.
15694 (VERSIONING): Remove variable and AC_SUBST.
15695 (DO_VERSIONING): Remove AC_DEFINE.
15696 * configure: Regenerated.
15697 * config.h.in (DO_VERSIONING): Remove macro.
15698 * Makerules [$(versioning) = yes]: Change conditionals to
15699 [$(build-shared) = yes].
15700 * config.make.in (versioning): Remove variable.
15701 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
15702 [$(build-shared) = yes].
15703 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
15704 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
15705 * elf/Makefile [$(versioning) = yes]: Change conditionals to
15706 [$(build-shared) = yes].
15707 * extra-lib.mk [$(versioning) = yes]: Likewise.
15708 * hurd/Makefile [$(versioning) = yes]: Likewise.
15709 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
15711 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
15713 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
15714 [SHARED && !NO_HIDDEN].
15715 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
15717 [SHARED && DO_VERSIONING]: Likewise..
15718 * libio/Makefile [$(versioning) = yes]: Change conditionals to
15719 [$(build-shared) = yes].
15720 * manual/install.texi (--disable-versioning): Remove
15722 * INSTALL: Regenerated.
15723 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
15725 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
15726 [$(build-shared) = yes].
15727 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
15728 * sysdeps/i386/i686/multiarch/strstr-c.c
15729 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
15730 [SHARED && !NO_HIDDEN].
15731 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
15732 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
15733 * sysdeps/powerpc/powerpc32/dl-machine.c
15734 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
15735 * sysdeps/powerpc/powerpc32/sysdep.h
15736 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
15737 to [SHARED && PIC && !NO_HIDDEN].
15738 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
15739 conditional to [SHARED].
15741 2013-09-04 Will Newton <will.newton@linaro.org>
15743 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
15744 * benchtests/bench-string.h: Include bench-timing.h instead
15745 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
15746 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
15747 call to HP_TIMING_DIFF_INIT.
15748 * benchtests/bench-memccpy.c: Use bench-timing.h macros
15749 instead of hp-timing.h macros.
15750 * benchtests/bench-memchr.c: Likewise.
15751 * benchtests/bench-memcmp.c: Likewise.
15752 * benchtests/bench-memcpy.c: Likewise.
15753 * benchtests/bench-memmem.c: Likewise.
15754 * benchtests/bench-memmove.c: Likewise.
15755 * benchtests/bench-memset.c: Likewise.
15756 * benchtests/bench-rawmemchr.c: Likewise.
15757 * benchtests/bench-strcasecmp.c: Likewise.
15758 * benchtests/bench-strcasestr.c: Likewise.
15759 * benchtests/bench-strcat.c: Likewise.
15760 * benchtests/bench-strchr.c: Likewise.
15761 * benchtests/bench-strcmp.c: Likewise.
15762 * benchtests/bench-strcpy.c: Likewise.
15763 * benchtests/bench-strcpy_chk.c: Likewise.
15764 * benchtests/bench-strlen.c: Likewise.
15765 * benchtests/bench-strncasecmp.c: Likewise.
15766 * benchtests/bench-strncat.c: Likewise.
15767 * benchtests/bench-strncmp.c: Likewise.
15768 * benchtests/bench-strncpy.c: Likewise.
15769 * benchtests/bench-strnlen.c: Likewise.
15770 * benchtests/bench-strpbrk.c: Likewise.
15771 * benchtests/bench-strrchr.c: Likewise.
15772 * benchtests/bench-strspn.c: Likewise.
15773 * benchtests/bench-strstr.c: Likewise.
15775 2013-09-04 Will Newton <will.newton@linaro.org>
15777 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
15779 2013-09-03 Joseph Myers <joseph@codesourcery.com>
15782 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
15783 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
15784 * math/libm-test.inc (lgamma_test_data): Add more tests.
15785 * sysdeps/i386/fpu/libm-test-ulps: Update.
15786 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15788 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
15790 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
15791 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15793 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15794 Add strcmp-sse2-unaligned
15795 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
15797 2013-09-02 Mike Frysinger <vapier@gentoo.org>
15799 * Versions.def (libc): Add GLIBC_2.19.
15801 2013-09-02 Mike Frysinger <vapier@gentoo.org>
15803 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
15804 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
15806 2013-09-02 Joseph Myers <joseph@codesourcery.com>
15809 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
15810 intermediate calculations in recurrence.
15811 (__ieee754_ynf): Likewise.
15812 * math/libm-test.inc (jn_test_data): Do not allow spurious
15813 underflow exception. Add more tests.
15814 (yn_test_data): Add more tests.
15815 * sysdeps/i386/fpu/libm-test-ulps: Update.
15816 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15818 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
15820 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
15822 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
15824 * csu/init-first.c: Fix then/than typos.
15825 * locale/programs/ld-collate.c: Likewise.
15826 * locale/programs/linereader.h: Likewise.
15827 * manual/charset.texi: Likewise.
15828 * manual/filesys.texi: Likewise.
15829 * manual/stdio.texi: Likewise.
15830 * manual/string.texi: Likewise.
15831 * stdlib/fmtmsg.c: Likewise.
15832 * sysdeps/i386/stpncpy.S: Likewise.
15833 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15834 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
15835 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15836 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15838 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
15840 * elf/dl-open.c: Fix typos.
15841 * iconvdata/gbbig5.c: Likewise.
15842 * iconvdata/iso-2022-jp.c: Likewise.
15843 * iconv/gconv_int.h: Likewise.
15844 * iconv/loop.c: Likewise.
15845 * nis/rpcsvc/nis.h: Likewise.
15846 * resolv/ns_name.c: Likewise.
15847 * stdio-common/vfscanf.c: Likewise.
15848 * streams/stropts.h: Likewise.
15849 * sunrpc/rpc_thread.c: Likewise.
15850 * sysdeps/i386/strpbrk.S: Likewise.
15851 * sysdeps/ieee754/k_standard.c: Likewise.
15852 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15853 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15854 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
15855 * sysdeps/mach/hurd/profil.c: Likewise.
15856 * sysdeps/s390/dl-procinfo.h: Likewise.
15857 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
15858 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
15859 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
15860 * sysdeps/x86_64/dl-trampoline.S: Likewise.
15861 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
15863 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
15865 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
15866 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
15868 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
15870 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
15871 aix specific files.
15872 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
15873 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
15874 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
15875 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
15876 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
15877 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
15878 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
15879 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
15881 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
15882 Roland McGrath <roland@hack.frob.com>
15884 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
15885 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
15887 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
15889 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
15890 __executable_start symbol instead of _start.
15892 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
15894 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
15895 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
15897 * sysdeps/gnu/ldsodefs.h: ... this new file.
15899 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
15900 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
15901 instead of ELFOSABI_LINUX.
15903 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
15904 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
15905 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
15906 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
15908 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
15909 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
15910 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
15912 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
15913 (ibm_extended_long_double): Add ieee_nan member.
15914 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
15915 (do_test): New function.
15917 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
15919 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
15920 functions, renamed from truncdfsf_test, trunctfsf_test,
15922 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
15924 (do_test): Run all these.
15926 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
15928 * argp/argp-help.c: Fix typos.
15929 * argp/argp-parse.c: Likewise.
15930 * debug/backtracesyms.c: Likewise.
15931 * elf/elf.h: Likewise.
15932 * malloc/malloc.c: Likewise.
15933 * nis/nis_print.c: Likewise.
15934 * resolv/res_comp.c: Likewise.
15935 * stdlib/stdlib.h: Likewise.
15936 * sunrpc/clnt_tcp.c: Likewise.
15937 * sunrpc/clnt_udp.c: Likewise.
15938 * sunrpc/clnt_unix.c: Likewise.
15939 * sysdeps/unix/bsd/ptsname.c: Likewise.
15940 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
15941 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
15942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
15944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
15946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
15948 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
15950 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15952 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
15953 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15955 2013-08-27 Mike Frysinger <vapier@gentoo.org>
15958 * dlfcn/Makefile (tests): Add bug-dl-leaf.
15959 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
15960 ($(objpfx)bug-dl-leaf): New rule.
15961 ($(objpfx)bug-dl-leaf.so): Likewise.
15962 ($(objpfx)bug-dl-leaf.out): Likewise.
15963 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
15964 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
15965 * dlfcn/bug-dl-leaf.c: New test.
15966 * dlfcn/bug-dl-leaf-lib.c: Likewise.
15967 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
15968 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
15969 (dlclose): Likewise.
15970 (dlmopen): Likewise.
15972 2013-08-27 Roland McGrath <roland@hack.frob.com>
15974 * include/netdb.h [!_ISOMAC]:
15975 Don't include <tls.h>.
15976 (h_errno, __libc_h_errno): Move declaration and macros out of
15979 * include/resolv.h [_RESOLV_H_]:
15980 Don't include <tls.h>.
15981 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
15982 * resolv/res_libc.c: Don't include <tls.h>.
15983 (_res): Use __attribute__ ((nocommon)) in place of
15984 __attribute__ ((section (".bss"))).
15986 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
15987 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
15989 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
15991 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
15992 only under [SIOCGIFCONF && SIOCGIFNETMASK].
15994 * resolv/res_mkquery.c: Include <sys/time.h>.
15996 * inet/ifreq.c: Moved to ...
15997 * sysdeps/unix/ifreq.c: ... here.
15998 * inet/ifreq.c: New file, true stub version.
16000 * socket/sa_len.c: New file.
16001 * socket/Makefile (aux): Add it.
16002 * sysdeps/unix/sysv/linux/Makefile
16003 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
16004 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
16005 and #include <socket/sa_len.c>.
16006 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
16007 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
16009 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
16010 * bits/socket.h: ... here.
16012 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
16013 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
16014 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
16016 2013-08-27 Andreas Schwab <schwab@suse.de>
16019 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
16020 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
16021 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
16022 * string/test-strcasecmp.c (test_main): Run tests in several
16024 * string/test-strncasecmp.c (test_main): Likewise.
16026 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
16027 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
16028 to __strcasecmp_nonascii and __strncasecmp_nonascii.
16029 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
16030 (__strncasecmp_ssse3) [PIC]: Likewise.
16032 2013-08-26 Roland McGrath <roland@hack.frob.com>
16034 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
16036 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
16037 instead of explicitly declaring xdecrypt.
16038 * nis/nss_nis/nis-publickey.c: Likewise.
16040 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16043 * nscd/aicache.c: Include res_hconf.h.
16044 (addhstaiX): Initialize res_hconf.
16046 2013-08-26 Andreas Schwab <schwab@suse.de>
16048 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
16049 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
16051 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16053 * nscd/aicache.c (addhstaiX): Fix indentation.
16055 2013-08-25 Mike Frysinger <vapier@gentoo.org>
16057 * configure.ac: Quote $build_pt_chown test.
16058 * configure: Regenerated.
16060 2013-08-23 Joseph Myers <joseph@codesourcery.com>
16063 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
16064 * math/s_cexpf.c (__cexpf): Likewise.
16065 * math/s_cexpl.c (__cexpl): Likewise.
16066 * math/libm-test.inc (cexp_test_data): Correct expected return
16067 value for NaN + i0. Add another test.
16069 2013-08-22 David S. Miller <davem@davemloft.net>
16071 * po/ca.po: Update Catalan translation from translation project.
16072 * po/uk.po: Add Ukrainian translations from translation project.
16074 2013-08-21 Joseph Myers <joseph@codesourcery.com>
16077 * math/s_fdim.c (__fdim): Check for infinite arguments if result
16078 is infinite, not alongside NaN test.
16079 * math/s_fdimf.c (__fdimf): Likewise.
16080 * math/s_fdiml.c (__fdiml): Likewise.
16081 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
16082 errno is unchanged.
16084 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
16086 * argp/argp-help.c: Fix typos.
16087 * crypt/speeds.c: Likewise.
16088 * csu/check_fds.c: Likewise.
16089 * elf/dl-load.c: Likewise.
16090 * elf/dl-open.c: Likewise.
16091 * elf/reldep3.c: Likewise.
16092 * elf/reldep.c: Likewise.
16093 * elf/sprof.c: Likewise.
16094 * iconv/iconv_charmap.c: Likewise.
16095 * iconv/skeleton.c: Likewise.
16096 * iconv/strtab.c: Likewise.
16097 * io/lockf64.c: Likewise.
16098 * libio/libioP.h: Likewise.
16099 * resolv/gai_notify.c: Likewise.
16100 * resolv/ns_name.c: Likewise.
16101 * resolv/ns_samedomain.c: Likewise.
16102 * resolv/res_send.c: Likewise.
16103 * stdlib/random.c: Likewise.
16104 * sunrpc/rpc/xdr.h: Likewise.
16105 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
16106 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
16107 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
16108 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
16109 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
16110 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
16111 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
16112 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
16113 * sysdeps/mach/hurd/check_fds.c: Likewise.
16114 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
16115 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16116 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16117 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
16118 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16119 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
16120 * sysdeps/pthread/aio_notify.c: Likewise.
16121 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
16122 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
16123 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
16124 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
16125 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
16127 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16129 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
16130 version if bit_Slow_SSE4_2 is set.
16131 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16132 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16134 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16137 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
16138 trampoline stack frame information.
16139 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
16140 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
16141 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
16142 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
16143 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
16144 * sysdeps/unix/sysv/linux/powerpc/init-first.c
16145 (_libc_vdso_platform_setup): Initialize the signal trampolines.
16146 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
16148 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
16149 interrupting a syscall and set with option SA_SIGINFO.
16151 2013-08-20 Joseph Myers <joseph@codesourcery.com>
16154 * math/s_cproj.c (__cproj): Only return an infinity if one part of
16155 argument is infinite.
16156 * math/s_cprojf.c (__cprojf): Likewise.
16157 * math/s_cprojl.c (__cprojl): Likewise.
16158 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
16159 * math/libm-test.inc (cproj_test_data): Add more tests.
16161 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
16163 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
16164 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
16165 size. Use __ffs to determine corresponding shift.
16167 2013-08-20 Joseph Myers <joseph@codesourcery.com>
16168 Roland McGrath <roland@hack.frob.com>
16170 * Makefile (INSTALL): Remove trailing blank lines from output of
16173 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16175 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
16176 Align 32 bit compat elf_greg to 8 bytes.
16178 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
16180 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
16182 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16184 * string/strcoll_l.c (coll_seq): New structure.
16185 (get_next_seq_cached): New function.
16186 (get_next_seq): New function.
16187 (do_compare): New function.
16188 (STRCOLL): Use GNU style definition. Simplify implementation
16189 by using get_next_seq, get_next_seq_cached and do_compare.
16191 2013-08-16 Florian Weimer <fweimer@redhat.com>
16195 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
16197 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
16199 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
16200 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
16201 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
16203 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
16204 GETDENTS_64BIT_ALIGNED.
16205 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16206 * manual/filesys.texi (Reading/Closing Directory): Document
16207 ENAMETOOLONG return value of readdir_r. Recommend readdir more
16209 * manual/conf.texi (Limits for Files): Add portability note to
16210 NAME_MAX, PATH_MAX.
16211 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
16213 2013-08-13 Andreas Schwab <schwab@suse.de>
16216 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
16218 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
16219 LDBL_MAX_EXP >= 16384]: Add tests for it.
16221 2013-08-12 David S. Miller <davem@davemloft.net>
16223 * version.h (RELEASE): Set to "development".
16224 (VERSION): Set to "2.18.90".
16225 * NEWS: Add 2.19 section.
16227 2013-08-03 David S. Miller <davem@davemloft.net>
16229 * po/ko.po: Update Korean translation from translation project.
16231 2013-08-01 David S. Miller <davem@davemloft.net>
16233 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
16234 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
16237 2013-07-30 David S. Miller <davem@davemloft.net>
16239 * po/fr.po: Update French translation from translation project.
16241 2013-07-28 David S. Miller <davem@davemloft.net>
16243 * po/cs.po: Update Czech translation from translation project.
16245 * po/sv.po: Update Swedish translation from translation project.
16247 2013-07-27 David S. Miller <davem@davemloft.net>
16249 * po/eo.po: Update Esperanto translation from translation project.
16251 * po/vi.po: Update Vietnamese translation from translation project.
16253 * po/de.po: Update German translation from translation project.
16255 2013-07-26 David S. Miller <davem@davemloft.net>
16257 * po/bg.po: Update Bulgarian translation from translation project.
16259 * po/nl.po: Update Dutch translation from translation project.
16260 * po/pl.po: Update Polish translation from translation project.
16261 * po/ru.po: Update Russian translation from translation project.
16263 2013-07-24 David S. Miller <davem@davemloft.net>
16265 * po/libc.pot: Update.
16267 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16269 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
16270 variable page size.
16271 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
16272 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
16273 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
16275 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16277 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
16279 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16280 Andreas Schwab <schwab@suse.de>
16281 Roland McGrath <roland@hack.frob.com>
16282 Joseph Myers <joseph@codesourcery.com>
16283 Carlos O'Donell <carlos@redhat.com>
16286 * config.h.in: Define HAVE_PT_CHOWN.
16287 * config.make.in (build-pt-chown): New variable.
16288 * configure.in (--enable-pt_chown): New configure option.
16289 * configure: Regenerate.
16290 * login/Makefile: Include Makeconfig. Build pt_chown only if
16291 build-pt-chown is enabled.
16292 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
16293 pt_chown to fix pty ownership.
16294 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
16296 * manual/install.texi (Configuring and compiling): Mention
16297 --enable-pt_chown. Add @findex for grantpt.
16298 * INSTALL: Regenerate.
16300 2013-07-20 David S. Miller <davem@davemloft.net>
16302 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
16303 difference between 32-bit and 64-bit.
16305 2013-07-15 Carlos O'Donell <carlos@redhat.com>
16308 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
16309 Avoid system header dependency with -ffreestanding.
16310 ($(objpfx)bits/syscall%d): Likewise.
16312 2013-07-13 David S. Miller <davem@davemloft.net>
16314 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
16315 underflows from atanl/atan2l due to bug 15319.
16316 (casinh_test_data): Likewise.
16318 2013-07-07 David S. Miller <davem@davemloft.net>
16320 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
16322 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
16324 * sysdeps/i386/fpu/libm-test-ulps: Update.
16325 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16327 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16329 * configure.in (--enable-lock-elision): Fix message text.
16330 * INSTALL: Regenerate.
16331 * configure: Regenerate.
16333 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16335 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16337 2013-07-03 Andreas Jaeger <aj@suse.de>
16339 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
16341 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
16342 (ptrace_peeksiginfo_args): Add.
16343 (__ptrace_peeksiginfo_flags): Add.
16344 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16345 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16346 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16348 2013-07-03 Allan McRae <allan@archlinux.org>
16350 * sysdeps/i386/fpu/libm-test-ulps: Update.
16352 2013-07-02 David S. Miller <davem@davemloft.net>
16354 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16356 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
16358 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16360 2013-07-02 Joseph Myers <joseph@codesourcery.com>
16362 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
16363 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16365 2013-07-02 Andi Kleen <ak@linux.intel.com>
16367 * config.h.in (ENABLE_LOCK_ELISION): Add.
16368 * configure.in (--enable-lock-elision): Add option.
16369 * manual/install.texi: Document --enable lock elision.
16370 * configure: Regenerate
16371 * INSTALL: Regenerate.
16373 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
16375 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
16376 SSE4.2 strcasecmp for libc.a.
16377 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
16379 2013-07-02 Joseph Myers <joseph@codesourcery.com>
16382 * soft-fp/op-common.h (_FP_FMA): New macro.
16383 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
16384 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
16385 (_FP_MUL_MEAT_1_imm): ... here.
16386 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
16387 (_FP_MUL_MEAT_1_wide): ... here.
16388 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
16389 (_FP_MUL_MEAT_1_hard): ... here.
16390 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
16391 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
16392 (_FP_MUL_MEAT_2_wide): ... here.
16393 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
16394 (_FP_MUL_MEAT_2_wide_3mul): ... here.
16395 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
16396 (_FP_MUL_MEAT_2_gmp): ... here.
16397 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
16398 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
16399 (_FP_MUL_MEAT_4_wide): ... here.
16400 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
16401 (_FP_MUL_MEAT_4_gmp): ... here.
16402 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
16403 (_FP_WFRACBITS_DW_S): Likewise.
16404 (_FP_WFRACXBITS_DW_S): Likewise.
16405 (_FP_HIGHBIT_DW_S): Likewise.
16406 (FP_FMA_S): Likewise.
16407 (_FP_FRAC_HIGH_DW_S): Likewise.
16408 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
16409 (_FP_WFRACBITS_DW_D): Likewise.
16410 (_FP_WFRACXBITS_DW_D): Likewise.
16411 (_FP_HIGHBIT_DW_D): Likewise.
16412 (FP_FMA_D): Likewise.
16413 (_FP_FRAC_HIGH_DW_D): Likewise.
16414 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
16415 (_FP_WFRACBITS_DW_E): Likewise.
16416 (_FP_WFRACXBITS_DW_E): Likewise.
16417 (_FP_HIGHBIT_DW_E): Likewise.
16418 (FP_FMA_E): Likewise.
16419 (_FP_FRAC_HIGH_DW_E): Likewise.
16420 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
16421 (_FP_WFRACBITS_DW_Q): Likewise.
16422 (_FP_WFRACXBITS_DW_Q): Likewise.
16423 (_FP_HIGHBIT_DW_Q): Likewise.
16424 (FP_FMA_Q): Likewise.
16425 (_FP_FRAC_HIGH_DW_Q): Likewise.
16426 * soft-fp/fmasf4.c: New file.
16427 * soft-fp/fmadf4.c: Likewise.
16428 * soft-fp/fmatf4.c: Likewise.
16430 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16432 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
16433 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
16435 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
16437 (index_Slow_SSE4_2): Likewise.
16438 (index_Prefer_PMINUB_for_stringop): Likewise.
16439 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
16440 bit_Slow_SSE4_2 is set.
16441 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16442 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16444 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16446 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
16447 rtld_global._dl_hwcap2.
16448 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
16450 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
16451 POWER8 feature descriptions defined in _dl_hwcap2.
16452 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
16453 string handling for POWER8 feature bits.
16454 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
16455 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
16456 _dl_powerpc_cap_flags.
16457 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
16458 * sysdeps/powerpc/rtld-global-offsets.sym
16459 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
16460 _dl_hwcap2 in the rtld_global_ro structure.
16462 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16464 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
16465 hardware capabilities in support of AT_HWCAP2.
16466 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
16467 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
16469 (_dl_show_auxv): Add support for calling _dl_procinfo to display
16470 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
16471 explicitly the unknown a_type display mechanism is used.
16472 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
16473 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
16475 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
16476 to macro prototype for AT_HWCAP2 support.
16477 * sysdeps/i386/dl-procinfo.h: Likewise.
16478 * sysdeps/s390/dl-procinfo.h: Likewise.
16479 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
16480 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
16481 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
16482 return -1 for unknown a_type display fallback.
16483 * sysdeps/sparc/dl-procinfo.h: Likewise.
16484 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
16485 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
16487 2013-06-28 Joseph Myers <joseph@codesourcery.com>
16489 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
16490 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
16492 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
16495 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
16496 mprotect making __stack_prot writable.
16498 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
16499 Joseph Myers <joseph@codesourcery.com>
16501 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
16502 as being properly aligned.
16504 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
16506 * dlfcn/modstatic5.c: New file.
16507 * dlfcn/tststatic5.c: New file.
16508 * dlfcn/Makefile (tests): Add tststatic5.
16509 (tests-static): Likewise.
16510 (modules-names): Add modstatic5.
16511 (tststatic5-ENV): New variable.
16512 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
16515 * elf/dl-support.c (_dl_main_map): New variable.
16516 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
16517 (_dl_nns, _dl_load_adds): Set to 1.
16518 (_dl_initial_searchlist): Refer to _dl_main_map.
16519 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
16520 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
16521 call to _dl_get_origin.
16522 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
16524 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
16525 * dlfcn/modstatic3.c: New file.
16526 * dlfcn/tststatic3.c: New file.
16527 * dlfcn/tststatic4.c: New file.
16528 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
16529 (tests-static): Likewise.
16530 (modules-names): Add modstatic3.
16531 (tststatic3-ENV, tststatic4-ENV): New variables.
16532 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
16533 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
16535 2013-06-26 Joseph Myers <joseph@codesourcery.com>
16537 * configure.in (CC): Require GCC version 4.4 or later.
16538 * configure: Regenerated.
16539 * manual/install.texi (Tools for Compilation): Update GCC version
16541 * INSTALL: Regenerated.
16543 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16546 * string/test-memcmp.c (check2): New.
16547 (main): Call check2.
16549 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
16551 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
16554 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
16556 (dl_open_worker) [!SHARED]: ... here.
16558 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16560 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
16562 2013-06-25 Richard Henderson <rth@redhat.com>
16564 * locale/programs/locarchive.c: Include <libc-internal.h>
16566 2013-06-25 Joseph Myers <joseph@codesourcery.com>
16568 * manual/texinfo.tex: Update to version 2013-06-21.17, with
16569 trailing whitespace removed.
16571 2013-06-24 Mike Frysinger <vapier@gentoo.org>
16574 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
16575 * locale/programs/locarchive.c: Include libc-mmap.h.
16576 (prepare_address_space): Take two new outputs (the mmap base and len).
16577 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
16579 (create_archive): Declare new mmap base and len values for
16580 prepare_address_space, and store the result in ah.
16581 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
16582 (enlarge_archive): If ah->mmap_base is not NULL, use that and
16583 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16584 Declare new mmap base and len values for
16585 prepare_address_space, and store the result in new_ah.
16586 (open_archive): Declare new mmap base and len values for
16587 prepare_address_space, and store the result in ah.
16588 (close_archive): If ah->mmap_base is not NULL, use that and
16589 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16590 * sysdeps/generic/libc-mmap.h: New file.
16592 2013-06-24 Mike Frysinger <vapier@gentoo.org>
16594 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
16595 (ALIGN_UP): Likewise.
16596 (PTR_ALIGN_DOWN): Likewise.
16597 (PTR_ALIGN_UP): Likewise.
16599 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16601 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
16602 entry mapped to PPC_PLATFORM_POWER8.
16603 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
16605 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
16606 (_dl_string_platform): Add case for exporting platform position for
16608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
16609 search path to sysdeps/powerpc/powerpc32/power8 directory.
16610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
16611 search path to sysdeps/powerpc/powerpc64/power8 directory.
16612 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
16613 power7 directories.
16614 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
16615 power7 directories.
16617 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
16619 * INSTALL: Regenerate.
16621 * nscd/connections.c (nscd_init): Fix comment.
16623 2013-06-22 Joseph Myers <joseph@codesourcery.com>
16625 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
16628 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
16629 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
16631 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
16633 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
16635 (DL_DST_REQ_STATIC): Remove macro.
16637 2013-06-21 Joseph Myers <joseph@codesourcery.com>
16640 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
16641 with a shift of 0 bits.
16643 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
16645 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
16648 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16651 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
16653 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16655 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
16656 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
16657 accepts -fno-tree-loop-distribute-patterns.
16658 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
16659 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
16661 * string/memset.c (memset): Likewise.
16662 * string/test-memmove.c (simple_memmove): Disable loop transformation
16664 * string/test-memset.c (simple_memset): Likewise.
16665 * benchtests/bench-memmove.c (simple_memmove): Likewise.
16666 * benchtests/bench-memset.c (simple_memset): Likewise.
16667 * configure: Regenerated.
16669 2013-06-20 Joseph Myers <joseph@codesourcery.com>
16671 * math/test-misc.c (main): Ignore fesetround failure when failures
16672 of subsequent rounding tests would be ignored.
16675 * math/fedisblxcpt.c (fedisableexcept): Return 0.
16676 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
16677 * math/fegetenv.c (__fegetenv): Return 0.
16678 * math/fegetexcept.c (fegetexcept): Return 0.
16679 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
16681 * math/feholdexcpt.c (feholdexcept): Return 0.
16682 * math/fesetenv.c (__fesetenv): Return 0.
16683 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
16684 argument FE_TONEAREST.
16685 * math/feupdateenv.c (__feupdateenv): Return 0.
16686 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
16688 2013-06-18 Roland McGrath <roland@hack.frob.com>
16690 * elf/rtld-Rules (rtld-compile-command.S): New variable.
16691 (rtld-compile-command.s, rtld-compile-command.c): New variables.
16692 ($(objpfx)rtld-%.os rules): Use them.
16694 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16696 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
16699 2013-06-17 Roland McGrath <roland@hack.frob.com>
16701 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
16702 length of target pattern, then descending length of dependency pattern.
16703 * configure.in (AWK): Require gawk 3.1.2 or newer.
16704 * manual/install.texi (Tools for Compilation): Say that we do.
16705 * configure: Regenerated.
16707 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
16708 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
16709 * scripts/sysd-rules.awk: ... this new script.
16710 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
16711 than a glob-style pattern.
16713 2013-06-17 Joseph Myers <joseph@codesourcery.com>
16715 * math/test-misc.c (main): Do not treat incorrectly rounded
16716 conversions as failure unless ROUNDING_TESTS passes.
16718 2013-06-15 Joseph Myers <joseph@codesourcery.com>
16721 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
16722 restore exception state around main square root computation, then
16723 check for inexactness explicitly.
16725 * math/libm-test.inc (fma_test_data): Add another test.
16727 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16729 * manual/threads.texi (Non-POSIX Extensions): New document
16730 node. Document pthread_getattr_default_np and
16731 pthread_setattr_default_np.
16733 * Versions.def (libpthread): Add GLIBC_2.18.
16734 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
16735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16739 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16741 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16743 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
16745 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16747 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16749 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
16751 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
16754 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16756 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16757 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
16759 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16760 H.J. Lu <hjl.tools@gmail.com>
16763 * sysdeps/x86_64/rtld-memset.c: Remove file.
16764 * sysdeps/x86_64/rtld-memset.S: New file.
16766 2013-06-14 Joseph Myers <joseph@codesourcery.com>
16768 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
16769 (test_in_one_mode): Take arguments for whether the rounding mode
16770 is supported for each floating-point type.
16771 (do_test): Pass new arguments to test_in_one_mode using
16774 2013-06-13 Roland McGrath <roland@hack.frob.com>
16776 * posix/tst-waitid.c (do_test): Distinguish different instances of
16777 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
16778 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
16779 before entering the kernel for waitpid.
16781 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16783 * NEWS: Fix note on clock function precision. Text by Roland
16786 2013-06-13 Roland McGrath <roland@hack.frob.com>
16788 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
16789 it into place only when and if the sanity check passes.
16791 2013-06-13 Joseph Myers <joseph@codesourcery.com>
16793 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
16794 output for whether conversion result is exact. Take argument
16795 indicating whether type is IBM long double.
16796 (round_for_all): Change need_exact field to ibm_ld.
16797 * stdlib/tst-strtod-round.c (struct exactness): New type.
16798 (struct test): Change bool ld_ok field to struct exactness exact.
16799 (TEST): Update all definitions for change to field.
16800 (tests): Regenerate array contents.
16801 (test_in_one_mode): Take pointer to new field instead of old ld_ok
16802 field value. Check for IBM long double here.
16803 (do_test): Update calls to test_in_one_mode.
16805 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16808 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
16809 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
16811 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16814 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
16815 generated by the compiler on loop optimizations.
16816 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
16817 general definitions.
16819 2013-06-12 Joseph Myers <joseph@codesourcery.com>
16821 * math/bug-nextafter.c: Include <math-tests.h>.
16822 (main): Only test for exceptions if EXCEPTION_TESTS is true for
16824 * math/bug-nexttoward.c: Include <math-tests.h>.
16825 (main): Only test for exceptions if EXCEPTION_TESTS is true for
16827 * math/test-misc.c: Include <math-tests.h>.
16828 (main): Only test for exceptions if EXCEPTION_TESTS is true for
16831 2013-06-12 Andreas Jaeger <aj@suse.de>
16833 * po/ia.po: Update Interlingua translation from translation
16836 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16838 * include/fenv.h: Include stdbool.h.
16839 (struct rm_ctx): New structure.
16840 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
16842 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
16843 (SET_RESTORE_ROUNDF): Likewise.
16844 (SET_RESTORE_ROUNDL): Likewise.
16845 (SET_RESTORE_ROUND_NOEX): Likewise.
16846 (SET_RESTORE_ROUND_NOEXF): Likewise.
16847 (SET_RESTORE_ROUND_NOEXL): Likewise.
16848 (SET_RESTORE_ROUND_53BIT): Likewise.
16849 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
16850 (libc_feresetround_noexf_ctx): Likewise.
16851 (libc_feresetround_noexl_ctx): Likewise.
16852 (libc_feholdsetround_53bit_ctx): Likewise.
16853 (libc_feresetround_53bit_ctx): Likewise.
16854 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
16855 (libc_feholdexcept_setround_sse_ctx): New function.
16856 (libc_fesetenv_sse_ctx): Likewise.
16857 (libc_feupdateenv_sse_ctx): Likewise.
16858 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
16859 (libc_feholdexcept_setround_387_ctx): Likewise.
16860 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
16861 (libc_feholdsetround_387_prec_ctx): Likewise.
16862 (libc_feholdsetround_387_ctx): Likewise.
16863 (libc_feholdsetround_387_53bit_ctx): Likewise.
16864 (libc_feholdsetround_sse_ctx): Likewise.
16865 (libc_feresetround_sse_ctx): Likewise.
16866 (libc_feresetround_387_ctx): Likewise.
16867 (libc_feupdateenv_387_ctx): Likewise.
16868 (libc_feholdexcept_setroundf_ctx): Define macro.
16869 (libc_fesetenvf_ctx): Likewise.
16870 (libc_feupdateenvf_ctx): Likewise.
16871 (libc_feholdsetroundf_ctx): Likewise.
16872 (libc_feresetroundf_ctx): Likewise.
16873 (libc_feholdexcept_setround_ctx): Likewise.
16874 (libc_fesetenv_ctx): Likewise.
16875 (libc_feupdateenv_ctx): Likewise.
16876 (libc_feholdsetround_ctx): Likewise.
16877 (libc_feresetround_ctx): Likewise.
16878 (libc_feholdexcept_setroundl_ctx): Likewise.
16879 (libc_feupdateenvl_ctx): Likewise.
16880 (libc_feholdsetroundl_ctx): Likewise.
16881 (libc_feresetroundl_ctx): Likewise.
16882 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
16883 (libc_feresetround_53bit_ctx): Likewise.
16885 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16887 * locale/iso-639.def: Convert to UTF-8.
16889 2013-06-11 Joseph Myers <joseph@codesourcery.com>
16891 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
16892 (EXCEPTION_TESTS_double): Likewise.
16893 (EXCEPTION_TESTS_long_double): Likewise.
16894 (EXCEPTION_TESTS): Likewise.
16895 * math/libm-test.inc (test_exceptions): Only test exceptions if
16896 EXCEPTION_TESTS (FLOAT).
16898 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16900 * benchtests/Makefile (string-bench): Add strcpy_chk and
16902 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
16903 * benchtests/bench-stpcpy_chk.c: New file.
16904 * benchtests/bench-strcpy_chk-ifunc.c: New file.
16905 * benchtests/bench-strcpy_chk.c: New file.
16906 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
16908 (do_test): Likewise.
16910 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16912 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
16913 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
16914 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
16915 with tabs where appropriate.
16916 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
16918 [PPC_PLATFORM_PPC440]: Likewise.
16919 [PPC_PLATFORM_PPC464]: Likewise.
16920 [PPC_PLATFORM_PPC476]: Likewise.
16921 (_dl_string_platform): Add support for detecting ppc405, ppc440,
16922 ppc464, and ppc476 platform strings merging from ports/
16925 2013-06-11 Andreas Schwab <schwab@suse.de>
16928 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
16929 (from_ucs4_idx): Regenerate.
16930 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
16931 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
16932 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
16933 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
16934 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
16935 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
16936 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
16937 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
16938 from FROM_LOOP and TO_LOOP specific macros.
16939 (BODY): Handle combining characters.
16940 * iconvdata/BIG5HKSCS.irreversible: Update.
16941 * iconvdata/BIG5HKSCS.precomposed: New file.
16942 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
16944 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
16946 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16948 * include/sys/time.h: Fix indentation and add copyright header.
16950 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
16951 (do_test): Likewise.
16952 * string/test-memchr.c (do_one_test): Likewise.
16953 (do_test): Likewise.
16954 * string/test-memcmp.c (do_one_test): Likewise.
16955 (do_test): Likewise.
16956 * string/test-memcpy.c (do_one_test): Likewise.
16957 (do_test): Likewise.
16958 * string/test-memmem.c (do_one_test): Likewise.
16959 (do_test): Likewise.
16960 (do_random_tests): Likewise.
16961 * string/test-memmove.c (do_one_test): Likewise.
16962 (do_test): Likewise.
16963 * string/test-memset.c (do_one_test): Likewise.
16964 (do_test): Likewise.
16965 * string/test-rawmemchr.c (do_one_test): Likewise.
16966 (do_test): Likewise.
16967 * string/test-strcasecmp.c (do_one_test): Likewise.
16968 (do_test): Likewise.
16969 * string/test-strcasestr.c (do_one_test): Likewise.
16970 (do_test): Likewise.
16971 * string/test-strcat.c (do_one_test): Likewise.
16972 (do_test): Likewise.
16973 * string/test-strchr.c (do_one_test): Likewise.
16974 (do_test): Likewise.
16975 * string/test-strcmp.c (do_one_test): Likewise.
16976 (do_test): Likewise.
16977 * string/test-strcpy.c (do_one_test): Likewise.
16978 (do_test): Likewise.
16979 * string/test-string.h: Likewise.
16980 (test_init): Likewise.
16981 * string/test-strlen.c (do_one_test): Likewise.
16982 (do_test): Likewise.
16983 * string/test-strncasecmp.c (do_one_test): Likewise.
16984 (do_test): Likewise.
16985 * string/test-strncat.c (do_one_test): Likewise.
16986 (do_test): Likewise.
16987 * string/test-strncmp.c (do_one_test): Likewise.
16988 (do_test_limit): Likewise.
16989 (do_test): Likewise.
16990 * string/test-strncpy.c (do_one_test): Likewise.
16991 (do_test): Likewise.
16992 * string/test-strnlen.c (do_one_test): Likewise.
16993 (do_test): Likewise.
16994 * string/test-strpbrk.c (do_one_test): Likewise.
16995 (do_test): Likewise.
16996 * string/test-strrchr.c (do_one_test): Likewise.
16997 (do_test): Likewise.
16998 * string/test-strspn.c (do_one_test): Likewise.
16999 (do_test): Likewise.
17000 * string/test-strstr.c (do_one_test): Likewise.
17001 (do_test): Likewise.
17003 * benchtests/Makefile (string-bench): Add string benchmarks.
17004 * benchtests/bench-bcopy-ifunc.c: New file.
17005 * benchtests/bench-bcopy.c: New file.
17006 * benchtests/bench-bzero-ifunc.c: New file.
17007 * benchtests/bench-bzero.c: New file.
17008 * benchtests/bench-memccpy-ifunc.c: New file.
17009 * benchtests/bench-memccpy.c: New file.
17010 * benchtests/bench-memchr-ifunc.c: New file.
17011 * benchtests/bench-memchr.c: New file.
17012 * benchtests/bench-memcmp-ifunc.c: New file.
17013 * benchtests/bench-memcmp.c: New file.
17014 * benchtests/bench-memmem-ifunc.c: New file.
17015 * benchtests/bench-memmem.c: New file.
17016 * benchtests/bench-memmove-ifunc.c: New file.
17017 * benchtests/bench-memmove.c: New file.
17018 * benchtests/bench-mempcpy-ifunc.c: New file.
17019 * benchtests/bench-mempcpy.c: New file.
17020 * benchtests/bench-memset-ifunc.c: New file.
17021 * benchtests/bench-memset.c: New file.
17022 * benchtests/bench-rawmemchr-ifunc.c: New file.
17023 * benchtests/bench-rawmemchr.c: New file.
17024 * benchtests/bench-stpcpy-ifunc.c: New file.
17025 * benchtests/bench-stpcpy.c: New file.
17026 * benchtests/bench-stpncpy-ifunc.c: New file.
17027 * benchtests/bench-stpncpy.c: New file.
17028 * benchtests/bench-strcasecmp-ifunc.c: New file.
17029 * benchtests/bench-strcasecmp.c: New file.
17030 * benchtests/bench-strcasestr-ifunc.c: New file.
17031 * benchtests/bench-strcasestr.c: New file.
17032 * benchtests/bench-strcat-ifunc.c: New file.
17033 * benchtests/bench-strcat.c: New file.
17034 * benchtests/bench-strchr-ifunc.c: New file.
17035 * benchtests/bench-strchr.c: New file.
17036 * benchtests/bench-strchrnul-ifunc.c: New file.
17037 * benchtests/bench-strchrnul.c: New file.
17038 * benchtests/bench-strcmp-ifunc.c: New file.
17039 * benchtests/bench-strcmp.c: New file.
17040 * benchtests/bench-strcpy-ifunc.c: New file.
17041 * benchtests/bench-strcpy.c: New file.
17042 * benchtests/bench-strcspn-ifunc.c: New file.
17043 * benchtests/bench-strcspn.c: New file.
17044 * benchtests/bench-strlen-ifunc.c: New file.
17045 * benchtests/bench-strlen.c: New file.
17046 * benchtests/bench-strncasecmp-ifunc.c: New file.
17047 * benchtests/bench-strncasecmp.c: New file.
17048 * benchtests/bench-strncat-ifunc.c: New file.
17049 * benchtests/bench-strncat.c: New file.
17050 * benchtests/bench-strncmp-ifunc.c: New file.
17051 * benchtests/bench-strncmp.c: New file.
17052 * benchtests/bench-strncpy-ifunc.c: New file.
17053 * benchtests/bench-strncpy.c: New file.
17054 * benchtests/bench-strnlen-ifunc.c: New file.
17055 * benchtests/bench-strnlen.c: New file.
17056 * benchtests/bench-strpbrk-ifunc.c: New file.
17057 * benchtests/bench-strpbrk.c: New file.
17058 * benchtests/bench-strrchr-ifunc.c: New file.
17059 * benchtests/bench-strrchr.c: New file.
17060 * benchtests/bench-strspn-ifunc.c: New file.
17061 * benchtests/bench-strspn.c: New file.
17062 * benchtests/bench-strstr-ifunc.c: New file.
17063 * benchtests/bench-strstr.c: New file.
17065 * benchtests/Makefile: Disable parallel execution of targets.
17066 (string-bench): Add memcpy.
17067 (benchset): New variable to store a list of benchmark sets.
17068 (bench-func): Renamed from bench.
17069 (bench-set): New target.
17070 (bench): Depend on bench-func and bench-set.
17071 * benchtests/README: Add section on benchmark sets.
17072 * benchtests/bench-memcpy-ifunc.c: New file.
17073 * benchtests/bench-memcpy.c: New file.
17074 * benchtests/bench-string.h: New file.
17076 2013-06-11 Andreas Schwab <schwab@suse.de>
17079 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
17080 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
17081 values in the triple.
17082 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
17083 terminator in the group key.
17085 2013-06-11 Andreas Jaeger <aj@suse.de>
17087 * po/zh_TW.po: Update Chinese (traditional) translation from
17088 translation project.
17090 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17092 * include/time.h (__clock_gettime): Add libc_hidden_proto.
17093 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
17094 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
17095 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17096 (clock_getcpuclockid): Likewise.
17097 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
17098 Add weak_alias and libc_hidden_def.
17099 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
17100 * rt/clock_gettime.c (clock_gettime): Rename to
17101 __clock_gettime. Add weak_alias and libc_hidden_def.
17102 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
17103 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
17104 __clock_nanosleep. Add weak_alias and libc_hidden_def.
17105 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
17106 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
17108 * rt/clock_settime.c (clock_settime): Rename to
17109 __clock_settime. Add weak_alias and libc_hidden_def.
17110 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
17112 2013-06-10 Joseph Myers <joseph@codesourcery.com>
17114 * mach/err_boot.sub: Remove trailing whitespace.
17115 * mach/err_ipc.sub: Likewise.
17116 * mach/err_mach.sub: Likewise.
17118 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
17119 (ROUNDING_TESTS_double): Likewise.
17120 (ROUNDING_TESTS_long_double): Likewise.
17121 (ROUNDING_TESTS): Likewise.
17122 * math/libm-test.inc: Include <math-tests.h>.
17123 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
17124 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
17125 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
17126 (IF_ROUND_INIT_FE_UPWARD): Likewise.
17128 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17130 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
17133 2013-06-08 Joseph Myers <joseph@codesourcery.com>
17135 * sysdeps/gnu/errlist.awk: Do not generate space at end of
17136 otherwise empty TRANS lines.
17137 * sysdeps/gnu/errlist.c: Regenerated.
17139 * catgets/gencat.c (error_print): Use (void) in function
17141 * crypt/crypt_util.c (__init_des): Likewise.
17142 * crypt/speeds.c (Stop): Likewise.
17144 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
17145 * inet/ruserpass.c (token): Likewise.
17146 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
17147 * intl/localealias.c (extend_alias_table): Likewise.
17148 * intl/plural-exp.c (init_germanic_plural): Likewise.
17149 * libio/fcloseall.c (__fcloseall): Likewise.
17150 * libio/genops.c (_IO_flush_all): Likewise.
17151 (_IO_flush_all_linebuffered): Likewise.
17152 (_IO_cleanup): Likewise.
17153 (_IO_iter_begin): Likewise.
17154 (_IO_iter_end): Likewise.
17155 (_IO_list_lock): Likewise.
17156 (_IO_list_unlock): Likewise.
17157 (_IO_list_resetlock): Likewise.
17158 * libio/getchar.c (getchar): Likewise.
17159 * libio/getchar_u.c (getchar_unlocked): Likewise.
17160 * libio/getwchar.c (getwchar): Likewise.
17161 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
17162 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
17163 * login/getpt.c (__getpt): Likewise.
17164 * login/tst-utmp.c (main): Likewise.
17165 * malloc/hooks.c (__malloc_check_init): Likewise.
17166 * malloc/malloc.c (__malloc_stats): Likewise.
17167 * malloc/mtrace.c (tr_break): Likewise.
17168 (mtrace): Likewise.
17169 (muntrace): Likewise.
17170 * misc/fstab.c (endfsent): Likewise.
17171 * misc/getclktck.c (__getclktck): Likewise.
17172 * misc/getdtsz.c (__getdtablesize): Likewise.
17173 * misc/gethostid.c (gethostid): Likewise.
17174 * misc/getpagesize.c (__getpagesize): Likewise.
17175 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
17176 (__get_nprocs): Likewise.
17177 (__get_phys_pages): Likewise.
17178 (__get_avphys_pages): Likewise.
17179 * misc/getttyent.c (getttyent): Likewise.
17180 (setttyent): Likewise.
17181 (endttyent): Likewise.
17182 * misc/getusershell.c (getusershell): Likewise.
17183 (endusershell): Likewise.
17184 (setusershell): Likewise.
17185 (initshells): Likewise.
17186 * misc/hsearch.c (__hdestroy): Likewise.
17187 * misc/sync.c (sync): Likewise.
17188 * misc/syslog.c (closelog_internal): Likewise.
17189 (closelog): Likewise.
17190 * misc/ttyslot.c (ttyslot): Likewise.
17191 * misc/vhangup.c (vhangup): Likewise.
17192 * posix/fork.c (__fork): Likewise.
17193 * posix/getegid.c (__getegid): Likewise.
17194 * posix/geteuid.c (__geteuid): Likewise.
17195 * posix/getgid.c (__getgid): Likewise.
17196 * posix/getpid.c (__getpid): Likewise.
17197 * posix/getppid.c (__getppid): Likewise.
17198 * posix/getuid.c (__getuid): Likewise.
17199 * posix/pause.c (pause): Likewise.
17200 * posix/setpgrp.c (setpgrp): Likewise.
17201 * posix/setsid.c (__setsid): Likewise.
17202 * posix/test-vfork.c (noop): Likewise.
17203 * resolv/gethnamaddr.c (_endhtent): Likewise.
17204 (_gethtent): Likewise.
17205 (ht_endhostent): Likewise.
17206 (gethostent): Likewise.
17207 (dns_service): Likewise.
17208 * stdlib/drand48.c (drand48): Likewise.
17209 * stdlib/lrand48.c (lrand48): Likewise.
17210 * stdlib/mrand48.c (mrand48): Likewise.
17211 * stdlib/rand.c (rand): Likewise.
17212 * stdlib/random.c (__random): Likewise.
17213 * stdlib/setenv.c (clearenv): Likewise.
17214 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
17215 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
17216 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
17217 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
17218 (__get_nprocs): Likewise.
17219 (__get_phys_pages): Likewise.
17220 (__get_avphys_pages): Likewise.
17221 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
17222 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
17223 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
17224 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
17225 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
17226 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
17227 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
17228 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
17229 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
17230 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
17231 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
17232 * sysdeps/mach/hurd/sync.c (sync): Likewise.
17233 * sysdeps/posix/clock.c (clock): Likewise.
17234 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
17235 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
17236 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
17237 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
17238 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
17239 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
17240 (__get_nprocs_conf): Likewise.
17241 (__get_phys_pages): Likewise.
17242 (__get_avphys_pages): Likewise.
17243 * time/clock.c (clock): Likewise.
17244 * time/tzset.c (__tzname_max): Likewise.
17246 2013-06-07 Joseph Myers <joseph@codesourcery.com>
17248 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
17249 (__bswap_32): Do not use "register".
17250 * crypt/crypt.c (_ufc_doit_r): Likewise.
17251 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
17252 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
17253 * gmon/gmon.c (__monstartup): Likewise.
17254 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
17255 * hurd/hurdmalloc.c (more_memory): Likewise.
17256 (malloc): Likewise.
17258 (realloc): Likewise.
17259 (malloc_fork_prepare): Likewise.
17260 (malloc_fork_parent): Likewise.
17261 (malloc_fork_child): Likewise.
17262 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
17263 (_svcauth_des): Likewise.
17264 * inet/inet_lnaof.c (inet_lnaof): Likewise.
17265 * inet/inet_net.c (inet_network): Likewise.
17266 * inet/inet_netof.c (inet_netof): Likewise.
17267 * inet/rcmd.c (__validuser2_sa): Likewise.
17268 * io/fts.c (fts_open): Likewise.
17269 (fts_load): Likewise.
17270 (fts_close): Likewise.
17271 (fts_read): Likewise.
17272 (fts_children): Likewise.
17273 (fts_build): Likewise.
17274 (fts_stat): Likewise.
17275 (fts_sort): Likewise.
17276 (fts_alloc): Likewise.
17277 (fts_lfree): Likewise.
17278 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
17279 (_IO_file_xsgetn): Likewise.
17280 (_IO_file_xsgetn_mmap): Likewise.
17281 * libio/iofopncook.c (_IO_cookie_read): Likewise.
17282 (_IO_cookie_write): Likewise.
17283 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
17284 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
17285 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
17286 * malloc/obstack.c (_obstack_begin): Likewise.
17287 (_obstack_begin_1): Likewise.
17288 (_obstack_newchunk): Likewise.
17289 (_obstack_allocated_p): Likewise.
17290 (obstack_free): Likewise.
17291 (_obstack_memory_used): Likewise.
17292 * misc/getttyent.c (getttynam): Likewise.
17293 (getttyent): Likewise.
17296 * misc/getusershell.c (initshells): Likewise.
17297 * misc/syslog.c (__vsyslog_chk): Likewise.
17298 * misc/ttyslot.c (ttyslot): Likewise.
17299 * nis/nis_hash.c (__nis_hash): Likewise.
17300 * posix/fnmatch_loop.c (FCT): Likewise.
17301 * posix/getconf.c (print_all): Likewise.
17303 * posix/getopt.c (exchange): Likewise.
17304 * posix/glob.c (globfree): Likewise.
17305 (prefix_array): Likewise.
17306 (__glob_pattern_type): Likewise.
17307 * resolv/arpa/nameser.h (NS_GET16): Likewise.
17308 (NS_GET32): Likewise.
17309 (NS_PUT16): Likewise.
17310 (NS_PUT32): Likewise.
17311 * resolv/gethnamaddr.c (getanswer): Likewise.
17312 (gethostbyname2): Likewise.
17313 (gethostbyaddr): Likewise.
17314 (_gethtent): Likewise.
17315 (_gethtbyname2): Likewise.
17316 (_gethtbyaddr): Likewise.
17317 * resolv/ns_print.c (dst_s_get_int16): Likewise.
17318 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
17319 * resolv/res_init.c (__res_vinit): Likewise.
17320 (net_mask): Likewise.
17321 * resolv/res_mkquery.c (outchar): Likewise.
17323 * stdio-common/printf_fp.c (outchar): Likewise.
17325 * stdio-common/printf_fphex.c (outchar): Likewise.
17327 * stdio-common/printf_size.c (outchar): Likewise.
17329 * stdio-common/test_rdwr.c (main): Likewise.
17330 * stdio-common/tfformat.c (matches): Likewise.
17331 * stdio-common/vfprintf.c (outchar): Likewise.
17332 (printf_unknown): Likewise.
17333 (buffered_vfprintf): Likewise.
17334 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
17335 * stdio-common/xbug.c (AppendToBuffer): Likewise.
17336 (ReadFile): Likewise.
17337 * stdlib/qsort.c (SWAP): Likewise.
17338 (_quicksort): Likewise.
17339 * stdlib/setenv.c (__add_to_environ): Likewise.
17340 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17341 * stdlib/strtol_l.c (__strtol_l): Likewise.
17342 * stdlib/tst-strtod.c (main): Likewise.
17343 * stdlib/tst-strtol.c (main): Likewise.
17344 * stdlib/tst-strtoll.c (main): Likewise.
17345 * string/bits/string2.h (__strcmp_cc): Likewise.
17346 (__strcmp_cg): Likewise.
17347 (__strcspn_c1): Likewise.
17348 (__strcspn_c2): Likewise.
17349 (__strcspn_c3): Likewise.
17350 (__strspn_c1): Likewise.
17351 (__strspn_c2): Likewise.
17352 (__strspn_c3): Likewise.
17353 (__strsep_1c): Likewise.
17354 (__strsep_2c): Likewise.
17355 (__strsep_3c): Likewise.
17356 * string/memccpy.c (__memccpy): Likewise.
17357 * string/stpcpy.c (__stpcpy): Likewise.
17358 * string/strcmp.c (strcmp): Likewise.
17359 * string/strrchr.c (strrchr): Likewise.
17360 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
17362 * sysdeps/mach/hurd/getcwd.c
17363 (_hurd_canonicalize_directory_name_internal): Likewise.
17364 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
17365 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
17366 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
17367 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
17368 Likewise, in both definitions.
17369 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
17371 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
17372 64] (__bswap_64): Likewise.
17373 * time/test_time.c (main): Likewise.
17374 * time/tzfile.c (__tzfile_read): Likewise.
17375 (__tzfile_compute): Likewise.
17376 * time/tzset.c (__tzset_parse_tz): Likewise.
17377 (tzset_internal): Likewise.
17378 (compute_change): Likewise.
17379 * wcsmbs/wcscat.c (__wcscat): Likewise.
17380 * wcsmbs/wcschr.c (wcschr): Likewise.
17381 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
17382 * wcsmbs/wcscspn.c (wcscspn): Likewise.
17383 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
17384 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
17385 * wcsmbs/wcsspn.c (wcsspn): Likewise.
17386 * wcsmbs/wcsstr.c (wcsstr): Likewise.
17387 * wcsmbs/wmemchr.c (wmemchr): Likewise.
17388 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17389 * wcsmbs/wmemset.c (wmemset): Likewise.
17391 2013-06-06 Joseph Myers <joseph@codesourcery.com>
17393 * scripts/config.guess: Update to version 2013-05-16.
17394 * scripts/config.sub: Update to version 2013-04-24.
17395 * scripts/install-sh: Update to version 2011-11-20.07.
17396 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
17397 * scripts/move-if-change: Update to version 2012-01-06 07:23.
17399 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
17401 * debug/fgetws_u_chk.c: Fix leading whitespaces.
17402 * elf/sln.c: Likewise.
17403 * hurd/hurd/ioctl.h: Likewise.
17404 * hurd/hurdmalloc.c: Likewise.
17405 * hurd/xattr.c: Likewise.
17406 * include/shlib-compat.h: Likewise.
17407 * inet/ruserpass.c: Likewise.
17408 * libio/iofgets_u.c: Likewise.
17409 * libio/iofgetws_u.c: Likewise.
17410 * locale/programs/ld-identification.c: Likewise.
17411 * locale/programs/ld-time.c: Likewise.
17412 * mach/msg-destroy.c: Likewise.
17413 * nss/nss_files/files-netgrp.c: Likewise.
17414 * resolv/res_data.c: Likewise.
17415 * soft-fp/op-1.h: Likewise.
17416 * soft-fp/op-2.h: Likewise.
17417 * soft-fp/op-4.h: Likewise.
17418 * soft-fp/op-common.h: Likewise.
17419 * stdio-common/printf_fphex.c: Likewise.
17420 * stdlib/strtod_l.c: Likewise.
17421 * sunrpc/rpc/clnt.h: Likewise.
17422 * sysdeps/generic/framestate.c: Likewise.
17423 * sysdeps/i386/bsd-_setjmp.S: Likewise.
17424 * sysdeps/i386/bsd-setjmp.S: Likewise.
17425 * sysdeps/i386/__longjmp.S: Likewise.
17426 * sysdeps/i386/setjmp.S: Likewise.
17427 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17428 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17429 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17430 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17431 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17432 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
17433 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17434 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17435 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17436 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
17437 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17438 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17439 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17440 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17441 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17442 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17443 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17444 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
17445 * sysdeps/ieee754/support.c: Likewise.
17446 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17447 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
17448 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
17449 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
17450 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
17451 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
17452 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
17453 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
17454 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
17455 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
17456 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
17457 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
17458 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
17459 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
17460 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
17461 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
17462 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
17465 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
17467 * posix/transbug.c: Remove executable mode.
17469 2013-06-05 Joseph Myers <joseph@codesourcery.com>
17471 * crypt/speeds.c: Remove trailing whitespace.
17472 * dlfcn/default.c: Likewise.
17473 * elf/ifuncdep2.c: Likewise.
17474 * elf/ifuncmain1.c: Likewise.
17475 * elf/ifuncmain1vis.c: Likewise.
17476 * elf/testobj.h: Likewise.
17477 * elf/tst-stackguard1.c: Likewise.
17478 * gmon/sys/gmon.h: Likewise.
17479 * hurd/hurdmsg.c: Likewise.
17480 * hurd/new-fd.c: Likewise.
17481 * hurd/ports-get.c: Likewise.
17482 * iconvdata/ibm1008_420.c: Likewise.
17483 * inet/tst-getni1.c: Likewise.
17484 * inet/tst-getni2.c: Likewise.
17485 * libio/ioungetc.c: Likewise.
17486 * libio/wfiledoalloc.c: Likewise.
17487 * manual/libm-err-tab.pl: Likewise.
17488 * math/w_dremf.c: Likewise.
17489 * misc/ftruncate.c: Likewise.
17490 * posix/bug-glob2.c: Likewise.
17491 * posix/tst-pcre.c: Likewise.
17492 * posix/wait4.c: Likewise.
17493 * resolv/README: Likewise.
17494 * resolv/res_debug.h: Likewise.
17495 * resolv/tst-inet_ntop.c: Likewise.
17496 * setjmp/bug269-setjmp.c: Likewise.
17497 * soft-fp/extended.h: Likewise.
17498 * soft-fp/op-1.h: Likewise.
17499 * soft-fp/op-2.h: Likewise.
17500 * soft-fp/op-4.h: Likewise.
17501 * soft-fp/op-8.h: Likewise.
17502 * soft-fp/testit.c: Likewise.
17503 * stdio-common/bug16.c: Likewise.
17504 * stdlib/random.c: Likewise.
17505 * sunrpc/rpcsvc/rquota.x: Likewise.
17506 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
17507 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17508 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17509 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17510 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17511 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17512 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17513 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17514 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17515 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17516 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17517 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17518 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17519 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17520 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17521 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17522 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17523 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17524 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17525 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17526 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17527 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17528 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
17529 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
17530 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17531 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17532 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17533 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
17534 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17535 * sysdeps/ieee754/s_lib_version.c: Likewise.
17536 * sysdeps/mach/hurd/check_fds.c: Likewise.
17537 * sysdeps/mach/hurd/getsockname.c: Likewise.
17538 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
17539 * sysdeps/mach/hurd/recvfrom.c: Likewise.
17540 * sysdeps/powerpc/bits/link.h: Likewise.
17541 * sysdeps/powerpc/dl-procinfo.c: Likewise.
17542 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
17543 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
17544 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
17545 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
17546 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
17547 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
17548 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
17549 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
17550 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
17551 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
17552 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
17553 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
17554 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
17555 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
17556 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
17557 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
17558 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
17559 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
17560 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
17561 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
17562 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
17563 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17564 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
17565 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
17566 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
17567 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
17568 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
17569 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
17570 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
17571 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
17572 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
17573 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17574 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17575 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
17576 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
17577 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
17578 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
17579 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
17580 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
17581 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
17582 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
17583 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
17584 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
17585 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
17586 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
17587 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
17588 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
17589 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
17590 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
17591 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17592 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17593 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
17594 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
17595 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
17596 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
17597 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
17598 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17599 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
17600 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
17601 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
17602 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
17603 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
17604 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
17605 * sysdeps/powerpc/sysdep.h: Likewise.
17606 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17607 * sysdeps/s390/s390-64/sub_n.S: Likewise.
17608 * sysdeps/sh/dl-trampoline.S: Likewise.
17609 * sysdeps/sh/memset.S: Likewise.
17610 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
17611 * sysdeps/sh/strlen.S: Likewise.
17612 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
17613 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
17614 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
17615 * sysdeps/sparc/sparc32/rem.S: Likewise.
17616 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
17617 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
17618 * sysdeps/sparc/sparc32/strchr.S: Likewise.
17619 * sysdeps/sparc/sparc32/udiv.S: Likewise.
17620 * sysdeps/sparc/sparc32/urem.S: Likewise.
17621 * sysdeps/sparc/sparc64/add_n.S: Likewise.
17622 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17623 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
17624 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
17625 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
17626 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
17627 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
17628 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
17629 * sysdeps/unix/bsd/times.c: Likewise.
17630 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
17631 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
17632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
17633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
17634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
17635 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
17636 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
17637 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
17638 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
17639 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
17640 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
17641 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
17642 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
17643 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17644 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
17645 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
17646 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
17647 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
17648 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
17649 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
17650 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
17651 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
17652 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17653 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
17654 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
17655 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
17656 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
17657 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17658 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
17659 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
17660 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
17661 * sysdeps/x86_64/strcspn.S: Likewise.
17663 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17665 * locale/C-translit.h: Revert #include <stdint.h> because this is a
17666 generated file. Regenerate properly from gen-translit.pl.
17667 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
17668 locale/C-translit.h.
17670 2013-06-05 Andreas Schwab <schwab@suse.de>
17673 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
17674 week as 6 instead of -1.
17675 * time/tst-strptime.c (day_tests): Add test case.
17677 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17679 * sysdeps/generic/math_private.h
17680 (libc_feholdexcept_setround_53bit): Replace with
17681 libc_feholdsetround_53bit.
17682 (libc_feupdateenv_53bit): Replace with
17683 libc_feresetround_53bit.
17684 (SET_RESTORE_ROUND_53BIT): Adjust.
17686 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
17688 * string/test-strchrnul.c: Add copyright header.
17690 * posix/tst-getaddrinfo4.c: Increase test timeout.
17692 2013-06-03 Carlos O'Donell <carlos@redhat.com>
17695 * math/libm-test.inc (MAX_EXP): Remove
17697 (ulp): Use MIN_EXP - MANT_DIG.
17698 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
17700 2013-05-31 Carlos O'Donell <carlos@redhat.com>
17702 * po/be.po: Revert last change.
17703 * po/zh_CN.po: Likewise.
17704 * po/header.pot: Likewise.
17706 2013-05-31 Joseph Myers <joseph@codesourcery.com>
17708 * Makefile ($(common-objpfx)linkobj/libc.so): Define
17709 link-libc-deps to empty as target-specific variable.
17710 * Makerules (link-libc-args): New variable.
17711 (libc-for-link): Likewise.
17712 (link-libc-deps): Likewise.
17713 (lib%.so): Depend on $(link-libc-deps). Link with
17715 (build-module): Link with $(link-libc-args).
17716 (build-module-asneeded): Likewise.
17717 (build-module-helper-objlist): Filter out $(link-libc-deps) from
17719 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
17720 target-specific variable.
17721 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
17722 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
17723 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
17725 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
17727 ($(objpfx)libpcprofile.so): Likewise.
17728 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
17730 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
17731 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
17732 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
17734 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
17735 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
17736 * login/Makefile ($(objpfx)libutil.so): Likewise.
17737 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
17738 * math/Makefile ($(objpfx)libm.so): Likewise.
17739 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
17740 $(objpfx)libnsl.so): Define libc-for-link as target-specific
17741 variable instead of depending directly on libc.
17742 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
17743 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
17745 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
17747 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
17748 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
17749 ($(objpfx)libanl.so): Likewise.
17750 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
17752 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
17754 * sysdeps/i386/fpu/Makefile: Remove file.
17755 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
17756 ($(objpfx)libm.so): Remove dependency on ld.so.
17758 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
17761 * nis/yp_xdr.c (XDRMAXNAME): Define.
17762 (XDRMAXRECORD): Define.
17763 (xdr_domainname): Use XDRMAXNAME.
17764 (xdr_mapname): Likewise.
17765 (xdr_peername): Likewise.
17766 (xdr_keydat): Use XDRMAXRECORD.
17767 (xdr_valdat): Likewise.
17769 2013-05-30 Jeff Law <law@redhat.com>
17772 * manual/errno.texi (ESTALE): Update to account for more than
17773 just NFS file systems.
17774 * sysdeps/gnu/errlist.c: Regenerated.
17776 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17779 * elf/Makefile (tests): Add tst-null-argv.
17780 (modules-names): Add tst-null-argv-lib.
17781 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
17782 (tst-null-argv-ENV): Set environment for tst-null-argv.
17783 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
17784 (RTLD_PROGNAME): New macro.
17785 * elf/tst-null-argv.c: New test case.
17786 * elf/tst-null-argv-lib.c: Library for test case.
17787 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
17788 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
17789 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
17790 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
17791 * elf/dl-init.c (call_init): Likewise.
17792 (_dl_init): Likewise.
17793 * elf/dl-load.c (print_search_path): Likewise.
17794 (_dl_map_object): Likewise.
17795 * elf/dl-lookup.c (do_lookup_x): Likewise.
17796 (add_dependency): Likewise.
17797 (_dl_lookup_symbol_x): Likewise.
17798 (_dl_debug_bindings): Likewise.
17799 * elf/dl-open.c (_dl_show_scope): Likewise.
17800 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
17801 * elf/dl-version.c (match_symbol): Likewise.
17802 (_dl_check_map_versions): Likewise.
17803 * elf/rtld.c (dl_main): Likewise.
17804 (print_unresolved): Use RTLD_PROGNAME.
17805 (print_missing_version): Likewise.
17806 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
17807 (elf_machine_rela): Likewise.
17808 * sysdeps/powerpc/powerpc32/dl-machine.c
17809 (__process_machine_rela): Likewise.
17810 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17812 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
17814 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
17816 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17817 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
17819 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
17821 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
17823 2013-05-28 Carlos O'Donell <carlos@redhat.com>
17825 * po/be.po: Add descriptive title.
17826 * po/zh_CN.po: Likewise.
17827 * po/header.pot: Likewise.
17829 2013-05-28 Mike Frysinger <vapier@gentoo.org>
17831 * locale/programs/locarchive.c (create_archive): Inlucde fname in
17833 (enlarge_archive): Likewise.
17835 2013-05-28 Ben North <ben@redfrontdoor.org>
17837 * manual/arith.texi (frexp): It is the magnitude of the return
17838 value which lies in [0.5, 1), not the return value itself.
17840 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17842 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17844 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
17846 * stdio-common/bug26.c (main): Correct fscanf template.
17848 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
17849 declare _dl_skip_args.
17851 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
17854 * manual/platform.texi: Add missing @end deftypefun.
17856 2013-05-24 Joseph Myers <joseph@codesourcery.com>
17859 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
17860 bit of mantissa of 2^16382.
17861 * math/libm-test.inc (hypot_test_data): Add more tests.
17863 * math/libm-test.inc: Add drem and pow10 to list of tested
17865 (pow10_test): New function.
17866 (drem_test): Likewise.
17867 (drem_test_tonearest): Likewise.
17868 (drem_test_towardzero): Likewise.
17869 (drem_test_downward): Likewise.
17870 (drem_test_upward): Likewise.
17871 (main): Call the new functions.
17873 * math/libm-test.inc (finite_test_data): Remove.
17874 (finite_test): Run tests from isfinite_test_data.
17875 (gamma_test_data): Remove.
17876 (gamma_test): Run tests from lgamma_test_data.
17877 * sysdeps/i386/fpu/libm-test-ulps: Update.
17878 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17880 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17882 * manual/platform.texi: Add PowerPC PPR function set documentation.
17883 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
17886 2013-05-24 Carlos O'Donell <carlos@redhat.com>
17888 * math/libm-test.inc (MAX_EXP): Define.
17890 (ulp): New function.
17891 (check_float_internal): Use ULPDIFF.
17892 (cpow_test): Disable failing test.
17893 (check_ulp): Test ulp() implemetnation.
17894 (main): Call check_ulp before starting tests.
17896 2013-05-24 Joseph Myers <joseph@codesourcery.com>
17898 * math/gen-libm-test.pl (generate_testfile): Do not handle
17899 START_DATA and END_DATA.
17900 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
17902 (acos_tonearest_test_data): Likewise.
17903 (acos_towardzero_test_data): Likewise.
17904 (acos_downward_test_data): Likewise.
17905 (acos_upward_test_data): Likewise.
17906 (acosh_test_data): Likewise.
17907 (asin_test_data): Likewise.
17908 (asin_tonearest_test_data): Likewise.
17909 (asin_towardzero_test_data): Likewise.
17910 (asin_downward_test_data): Likewise.
17911 (asin_upward_test_data): Likewise.
17912 (asinh_test_data): Likewise.
17913 (atan_test_data): Likewise.
17914 (atanh_test_data): Likewise.
17915 (atan2_test_data): Likewise.
17916 (cabs_test_data): Likewise.
17917 (cacos_test_data): Likewise.
17918 (cacosh_test_data): Likewise.
17919 (carg_test_data): Likewise.
17920 (casin_test_data): Likewise.
17921 (casinh_test_data): Likewise.
17922 (catan_test_data): Likewise.
17923 (catanh_test_data): Likewise.
17924 (cbrt_test_data): Likewise.
17925 (ccos_test_data): Likewise.
17926 (ccosh_test_data): Likewise.
17927 (ceil_test_data): Likewise.
17928 (cexp_test_data): Likewise.
17929 (cimag_test_data): Likewise.
17930 (clog_test_data): Likewise.
17931 (clog10_test_data): Likewise.
17932 (conj_test_data): Likewise.
17933 (copysign_test_data): Likewise.
17934 (cos_test_data): Likewise.
17935 (cos_tonearest_test_data): Likewise.
17936 (cos_towardzero_test_data): Likewise.
17937 (cos_downward_test_data): Likewise.
17938 (cos_upward_test_data): Likewise.
17939 (cosh_test_data): Likewise.
17940 (cosh_tonearest_test_data): Likewise.
17941 (cosh_towardzero_test_data): Likewise.
17942 (cosh_downward_test_data): Likewise.
17943 (cosh_upward_test_data): Likewise.
17944 (cpow_test_data): Likewise.
17945 (cproj_test_data): Likewise.
17946 (creal_test_data): Likewise.
17947 (csin_test_data): Likewise.
17948 (csinh_test_data): Likewise.
17949 (csqrt_test_data): Likewise.
17950 (ctan_test_data): Likewise.
17951 (ctan_tonearest_test_data): Likewise.
17952 (ctan_towardzero_test_data): Likewise.
17953 (ctan_downward_test_data): Likewise.
17954 (ctan_upward_test_data): Likewise.
17955 (ctanh_test_data): Likewise.
17956 (ctanh_tonearest_test_data): Likewise.
17957 (ctanh_towardzero_test_data): Likewise.
17958 (ctanh_downward_test_data): Likewise.
17959 (ctanh_upward_test_data): Likewise.
17960 (erf_test_data): Likewise.
17961 (erfc_test_data): Likewise.
17962 (exp_test_data): Likewise.
17963 (exp_tonearest_test_data): Likewise.
17964 (exp_towardzero_test_data): Likewise.
17965 (exp_downward_test_data): Likewise.
17966 (exp_upward_test_data): Likewise.
17967 (exp10_test_data): Likewise.
17968 (exp2_test_data): Likewise.
17969 (expm1_test_data): Likewise.
17970 (fabs_test_data): Likewise.
17971 (fdim_test_data): Likewise.
17972 (finite_test_data): Likewise.
17973 (floor_test_data): Likewise.
17974 (fma_test_data): Likewise.
17975 (fma_towardzero_test_data): Likewise.
17976 (fma_downward_test_data): Likewise.
17977 (fma_upward_test_data): Likewise.
17978 (fmax_test_data): Likewise.
17979 (fmin_test_data): Likewise.
17980 (fmod_test_data): Likewise.
17981 (fpclassify_test_data): Likewise.
17982 (frexp_test_data): Likewise.
17983 (gamma_test_data): Likewise.
17984 (hypot_test_data): Likewise.
17985 (ilogb_test_data): Likewise.
17986 (isfinite_test_data): Likewise.
17987 (isgreater_test_data): Likewise.
17988 (isgreaterequal_test_data): Likewise.
17989 (isinf_test_data): Likewise.
17990 (isless_test_data): Likewise.
17991 (islessequal_test_data): Likewise.
17992 (islessgreater_test_data): Likewise.
17993 (isnan_test_data): Likewise.
17994 (isnormal_test_data): Likewise.
17995 (issignaling_test_data): Likewise.
17996 (isunordered_test_data): Likewise.
17997 (j0_test_data): Likewise.
17998 (j1_test_data): Likewise.
17999 (jn_test_data): Likewise.
18000 (ldexp_test_data): Likewise.
18001 (lgamma_test_data): Likewise.
18002 (lrint_test_data): Likewise.
18003 (lrint_tonearest_test_data): Likewise.
18004 (lrint_towardzero_test_data): Likewise.
18005 (lrint_downward_test_data): Likewise.
18006 (lrint_upward_test_data): Likewise.
18007 (llrint_test_data): Likewise.
18008 (llrint_tonearest_test_data): Likewise.
18009 (llrint_towardzero_test_data): Likewise.
18010 (llrint_downward_test_data): Likewise.
18011 (llrint_upward_test_data): Likewise.
18012 (log_test_data): Likewise.
18013 (log10_test_data): Likewise.
18014 (log1p_test_data): Likewise.
18015 (log2_test_data): Likewise.
18016 (logb_test_data): Likewise.
18017 (logb_downward_test_data): Likewise.
18018 (lround_test_data): Likewise.
18019 (llround_test_data): Likewise.
18020 (modf_test_data): Likewise.
18021 (nearbyint_test_data): Likewise.
18022 (nextafter_test_data): Likewise.
18023 (nexttoward_test_data): Likewise.
18024 (pow_test_data): Likewise.
18025 (pow_tonearest_test_data): Likewise.
18026 (pow_towardzero_test_data): Likewise.
18027 (pow_downward_test_data): Likewise.
18028 (pow_upward_test_data): Likewise.
18029 (remainder_test_data): Likewise.
18030 (remainder_tonearest_test_data): Likewise.
18031 (remainder_towardzero_test_data): Likewise.
18032 (remainder_downward_test_data): Likewise.
18033 (remainder_upward_test_data): Likewise.
18034 (remquo_test_data): Likewise.
18035 (rint_test_data): Likewise.
18036 (rint_tonearest_test_data): Likewise.
18037 (rint_towardzero_test_data): Likewise.
18038 (rint_downward_test_data): Likewise.
18039 (rint_upward_test_data): Likewise.
18040 (round_test_data): Likewise.
18041 (scalb_test_data): Likewise.
18042 (scalbn_test_data): Likewise.
18043 (scalbln_test_data): Likewise.
18044 (signbit_test_data): Likewise.
18045 (sin_test_data): Likewise.
18046 (sin_tonearest_test_data): Likewise.
18047 (sin_towardzero_test_data): Likewise.
18048 (sin_downward_test_data): Likewise.
18049 (sin_upward_test_data): Likewise.
18050 (sincos_test_data): Likewise.
18051 (sinh_test_data): Likewise.
18052 (sinh_tonearest_test_data): Likewise.
18053 (sinh_towardzero_test_data): Likewise.
18054 (sinh_downward_test_data): Likewise.
18055 (sinh_upward_test_data): Likewise.
18056 (sqrt_test_data): Likewise.
18057 (tan_test_data): Likewise.
18058 (tan_tonearest_test_data): Likewise.
18059 (tan_towardzero_test_data): Likewise.
18060 (tan_downward_test_data): Likewise.
18061 (tan_upward_test_data): Likewise.
18062 (tanh_test_data): Likewise.
18063 (tgamma_test_data): Likewise.
18064 (trunc_test_data): Likewise.
18065 (y0_test_data): Likewise.
18066 (y1_test_data): Likewise.
18067 (yn_test_data): Likewise.
18068 (significand_test_data): Likewise.
18070 * math/gen-libm-test.pl (@functions): Remove variable.
18071 (generate_testfile): Don't handle START and END lines.
18072 * math/libm-test.inc (START): New macro.
18074 (END_COMPLEX): Likewise.
18075 (acos_test): Use END macro without arguments.
18076 (acos_test_tonearest): Likewise.
18077 (acos_test_towardzero): Likewise.
18078 (acos_test_downward): Likewise.
18079 (acos_test_upward): Likewise.
18080 (acosh_test): Likewise.
18081 (asin_test): Likewise.
18082 (asin_test_tonearest): Likewise.
18083 (asin_test_towardzero): Likewise.
18084 (asin_test_downward): Likewise.
18085 (asin_test_upward): Likewise.
18086 (asinh_test): Likewise.
18087 (atan_test): Likewise.
18088 (atanh_test): Likewise.
18089 (atan2_test): Likewise.
18090 (cabs_test): Likewise.
18091 (cacos_test): Use END_COMPLEX macro without arguments.
18092 (cacosh_test): Likewise.
18093 (carg_test): Use END macro without arguments.
18094 (casin_test): Use END_COMPLEX macro without arguments.
18095 (casinh_test): Likewise.
18096 (catan_test): Likewise.
18097 (catanh_test): Likewise.
18098 (cbrt_test): Use END macro without arguments.
18099 (ccos_test): Use END_COMPLEX macro without arguments.
18100 (ccosh_test): Likewise.
18101 (ceil_test): Use END macro without arguments.
18102 (cexp_test): Use END_COMPLEX macro without arguments.
18103 (cimag_test): Use END macro without arguments.
18104 (clog_test): Use END_COMPLEX macro without arguments.
18105 (clog10_test): Likewise.
18106 (conj_test): Likewise.
18107 (copysign_test): Use END macro without arguments.
18108 (cos_test): Likewise.
18109 (cos_test_tonearest): Likewise.
18110 (cos_test_towardzero): Likewise.
18111 (cos_test_downward): Likewise.
18112 (cos_test_upward): Likewise.
18113 (cosh_test): Likewise.
18114 (cosh_test_tonearest): Likewise.
18115 (cosh_test_towardzero): Likewise.
18116 (cosh_test_downward): Likewise.
18117 (cosh_test_upward): Likewise.
18118 (cpow_test): Use END_COMPLEX macro without arguments.
18119 (cproj_test): Likewise.
18120 (creal_test): Use END macro without arguments.
18121 (csin_test): Use END_COMPLEX macro without arguments.
18122 (csinh_test): Likewise.
18123 (csqrt_test): Likewise.
18124 (ctan_test): Likewise.
18125 (ctan_test_tonearest): Likewise.
18126 (ctan_test_towardzero): Likewise.
18127 (ctan_test_downward): Likewise.
18128 (ctan_test_upward): Likewise.
18129 (ctanh_test): Likewise.
18130 (ctanh_test_tonearest): Likewise.
18131 (ctanh_test_towardzero): Likewise.
18132 (ctanh_test_downward): Likewise.
18133 (ctanh_test_upward): Likewise.
18134 (erf_test): Use END macro without arguments.
18135 (erfc_test): Likewise.
18136 (exp_test): Likewise.
18137 (exp_test_tonearest): Likewise.
18138 (exp_test_towardzero): Likewise.
18139 (exp_test_downward): Likewise.
18140 (exp_test_upward): Likewise.
18141 (exp10_test): Likewise.
18142 (exp2_test): Likewise.
18143 (expm1_test): Likewise.
18144 (fabs_test): Likewise.
18145 (fdim_test): Likewise.
18146 (finite_test): Likewise.
18147 (floor_test): Likewise.
18148 (fma_test): Likewise.
18149 (fma_test_towardzero): Likewise.
18150 (fma_test_downward): Likewise.
18151 (fma_test_upward): Likewise.
18152 (fmax_test): Likewise.
18153 (fmin_test): Likewise.
18154 (fmod_test): Likewise.
18155 (fpclassify_test): Likewise.
18156 (frexp_test): Likewise.
18157 (gamma_test): Likewise.
18158 (hypot_test): Likewise.
18159 (ilogb_test): Likewise.
18160 (isfinite_test): Likewise.
18161 (isgreater_test): Likewise.
18162 (isgreaterequal_test): Likewise.
18163 (isinf_test): Likewise.
18164 (isless_test): Likewise.
18165 (islessequal_test): Likewise.
18166 (islessgreater_test): Likewise.
18167 (isnan_test): Likewise.
18168 (isnormal_test): Likewise.
18169 (issignaling_test): Likewise.
18170 (isunordered_test): Likewise.
18171 (j0_test): Likewise.
18172 (j1_test): Likewise.
18173 (jn_test): Likewise.
18174 (ldexp_test): Likewise.
18175 (lgamma_test): Likewise.
18176 (lrint_test): Likewise.
18177 (lrint_test_tonearest): Likewise.
18178 (lrint_test_towardzero): Likewise.
18179 (lrint_test_downward): Likewise.
18180 (lrint_test_upward): Likewise.
18181 (llrint_test): Likewise.
18182 (llrint_test_tonearest): Likewise.
18183 (llrint_test_towardzero): Likewise.
18184 (llrint_test_downward): Likewise.
18185 (llrint_test_upward): Likewise.
18186 (log_test): Likewise.
18187 (log10_test): Likewise.
18188 (log1p_test): Likewise.
18189 (log2_test): Likewise.
18190 (logb_test): Likewise.
18191 (logb_test_downward): Likewise.
18192 (lround_test): Likewise.
18193 (llround_test): Likewise.
18194 (modf_test): Likewise.
18195 (nearbyint_test): Likewise.
18196 (nextafter_test): Likewise.
18197 (nexttoward_test): Likewise.
18198 (pow_test): Likewise.
18199 (pow_test_tonearest): Likewise.
18200 (pow_test_towardzero): Likewise.
18201 (pow_test_downward): Likewise.
18202 (pow_test_upward): Likewise.
18203 (remainder_test): Likewise.
18204 (remainder_test_tonearest): Likewise.
18205 (remainder_test_towardzero): Likewise.
18206 (remainder_test_downward): Likewise.
18207 (remainder_test_upward): Likewise.
18208 (remquo_test): Likewise.
18209 (rint_test): Likewise.
18210 (rint_test_tonearest): Likewise.
18211 (rint_test_towardzero): Likewise.
18212 (rint_test_downward): Likewise.
18213 (rint_test_upward): Likewise.
18214 (round_test): Likewise.
18215 (scalb_test): Likewise.
18216 (scalbn_test): Likewise.
18217 (scalbln_test): Likewise.
18218 (signbit_test): Likewise.
18219 (sin_test): Likewise.
18220 (sin_test_tonearest): Likewise.
18221 (sin_test_towardzero): Likewise.
18222 (sin_test_downward): Likewise.
18223 (sin_test_upward): Likewise.
18224 (sincos_test): Likewise.
18225 (sinh_test): Likewise.
18226 (sinh_test_tonearest): Likewise.
18227 (sinh_test_towardzero): Likewise.
18228 (sinh_test_downward): Likewise.
18229 (sinh_test_upward): Likewise.
18230 (sqrt_test): Likewise.
18231 (tan_test): Likewise.
18232 (tan_test_tonearest): Likewise.
18233 (tan_test_towardzero): Likewise.
18234 (tan_test_downward): Likewise.
18235 (tan_test_upward): Likewise.
18236 (tanh_test): Likewise.
18237 (tgamma_test): Likewise.
18238 (trunc_test): Likewise.
18239 (y0_test): Likewise.
18240 (y1_test): Likewise.
18241 (yn_test): Likewise.
18242 (significand_test): Likewise.
18244 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
18247 * libio/genops.c (_IO_no_init): Initialize wide struct info.
18249 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
18252 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
18253 __ppc_mdoio and __ppc_mdoom.
18254 * manual/platform.texi: Document new functions __ppc_yield,
18255 __ppc_mdoio and __ppc_mdoom.
18257 2013-05-22 Carlos O'Donell <carlos@redhat.com>
18259 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
18260 (main): Mention "tls" pseudo-hwcap is legacy.
18261 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
18263 2013-05-22 Joseph Myers <joseph@codesourcery.com>
18265 * math/gen-libm-test.pl (parse_args): Output only string of
18266 arguments as text for test name, not full call or descriptions of
18267 tests for extra outputs.
18268 (generate_testfile): Do not pass function name to parse_args.
18269 Generate this_func variable from START.
18270 * math/libm-test.inc (struct test_f_f_data): Rename test_name
18272 (struct test_ff_f_data): Likewise.
18273 (test_ff_f_data_nexttoward): Likewise.
18274 (struct test_fi_f_data): Likewise.
18275 (struct test_fl_f_data): Likewise.
18276 (struct test_if_f_data): Likewise.
18277 (struct test_fff_f_data): Likewise.
18278 (struct test_c_f_data): Likewise.
18279 (struct test_f_f1_data): Likewise. Remove field extra_name.
18280 (struct test_fF_f1_data): Likewise.
18281 (struct test_ffI_f1_data): Likewise.
18282 (struct test_c_c_data): Rename test_name field to arg_str.
18283 (struct test_cc_c_data): Likewise.
18284 (struct test_f_i_data): Likewise.
18285 (struct test_ff_i_data): Likewise.
18286 (struct test_f_l_data): Likewise.
18287 (struct test_f_L_data): Likewise.
18288 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
18290 (COMMON_TEST_SETUP): New macro.
18291 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
18292 (COMMON_TEST_CLEANUP): Likewise.
18293 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
18294 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
18296 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
18297 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
18299 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
18300 (RUN_TEST_fff_f): Take argument string. Call new setup and
18302 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
18303 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
18305 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
18306 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
18308 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18309 (RUN_TEST_fF_f1): Take argument string. Call new setup and
18311 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18312 (RUN_TEST_fI_f1): Take argument string. Call new setup and
18314 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18315 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
18317 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18318 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
18320 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
18321 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
18323 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
18324 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
18326 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
18327 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
18329 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
18330 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
18332 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
18333 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
18335 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
18336 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
18338 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
18339 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
18341 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
18342 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
18344 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
18345 (RUN_TEST_fFF_11): Take argument string. Call new setup and
18347 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
18349 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
18351 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
18352 to _sifields.sigfault.
18353 (si_addr_lsb): Define new macro.
18354 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
18355 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18356 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
18358 2013-05-03 Carlos O'Donell <carlos at redhat.com>
18361 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
18363 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
18365 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
18366 loading the domain.
18368 2013-05-22 Joseph Myers <joseph@codesourcery.com>
18370 * math/gen-libm-test.pl (parse_args): Do not include expected
18371 result in test name.
18372 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
18373 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18374 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18375 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18376 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18377 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18379 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
18381 * benchtests/Makefile: Sort function entries.
18383 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
18384 tanh, asinh, acosh, atanh.
18385 * benchtests/acos-inputs: New file.
18386 * benchtests/acosh-inputs: New file.
18387 * benchtests/asin-inputs: New file.
18388 * benchtests/asinh-inputs: New file.
18389 * benchtests/atanh-inputs: New file.
18390 * benchtests/cosh-inputs: New file.
18391 * benchtests/log-inputs: New file.
18392 * benchtests/sinh-inputs: New file.
18393 * benchtests/tanh-inputs: New file.
18395 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
18398 * posix/tst-getaddrinfo4.c: New test.
18399 * posix/Makefile (tests): Add it.
18401 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18404 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
18405 when no services were used.
18406 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
18407 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
18409 2013-05-21 Andreas Schwab <schwab@suse.de>
18412 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
18413 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
18415 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
18416 redundant variable declarations and reallocation of buffer when
18417 parsing as IPv6 address. Always set NSS status when called from
18418 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
18419 buffer too small. Correct computation of needed size.
18420 * nss/Makefile (tests): Add test-digits-dots.
18421 * nss/test-digits-dots.c: New test.
18423 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18425 * benchtests/Makefile: Remove instructions for adding
18427 * benchtests/README: New file to explain how to execute and
18428 enhance the benchmark tests.
18430 2013-05-21 Andreas Schwab <schwab@suse.de>
18433 * setjmp/Makefile (tests): Add tst-sigsetjmp.
18434 * setjmp/tst-sigsetjmp.c: New test.
18436 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
18438 * sysdeps/x86_64/memset.S (memset): New implementation.
18439 (__bzero): Likewise.
18440 (__memset_tail): New function.
18442 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
18444 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
18445 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
18446 __memcpy_sse2_unaligned ifunc selection.
18447 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18448 Add memcpy-sse2-unaligned.S.
18449 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18450 Add: __memcpy_sse2_unaligned.
18452 2013-05-19 Joseph Myers <joseph@codesourcery.com>
18455 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
18456 math_force_eval before restoring floating-point envrionment.
18457 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
18458 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
18460 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
18462 (__nearbyintl): Use math_force_eval before restoring
18463 floating-point environment.
18464 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
18466 * math/gen-libm-test.pl (special_functions): Remove.
18467 (parse_args): Don't handle TEST_extra. Handle functions with no
18469 * math/libm-test.inc (struct test_sincos_data): Replace with
18470 struct test_fFF_11_data.
18471 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
18472 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
18473 (sincos_test_data): Change element type to struct
18474 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
18475 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
18476 RUN_TEST_LOOP_sincos.
18477 * math/README.libm-test: Don't mention special handling of
18478 individual functions.
18479 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
18480 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18481 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18482 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18483 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18484 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18486 * math/gen-libm-test.pl (get_variable): Remove function.
18487 (parse_args): Don't show pointer parameters to call in test
18488 names. Use "extra output N" in test names for extra outputs
18489 rather than naming variables.
18491 2013-05-18 Joseph Myers <joseph@codesourcery.com>
18494 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
18495 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
18496 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
18498 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
18500 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
18503 * math/gen-libm-test.pl (@tests): Remove variable.
18504 ($count): Likewise.
18505 (new_test): Remove function.
18506 (show_exceptions): New function.
18507 (special_functions): Use show_exceptions instead of new_test.
18508 (parse_args): Likewise.
18509 (generate_testfile): Pass only function name in generated call to
18510 print_max_error or print_complex_max_error.
18511 (get_ulps): Do not handle complex tests specially.
18512 (output_test): Rename to ...
18513 (get_all_ulps_for_test): ... this. Return a string rather than
18514 printing to a file. Require ulps to be present.
18515 (output_ulps): Generate arrays rather than #defines.
18516 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
18517 (struct ulp_data): New type.
18518 (BUILD_COMPLEX_ULP): Remove macro.
18519 (compare_ulp_data): New function.
18520 (find_ulps): Likewise.
18521 (find_test_ulps): Likewise.
18522 (find_function_ulps): Likewise.
18523 (find_complex_function_ulps): Likewise.
18524 (print_max_error): Determine allowed ulps using
18525 find_function_ulps.
18526 (print_complex_max_error): Determine allowed ulps using
18527 find_complex_function_ulps.
18528 (check_float_internal): Determine max ulps using find_test_ulps.
18529 (check_float): Do not take max_ulp parameter. Update call to
18530 check_float_internal.
18531 (check_complex): Likewise.
18532 (check_int): Do not take max_ulp parameter.
18533 (check_long): Likewise.
18534 (check_bool): Likewise.
18535 (check_longlong): Likewise.
18536 (struct test_f_f_data): Remove max_ulp field.
18537 (struct test_ff_f_data): Likewise.
18538 (struct test_ff_f_data_nexttoward): Likewise.
18539 (struct test_fi_f_data): Likewise.
18540 (struct test_fl_f_data): Likewise.
18541 (struct test_if_f_data): Likewise.
18542 (struct test_fff_f_data): Likewise.
18543 (struct test_c_f_data): Likewise.
18544 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
18545 (struct test_fF_f1_data): Likewise.
18546 (struct test_ffI_f1_data): Likewise.
18547 (struct test_c_c_data): Remove max_ulp field.
18548 (struct test_cc_c_data): Likewise.
18549 (struct test_f_i_data): Likewise.
18550 (struct test_ff_i_data): Likewise.
18551 (struct test_f_l_data): Likewise.
18552 (struct test_f_L_data): Likewise.
18553 (struct test_sincos_data): Likewise.
18554 (RUN_TEST_f_f): Do not handle ulps.
18555 (RUN_TEST_LOOP_f_f): Likewise.
18556 (RUN_TEST_2_f): Likewise.
18557 (RUN_TEST_LOOP_2_f): Likewise.
18558 (RUN_TEST_fff_f): Likewise.
18559 (RUN_TEST_LOOP_fff_f): Likewise.
18560 (RUN_TEST_c_f): Likewise.
18561 (RUN_TEST_LOOP_c_f): Likewise.
18562 (RUN_TEST_f_f1): Likewise.
18563 (RUN_TEST_LOOP_f_f1): Likewise.
18564 (RUN_TEST_fF_f1): Likewise.
18565 (RUN_TEST_LOOP_fF_f1): Likewise.
18566 (RUN_TEST_fI_f1): Likewise.
18567 (RUN_TEST_LOOP_fI_f1): Likewise.
18568 (RUN_TEST_ffI_f1): Likewise.
18569 (RUN_TEST_LOOP_ffI_f1): Likewise.
18570 (RUN_TEST_c_c): Likewise.
18571 (RUN_TEST_LOOP_c_c): Likewise.
18572 (RUN_TEST_cc_c): Likewise.
18573 (RUN_TEST_LOOP_cc_c): Likewise.
18574 (RUN_TEST_f_i): Likewise.
18575 (RUN_TEST_LOOP_f_i): Likewise.
18576 (RUN_TEST_f_i_tg): Likewise.
18577 (RUN_TEST_LOOP_f_i_tg): Likewise.
18578 (RUN_TEST_ff_i_tg): Likewise.
18579 (RUN_TEST_LOOP_ff_i_tg): Likewise.
18580 (RUN_TEST_f_b): Likewise.
18581 (RUN_TEST_LOOP_f_b): Likewise.
18582 (RUN_TEST_f_b_tg): Likewise.
18583 (RUN_TEST_LOOP_f_b_tg): Likewise.
18584 (RUN_TEST_f_l): Likewise.
18585 (RUN_TEST_LOOP_f_l): Likewise.
18586 (RUN_TEST_f_L): Likewise.
18587 (RUN_TEST_LOOP_f_L): Likewise.
18588 (RUN_TEST_sincos): Likewise.
18589 (RUN_TEST_LOOP_sincos): Likewise.
18591 2013-05-17 Joseph Myers <joseph@codesourcery.com>
18595 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
18596 main case of finite arguments, set rounding mode to FE_TONEAREST
18597 and discard exceptions.
18598 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
18600 (remainder_tonearest_test_data): New variable.
18601 (remainder_test_tonearest): New function.
18602 (remainder_towardzero_test_data): New variable.
18603 (remainder_test_towardzero): New function.
18604 (remainder_downward_test_data): New variable.
18605 (remainder_test_downward): New function.
18606 (remainder_upward_test_data): New variable.
18607 (remainder_test_upward): New function.
18608 (main): Call the new test functions.
18610 * math/libm-test.inc (struct test_f_f1_data): Remove field
18612 (struct test_fF_f1_data): Likewise.
18613 (struct test_ffI_f1_data): Likewise.
18614 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
18615 based on value of EXTRA_EXPECTED.
18616 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18617 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
18618 EXTRA_VAR based on value of EXTRA_EXPECTED.
18619 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18620 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
18621 EXTRA_VAR based on value of EXTRA_EXPECTED.
18622 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18623 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
18624 EXTRA_VAR based on value of EXTRA_EXPECTED.
18625 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18626 * math/gen-libm-test.pl (parse_args): Don't output initializers
18627 for extra output values.
18629 * math/libm-test.inc (check_int): Expect result to be exactly
18630 equal to expected value and do not handle ulps.
18631 (check_long): Likewise.
18632 (check_longlong): Likewise.
18634 * math/libm-test.inc (ceil_test_data): Test for "inexact"
18636 (cimag_test_data): Likewise.
18637 (conj_test_data): Likewise.
18638 (copysign_test_data): Likewise.
18639 (cproj_test_data): Likewise.
18640 (creal_test_data): Likewise.
18641 (fabs_test_data): Likewise.
18642 (fdim_test_data): Likewise.
18643 (finite_test_data): Likewise.
18644 (floor_test_data): Likewise.
18645 (fmax_test_data): Likewise.
18646 (fmin_test_data): Likewise.
18647 (fmod_test_data): Likewise.
18648 (fpclassify_test_data): Likewise.
18649 (frexp_test_data): Likewise.
18650 (ilogb_test_data): Likewise.
18651 (isfinite_test_data): Likewise.
18652 (isgreater_test_data): Likewise.
18653 (isgreaterequal_test_data): Likewise.
18654 (isinf_test_data): Likewise.
18655 (isless_test_data): Likewise.
18656 (islessequal_test_data): Likewise.
18657 (islessgreater_test_data): Likewise.
18658 (isnan_test_data): Likewise.
18659 (isnormal_test_data): Likewise.
18660 (issignaling_test_data): Likewise.
18661 (isunordered_test_data): Likewise.
18662 (ldexp_test_data): Likewise.
18663 (lrint_test_data): Likewise.
18664 (lrint_test_data) [TEST_FLOAT]: Disable one test.
18665 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
18666 (lrint_tonearest_test_data): Test for "inexact" exceptions.
18667 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18668 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
18669 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
18671 (lrint_towardzero_test_data): Test for "inexact" exceptions.
18672 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
18673 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
18674 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
18676 (lrint_downward_test_data): Test for "inexact" exceptions.
18677 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
18678 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
18679 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
18681 (lrint_upward_test_data): Test for "inexact" exceptions.
18682 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
18684 (llrint_test_data): Test for "inexact" exceptions.
18685 (llrint_test_data) [TEST_FLOAT]: Disable one test.
18686 (llrint_tonearest_test_data): Test for "inexact" exceptions.
18687 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18688 (llrint_towardzero_test_data): Test for "inexact" exceptions.
18689 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
18690 (llrint_downward_test_data): Test for "inexact" exceptions.
18691 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
18692 (llrint_upward_test_data): Test for "inexact" exceptions.
18693 (logb_test_data): Likewise.
18694 (logb_downward_test_data): Likewise.
18695 (nextafter_test_data): Likewise.
18696 (nexttoward_test_data): Likewise.
18697 (remainder_test_data): Likewise.
18698 (remquo_test_data): Likewise.
18699 (scalbn_test_data): Likewise.
18700 (scalbln_test_data): Likewise.
18701 (signbit_test_data): Likewise.
18702 (sqrt_test_data): Likewise.
18703 (significand_test_data): Likewise.
18705 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18708 * benchtests/bench-modf.c (struct args): Mark arg0 as
18710 * scripts/bench.pl: Mark members of struct args as volatile.
18712 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18715 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
18716 negative infinity on POWER6 or lower.
18717 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
18719 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
18722 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
18723 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
18724 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
18725 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
18726 (_FP_SETQNAN): New macro.
18727 (_FP_SETQNAN_SEMIRAW): Likewise.
18728 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
18729 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
18730 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
18731 (FP_EXTEND): Use _FP_FRAC_SNANP.
18732 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
18733 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
18735 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
18737 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
18740 2013-05-16 Joseph Myers <joseph@codesourcery.com>
18742 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
18743 with DIVIDE_BY_ZERO_EXCEPTION.
18744 (gamma_test_data): Likewise.
18745 (lgamma_test_data): Likewise.
18746 (log_test_data): Likewise.
18747 (log10_test_data): Likewise.
18748 (log2_test_data): Likewise.
18749 (tgamma_test_data): Likewise.
18751 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
18752 (acos_test_tonearest): Likewise.
18753 (acos_test_towardzero): Likewise.
18754 (acos_test_downward): Likewise.
18755 (acos_test_upward): Likewise.
18756 (acosh_test): Likewise.
18757 (asin_test): Likewise.
18758 (asin_test_tonearest): Likewise.
18759 (asin_test_towardzero): Likewise.
18760 (asin_test_downward): Likewise.
18761 (asin_test_upward): Likewise.
18762 (asinh_test): Likewise.
18763 (atan_test): Likewise.
18764 (atanh_test): Likewise.
18765 (atan2_test): Likewise.
18766 (cabs_test): Likewise.
18767 (cacos_test): Likewise.
18768 (cacosh_test): Likewise.
18769 (casin_test): Likewise.
18770 (casinh_test): Likewise.
18771 (catan_test): Likewise.
18772 (catanh_test): Likewise.
18773 (cbrt_test): Likewise.
18774 (ccos_test): Likewise.
18775 (ccosh_test): Likewise.
18776 (cexp_test): Likewise.
18777 (clog_test): Likewise.
18778 (clog10_test): Likewise.
18779 (cos_test): Likewise.
18780 (cos_test_tonearest): Likewise.
18781 (cos_test_towardzero): Likewise.
18782 (cos_test_downward): Likewise.
18783 (cos_test_upward): Likewise.
18784 (cosh_test): Likewise.
18785 (cosh_test_tonearest): Likewise.
18786 (cosh_test_towardzero): Likewise.
18787 (cosh_test_downward): Likewise.
18788 (cosh_test_upward): Likewise.
18789 (cpow_test): Likewise.
18790 (csin_test): Likewise.
18791 (csinh_test): Likewise.
18792 (csqrt_test): Likewise.
18793 (ctan_test): Likewise.
18794 (ctan_test_tonearest): Likewise.
18795 (ctan_test_towardzero): Likewise.
18796 (ctan_test_downward): Likewise.
18797 (ctan_test_upward): Likewise.
18798 (ctanh_test): Likewise.
18799 (ctanh_test_tonearest): Likewise.
18800 (ctanh_test_towardzero): Likewise.
18801 (ctanh_test_downward): Likewise.
18802 (ctanh_test_upward): Likewise.
18803 (erf_test): Likewise.
18804 (erfc_test): Likewise.
18805 (exp_test): Likewise.
18806 (exp_test_tonearest): Likewise.
18807 (exp_test_towardzero): Likewise.
18808 (exp_test_downward): Likewise.
18809 (exp_test_upward): Likewise.
18810 (exp10_test): Likewise.
18811 (exp2_test): Likewise.
18812 (expm1_test): Likewise.
18813 (fmod_test): Likewise.
18814 (gamma_test): Likewise.
18815 (hypot_test): Likewise.
18816 (j0_test): Likewise.
18817 (j1_test): Likewise.
18818 (jn_test): Likewise.
18819 (lgamma_test): Likewise.
18820 (log_test): Likewise.
18821 (log10_test): Likewise.
18822 (log1p_test): Likewise.
18823 (log2_test): Likewise.
18824 (logb_test_downward): Likewise.
18825 (pow_test): Likewise.
18826 (pow_test_tonearest): Likewise.
18827 (pow_test_towardzero): Likewise.
18828 (pow_test_downward): Likewise.
18829 (pow_test_upward): Likewise.
18830 (remainder_test): Likewise.
18831 (remquo_test): Likewise.
18832 (sin_test): Likewise.
18833 (sin_test_tonearest): Likewise.
18834 (sin_test_towardzero): Likewise.
18835 (sin_test_downward): Likewise.
18836 (sin_test_upward): Likewise.
18837 (sincos_test): Likewise.
18838 (sinh_test): Likewise.
18839 (sinh_test_tonearest): Likewise.
18840 (sinh_test_towardzero): Likewise.
18841 (sinh_test_downward): Likewise.
18842 (sinh_test_upward): Likewise.
18843 (sqrt_test): Likewise.
18844 (tan_test): Likewise.
18845 (tan_test_tonearest): Likewise.
18846 (tan_test_towardzero): Likewise.
18847 (tan_test_downward): Likewise.
18848 (tan_test_upward): Likewise.
18849 (tanh_test): Likewise.
18850 (tgamma_test): Likewise.
18851 (y0_test): Likewise.
18852 (y1_test): Likewise.
18853 (yn_test): Likewise.
18855 * math/gen-libm-test.pl (adjust_arg): Remove function.
18856 (special_function): Remove argument $in_func. Only handle
18857 generating output for tables of tests, not inside functions.
18858 (parse_args): Likewise.
18859 (generate_testfile): Remove variable $in_func. Update call to
18861 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
18862 (MINUS_ZERO_INIT): Rename macro to minus_zero.
18863 (PLUS_INFTY_INIT): Rename macro to plus_infty.
18864 (MINUS_INFTY_INIT): Rename macro to minus_infty.
18865 (QNAN_VALUE_INIT): Rename macro to qnan_value.
18866 (MAX_VALUE_INIT): Rename macro to max_value.
18867 (MIN_VALUE_INIT): Rename macro to min_value.
18868 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
18869 (plus_zero): Remove variable.
18870 (minus_zero): Likewise.
18871 (plus_infty): Likewise.
18872 (minus_infty): Likewise.
18873 (qnan_value): Likewise.
18874 (max_value): Likewise.
18875 (min_value): Likewise.
18876 (min_subnorm_value): Likewise.
18878 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18880 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
18881 uint64_t or uint32_t usage.
18882 * crypt/sha256-block.c: Likewise.
18883 * crypt/sha256-crypt.c: Likewise.
18884 * crypt/sha256.c: Likewise.
18885 * crypt/sha512-block.c: Likewise.
18886 * crypt/sha512-crypt.c: Likewise.
18887 * crypt/sha512.c: Likewise.
18888 * debug/backtrace-tst.c: Likewise.
18889 * debug/pcprofiledump.c: Likewise.
18890 * elf/cache.c: Likewise.
18891 * elf/dl-cache.c: Likewise.
18892 * elf/dl-misc.c: Likewise.
18893 * elf/dl-profile.c: Likewise.
18894 * elf/dl-support.c: Likewise.
18895 * elf/ldconfig.c: Likewise.
18896 * elf/sprof.c: Likewise.
18897 * iconv/dummy-repertoire.c: Likewise.
18898 * iconv/iconv_charmap.c: Likewise.
18899 * iconv/skeleton.c: Likewise.
18900 * iconvdata/8bit-generic.c: Likewise.
18901 * iconvdata/cp737.h: Likewise.
18902 * iconvdata/cp775.h: Likewise.
18903 * iconvdata/ibm1008.h: Likewise.
18904 * iconvdata/ibm1025.h: Likewise.
18905 * iconvdata/ibm1046.h: Likewise.
18906 * iconvdata/ibm1097.h: Likewise.
18907 * iconvdata/ibm1112.h: Likewise.
18908 * iconvdata/ibm1122.h: Likewise.
18909 * iconvdata/ibm1123.h: Likewise.
18910 * iconvdata/ibm1124.h: Likewise.
18911 * iconvdata/ibm1129.h: Likewise.
18912 * iconvdata/ibm1130.h: Likewise.
18913 * iconvdata/ibm1132.h: Likewise.
18914 * iconvdata/ibm1133.h: Likewise.
18915 * iconvdata/ibm1137.h: Likewise.
18916 * iconvdata/ibm1140.h: Likewise.
18917 * iconvdata/ibm1141.h: Likewise.
18918 * iconvdata/ibm1142.h: Likewise.
18919 * iconvdata/ibm1143.h: Likewise.
18920 * iconvdata/ibm1144.h: Likewise.
18921 * iconvdata/ibm1145.h: Likewise.
18922 * iconvdata/ibm1146.h: Likewise.
18923 * iconvdata/ibm1147.h: Likewise.
18924 * iconvdata/ibm1148.h: Likewise.
18925 * iconvdata/ibm1149.h: Likewise.
18926 * iconvdata/ibm1153.h: Likewise.
18927 * iconvdata/ibm1154.h: Likewise.
18928 * iconvdata/ibm1155.h: Likewise.
18929 * iconvdata/ibm1156.h: Likewise.
18930 * iconvdata/ibm1157.h: Likewise.
18931 * iconvdata/ibm1158.h: Likewise.
18932 * iconvdata/ibm1160.h: Likewise.
18933 * iconvdata/ibm1161.h: Likewise.
18934 * iconvdata/ibm1162.h: Likewise.
18935 * iconvdata/ibm1163.h: Likewise.
18936 * iconvdata/ibm1164.h: Likewise.
18937 * iconvdata/ibm1166.h: Likewise.
18938 * iconvdata/ibm1167.h: Likewise.
18939 * iconvdata/ibm12712.h: Likewise.
18940 * iconvdata/ibm1390.h: Likewise.
18941 * iconvdata/ibm1399.h: Likewise.
18942 * iconvdata/ibm16804.h: Likewise.
18943 * iconvdata/ibm4517.h: Likewise.
18944 * iconvdata/ibm4899.h: Likewise.
18945 * iconvdata/ibm4909.h: Likewise.
18946 * iconvdata/ibm4971.h: Likewise.
18947 * iconvdata/ibm5347.h: Likewise.
18948 * iconvdata/ibm803.h: Likewise.
18949 * iconvdata/ibm856.h: Likewise.
18950 * iconvdata/ibm901.h: Likewise.
18951 * iconvdata/ibm902.h: Likewise.
18952 * iconvdata/ibm9030.h: Likewise.
18953 * iconvdata/ibm9066.h: Likewise.
18954 * iconvdata/ibm921.h: Likewise.
18955 * iconvdata/ibm922.h: Likewise.
18956 * iconvdata/ibm9448.h: Likewise.
18957 * iconvdata/isiri-3342.h: Likewise.
18958 * iconvdata/jis0201.h: Likewise.
18959 * include/link.h: Likewise.
18960 * include/netdb.h: Likewise.
18961 * inet/check_native.c: Likewise.
18962 * inet/check_pf.c: Likewise.
18963 * inet/getipv4sourcefilter.c: Likewise.
18964 * inet/getnameinfo.c: Likewise.
18965 * inet/getsourcefilter.c: Likewise.
18966 * inet/htonl.c: Likewise.
18967 * inet/setipv4sourcefilter.c: Likewise.
18968 * inet/setsourcefilter.c: Likewise.
18969 * inet/test-inet6_opt.c: Likewise.
18970 * inet/tst-network.c: Likewise.
18971 * locale/C-collate.c: Likewise.
18972 * locale/C-ctype.c: Likewise.
18973 * locale/C-time.c: Likewise.
18974 * locale/C-translit.h: Likewise.
18975 * locale/loadarchive.c: Likewise.
18976 * locale/programs/3level.h: Likewise.
18977 * locale/programs/charmap.c: Likewise.
18978 * locale/programs/charmap.h: Likewise.
18979 * locale/programs/ld-address.c: Likewise.
18980 * locale/programs/ld-collate.c: Likewise.
18981 * locale/programs/ld-ctype.c: Likewise.
18982 * locale/programs/ld-identification.c: Likewise.
18983 * locale/programs/ld-measurement.c: Likewise.
18984 * locale/programs/ld-messages.c: Likewise.
18985 * locale/programs/ld-monetary.c: Likewise.
18986 * locale/programs/ld-name.c: Likewise.
18987 * locale/programs/ld-numeric.c: Likewise.
18988 * locale/programs/ld-paper.c: Likewise.
18989 * locale/programs/ld-telephone.c: Likewise.
18990 * locale/programs/ld-time.c: Likewise.
18991 * locale/programs/linereader.c: Likewise.
18992 * locale/programs/locale.c: Likewise.
18993 * locale/programs/locarchive.c: Likewise.
18994 * locale/programs/locfile.h: Likewise.
18995 * locale/programs/repertoire.c: Likewise.
18996 * locale/programs/simple-hash.c: Likewise.
18997 * locale/programs/simple-hash.h: Likewise.
18998 * malloc/memusage.c: Likewise.
18999 * malloc/memusagestat.c: Likewise.
19000 * nis/nis_defaults.c: Likewise.
19001 * nis/nis_hash.c: Likewise.
19002 * nis/nis_print.c: Likewise.
19003 * nis/nis_xdr.c: Likewise.
19004 * nscd/connections.c: Likewise.
19005 * nscd/hstcache.c: Likewise.
19006 * nscd/nscd_gethst_r.c: Likewise.
19007 * nscd/nscd_getserv_r.c: Likewise.
19008 * nscd/nscd_helper.c: Likewise.
19009 * nscd/servicescache.c: Likewise.
19010 * nss/makedb.c: Likewise.
19011 * nss/nss_db/db-XXX.c: Likewise.
19012 * nss/nss_db/db-initgroups.c: Likewise.
19013 * nss/nss_db/db-netgrp.c: Likewise.
19014 * nss/nss_files/files-network.c: Likewise.
19015 * nss/nss_files/files-parse.c: Likewise.
19016 * posix/bug-regex5.c: Likewise.
19017 * posix/fnmatch_loop.c: Likewise.
19018 * posix/regcomp.c: Likewise.
19019 * posix/regexec.c: Likewise.
19020 * posix/tst-rfc3484-2.c: Likewise.
19021 * posix/tst-rfc3484-3.c: Likewise.
19022 * posix/tst-rfc3484.c: Likewise.
19023 * resolv/nss_dns/dns-canon.c: Likewise.
19024 * resolv/nss_dns/dns-network.c: Likewise.
19025 * resolv/res_init.c: Likewise.
19026 * resolv/res_mkquery.c: Likewise.
19027 * resolv/tst-aton.c: Likewise.
19028 * stdlib/cxa_atexit.c: Likewise.
19029 * stdlib/cxa_finalize.c: Likewise.
19030 * stdlib/gen-fpioconst.c: Likewise.
19031 * stdlib/strtol_l.c: Likewise.
19032 * string/tst-endian.c: Likewise.
19033 * sunrpc/auth_des.c: Likewise.
19034 * sunrpc/clnt_udp.c: Likewise.
19035 * sunrpc/rtime.c: Likewise.
19036 * sunrpc/svcauth_des.c: Likewise.
19037 * sunrpc/xdr.c: Likewise.
19038 * sunrpc/xdr_intXX_t.c: Likewise.
19039 * sunrpc/xdr_rec.c: Likewise.
19040 * sysdeps/generic/ldconfig.h: Likewise.
19041 * sysdeps/generic/ldsodefs.h: Likewise.
19042 * sysdeps/generic/memusage.h: Likewise.
19043 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
19044 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
19045 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
19046 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
19047 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19048 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19049 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
19050 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
19051 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19052 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19053 * sysdeps/posix/getaddrinfo.c: Likewise.
19054 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19055 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19056 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
19057 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19058 * sysdeps/powerpc/test-gettimebase.c: Likewise.
19059 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
19060 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
19061 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
19062 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
19063 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
19064 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
19065 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
19066 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
19067 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
19068 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
19069 * sysdeps/x86_64/dl-tls.h: Likewise.
19070 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
19071 * time/alt_digit.c: Likewise.
19072 * time/era.c: Likewise.
19073 * wcsmbs/tst-c16c32-1.c: Likewise.
19075 2013-05-16 Joseph Myers <joseph@codesourcery.com>
19077 * math/libm-test.inc (struct test_sincos_data): New type.
19078 (RUN_TEST_LOOP_sincos): New macro.
19079 (sincos_test_data): New variable.
19080 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
19082 2013-05-16 Richard Henderson <rth@redhat.com>
19084 * math/atest-exp2.c (LIMB64): New macro.
19085 (CONSTSZ): New macro.
19086 (mp_exp1, mp_exp_m1, mp_log2): New variables.
19088 (print_mpn_fp): ... to function scope.
19089 (read_mpn_hex): Remove.
19090 (get_log2): Remove.
19091 (exp2_mpn): Use mp_log2.
19092 (main): Use mp_exp1.
19094 2013-05-16 Joseph Myers <joseph@codesourcery.com>
19096 * math/libm-test.inc: Remove comment about not testing "inexact"
19098 (INEXACT_EXCEPTION): New macro.
19099 (NO_INEXACT_EXCEPTION): Likewise.
19100 (INVALID_EXCEPTION_OK): Update value.
19101 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19102 (OVERFLOW_EXCEPTION_OK): Likewise.
19103 (UNDERFLOW_EXCEPTION_OK): Likewise.
19104 (IGNORE_ZERO_INF_SIGN): Likewise.
19105 (ERRNO_UNCHANGED): Likewise.
19106 (ERRNO_EDOM): Likewise.
19107 (ERRNO_ERANGE): Likewise.
19108 (test_exceptions): Handle testing "inexact" exceptions.
19109 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
19110 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
19111 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
19112 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
19114 (rint_towardzero_test_data): Likewise.
19115 (rint_downward_test_data): Likewise.
19116 (rint_upward_test_data): Likewise.
19118 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
19119 with OVERFLOW_EXCEPTION.
19120 (exp10_test_data): Likewise.
19121 (exp2_test_data): Likewise.
19122 (expm1_test_data): Likewise.
19123 (lgamma_test_data): Likewise.
19124 (pow_test_data): Likewise.
19125 (tgamma_test_data): Likewise.
19126 (yn_test_data): Remove duplicate test of overflow.
19128 * math/libm-test.inc (struct test_cc_c_data): New type.
19129 (RUN_TEST_LOOP_cc_c): New macro.
19130 (cpow_test_data): New variable.
19131 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
19133 * math/libm-test.inc (struct test_f_L_data): New type.
19134 (RUN_TEST_LOOP_f_L): New macro.
19135 (llrint_test_data): New variable.
19136 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
19137 (llrint_tonearest_test_data): New variable.
19138 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
19139 (llrint_towardzero_test_data): New variable.
19140 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
19141 (llrint_downward_test_data): New variable.
19142 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
19143 (llrint_upward_test_data): New variable.
19144 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
19145 (llround_test_data): New variable.
19146 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
19148 2013-05-13 Peter Collingbourne <pcc@google.com>
19150 * math/atest-exp2.c (get_log2): Remove const attribute.
19152 2013-05-15 Joseph Myers <joseph@codesourcery.com>
19154 * math/libm-test.inc (struct test_f_l_data): New type.
19155 (RUN_TEST_LOOP_f_l): New macro.
19156 (lrint_test_data): New variable.
19157 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
19158 (lrint_tonearest_test_data): New variable.
19159 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
19160 (lrint_towardzero_test_data): New variable.
19161 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
19162 (lrint_downward_test_data): New variable.
19163 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
19164 (lrint_upward_test_data): New variable.
19165 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
19166 (lround_test_data): New variable.
19167 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
19169 2013-05-15 Peter Collingbourne <pcc@google.com>
19171 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
19172 (EXTRACT_WORDS64) Use where appropriate.
19173 (INSERT_WORDS64) Likewise.
19175 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
19176 constraints with x constraints.
19177 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
19179 * malloc/obstack.c (_obstack_compat): Add initializer.
19181 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
19183 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
19184 si_trapno and add si_addr_lsb to _sifields.sigfault.
19185 (si_trapno): Remove macro.
19186 (si_addr_lsb): Define new macro.
19187 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19189 2013-05-15 Joseph Myers <joseph@codesourcery.com>
19191 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
19192 instead of TEST_f_l.
19193 (llrint_test_tonearest): Likewise.
19194 (llrint_test_towardzero): Likewise.
19195 (llrint_test_downward): Likewise.
19196 (llrint_test_upward): Likewise.
19197 (llround_test): Likewise.
19199 * math/libm-test.inc (struct test_f_i_data): Add comment.
19200 (RUN_TEST_LOOP_f_b): New macro.
19201 (RUN_TEST_LOOP_f_b_tg): Likewise.
19202 (finite_test_data): New variable.
19203 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
19204 (isfinite_test_data): New variable.
19205 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19206 (isinf_test_data): New variable.
19207 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19208 (isnan_test_data): New variable.
19209 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19210 (isnormal_test_data): New variable.
19211 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19212 (issignaling_test_data): New variable.
19213 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19214 (signbit_test_data): New variable.
19215 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19217 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
19218 with INVALID_EXCEPTION.
19219 (acosh_test_data): Likewise.
19220 (asin_test_data): Likewise.
19221 (atanh_test_data): Likewise.
19222 (fmod_test_data): Likewise.
19223 (log_test_data): Likewise.
19224 (log10_test_data): Likewise.
19225 (log2_test_data): Likewise.
19226 (pow_test_data): Likewise.
19227 (sqrt_test_data): Likewise.
19228 (y0_test_data): Likewise.
19229 (y1_test_data): Likewise.
19230 (yn_test_data): Likewise.
19232 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
19235 * math/libm-test.inc (struct test_ff_i_data): New type.
19236 (RUN_TEST_LOOP_ff_i_tg): New macro.
19237 (isgreater_test_data): New variable.
19238 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19239 (isgreaterequal_test_data): New variable.
19240 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19241 (isless_test_data): New variable.
19242 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19243 (islessequal_test_data): New variable.
19244 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19245 (islessgreater_test_data): New variable.
19246 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19247 (isunordered_test_data): New variable.
19248 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19250 2013-05-14 David S. Miller <davem@davemloft.net>
19252 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19254 2013-05-14 Joseph Myers <joseph@codesourcery.com>
19256 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
19258 * math/libm-test.inc (struct test_fF_f1_data): Change type of
19260 (struct test_f_i_data): Change type of max_ulp to int.
19262 * math/libm-test.inc (test_ffI_f1_data): New type.
19263 (RUN_TEST_LOOP_ffI_f1): New macro.
19264 (remquo_test_data): New variable.
19265 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
19267 * setjmp/tst-setjmp-fp.c: New file.
19268 * setjmp/Makefile (tests): Add tst-setjmp-fp.
19269 (link-libm): New variable.
19270 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
19272 * math/libm-test.inc (struct test_f_i_data): New type.
19273 (RUN_TEST_LOOP_f_i): New macro.
19274 (RUN_TEST_LOOP_f_i_tg): Likewise.
19275 (fpclassify_test_data): New variable.
19276 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
19277 (ilogb_test_data): New variable.
19278 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
19280 * math/libm-test.inc (scalbln_test): Correct function name in END
19283 * math/libm-test.inc (struct test_f_f1_data): Add comment.
19284 (RUN_TEST_LOOP_fI_f1): New macro.
19285 (frexp_test_data): New variable.
19286 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
19288 * math/libm-test.inc (struct test_fF_f1_data): New type.
19289 (RUN_TEST_LOOP_fF_f1): New macro.
19290 (modf_test_data): New variable.
19291 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
19293 * math/libm-test.inc (struct test_f_f1_data): New type.
19294 (RUN_TEST_LOOP_f_f1): New macro.
19295 (gamma_test_data): New variable.
19296 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
19297 (lgamma_test_data): New variable.
19298 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
19300 2013-05-13 Carlos O'Donell <carlos@redhat.com>
19302 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
19303 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
19304 (main): Comment "tls" pseudo-hwcap.
19306 2013-05-13 Joseph Myers <joseph@codesourcery.com>
19308 * math/libm-test.inc (struct test_fl_f_data): New type.
19309 (RUN_TEST_LOOP_fl_f): New variable.
19310 (scalbln_test_data): New variable.
19311 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
19313 * math/libm-test.inc (struct test_fi_f_data): New type.
19314 (RUN_TEST_LOOP_fi_f): New macro.
19315 (ldexp_test_data): New variable.
19316 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
19317 (scalbn_test_data): New variable.
19318 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
19320 * math/libm-test.inc (struct test_c_f_data): New type.
19321 (RUN_TEST_LOOP_c_f): New macro.
19322 (cabs_test_data): New variable.
19323 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
19324 (carg_test_data): New variable.
19325 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
19326 (cimag_test_data): New variable.
19327 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
19328 (creal_test_data): New variable.
19329 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
19331 * math/libm-test.inc (struct test_if_f_data): New type.
19332 (RUN_TEST_LOOP_if_f): New macro.
19333 (jn_test_data): New variable.
19334 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
19335 (yn_test_data): New variable.
19336 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
19338 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
19340 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19342 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
19343 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
19345 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
19347 * benchtests/Makefile (CPPFLAGS-nonlib): Add
19348 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
19349 (bench-deps): Add bench-timing.h.
19350 * benchtests-bench-skeleton.c: Include bench-timing.h.
19351 (main): Use TIMING_* macros instead of clock_gettime.
19352 * benchtests/bench-timing.h: New file.
19355 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
19356 Renamed from _LIB_VERSION.
19357 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
19359 2013-05-12 Joseph Myers <joseph@codesourcery.com>
19361 * math/libm-test.inc (struct test_fff_f_data): New type.
19362 (RUN_TEST_LOOP_fff_f): New macro.
19363 (fma_test_data): New variable.
19364 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
19365 (fma_towardzero_test_data): New variable.
19366 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
19367 (fma_downward_test_data): New variable.
19368 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
19369 (fma_upward_test_data): New variable.
19370 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
19372 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
19373 (struct test_c_c_data): New type.
19374 (RUN_TEST_LOOP_c_c): New macro.
19375 (cacos_test_data): New variable.
19376 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
19377 (cacosh_test_data): New variable.
19378 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
19379 (casin_test_data): New variable.
19380 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
19381 (casinh_test_data): New variable.
19382 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
19383 (catan_test_data): New variable.
19384 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
19385 (catanh_test_data): New variable.
19386 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
19387 (ccos_test_data): New variable.
19388 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
19389 (ccosh_test_data): New variable.
19390 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
19391 (cexp_test_data): New variable.
19392 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
19393 (clog_test_data): New variable.
19394 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
19395 (clog10_test_data): New variable.
19396 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
19397 (conj_test_data): New variable.
19398 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
19399 (cproj_test_data): New variable.
19400 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
19401 (csin_test_data): New variable.
19402 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
19403 (csinh_test_data): New variable.
19404 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
19405 (csqrt_test_data): New variable.
19406 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
19407 (ctan_test_data): New variable.
19408 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
19409 (ctan_tonearest_test_data): New variable.
19410 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19411 (ctan_towardzero_test_data): New variable.
19412 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19413 (ctan_downward_test_data): New variable.
19414 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19415 (ctan_upward_test_data): New variable.
19416 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19417 (ctanh_test_data): New variable.
19418 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
19419 (ctanh_tonearest_test_data): New variable.
19420 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19421 (ctanh_towardzero_test_data): New variable.
19422 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19423 (ctanh_downward_test_data): New variable.
19424 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19425 (ctanh_upward_test_data): New variable.
19426 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19427 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
19430 * math/libm-test.inc (struct test_ff_f_data): New type.
19431 (struct test_ff_f_data_nexttoward): Likewise.
19432 (RUN_TEST_LOOP_2_f): New macro.
19433 (RUN_TEST_LOOP_ff_f): Likewise.
19434 (atan2_test_data): New variable.
19435 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
19436 (copysign_test_data): New variable.
19437 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
19438 (fdim_test_data): New variable.
19439 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
19440 (fmax_test_data): New variable.
19441 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
19442 (fmin_test_data): New variable.
19443 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
19444 (fmod_test_data): New variable.
19445 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
19446 (hypot_test_data): New variable.
19447 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
19448 (nextafter_test_data): New variable.
19449 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
19450 (nexttoward_test_data): New variable.
19451 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
19452 (pow_test_data): New variable.
19453 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
19454 (pow_tonearest_test_data): New variable.
19455 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
19456 (pow_towardzero_test_data): New variable.
19457 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
19458 (pow_downward_test_data): New variable.
19459 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
19460 (pow_upward_test_data): New variable.
19461 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
19462 (remainder_test_data): New variable.
19463 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
19464 (scalb_test_data): New variable.
19465 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
19466 * sysdeps/i386/fpu/libm-test-ulps: Update.
19468 2013-05-11 Joseph Myers <joseph@codesourcery.com>
19470 * math/libm-test.inc (fma_test): Use max_value instead of local
19472 (nextafter_test): Likewise.
19474 * math/libm-test.inc (acos_towardzero_test_data): New variable.
19475 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19476 (acos_downward_test_data): New variable.
19477 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19478 (acos_upward_test_data): New variable.
19479 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19480 (acosh_test_data): New variable.
19481 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
19482 (asin_test_data): New variable.
19483 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
19484 (asin_tonearest_test_data): New variable.
19485 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19486 (asin_towardzero_test_data): New variable.
19487 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19488 (asin_downward_test_data): New variable.
19489 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19490 (asin_upward_test_data): New variable.
19491 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19492 (asinh_test_data): New variable.
19493 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
19494 (atan_test_data): New variable.
19495 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
19496 (atanh_test_data): New variable.
19497 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
19498 (cbrt_test_data): New variable.
19499 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
19500 (ceil_test_data): New variable.
19501 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
19502 (cos_test_data): New variable.
19503 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
19504 (cos_tonearest_test_data): New variable.
19505 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19506 (cos_towardzero_test_data): New variable.
19507 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19508 (cos_downward_test_data): New variable.
19509 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19510 (cos_upward_test_data): New variable.
19511 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19512 (cosh_test_data): New variable.
19513 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
19514 (cosh_tonearest_test_data): New variable.
19515 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19516 (cosh_towardzero_test_data): New variable.
19517 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19518 (cosh_downward_test_data): New variable.
19519 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19520 (cosh_upward_test_data): New variable.
19521 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19522 (erf_test_data): New variable.
19523 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
19524 (erfc_test_data): New variable.
19525 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
19526 (exp_test_data): New variable.
19527 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
19528 (exp_tonearest_test_data): New variable.
19529 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19530 (exp_towardzero_test_data): New variable.
19531 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19532 (exp_downward_test_data): New variable.
19533 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19534 (exp_upward_test_data): New variable.
19535 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19536 (exp10_test_data): New variable.
19537 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
19538 (exp2_test_data): New variable.
19539 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
19540 (expm1_test_data): New variable.
19541 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
19542 (fabs_test_data): New variable.
19543 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
19544 (floor_test_data): New variable.
19545 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
19546 (j0_test_data): New variable.
19547 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
19548 (j1_test_data): New variable.
19549 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
19550 (log_test_data): New variable.
19551 (log_test): Run tests with RUN_TEST_LOOP_f_f.
19552 (log10_test_data): New variable.
19553 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
19554 (log1p_test_data): New variable.
19555 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
19556 (log2_test_data): New variable.
19557 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
19558 (logb_test_data): New variable.
19559 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
19560 (logb_downward_test_data): New variable.
19561 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19562 (nearbyint_test_data): New variable.
19563 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
19564 (rint_test_data): New variable.
19565 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
19566 (rint_tonearest_test_data): New variable.
19567 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19568 (rint_towardzero_test_data): New variable.
19569 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19570 (rint_downward_test_data): New variable.
19571 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19572 (rint_upward_test_data): New variable.
19573 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19574 (round_test_data): New variable.
19575 (round_test): Run tests with RUN_TEST_LOOP_f_f.
19576 (sin_test_data): New variable.
19577 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
19578 (sin_tonearest_test_data): New variable.
19579 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19580 (sin_towardzero_test_data): New variable.
19581 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19582 (sin_downward_test_data): New variable.
19583 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19584 (sin_upward_test_data): New variable.
19585 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19586 (sinh_test_data): New variable.
19587 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
19588 (sinh_tonearest_test_data): New variable.
19589 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19590 (sinh_towardzero_test_data): New variable.
19591 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19592 (sinh_downward_test_data): New variable.
19593 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19594 (sinh_upward_test_data): New variable.
19595 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19596 (sqrt_test_data): New variable.
19597 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
19598 (tan_test_data): New variable.
19599 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
19600 (tan_tonearest_test_data): New variable.
19601 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19602 (tan_towardzero_test_data): New variable.
19603 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19604 (tan_downward_test_data): New variable.
19605 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19606 (tan_upward_test_data): New variable.
19607 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19608 (tanh_test_data): New variable.
19609 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
19610 (tgamma_test_data): New variable.
19611 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
19612 (trunc_test_data): New variable.
19613 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
19614 (y0_test_data): New variable.
19615 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
19616 (y1_test_data): New variable.
19617 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
19618 (significand_test_data): New variable.
19619 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
19621 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
19624 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
19626 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
19628 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
19630 2013-05-10 Andreas Jaeger <aj@suse.de>
19633 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
19634 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
19636 2013-05-10 Joseph Myers <joseph@codesourcery.com>
19638 * math/gen-libm-test.pl (adjust_arg): New function.
19639 (special_functions): Handle generating output in both functions
19641 (parse_args): Likewise.
19642 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
19643 $in_func argument to parse_args.
19644 * math/libm-test.inc (struct test_f_f_data): New type.
19645 (IF_ROUND_INIT_): New macro.
19646 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
19647 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
19648 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
19649 (IF_ROUND_INIT_FE_UPWARD): Likewise.
19650 (ROUND_RESTORE_): Likewise.
19651 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
19652 (ROUND_RESTORE_FE_TONEAREST): Likewise.
19653 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
19654 (ROUND_RESTORE_FE_UPWARD): Likewise.
19655 (RUN_TEST_LOOP_f_f): New macro.
19656 (acos_test_data): New variable.
19657 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
19658 (acos_tonearest_test_data): New variable.
19659 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19661 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19663 * benchtests/bench-skeleton.c (startup): Fix coding style.
19665 2013-05-10 Joseph Myers <joseph@codesourcery.com>
19668 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
19669 negative infinity argument.
19670 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
19671 negative infinity argument.
19672 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
19673 negative infinity argument.
19674 * math/libm-test.inc (tgamma_test): Expect errno to be set for
19677 2013-05-10 Florian Weimer <fweimer@redhat.com>
19679 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
19680 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
19681 * iconv/iconv_prog.c (main): Likewise.
19682 * locale/programs/charmap-dir.c (charmap_readdir)
19683 (fopen_uncompressed): Likewise.
19684 * locale/programs/locfile.c (siblings_uncached)
19685 (write_locale_data): Use lstat64 instead of lstat.
19686 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
19689 2013-05-10 Andreas Jaeger <aj@suse.de>
19692 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
19694 Include <locale.h>.
19696 2013-05-09 Carlos O'Donell <carlos@redhat.com>
19698 * elf/dl-close.c (_dl_close_worker): Add comments.
19700 2013-05-09 Joseph Myers <joseph@codesourcery.com>
19703 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
19705 (__ieee754_rem_pio2l): Update comments.
19708 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
19710 (__ieee754_rem_pio2l): Update comments.
19712 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
19713 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
19715 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
19718 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
19719 (M_PI_34_LOG10El): Likewise.
19720 (M_PI2_LOG10El): Likewise.
19721 (M_PI4_LOG10El): Likewise.
19722 (M_PI_LOG10El): Likewise.
19724 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19726 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19728 2013-05-08 Joseph Myers <joseph@codesourcery.com>
19730 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
19731 (MINUS_ZERO_INIT): Likewise.
19732 (PLUS_INFTY_INIT): Likewise.
19733 (MINUS_INFTY_INIT): Likewise.
19734 (QNAN_VALUE_INIT): Likewise.
19735 (MAX_VALUE_INIT): Likewise.
19736 (MIN_VALUE_INIT): Likewise.
19737 (MIN_SUBNORM_VALUE_INIT): Likewise.
19738 (plus_zero): Initialize with PLUS_ZERO_INIT.
19739 (minus_zero): Initialize with MINUS_ZERO_INIT.
19740 (plus_infty): Initialize with PLUS_INFTY_INIT.
19741 (minus_infty): Initialize with MINUS_INFTY_INIT.
19742 (qnan_value): Initialize with QNAN_VALUE_INIT.
19743 (max_value): Initialize with MAX_VALUE_INIT.
19744 (min_value): Initialize with MIN_VALUE_INIT.
19745 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
19747 * math/libm-test.inc (RUN_TEST_if_f): New macro.
19748 (jn_test): Use TEST_if_f instead of TEST_ff_f.
19749 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
19750 (yn_test): Use TEST_if_f instead of TEST_ff_f.
19752 * math/libm-test.inc (RUN_TEST_f_f): New macro.
19753 (RUN_TEST_2_f): Likewise.
19754 (RUN_TEST_ff_f): Likewise.
19755 (RUN_TEST_fi_f): Likewise.
19756 (RUN_TEST_fl_f): Likewise.
19757 (RUN_TEST_fff_f): Likewise.
19758 (RUN_TEST_c_f): Likewise.
19759 (RUN_TEST_f_f1): Likewise.
19760 (RUN_TEST_fF_f1): Likewise.
19761 (RUN_TEST_fI_f1): Likewise.
19762 (RUN_TEST_ffI_f1): Likewise.
19763 (RUN_TEST_c_c): Likewise.
19764 (RUN_TEST_cc_c): Likewise.
19765 (RUN_TEST_f_i): Likewise.
19766 (RUN_TEST_f_i_tg): Likewise.
19767 (RUN_TEST_ff_i_tg): Likewise.
19768 (RUN_TEST_f_b): Likewise.
19769 (RUN_TEST_f_b_tg): Likewise.
19770 (RUN_TEST_f_l): Likewise.
19771 (RUN_TEST_f_L): Likewise.
19772 (RUN_TEST_sincos): Likewise.
19773 * math/gen-libm-test.pl (new_test): Take new argument to indicate
19774 whether to show exceptions. Do not include ");\n" in return
19776 (special_functions): Output call to RUN_TEST_sincos instead of
19777 check_float calls. Update calls to new_test.
19778 (parse_args): Output call to single RUN_TEST_* macro instead of
19779 check_* calls and other assignments. Update calls to new_test.
19785 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
19786 input to result for tgamma overflow.
19787 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
19788 (gamma_coeff): New variable.
19789 (NCOEFF): New macro.
19790 (gamma_positive): New function.
19791 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
19792 underflow here. Use gamma_positive instead of exp (lgamma) for
19794 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
19795 (gamma_coeff): New variable.
19796 (NCOEFF): New macro.
19797 (gammaf_positive): New function.
19798 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
19799 underflow here. Use gamma_positive instead of exp (lgamma) for
19801 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
19802 (gamma_coeff): New variable.
19803 (NCOEFF): New macro.
19804 (gammal_positive): New function.
19805 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
19806 underflow here. Use gamma_positive instead of exp (lgamma) for
19808 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
19809 (gamma_coeff): New variable.
19810 (NCOEFF): New macro.
19811 (gammal_positive): New function.
19812 (__ieee754_gammal_r): Handle positive infinity, overflow and
19813 underflow here. Handle NaN the same as positive infinity. Remove
19814 check x < 0xffffffff for negative integers. Use gamma_positive
19815 instead of exp (lgamma) for other arguments.
19816 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
19817 (gamma_coeff): New variable.
19818 (NCOEFF): New macro.
19819 (gammal_positive): New function.
19820 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
19821 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
19822 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
19823 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
19824 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
19825 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
19826 * sysdeps/generic/math_private.h (__gamma_productf): New
19828 (__gamma_product): Likewise.
19829 (__gamma_productl): Likewise.
19830 * math/Makefile (libm-calls): Add gamma_product.
19831 * math/libm-test.inc (tgamma_test): Add more tests.
19832 * sysdeps/i386/fpu/libm-test-ulps: Update.
19833 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19835 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
19837 * benchtests/bench-skeleton.c (main): Preheat CPU.
19839 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
19841 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
19843 2013-05-07 Roland McGrath <roland@hack.frob.com>
19845 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
19846 and _dl_skip_args_internal.
19848 2013-05-07 Carlos O'Donell <carlos@redhat.com>
19850 * manual/message.texi (Message Translation): Talk about users.
19851 Message to key mapping impacts design.
19853 2013-05-06 Roland McGrath <roland@hack.frob.com>
19855 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
19857 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
19859 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
19860 * sysdeps/wordsize-64/glob64.c: ... here.
19862 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
19863 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
19866 * debug/getlogin_r_chk.c: Moved to ...
19867 * login/getlogin_r_chk.c: ... here.
19868 * debug/Makefile (routines): Move getlogin_r_chk to ...
19869 * login/Makefile (routines): ... here.
19870 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
19871 * login/Versions (libc: GLIBC_2.4): ... here.
19873 * io/poll.c (__poll): Renamed from poll.
19874 Add libc_hidden_def.
19875 (poll): Define as weak alias.
19877 * debug/ptsname_r_chk.c: Moved to ...
19878 * login/ptsname_r_chk.c: ... here.
19879 * debug/Makefile (routines): Move ptsname_r_chk to ...
19880 * login/Makefile (routines): ... here.
19881 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
19882 * login/Versions (libc: GLIBC_2.4): ... here.
19884 * posix/getlogin.c: Moved to ...
19885 * login/getlogin.c: ... here.
19886 * posix/getlogin_r.c: Moved to ...
19887 * login/getlogin_r.c: ... here.
19888 * posix/getlogin_r.c: Moved to ...
19889 * login/getlogin_r.c: ... here.
19890 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
19891 * login/Makefile (routines): ... here.
19892 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
19893 * login/Versions (libc: GLIBC_2.0): ... here.
19895 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
19896 (setrlimit): Define as weak alias.
19898 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
19899 Call __ names for open, ftruncate, and close.
19900 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
19901 (truncate): Define as weak alias.
19903 2013-05-06 Joseph Myers <joseph@codesourcery.com>
19905 * math/gen-libm-test.pl (parse_args): Initialize x before each
19906 test of frexp, modf and remquo.
19908 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
19909 test signgam value.
19911 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19915 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
19917 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19919 2013-05-06 Roland McGrath <roland@hack.frob.com>
19921 * elf/dl-writev.h: New file.
19922 * elf/dl-misc.c: Include it.
19923 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
19924 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
19926 2013-05-04 Joseph Myers <joseph@codesourcery.com>
19928 * math/libm-test.inc (noXFails): Remove variable.
19929 (noXPasses): Likewise.
19930 (BUILD_COMPLEX_INT): Remove macro.
19931 (print_screen): Remove xfail argument.
19932 (print_screen_max_error): Likewise.
19933 (update_stats): Likewise.
19934 (print_max_error): Likewise. Update calls to other affected
19936 (print_complex_max_error): Likewise.
19937 (test_single_exception): Update calls to print_screen.
19938 (test_single_errno): Likewise.
19939 (check_float_internal): Remove xfail argument. Update calls to
19940 other affected functions.
19941 (check_float): Likewise.
19942 (check_complex): Likewise.
19943 (check_int): Likewise.
19944 (check_long): Likewise.
19945 (check_bool): Likewise.
19946 (check_longlong): Likewise.
19947 (main): Don't print noXFails and noXPasses.
19948 * math/gen-libm-test.pl (top level): Don't mention expected
19949 failure handling in comment.
19950 (new_test): Don't handle expected failures.
19951 (parse_args): Don't mention expected failure handling in comment.
19952 (generate_testfile): Don't handle expected failures.
19953 (parse_ulps): Likewise.
19954 (print_ulps_file): Likewise.
19955 (get_failure): Remove function.
19956 (output_test): Don't handle expected failures.
19957 * make/README.libm-test: Don't mention expected failure handling.
19959 * math/libm-test.inc (plus_zero): Make const. Add initializer.
19960 (minus_zero): Likewise.
19961 (plus_infty): Likewise.
19962 (minus_infty): Likewise.
19963 (qnan_value): Likewise.
19964 (max_value): Likewise.
19965 (min_value): Likewise.
19966 (min_subnorm_value): Likewise.
19967 (initialize): Do not initialize those variables dynamically.
19969 2013-05-03 Roland McGrath <roland@hack.frob.com>
19971 * io/open.c (__open_2): Moved to ...
19972 * io/open_2.c: ... this new file.
19973 * io/open64.c (__open64_2): Moved to ...
19974 * io/open64_2.c: ... this new file.
19975 * io/openat.c (__openat_2): Moved to ...
19976 * io/openat_2.c: ... this new file.
19977 * io/openat64.c (__openat64_2): Moved to ...
19978 * io/openat64_2.c: ... this new file.
19979 * io/Makefile (routines): Add them.
19980 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
19981 * sysdeps/unix/sysv/linux/open_2.c: File removed.
19982 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
19983 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
19984 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
19985 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
19986 (__openat64): Add hidden_ver.
19987 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
19988 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
19990 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
19991 Separately conditionalize setting of GLRO(dl_sysinfo) so
19992 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
19993 as well, but the actual setting is only under [NEED_DL_SYSINFO].
19995 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19997 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
19998 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
20000 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
20001 * sysdeps/unix/sysv/linux/powerpc/init-first.c
20002 (_libc_vdso_platform_setup): Add __vdso_time initialization.
20003 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
20004 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
20006 2013-05-03 Joseph Myers <joseph@codesourcery.com>
20008 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
20009 test signgam value.
20011 * math/libm-test.inc (hypot_test): Do not use
20012 IGNORE_ZERO_INF_SIGN.
20014 2013-05-03 Andreas Jaeger <aj@suse.de>
20016 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
20018 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
20019 (PF_MAX): Adjust for VSOCK change.
20021 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20023 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20025 2013-05-02 Carlos O'Donell <carlos@redhat.com>
20028 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
20029 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
20030 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
20032 2013-05-02 David S. Miller <davem@davemloft.net>
20034 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20036 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
20038 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
20040 2013-05-01 Roland McGrath <roland@hack.frob.com>
20042 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
20044 2013-05-01 Richard Smith <richard@metafoo.co.uk>
20047 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
20048 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20049 Use __attribute__ ((__gnu_inline__)).
20050 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20051 Don't use __attribute__ ((__gnu_inline__)).
20053 2013-05-01 Joseph Myers <joseph@codesourcery.com>
20056 * math/s_catan.c (__catan): Handle small real or imaginary part of
20057 input specially to avoid spurious underflow.
20058 * math/s_catanf.c (__catanf): Likewise.
20059 * math/s_catanh.c (__catanh): Likewise.
20060 * math/s_catanhf.c (__catanhf): Likewise.
20061 * math/s_catanhl.c (__catanhl): Likewise.
20062 * math/s_catanl.c (__catanl): Likewise.
20063 * math/libm-test.inc (catan_test): Add more tests.
20064 (catanh_test): Likewise.
20065 * sysdeps/i386/fpu/libm-test-ulps: Update.
20066 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20068 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20070 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20072 2013-04-30 Joseph Myers <joseph@codesourcery.com>
20075 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
20076 accurately for denominator in atan2.
20077 * math/s_catanf.c (__catanf): Likewise.
20078 * math/s_catanh.c (__catanh): Likewise.
20079 * math/s_catanhf.c (__catanhf): Likewise.
20080 * math/s_catanhl.c (__catanhl): Likewise.
20081 * math/s_catanl.c (__catanl): Likewise.
20082 * math/libm-test.inc (catan_test): Add more tests.
20083 (catanh_test): Likewise.
20084 * sysdeps/i386/fpu/libm-test-ulps: Update.
20085 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20087 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20089 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
20091 * benchtests/Makefile (bench): Remove slow benchmarks.
20092 * benchtests/atan-inputs: Add slow benchmark inputs.
20093 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
20094 (BENCH_FUNC): Accept variant offset.
20096 * benchtests/bench-skeleton.c (main): Run benchmark for each
20098 * benchtests/cos-inputs: Add slow benchmark inputs.
20099 * benchtests/exp-inputs: Likewise.
20100 * benchtests/pow-inputs: Likewise.
20101 * benchtests/sin-inputs: Likewise.
20102 * benchtests/slowatan-inputs: Remove.
20103 * benchtests/slowatan.c: Remove.
20104 * benchtests/slowcos-inputs: Remove.
20105 * benchtests/slowcos.c: Remove.
20106 * benchtests/slowexp-inputs: Remove.
20107 * benchtests/slowexp.c: Remove.
20108 * benchtests/slowpow-inputs: Remove.
20109 * benchtests/slowpow.c: Remove.
20110 * benchtests/slowsin-inputs: Remove.
20111 * benchtests/slowsin.c: Remove.
20112 * benchtests/slowtan-inputs: Remove.
20113 * benchtests/slowtan.c: Remove.
20114 * benchtests/tan-inputs: Add slow benchmark inputs.
20115 * scripts/bench.pl: Parse comments and directives.
20117 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
20119 ($(objpfx)bench-%.c): Remove *-ITER.
20120 * benchtests/bench-modf.c: Remove definition of ITER.
20121 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
20122 (main): Loop for DURATION seconds instead of fixed number of
20124 * scripts/bench.pl: Don't expect iterations in parameters.
20126 2013-04-29 Roland McGrath <roland@hack.frob.com>
20128 * io/fchdir.c (__fchdir): Renamed from fchdir.
20129 (fchdir): Define as weak alias.
20131 2013-04-29 Joseph Myers <joseph@codesourcery.com>
20133 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
20134 (ERRNO_EDOM): Likewise.
20135 (ERRNO_ERANGE): Likewise.
20136 (noErrnoTests): New variable.
20137 (init_max_error): Set errno to 0.
20138 (test_single_errno): New function.
20139 (test_errno): Likewise.
20140 (check_float_internal): Call test_errno. Set errno to 0.
20141 (check_complex): Refer to errno tests in comment.
20142 (check_int): Call test_errno. Set errno to 0.
20143 (check_long): Likewise.
20144 (check_bool): Likewise.
20145 (check_longlong): Likewise.
20146 (cos_test): Use ERRNO_* flags for errno tests instead of
20148 (expm1_test): Likewise.
20149 (fmod_test): Likewise.
20150 (ilogb_test): Likewise.
20151 (lgamma_test): Likewise.
20152 (pow_test): Likewise.
20153 (remainder_test): Likewise.
20154 (sin_test): Likewise.
20155 (tan_test): Likewise.
20156 (yn_test): Likewise.
20157 (initialize): Set errno to 0.
20158 (main): Print number of errno tests.
20159 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
20161 2013-04-29 Andreas Jaeger <aj@suse.de>
20164 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
20168 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
20169 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
20173 * stdlib/random.c (__initstate): Return NULL if
20177 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
20178 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
20181 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20183 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20185 2013-04-29 Joseph Myers <joseph@codesourcery.com>
20187 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
20188 of individual tests.
20189 (casin_test): Likewise.
20190 (casinh_test): Likewise.
20192 2013-04-27 Joseph Myers <joseph@codesourcery.com>
20195 * math/s_catan.c (__catan): Handle arguments with large real or
20196 imaginary part separately without squaring.
20197 * math/s_catanf.c (__catanf): Likewise.
20198 * math/s_catanh.c (__catanh): Likewise.
20199 * math/s_catanhf.c (__catanhf): Likewise.
20200 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20202 (__catanhl): Handle arguments with large real or imaginary part
20203 separately without squaring.
20204 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20206 (__catanl): Handle arguments with large real or imaginary part
20207 separately without squaring.
20208 * math/libm-test.inc (catan_test): Add more tests.
20209 (catanh_test): Likewise.
20210 * sysdeps/i386/fpu/libm-test-ulps: Update.
20211 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20213 2013-04-27 Andreas Jaeger <aj@suse.de>
20216 * stdlib/stdlib.h: Update guards for qecvt.
20217 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
20220 2013-04-27 Allan McRae <allan@archlinux.org>
20222 * sysdeps/i386/fpu/libm-test-ulps: Update.
20224 2013-04-26 Joseph Myers <joseph@codesourcery.com>
20227 * math/s_catan.c: Include <float.h>.
20228 (__catan): Ensure underflow exception occurs for underflowed
20230 * math/s_catanf.c: Include <float.h>.
20231 (__catanf): Ensure underflow exception occurs for underflowed
20233 * math/s_catanh.c: Include <float.h>.
20234 (__catanh): Ensure underflow exception occurs for underflowed
20236 * math/s_catanhf.c: Include <float.h>.
20237 (__catanhf): Ensure underflow exception occurs for underflowed
20239 * math/s_catanhl.c: Include <float.h>.
20240 (__catanhl): Ensure underflow exception occurs for underflowed
20242 * math/s_catanl.c: Include <float.h>.
20243 (__catanl): Ensure underflow exception occurs for underflowed
20245 * math/libm-test.inc (catan_test): Add more tests.
20246 (catanh_test): Likewise.
20249 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
20250 underflowed result.
20251 * math/s_ccoshf.c (__ccoshf): Likewise.
20252 * math/s_ccoshl.c (__ccoshl): Likewise.
20253 * math/s_csin.c (__csin): Likewise.
20254 * math/s_csinf.c (__csinf): Likewise.
20255 * math/s_csinh.c (__csinh): Likewise.
20256 * math/s_csinhf.c (__csinhf): Likewise.
20257 * math/s_csinhl.c (__csinhl): Likewise.
20258 * math/s_csinl.c (__csinl): Likewise.
20259 * math/libm-test.inc (ccos_test): Add more tests.
20260 (ccosh_test): Likewise.
20261 (csin_test): Likewise.
20262 (csinh_test): Likewise.
20264 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20266 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
20267 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
20268 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
20269 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
20270 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
20271 powerpc/power5+/fpu folders.
20272 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
20275 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
20277 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20279 2013-04-25 Joseph Myers <joseph@codesourcery.com>
20281 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
20282 additions to variable.
20283 [$(config-machine) = x86_64] (modules-names): Likewise.
20284 ($(objpfx)tst-audit3): Remove dependency.
20285 ($(objpfx)tst-audit3.out): Likewise.
20286 ($(objpfx)tst-audit4): Likewise.
20287 ($(objpfx)tst-audit4.out): Likewise.
20288 ($(objpfx)tst-audit5): Likewise.
20289 ($(objpfx)tst-audit5.out): Likewise.
20290 ($(objpfx)tst-audit6): Likewise.
20291 ($(objpfx)tst-audit6.out): Likewise.
20292 ($(objpfx)tst-audit7): Likewise.
20293 ($(objpfx)tst-audit7.out): Likewise.
20294 (tst-audit3-ENV): Remove variable.
20295 (tst-audit4-ENV): Likewise.
20296 (tst-audit5-ENV): Likewise.
20297 (tst-audit6-ENV): Likewise.
20298 (tst-audit7-ENV): Likewise.
20299 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
20300 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
20301 addition to variable.
20302 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
20303 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
20304 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
20305 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
20306 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
20307 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
20308 tst-audit3, tst-audit4 and tst-audit5.
20309 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
20310 tst-audit6 and tst-audit7.
20311 [$(subdir) = elf] (modules-names): Add audit modules for those
20313 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
20314 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
20315 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
20316 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
20317 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
20318 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
20319 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
20320 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
20321 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
20322 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
20323 [$(subdir) = elf] (tst-audit3-ENV): New variable.
20324 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
20325 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
20326 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
20327 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
20328 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
20330 [$(subdir) = elf && $(config-cflags-avx) = yes]
20331 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
20332 [$(subdir) = elf && $(config-cflags-avx) = yes]
20333 (CFLAGS-tst-auditmod4a.c): Likewise.
20334 [$(subdir) = elf && $(config-cflags-avx) = yes]
20335 (CFLAGS-tst-auditmod4b.c): Likewise.
20336 [$(subdir) = elf && $(config-cflags-avx) = yes]
20337 (CFLAGS-tst-auditmod6b.c): Likewise.
20338 [$(subdir) = elf && $(config-cflags-avx) = yes]
20339 (CFLAGS-tst-auditmod6c.c): Likewise.
20340 [$(subdir) = elf && $(config-cflags-avx) = yes]
20341 (CFLAGS-tst-auditmod7b.c): Likewise.
20342 * elf/tst-audit3.c: Move to ...
20343 * sysdeps/x86_64/tst-audit3.c: ... here.
20344 * elf/tst-audit4.c: Move to ...
20345 * sysdeps/x86_64/tst-audit4.c: ... here.
20346 * elf/tst-audit5.c: Move to ...
20347 * sysdeps/x86_64/tst-audit5.c: ... here.
20348 * elf/tst-audit6.c: Move to ...
20349 * sysdeps/x86_64/tst-audit6.c: ... here.
20350 * elf/tst-audit7.c: Move to ...
20351 * sysdeps/x86_64/tst-audit7.c: ... here.
20352 * elf/tst-auditmod3a.c: Move to ...
20353 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
20354 * elf/tst-auditmod3b.c: Move to ...
20355 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
20356 * elf/tst-auditmod4a.c: Move to ...
20357 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
20358 * elf/tst-auditmod4b.c: Move to ...
20359 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
20360 * elf/tst-auditmod5a.c: Move to ...
20361 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
20362 * elf/tst-auditmod5b.c: Move to ...
20363 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
20364 * elf/tst-auditmod6a.c: Move to ...
20365 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
20366 * elf/tst-auditmod6b.c: Move to ...
20367 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
20368 * elf/tst-auditmod6c.c: Move to ...
20369 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
20370 * elf/tst-auditmod7a.c: Move to ...
20371 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
20372 * elf/tst-auditmod7b.c: Move to ...
20373 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
20375 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
20378 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
20379 define unconditionally.
20380 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
20381 define unconditionally.
20382 (INT8_C, INT16_C, etc.): Likewise.
20384 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
20386 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
20387 __ehdr_start with hidden visibility.
20389 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
20391 2013-04-24 Carlos O'Donell <carlos@redhat.com>
20393 * math/libm-test.inc (cos_test): Use accurate hex constants.
20394 (sincost_test): Likewise.
20396 2013-04-24 Joseph Myers <joseph@codesourcery.com>
20398 * math/libm-test.inc (catan_test): Add more tests.
20399 (catanh_test): Likewise.
20401 * math/s_catanf.c (__catanf): Use suffixed floating-point
20403 * math/s_catanhf.c (__catanhf): Likewise.
20404 * math/s_catanhl.c (__catanhl): Likewise.
20405 * math/s_catanl.c (__catanl): Likewise.
20408 * math/s_catan.c (__catan): Calculate imaginary part of result
20409 with log1p not log unless computing log of number close to 0.
20410 * math/s_catanf.c (__catanf): Likewise.
20411 * math/s_catanl.c (__catanl): Likewise.
20412 * math/s_catanh.c (__catanh): Calculate real part of result with
20413 log1p not log unless computing log of number close to 0.
20414 * math/s_catanhf.c (__catanhf): Likewise.
20415 * math/s_catanhl.c (__catanhl): Likewise.
20416 * math/libm-test.inc (catan_test): Add more tests.
20417 (catanh_test): Likewise.
20418 * sysdeps/i386/fpu/libm-test-ulps: Update.
20419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20421 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
20423 * benchtests/Makefile: Mention files in which fast and slow
20424 paths of math functions are implemented.
20426 2013-04-23 Roland McGrath <roland@hack.frob.com>
20428 * sysdeps/posix/timespec_get.c: New file.
20430 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20432 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
20434 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
20436 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
20437 powerpc/power5/fpu folders.
20438 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
20439 * benchtests/Makefile: Add modf testcase.
20440 * benchtests/bench-modf.c: New file: Benchmark test for mo
20442 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
20445 * time/Makefile (tests): Add tst-strptime-whitespace.
20446 * time/strptime_l.c (get_number): Use ISSPACE.
20447 (__strptime_internal): Likewise.
20448 * time/tst-strptime-whitespace.c: New test case.
20450 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
20452 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
20454 (_nss_files_init): Set it here.
20456 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
20458 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
20459 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
20462 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
20464 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
20466 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
20468 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
20471 2013-04-21 David S. Miller <davem@davemloft.net>
20473 * po/ru.po: Update Russion translation from translation project.
20475 2013-04-17 Adam Conrad <adconrad@0c3.net>
20477 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
20480 2013-04-17 Carlos O'Donell <carlos@redhat.com>
20482 * configure.in: Remove i386 configure warning. Remove i386 case.
20483 * configure: Regenerate.
20484 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
20485 Add example to error message.
20486 * sysdeps/i386/configure: Regenerate.
20488 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20490 * benchtests/Makefile (bench): Add cos, tan, slowcos and
20492 * benchtests/cos-inputs: New file.
20493 * benchtests/slowcos-inputs: New file.
20494 * benchtests/slowcos.c: New file.
20495 * benchtests/slowtan-inputs: New file.
20496 * benchtests/slowtan.c: New file.
20497 * benchtests/tan-inputs: New file.
20499 2013-04-16 Roland McGrath <roland@hack.frob.com>
20501 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
20504 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20506 * benchtests/Makefile: Include cppflags-iterator.mk to add
20507 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
20509 * Makefile.in (bench-clean): New target.
20510 * benchtests/Makefile (bench-clean): Likewise.
20512 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
20514 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
20516 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
20518 * stdio-common/tstdiomisc.c: Fix coding-style violation.
20520 2013-04-15 Andreas Schwab <schwab@suse.de>
20522 * nscd/grpcache.c (cache_addgr): Properly check for short write.
20523 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20524 * nscd/pwdcache.c (cache_addpw): Likewise.
20525 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
20528 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20530 * benchtests/Makefile (bench): Write all output to
20531 bench-out.tmp together.
20533 2013-04-15 Andreas Schwab <schwab@suse.de>
20535 * nscd/nscd.c (main): Don't fork again after closing files.
20537 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20539 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
20541 * benchtests/Rules (bench-deps): Collect dependencies into a
20542 single variable. Add Makefile to dependencies.
20543 ($(objpfx)bench-%.c): Depend on bench-deps.
20545 2013-04-12 Roland McGrath <roland@hack.frob.com>
20546 Xavier Roche <roche+kml2@exalead.com>
20549 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
20550 just that it's a file descriptor.
20551 * manual/llio.texi (Synchronizing AIO Operations): Update description
20552 for EBADF error from aio_fsync.
20554 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
20556 * Rules (bench): Move target definition...
20557 * benchtests/Makefile: ... here.
20559 2013-04-11 Carlos O'Donell <carlos@redhat.com>
20561 * math/libm-test.inc (cos_test): Fix PI/2 test.
20562 (sincos_test): Likewise.
20563 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
20564 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
20566 2013-04-11 Andreas Schwab <schwab@suse.de>
20569 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
20570 accept exponent character only when digits were seen.
20571 * stdio-common/Makefile (tests): Add bug26.
20572 * stdio-common/bug26.c: New file.
20575 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
20578 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20580 * Makeconfig (rtld-prefix): Define built linker prefix.
20581 * Rules (run-bench): Use it.
20582 * math/Makefile (run-regen-ulps): Likewise.
20584 * Rules (bench): Remove eval.
20586 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20587 Roland McGrath <roland@hack.frob.com>
20588 Ondrej Bilka <neleai@seznam.cz>
20591 * time/getdate.c: Include ctype.h and alloca.h.
20592 (__getdate_r): Trim leading and trailing spaces of input.
20593 * time/tst-getdate.c (tests): Add tests with leading and
20596 2013-04-08 Roland McGrath <roland@hack.frob.com>
20599 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
20600 when computing value.
20602 2013-04-06 Carlos O'Donell <carlos@redhat.com>
20604 * math/README.libm-test (How can I generate "libm-test-ulps"?):
20605 Use testrun.sh to run libm tests.
20608 * elf/dl-open.c (dl_open_worker): memset all of seen array.
20610 2013-04-06 Marko Myllynen <myllynen@redhat.com>
20613 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
20615 2013-04-06 Carlos O'Donell <carlos@redhat.com>
20617 * Makefile.in (regen-ulps): New target.
20618 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
20619 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
20620 [ifneq (no,$(PERL)] (regen-ulps): New target.
20621 [ifeq (no,$(PERL)] (regen-ulps): New target.
20622 * math/libm-test.inc (ulps_file_name): Define.
20623 (output_dir): New variable.
20624 (options): Add "output-dir" option.
20625 (parse_opt): Handle 'o' case.
20626 (main): If output_dir is non-NULL use it as a prefix
20628 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
20630 2013-04-06 Carlos O'Donell <carlos@redhat.com>
20632 [BZ #10060, #10062]
20633 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
20634 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
20635 fail configure if __sync_val_compare_and_swap is not inlined.
20636 * sysdeps/i386/configure: Regenerate.
20637 * configure.in: Build for i686 when configured for i386.
20638 * configure: Regenerate.
20639 * README: Remove i386 reference.
20641 2013-04-06 Carlos O'Donell <carlos@redhat.com>
20643 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
20644 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20646 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
20648 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
20649 (lmsnanval): New variables.
20650 (F): Add conversion tests.
20651 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
20652 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
20654 * stdio-common/tstdiomisc.c (F): Properly collect individual
20657 [BZ #14686, #15336]
20658 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
20659 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
20660 Instead, use input NaN values or generate a qNaN by arithmetic
20661 operation. Also fix bugs to comply with the standard.
20662 * math/libm-test.inc (remainder_test): Add more tests.
20664 [BZ #15335, #15342]
20665 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
20666 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
20667 input NaN values or generate a qNaN by arithmetic operation.
20669 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
20672 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
20675 2013-04-03 Joseph Myers <joseph@codesourcery.com>
20678 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
20679 underflowed result.
20680 * math/s_cexpf.c (__cexpf): Likewise.
20681 * math/s_cexpl.c (__cexpl): Likewise.
20682 * math/libm-test.inc (cexp_test): Add more tests.
20684 2013-04-03 Andreas Schwab <schwab@suse.de>
20687 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
20688 order arrays from heap if bigger than alloca cutoff.
20690 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
20692 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
20693 (SNAN_TESTS_double): Refer to GCC PR56831.
20694 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
20697 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
20699 * Rules (bench): Move bench.out after the run is complete.
20701 * Rules (bench): Echo currently running benchmark.
20703 * benchtests/Makefile (bench): Add atan and slowatan.
20704 * benchtests/atan-inputs: New file.
20705 * benchtests/slowatan-inputs: New file.
20706 * benchtests/slowatan.c: New file.
20708 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
20709 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
20713 * sysdeps/unix/sysv/linux/kernel-features.h
20714 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
20715 __ASSUME_XFS_RESTRICTED_CHOWN.
20716 * sysdeps/unix/sysv/linux/pathconf.c
20717 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
20718 Save and restore errno.
20720 2013-04-02 Joseph Myers <joseph@codesourcery.com>
20723 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
20724 arguments using __kernel_casinh.
20725 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
20726 arguments using __kernel_casinhf.
20727 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
20728 arguments using __kernel_casinhl.
20729 * math/libm-test.inc (cacosh_test): Add more tests.
20730 * sysdeps/i386/fpu/libm-test-ulps: Update.
20731 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20733 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20735 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
20736 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
20738 * bench/Makefile (bench): Add sin and slowsin.
20739 * benchtests/sin-inputs: New file.
20740 * benchtests/slowsin-inputs: New file.
20741 * benchtests/slowsin.c: New file.
20743 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
20744 (bench): Add slowexp and slowpow.
20745 (exp-ITER): Increase iterations.
20746 (pow-ITER): Likewise.
20747 * benchtests/exp-inputs: Change input.
20748 * benchtests/pow-inputs: Likewise.
20749 * benchtests/slowexp-inputs: New file.
20750 * benchtests/slowexp.c: New file.
20751 * benchtests/slowpow-inputs: New file.
20752 * benchtests/slowpow.c: New file.
20754 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20756 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
20758 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
20759 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
20760 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
20761 * benchtests/Makefile: Add rint benchtest.
20762 * benchtests/rint-inputs: Input for rint benchtest.
20764 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
20766 * Versions.def (libm): Add GLIBC_2.18.
20767 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
20768 hidden libm prototypes.
20769 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
20770 * math/Makefile (libm-calls): Add s_issignaling.
20771 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
20772 __issignalingf, __issignalingl. Adjust all libm.abilist files.
20773 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
20775 * math/math.h [__USE_GNU] (issignaling): New macro.
20776 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
20777 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
20778 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
20779 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
20780 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
20781 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
20782 * manual/arith.texi (issignaling): New section.
20783 * manual/libm-err-tab.pl (@all_functions): Update comment.
20784 * math/gen-libm-test.pl (parse_args): Apply special handling for
20786 * math/libm-test.inc (print_float, issignaling_test): New
20788 (check_float_internal): Add issignaling checks.
20789 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
20790 default definition.
20791 * sysdeps/powerpc/math-tests.h: New file.
20792 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
20794 * math/test-snan.c (TEST_FUNC): Likewise.
20796 2013-03-30 David S. Miller <davem@davemloft.net>
20798 * po/de.po: Update from translation team.
20800 2013-03-30 Joseph Myers <joseph@codesourcery.com>
20803 * math/k_casinh.c (__kernel_casinh): Handle arguments with
20804 imaginary part less than 1.0 and real part less than 0.5
20806 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20807 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20808 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
20809 (cacos_test): Add more tests.
20810 (casin_test): Likewise.
20811 (casinh_test): Likewise.
20812 * sysdeps/i386/fpu/libm-test-ulps: Update.
20813 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20815 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20817 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
20818 ONE with its value.
20820 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
20821 (__pow_mp): Replace ONE and MONE with their values.
20822 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20823 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
20824 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20825 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
20826 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20827 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20829 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
20831 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
20832 (__pow_mp): Replace ZERO and MZERO with their values.
20833 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
20834 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20835 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20836 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20837 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20838 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
20841 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
20843 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
20845 2013-03-28 Roland McGrath <roland@hack.frob.com>
20847 * include/stdlib.h [!SHARED] (__call_tls_dtors):
20848 Declare with __attribute__ ((weak)).
20849 * stdlib/exit.c (__libc_atexit) [!SHARED]:
20850 Call __call_tls_dtors only if it's not NULL.
20852 2013-03-28 Roland McGrath <roland@hack.frob.com>
20854 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
20855 didn't do it already, then set _dl_phdr and _dl_phnum based on the
20856 magic __ehdr_start linker symbol if it's defined.
20857 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
20858 them up here if it was already done.
20860 * elf/dl-support.c (_dl_phdr): Make pointer to const.
20861 (_dl_aux_init): Use const in cast when setting it.
20862 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
20863 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
20864 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
20866 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
20868 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
20869 * csu/libc-tls.c: Nor here.
20870 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
20872 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
20873 (__libc_message): Never call vsyslog.
20875 2013-03-28 Alan Modra <amodra@gmail.com>
20877 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
20879 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
20882 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20885 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
20887 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20889 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20892 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
20893 Don't add gid passed as argument.
20895 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
20897 2013-03-27 Joseph Myers <joseph@codesourcery.com>
20900 * math/k_casinh.c (__kernel_casinh): Handle arguments with
20901 imaginary part between 1.0 and 1.5 and real part less than 0.5
20903 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20904 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20905 * math/libm-test.inc (cacos_test): Add more tests.
20906 (casin_test): Likewise.
20907 (casinh_test): Likewise.
20908 * sysdeps/i386/fpu/libm-test-ulps: Update.
20909 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20911 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20913 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
20916 (denorm): Likewise.
20917 (__dbl_mp): Likewise.
20918 (add_magnitudes): Likewise.
20919 (sub_magnitudes): Likewise.
20927 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
20929 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
20930 (__dubcos): Likewise.
20931 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
20932 (__ieee754_acos): Likewise.
20933 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
20934 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
20935 (__exp1): Likewise.
20936 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20937 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
20939 (my_log2): Likewise.
20940 (checkint): Likewise.
20941 * sysdeps/ieee754/dbl-64/e_remainder.c
20942 (__ieee754_remainder): Likewise.
20943 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20944 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
20945 (bsloww): Likewise.
20946 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20948 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
20949 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
20950 MANTISSA_STORE_T to store computations on mantissa. Use
20951 macros for rounding and division.
20952 (denorm): Likewise.
20953 (__dbl_mp): Likewise.
20954 (add_magnitudes): Likewise.
20955 (sub_magnitudes): Likewise.
20958 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
20959 powers of two in terms of TWOPOW macro.
20960 (mp_no): Make type of mantissa as MANTISSA_T.
20961 [!RADIXI]: Define RADIXI.
20962 [!TWO52]: Define TWO52.
20963 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
20965 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20967 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
20968 llroundl symbol when building for PPC32.
20970 2013-03-24 Mark H Weaver <mhw@netris.org>
20972 * manual/arith.texi (Normalization Functions): Fix prototypes for
20973 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
20975 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20978 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
20979 high value to check if expl overflow.
20980 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
20981 to check for underflow and overflow.
20982 * math/libm-test.inc: Add exp test.
20984 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
20987 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
20990 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20992 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
20995 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
20997 * math/gen-libm-test.pl (parse_args, special_functions): Properly
20998 wrap blocks consisting of several statements.
21000 * sysdeps/generic/math-tests.h: New file.
21001 * sysdeps/i386/fpu/math-tests.h: Likewise.
21002 * math/test-snan.c: Include it.
21003 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
21005 2013-03-21 Joseph Myers <joseph@codesourcery.com>
21008 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
21009 (__ieee754_j0l): Do not improve calculations using cos of twice
21010 input for inputs above LDBL_MAX / 2.0L.
21011 (__ieee754_y0l): Likewise.
21012 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
21013 (__ieee754_j1l): Do not improve calculations using cos of twice
21014 input for inputs above LDBL_MAX / 2.0L.
21015 (__ieee754_y1l): Likewise.
21016 * math/libm-test.inc (j0_test): Add another test.
21017 (j1_test): Likewise.
21018 (y0_test): Likewise.
21019 (y1_test): Likewise.
21020 * sysdeps/i386/fpu/libm-test-ulps: Update.
21022 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21024 * Rules ($(objpfx)bench-%.c): Include code from a C source
21027 2013-03-21 Joseph Myers <joseph@codesourcery.com>
21030 * math/k_casinh.c (__kernel_casinh): Handle arguments with
21031 imaginary part 1.0 and real part less than 0.5 specially.
21032 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21033 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21034 * math/libm-test.inc (cacos_test): Add more tests.
21035 (casin_test): Likewise.
21036 (casinh_test): Likewise.
21037 * sysdeps/i386/fpu/libm-test-ulps: Update.
21038 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21040 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21042 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
21043 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
21045 2013-03-20 Joseph Myers <joseph@codesourcery.com>
21047 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
21048 * config.make.in (config-cflags-sse4): Remove variable.
21049 (config-cflags-avx): Likewise.
21050 (config-cflags-sse2avx): Likewise.
21051 (config-cflags-novzeroupper): Likewise.
21052 (config-asflags-i686): Likewise.
21053 (have-mfma4): Likewise.
21054 (have-as-vis3): Likewise.
21056 * configure.in (MIG): Do not AC_SUBST.
21057 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
21058 (libc_cv_cc_sse4): Do not AC_SUBST.
21059 (libc_cv_cc_avx): Likewise.
21060 (libc_cv_cc_sse2avx): Likewise.
21061 (libc_cv_cc_novzeroupper): Likewise.
21062 (libc_cv_cc_fma4): Likewise.
21063 (libc_cv_as_i686): Likewise.
21064 (libc_cv_sparc_as_vis3): Likewise.
21065 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
21067 (config-asflags-i686): Likewise.
21068 (config-cflags-avx): Likewise.
21069 (config-cflags-sse2avx): Likewise.
21070 (have-mfma4): Likewise.
21071 (config-cflags-novzeroupper): Likewise.
21072 * sysdeps/mach/configure.in (MIG): Likewise.
21073 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
21074 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
21076 (config-cflags-avx): Likewise.
21077 (config-cflags-sse2avx): Likewise.
21078 (have-mfma4): Likewise.
21079 (config-cflags-novzeroupper): Likewise.
21080 * configure: Regenerated.
21081 * sysdeps/i386/configure: Likewise.
21082 * sysdeps/mach/configure: Likewise.
21083 * sysdeps/sparc/configure: Likewise.
21084 * sysdeps/x86_64/configure: Likewise.
21086 2013-03-20 Roland McGrath <roland@hack.frob.com>
21089 * locale/programs/localedef.c (options): Put N_ translation marker
21090 on argument names, not just descriptions.
21092 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21094 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
21096 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
21099 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
21101 2013-03-19 Roland McGrath <roland@hack.frob.com>
21103 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
21104 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
21105 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
21106 [!BEFORE_ABORT] (before_abort): New function.
21107 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
21108 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
21109 (writev_for_fatal): New function.
21110 (WRITEV_FOR_FATAL): New macro; call that.
21111 (backtrace_and_maps): New function.
21112 (BEFORE_ABORT): New macro; call that.
21113 (struct str_list): Type removed.
21114 (__libc_message, __libc_fatal): Functions removed.
21115 Include <sysdeps/posix/libc_fatal.c> instead.
21117 2013-03-19 Joseph Myers <joseph@codesourcery.com>
21119 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
21121 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
21124 2013-03-19 Andreas Schwab <schwab@suse.de>
21126 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
21127 * sysdeps/gnu/configure: Regenerate.
21129 * configure.in: Substitute libc_cv_rtlddir.
21130 * configure: Regenerate.
21131 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
21132 * Makeconfig (rtlddir, inst_rtlddir): New variables.
21133 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
21134 * elf/Makefile (install-others, CFLAGS-interp.c)
21135 (ldso_install, common-ldd-rewrite): Likewise.
21136 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
21137 $(inst_slibdir)/$(rtld-installed-name).
21138 * scripts/rellns-sh: Add -p option.
21139 * Makerules (make-shlib-link): Use rellns-sh to get relative name
21142 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21144 * manual/nptl.texi: Renamed to ...
21145 * manual/threads.texi: ... this.
21146 * manual/Makefile (chapters): Update.
21148 2013-03-18 Roland McGrath <roland@hack.frob.com>
21151 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
21152 on argument names, not just descriptions.
21153 * malloc/memusagestat.c (options): Likewise.
21154 * nss/getent.c (options): Likewise.
21156 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
21159 * iconv/iconv_prog.c (options): Put N_ translation marker
21160 on argument names, not just descriptions.
21161 * iconv/iconvconfig.c (options): Likewise.
21163 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
21165 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
21166 implementation which is faster on all x86_64 architectures.
21167 Tested on AMD, Intel Nehalem, SNB, IVB.
21168 * sysdeps/x86_64/strnlen.S: Likewise.
21170 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21171 Remove all multiarch strlen and strnlen versions.
21172 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
21173 Remove strlen and strnlen related parts.
21175 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
21176 Inline strlen part.
21177 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
21179 * sysdeps/x86_64/multiarch/strlen.S: Remove.
21180 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
21181 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
21182 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
21183 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
21184 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
21186 2013-03-17 Carlos O'Donell <carlos@redhat.com>
21188 * manual/memory.texi (Malloc Tunable Parameters):
21189 Sort parameters alphabetically. Add comments for missing entries.
21191 2013-03-17 David S. Miller <davem@davemloft.net>
21193 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21195 2013-03-16 Joseph Myers <joseph@codesourcery.com>
21198 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
21199 for arguments at most half maximum finite value.
21200 * math/libm-test.inc (j0_test): Add more tests.
21201 (j1_test): Likewise.
21202 (y0_test): Likewise.
21203 (y1_test): Likewise.
21204 * sysdeps/i386/fpu/libm-test-ulps: Update.
21205 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21208 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
21209 1 / x and functions P and Q for arguments above 0x1p256L.
21210 (__ieee754_y0l): Likewise.
21211 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
21212 (__ieee754_y1l): Likewise.
21213 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
21214 (j1_test): Likewise.
21215 (y0_test): Likewise.
21216 (y1_test): Likewise.
21218 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
21220 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
21223 2013-03-15 Roland McGrath <roland@hack.frob.com>
21225 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
21226 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
21227 zero since it's initialized to EXEC_PAGESIZE.
21229 * sysdeps/unix/sysv/linux/ldsodefs.h
21230 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
21231 * sysdeps/generic/ldsodefs.h: ... here.
21233 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
21235 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
21237 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
21239 * math/test-snan.c: Renamed from
21240 sysdeps/powerpc/fpu/test-powerpc-snan.c.
21241 * math/Makefile (tests): Add test-snan.
21242 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
21245 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
21246 SUFFIX. Initialize qNaN_var with __builtin_nan family of
21248 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
21249 __builtin_nan family of functions.
21250 * math/libm-test.inc (initialize): Initialize qnan_value with
21251 __builtin_nan family of functions.
21252 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
21254 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
21256 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
21257 storage class. Initialize qNaN_var and sNaN_var with
21258 __builtin_nan and __builtin_nans families of functions,
21261 * math/libm-test.inc (acosh_test): Also test with qNaN input.
21262 (sqrt_test): Remove duplicate test with qNaN input.
21263 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
21264 (round_test, signbit_test, significand_test): Note missing +/-Inf
21265 as well as qNaN tests.
21267 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
21268 qNaN_var. Fix a few strings, too.
21269 * math/libm-test.inc (nan_value): Rename to qnan_value.
21270 * math/gen-libm-test.pl (%beautify): Adjust to that.
21271 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
21272 * math/test-misc.c (main): Likewise.
21273 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
21274 to __qnan_bytes, and __qnan_union, respectively.
21275 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
21277 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
21278 and lqnanval, respectively.
21279 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
21280 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
21281 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
21282 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
21284 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
21285 * math/test-misc.c (main) [__x86_64__]: Enable test for long
21288 * math/test-misc.c (main): Fix copy'n'pastos.
21289 * misc/tst-efgcvt.c (special): Likewise.
21291 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
21292 Remove declarations.
21294 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21296 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
21297 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
21298 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
21299 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
21301 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21303 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
21304 macro to return vdso values correctly in IFUNC implementations.
21305 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
21306 Optimization by using IFUNC.
21308 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21309 Richard Henderson <rth@redhat.com>
21310 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21312 * Makefile.in (bench): New target.
21313 * NEWS: Mention the benchmark framework.
21314 * Rules (bench): Likewise.
21315 (binaries-bench): Generate binaries for functions to
21317 * benchtests/Makefile: New makefile for benchmark tests.
21318 * benchtests/bench-skeleton.c: New skeleton file for benchmark
21320 * benchtests/exp-inputs: New input file for EXP function.
21321 * benchtests/pow-inputs: New input file for POW function.
21322 * scripts/bench.pl: New script to generate source files for
21323 benchmark programs.
21325 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21327 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21328 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
21329 computations on mantissa. Use macros for rounding and
21331 (denorm): Likewise.
21332 (__dbl_mp): Likewise.
21333 (add_magnitudes): Likewise.
21334 (sub_magnitudes): Likewise.
21337 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
21338 powers of two in terms of TWOPOW macro.
21339 (mp_no): Make type of mantissa as MANTISSA_T.
21340 [!RADIXI]: Define RADIXI.
21341 [!TWO52]: Define TWO52.
21342 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21344 * manual/nptl.texi (cindex): Modify threads to pthreads.
21346 2013-03-15 Joseph Myers <joseph@codesourcery.com>
21348 * sysdeps/x86_64/preconfigure: Regenerated.
21350 2013-03-14 Joseph Myers <joseph@codesourcery.com>
21353 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
21355 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
21356 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
21358 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
21359 * math/libm-test.inc (j0_test): Do not allow one spurious
21360 underflow exception.
21361 (y1_test): Likewise.
21363 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21365 * manual/Makefile (chapters): Add nptl.
21366 * manual/debug.texi (Debugging Support): Add link to Threads
21368 * manual/nptl.texi: New file.
21370 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
21372 2013-03-14 Petr Baudis <pasky@ucw.cz>
21374 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
21375 for non-NULL pointer before the memory validity test. Pointed
21376 out by Holger Brunck <holger.brunck@keymile.com>.
21378 2013-03-13 Andreas Schwab <schwab@suse.de>
21380 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
21383 2013-03-13 Joseph Myers <joseph@codesourcery.com>
21385 * timezone/zic.c: Update from tzcode 2013b.
21387 2013-03-12 Carlos O'Donell <carlos@redhat.com>
21389 * manual/install.texi (Configuring and compiling):
21390 Mention i686 and i586.
21391 * INSTALL: Regenerate.
21393 2013-03-12 Roland McGrath <roland@hack.frob.com>
21395 * sysdeps/init_array/elf-init.c: New file.
21397 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
21398 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
21400 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
21401 __gmon_start__ as global, but as static with a .preinit_array pointer.
21402 * sysdeps/init_array/gmon-start.c: New file. Use that.
21403 * sysdeps/init_array/crti.S: New file, empty except for comments.
21404 * sysdeps/init_array/crtn.S: Likewise.
21406 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
21408 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
21410 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21411 Remove Prefer_SSE_for_memop.
21412 * sysdeps/x86_64/multiarch/init-arch.h: Remove
21413 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
21414 HAS_PREFER_SSE_FOR_MEMOP.
21415 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
21417 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21418 Remove bzero, memset ifunc support.
21419 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
21420 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
21421 * sysdeps/x86_64/multiarch/memset.S: Likewise.
21422 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21424 2013-03-11 Andreas Schwab <schwab@suse.de>
21427 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
21429 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
21430 (GLIBC_2.16): Remove pthread_atfork.
21432 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
21434 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
21435 (ptestcases.h): Likewise.
21437 2013-03-08 Roland McGrath <roland@hack.frob.com>
21439 * Makeconfig ($(common-objpfx)config.status): Depend on
21440 sysdeps/*/preconfigure{,.in} too.
21442 2013-03-08 Joseph Myers <joseph@codesourcery.com>
21444 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
21445 (__free_hook): Use void * instead of __malloc_ptr_t.
21446 (__malloc_hook): Likewise.
21447 (__realloc_hook): Likewise.
21448 (__memalign_hook): Likewise.
21449 (__after_morecore_hook): Likewise.
21450 * malloc/arena.c (save_malloc_hook): Likewise.
21451 (save_free_hook): Likewise.
21452 * malloc/hooks.c (malloc_hook_ini): Likewise.
21453 (realloc_hook_ini): Likewise.
21454 (memalign_hook_ini): Likewise.
21455 * malloc/malloc.c (malloc_hook_ini): Likewise.
21456 (realloc_hook_ini): Likewise.
21457 (memalign_hook_ini): Likewise.
21458 (__free_hook): Likewise.
21459 (__malloc_hook): Likewise.
21460 (__realloc_hook): Likewise.
21461 (__memalign_hook): Likewise.
21462 (__libc_malloc): Likewise.
21463 (__libc_free): Likewise.
21464 (__libc_realloc): Likewise.
21465 (__libc_memalign): Likewise.
21466 (__libc_valloc): Likewise.
21467 (__libc_pvalloc): Likewise.
21468 (__libc_calloc): Likewise.
21469 (__posix_memalign): Likewise.
21470 * malloc/morecore.c (__sbrk): Likewise.
21471 (__default_morecore): Likewise.
21473 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
21475 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
21476 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
21477 __malloc_ptrdiff_t.
21479 * malloc/malloc.h (__malloc_size_t): Remove macro.
21480 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
21482 (old_memalign_hook): Likewise.
21483 (old_realloc_hook): Likewise.
21484 (struct hdr): Likewise.
21486 (mallochook): Likewise.
21487 (memalignhook): Likewise.
21488 (reallochook): Likewise.
21489 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
21490 (tr_old_realloc_hook): Likewise.
21491 (tr_old_memalign_hook): Likewise.
21492 (tr_mallochook): Likewise.
21493 (tr_reallochook): Likewise.
21494 (tr_memalignhook): Likewise.
21496 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21498 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
21499 default_ldbl_pack and using as default implementation.
21500 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
21502 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
21503 redundant definition.
21504 (ldbl_insert_mantissa): Likewise.
21505 (ldbl_canonicalize): Likewise.
21506 (ldbl_nearbyint): Likewise.
21507 (ldbl_pack): Rename to ldbl_pack_ppc.
21508 (ldbl_unpack): Rename to ldbl_unpack_ppc.
21509 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
21510 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
21512 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
21514 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
21515 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
21516 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
21517 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
21518 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
21519 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
21520 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
21521 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
21523 2013-03-07 Andreas Jaeger <aj@suse.de>
21525 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21528 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
21530 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
21531 Include mpa.h and declare __MPEXP.
21532 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
21533 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21534 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21535 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
21536 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21537 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21538 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
21540 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
21541 (__slowpow): Use long double EXPL and LOGL functions to
21543 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21544 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21545 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
21546 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21547 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21548 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
21550 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
21551 intermediate variable to calculate exponent.
21553 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
21557 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
21558 [!NO__SQR]: Define __sqr.
21559 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
21560 and NO__SQR. Remove all code except __mul and __sqr. Include
21561 sysdeps/ieee754/dbl-64/mpa.c.
21562 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21565 * posix/Makefile (tests): Add tst-pathconf.
21566 * posix/tst-pathconf.c: New test case.
21567 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
21569 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
21571 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
21573 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
21575 2013-03-06 Andreas Jaeger <aj@suse.de>
21577 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
21578 definition via __MAP_ANONYMOUS.
21580 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
21581 it's not part of Linux headers.
21583 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
21584 (MAP_HUGE_MASK): Define.
21586 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21588 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21589 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21591 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21592 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21594 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21595 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
21597 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21599 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
21600 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
21601 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
21602 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
21603 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
21604 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
21606 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
21609 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21610 Handle f2fs and efivarfs.
21612 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
21615 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
21616 (EFIVARFS_MAGIC): Add.
21617 (F2FS_LINK_MAX): Add.
21619 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21621 * stdio-common/vfprintf.c: Replace __builtin_expect with
21624 2013-03-06 Joseph Myers <joseph@codesourcery.com>
21627 * sysdeps/generic/bp-sym.h: Remove file.
21628 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
21629 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
21630 <bp-sym.h> and <bp-asm.h>.
21631 (__longjmp): Don't use BP_SYM.
21632 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
21634 (memcpy): Don't use BP_SYM.
21635 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
21636 <bp-sym.h> and <bp-asm.h>.
21637 (memcpy): Don't use BP_SYM.
21638 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
21640 (memcpy): Don't use BP_SYM.
21641 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
21643 (memset): Don't use BP_SYM.
21644 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21645 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21646 (__bzero): Don't use BP_SYM.
21647 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21648 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21649 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
21650 <bp-sym.h> and <bp-asm.h>.
21651 (memcmp): Don't use BP_SYM. Remove comment about bounded
21653 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
21654 <bp-sym.h> and <bp-asm.h>.
21655 (memcpy): Don't use BP_SYM.
21656 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
21657 <bp-sym.h> and <bp-asm.h>.
21658 (memset): Don't use BP_SYM.
21659 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21660 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21661 (__bzero): Don't use BP_SYM.
21662 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21663 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21664 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
21665 <bp-sym.h> and <bp-asm.h>.
21666 (strncmp): Don't use BP_SYM. Remove comment about bounded
21668 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
21669 <bp-sym.h> and <bp-asm.h>.
21670 (memcpy): Don't use BP_SYM.
21671 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
21672 <bp-sym.h> and <bp-asm.h>.
21673 (memset): Don't use BP_SYM.
21674 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21675 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21676 (__bzero): Don't use BP_SYM.
21677 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21678 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21679 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
21680 <bp-sym.h> and <bp-asm.h>.
21681 (__memchr): Don't use BP_SYM.
21682 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
21683 <bp-sym.h> and <bp-asm.h>.
21684 (memcmp): Don't use BP_SYM. Remove comment about bounded
21686 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
21687 <bp-sym.h> and <bp-asm.h>.
21688 (memcpy): Don't use BP_SYM.
21689 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
21690 <bp-sym.h> and <bp-asm.h>.
21691 (__mempcpy): Don't use BP_SYM.
21692 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
21693 <bp-sym.h> and <bp-asm.h>.
21694 (__memrchr): Don't use BP_SYM.
21695 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
21696 <bp-sym.h> and <bp-asm.h>.
21697 (memset): Don't use BP_SYM.
21698 (__bzero): Likewise.
21699 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
21700 <bp-sym.h> and <bp-asm.h>.
21701 (__rawmemchr): Don't use BP_SYM.
21702 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
21703 <bp-sym.h> and <bp-asm.h>.
21704 (__STRCMP): Don't use BP_SYM.
21705 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
21706 <bp-sym.h> and <bp-asm.h>.
21707 (strchr): Don't use BP_SYM.
21708 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
21709 <bp-sym.h> and <bp-asm.h>.
21710 (__strchrnul): Don't use BP_SYM.
21711 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
21712 <bp-sym.h> and <bp-asm.h>.
21713 (strlen): Don't use BP_SYM.
21714 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
21715 <bp-sym.h> and <bp-asm.h>.
21716 (strncmp): Don't use BP_SYM. Remove comment about bounded
21718 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
21719 <bp-sym.h> and <bp-asm.h>.
21720 (__strnlen): Don't use BP_SYM.
21721 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
21722 <bp-sym.h> and <bp-asm.h>.
21723 (__GI__setjmp): Don't use BP_SYM.
21724 (_setjmp): Likewise.
21725 (__sigsetjmp): Likewise.
21726 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
21727 (L(start_addresses)): Don't use BP_SYM.
21728 (_start): Likewise.
21729 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
21731 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
21732 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
21733 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21734 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21735 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
21737 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
21738 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
21739 about bounded pointers.
21740 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21741 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21742 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
21744 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
21745 about bounded pointers. Remove GKM FIXME comments.
21746 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21747 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
21749 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
21750 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
21751 Remove GKM FIXME comments.
21752 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21753 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21754 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
21756 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
21757 about bounded pointers. Remove GKM FIXME comment.
21758 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
21760 (strncmp): Don't use BP_SYM. Remove comment about bounded
21762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
21763 <bp-sym.h> and <bp-asm.h>.
21764 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
21765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
21766 <bp-sym.h> and <bp-asm.h>.
21767 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
21770 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21772 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
21775 2013-03-05 David S. Miller <davem@davemloft.net>
21777 * po/es.po: Update from translation team.
21779 2013-03-05 Andreas Jaeger <aj@suse.de>
21781 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
21782 <bits/mman-linux.h>.
21783 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21785 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
21786 <bits/mman-linux.h> to end of file.
21787 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21789 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
21790 <bits/mman-linux.h> to end of file.
21791 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21793 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
21794 <bits/mman-linux.h> to end of file.
21796 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
21797 (MCL_CURRENT, MCL_FUTURE): Define here.
21799 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21802 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
21804 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
21806 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21808 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
21809 fourth parameter needed for rt_sigprocmask syscall.
21810 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
21811 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
21812 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
21813 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
21814 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
21815 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
21817 2013-03-04 Joseph Myers <joseph@codesourcery.com>
21820 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
21821 comment about bounded pointers.
21822 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
21823 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
21825 2013-03-04 Andreas Jaeger <aj@suse.de>
21827 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
21828 common definitions.
21830 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
21831 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
21832 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
21833 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21834 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
21835 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21837 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21840 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
21841 __ieee754_sqrl instead of __sqrl.
21843 2013-03-01 Joseph Myers <joseph@codesourcery.com>
21845 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
21846 * sysdeps/powerpc/fpu_control.h: ... here.
21847 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
21848 * sysdeps/powerpc/bits/fenvinline.h: ... here.
21849 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
21850 * sysdeps/powerpc/bits/mathinline.h: ... here.
21852 2013-03-01 Roland McGrath <roland@hack.frob.com>
21854 * elf/dl-hwcaps.c (_dl_important_hwcaps):
21855 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
21856 to just [NEED_DL_SYSINFO_DSO].
21857 * elf/dl-support.c: Likewise.
21858 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
21859 * elf/rtld.c (dl_main): Likewise.
21860 * elf/setup-vdso.h (setup_vdso): Likewise.
21861 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
21862 * sysdeps/unix/sysv/linux/dl-sysdep.c
21863 (_dl_discover_osversion): Likewise.
21865 2013-03-01 Carlos O'Donell <carlos@redhat.com>
21867 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
21868 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
21870 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
21872 * NEWS: Mention libm performance improvements and non-x86 PI
21875 * csu/libc-start.c (__pthread_initialize_minimal): Change
21876 function arguments.
21877 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
21879 2013-02-28 Joseph Myers <joseph@codesourcery.com>
21882 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
21883 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
21884 <bp-sym.h> and <bp-asm.h>.
21885 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21886 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
21888 (memcpy): Don't use BP_SYM.
21889 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
21891 (__mpn_add_n): Don't use BP_SYM.
21892 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
21893 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
21895 (__mpn_addmul_1): Don't use BP_SYM.
21896 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21897 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
21899 (_setjmp): Don't use BP_SYM.
21900 (__novmx_setjmp): Likewise.
21901 (__GI__setjmp): Likewise.
21902 (__vmx_setjmp): Likewise.
21903 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
21905 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
21906 (__bzero): Don't use BP_SYM.
21907 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21908 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21909 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
21910 <bp-sym.h> and <bp-asm.h>.
21911 (memcpy): Don't use BP_SYM.
21912 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
21913 <bp-sym.h> and <bp-asm.h>.
21914 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21915 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
21916 <bp-sym.h> and <bp-asm.h>.
21917 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21918 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
21920 (__mpn_lshift): Don't use BP_SYM.
21921 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21922 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
21924 (memset): Don't use BP_SYM.
21925 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21926 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21927 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
21929 (__mpn_mul_1): Don't use BP_SYM.
21930 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21931 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
21932 <bp-sym.h> and <bp-asm.h>.
21933 (memcmp): Don't use BP_SYM.
21934 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
21935 <bp-sym.h> and <bp-asm.h>.
21936 (memcpy): Don't use BP_SYM.
21937 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
21938 <bp-sym.h> and <bp-asm.h>.
21939 (memset): Don't use BP_SYM.
21940 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
21941 <bp-sym.h> and <bp-asm.h>.
21942 (strncmp): Don't use BP_SYM.
21943 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
21944 <bp-sym.h> and <bp-asm.h>.
21945 (memcpy): Don't use BP_SYM.
21946 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
21947 <bp-sym.h> and <bp-asm.h>.
21948 (memset): Don't use BP_SYM.
21949 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
21950 <bp-sym.h> and <bp-asm.h>.
21951 (__memchr): Don't use BP_SYM.
21952 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
21953 <bp-sym.h> and <bp-asm.h>.
21954 (memcmp): Don't use BP_SYM.
21955 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
21956 <bp-sym.h> and <bp-asm.h>.
21957 (memcpy): Don't use BP_SYM.
21958 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
21959 <bp-sym.h> and <bp-asm.h>.
21960 (__mempcpy): Don't use BP_SYM.
21961 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
21962 <bp-sym.h> and <bp-asm.h>.
21963 (__memrchr): Don't use BP_SYM.
21964 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
21965 <bp-sym.h> and <bp-asm.h>.
21966 (memset): Don't use BP_SYM.
21967 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
21968 <bp-sym.h> and <bp-asm.h>.
21969 (__rawmemchr): Don't use BP_SYM.
21970 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
21971 <bp-sym.h> and <bp-asm.h>.
21972 (__STRCMP): Don't use BP_SYM.
21973 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
21974 <bp-sym.h> and <bp-asm.h>.
21975 (strchr): Don't use BP_SYM.
21976 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
21977 <bp-sym.h> and <bp-asm.h>.
21978 (__strchrnul): Don't use BP_SYM.
21979 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
21980 <bp-sym.h> and <bp-asm.h>.
21981 (strlen): Don't use BP_SYM.
21982 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
21983 <bp-sym.h> and <bp-asm.h>.
21984 (strncmp): Don't use BP_SYM.
21985 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
21986 <bp-sym.h> and <bp-asm.h>.
21987 (__strnlen): Don't use BP_SYM.
21988 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
21990 (__mpn_rshift): Don't use BP_SYM.
21991 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21992 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
21993 <bp-sym.h> and <bp-asm.h>.
21994 (__sigsetjmp): Don't use BP_SYM.
21995 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
21996 (L(start_addresses)): Don't use BP_SYM.
21997 (_start): Likewise.
21998 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
22000 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
22001 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22002 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22003 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
22005 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
22006 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22007 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22008 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
22010 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
22012 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22013 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
22015 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
22017 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22018 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22019 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
22021 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
22023 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
22025 (strncmp): Don't use BP_SYM,
22026 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
22028 (__mpn_sub_n): Don't use BP_SYM.
22029 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22030 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
22032 (__mpn_submul_1): Don't use BP_SYM.
22033 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
22035 <bp-sym.h> and <bp-asm.h>.
22036 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
22037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
22038 <bp-sym.h> and <bp-asm.h>.
22039 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
22042 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22044 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
22045 Use ZK to minimize writes to Z.
22046 (sub_magnitudes): Simplify code a bit.
22047 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
22048 Use ZK to minimize writes to Z.
22049 (sub_magnitudes): Simplify code a bit.
22051 2013-02-27 Roland McGrath <roland@hack.frob.com>
22053 * csu/gmon-start.c: Add special exception to license text.
22055 2013-02-27 Richard Henderson <rth@redhat.com>
22057 * scripts/config.guess: Update from config.git.
22058 * scripts/config.sub: Likewise.
22060 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22062 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
22064 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
22066 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
22068 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
22070 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
22072 2013-02-26 Roland McGrath <roland@hack.frob.com>
22074 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
22075 [$(build-shared = yes].
22077 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22079 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
22080 (__mul): Reduce iterations for calculating mantissa.
22082 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
22084 (__mpranred): Likewise.
22087 * malloc/memusagestat.c (main): Draw graphs for heap and stack
22088 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
22090 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
22092 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
22093 Define __attribute__.
22095 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22097 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
22099 * posix/regex_internal.h (__attribute): Remove.
22100 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
22101 (re_string_context_at): Likewise.
22102 (bitset_not): Use __attribute__ and mark function as possibly
22104 (bitset_merge): Likewise.
22105 (bitset_mask): Likewise.
22106 (re_string_char_size_at): Likewise.
22107 (re_string_wchar_at): Likewise.
22108 (re_string_elem_size_at): Likewise.
22110 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22112 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
22116 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
22120 (denorm): Likewise.
22121 (__dbl_mp): Likewise.
22122 (add_magnitudes): Likewise.
22123 (sub_magnitudes): Likewise.
22127 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
22130 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
22133 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
22136 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
22137 up changes with default code.
22138 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
22141 2013-02-24 Allan McRae <allan@archlinux.org>
22143 * manual/socket.texi (The Internet Namespace): Order menu items
22144 to match that in the file.
22146 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
22147 node listing of the info page menu.
22149 2013-02-21 Joseph Myers <joseph@codesourcery.com>
22152 * sysdeps/i386/bp-asm.h: Remove file.
22153 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22154 (PARMS): Do not use macros from bp-asm.h.
22158 (__mpn_add_n): Do not use BP_SYM
22159 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
22161 (PARMS): Do not use macros from bp-asm.h.
22164 (__mpn_addmul_1): Do not use BP_SYM
22165 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
22167 (PARMS): Do not use macros from bp-asm.h.
22168 (SIGMSK): Likewise.
22169 (_setjmp): Likewise. Do not use BP_SYM.
22170 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
22172 (PARMS): Do not use macros from bp-asm.h.
22173 (SIGMSK): Likewise.
22174 (setjmp): Likewise. Do not use BP_SYM.
22175 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
22177 (PARMS): Do not use macros from bp-asm.h.
22178 (__frexp): Do not use BP_SYM.
22180 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
22182 (PARMS): Do not use macros from bp-asm.h.
22183 (__frexpf): Do not use BP_SYM.
22184 (frexpf): Likewise.
22185 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
22187 (PARMS): Do not use macros from bp-asm.h.
22188 (__frexpl): Do not use BP_SYM.
22189 (frexpl): Likewise.
22190 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
22192 (PARMS): Do not use macros from bp-asm.h.
22193 (__remquo): Do not use BP_SYM.
22194 (remquo): Likewise.
22195 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
22197 (PARMS): Do not use macros from bp-asm.h.
22198 (__remquof): Do not use BP_SYM.
22199 (remquof): Likewise.
22200 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
22202 (PARMS): Do not use macros from bp-asm.h.
22203 (__remquol): Do not use BP_SYM.
22204 (remquol): Likewise.
22205 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
22207 (PARMS): Do not use macros from bp-asm.h.
22210 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
22211 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
22213 (PARMS): Do not use macros from bp-asm.h.
22214 (strlen): Do not use BP_SYM.
22215 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
22217 (PARMS): Do not use macros from bp-asm.h.
22221 (__mpn_add_n): Do not use BP_SYM.
22222 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
22224 (PARMS): Do not use macros from bp-asm.h.
22227 (__mpn_addmul_1): Do not use BP_SYM.
22228 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
22231 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
22233 (PARMS): Do not use macros from bp-asm.h.
22236 (__mpn_lshift): Do not use BP_SYM.
22237 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
22239 (PARMS): Do not use macros from bp-asm.h.
22243 (memcpy): Likewise. Do not use BP_SYM.
22244 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
22245 libc_hidden_def and weak_alias.
22246 (mempcpy): Do not use BP_SYM in weak_alias.
22247 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
22249 (PARMS): Do not use macros from bp-asm.h.
22252 [!BZERO_P] (CHR): Likewise.
22253 (memset): Likewise. Do not use BP_SYM.
22254 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
22256 (PARMS): Do not use macros from bp-asm.h.
22259 (__mpn_mul_1): Do not use BP_SYM.
22260 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
22262 (PARMS): Do not use macros from bp-asm.h.
22265 (__mpn_rshift): Do not use BP_SYM.
22266 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
22268 (PARMS): Do not use macros from bp-asm.h.
22271 (strchr): Likewise. Do not use BP_SYM.
22272 (index): Do not use BP_SYM in weak_alias.
22273 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
22275 (PARMS): Do not use macros from bp-asm.h.
22278 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
22279 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
22281 (PARMS): Do not use macros from bp-asm.h.
22282 (strlen): Do not use BP_SYM.
22283 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
22285 (PARMS): Do not use macros from bp-asm.h.
22289 (__mpn_sub_n): Do not use BP_SYM.
22290 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
22292 (PARMS): Do not use macros from bp-asm.h.
22295 (__mpn_submul_1): Do not use BP_SYM.
22296 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
22298 (PARMS): Do not use macros from bp-asm.h.
22302 (__mpn_add_n): Do not use BP_SYM.
22303 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
22306 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
22308 (PARMS): Do not use macros from bp-asm.h.
22311 (memcmp): Do not use BP_SYM.
22312 (bcmp): Do not use BP_SYM in weak_alias.
22313 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
22315 (PARMS): Do not use macros from bp-asm.h.
22319 (memcpy): Likewise. Do not use BP_SYM.
22320 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
22322 (PARMS): Do not use macros from bp-asm.h.
22326 (memmove): Likewise. Do not use BP_SYM.
22327 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
22329 (PARMS): Do not use macros from bp-asm.h.
22333 (__mempcpy): Likewise. Do not use BP_SYM.
22334 (mempcpy): Do not use BP_SYM in weak_alias.
22335 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
22337 (PARMS): Do not use macros from bp-asm.h.
22340 [!BZERO_P] (CHR): Likewise.
22341 (memset): Likewise. Do not use BP_SYM.
22342 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
22344 (PARMS): Do not use macros from bp-asm.h.
22346 (strcmp): Do not use BP_SYM.
22347 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
22349 (PARMS): Do not use macros from bp-asm.h.
22352 [USE_AS_STRTOK_R] (SAVE): Likewise.
22353 (FUNCTION): Likewise. Do not use BP_SYM.
22354 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
22356 (strtok_r): Likewise.
22357 (__GI___strtok_r): Likewise.
22358 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22359 (PARMS): Do not use macros from bp-asm.h.
22362 (__mpn_lshift): Do not use BP_SYM.
22363 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22364 (PARMS): Do not use macros from bp-asm.h.
22367 (__memchr): Do not use BP_SYM.
22368 (memchr): Do not use BP_SYM in weak_alias.
22369 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22370 (PARMS): Do not use macros from bp-asm.h.
22373 (memcmp): Do not use BP_SYM.
22374 (bcmp): Do not use BP_SYM in weak_alias.
22375 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
22376 (PARMS): Do not use macros from bp-asm.h.
22379 (__mpn_mul_1): Do not use BP_SYM.
22380 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
22382 (PARMS): Do not use macros from bp-asm.h.
22385 (__rawmemchr): Do not use BP_SYM.
22386 (rawmemchr): Do not use BP_SYM in weak_alias.
22387 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22388 (PARMS): Do not use macros from bp-asm.h.
22391 (__mpn_rshift): Do not use BP_SYM.
22392 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22393 (PARMS): Do not use macros from bp-asm.h.
22394 (SIGMSK): Likewise.
22395 (__sigsetjmp): Likewise. Do not use BP_SYM.
22396 * sysdeps/i386/start.S: Do not include "bp-sym.h".
22397 (_start): Do not use BP_SYM.
22398 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
22399 (PARMS): Do not use macros from bp-asm.h.
22402 (__stpcpy): Likewise. Do not use BP_SYM.
22403 (stpcpy): Do not use BP_SYM in weak_alias.
22404 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
22406 (PARMS): Do not use macros from bp-asm.h.
22410 (__stpncpy): Likewise. Do not use BP_SYM.
22411 (stpncpy): Do not use BP_SYM in weak_alias.
22412 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22413 (PARMS): Do not use macros from bp-asm.h.
22416 (strchr): Likewise. Do not use BP_SYM.
22417 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
22419 (PARMS): Do not use macros from bp-asm.h.
22422 (__strchrnul): Likewise. Do not use BP_SYM.
22423 (strchrnul): Do not use BP_SYM in weak_alias.
22424 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
22426 (PARMS): Do not use macros from bp-asm.h.
22428 (strcspn): Do not use BP_SYM.
22429 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
22431 (PARMS): Do not use macros from bp-asm.h.
22434 (strpbrk): Likewise. Do not use BP_SYM.
22435 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
22437 (PARMS): Do not use macros from bp-asm.h.
22440 (strrchr): Likewise. Do not use BP_SYM.
22441 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
22442 (PARMS): Do not use macros from bp-asm.h.
22444 (strspn): Do not use BP_SYM.
22445 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
22446 (PARMS): Do not use macros from bp-asm.h.
22450 (FUNCTION): Likewise. Do not use BP_SYM.
22451 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
22453 (strtok_r): Likewise.
22454 (__GI___strtok_r): Likewise.
22455 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22456 (PARMS): Do not use macros from bp-asm.h.
22460 (__mpn_sub_n): Do not use BP_SYM.
22461 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
22463 (PARMS): Do not use macros from bp-asm.h.
22466 (__mpn_submul_1): Do not use BP_SYM.
22467 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
22469 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
22471 (PARMS): Do not use macros from bp-asm.h.
22476 (__clone): Do not use BP_SYM.
22477 (clone): Do not use BP_SYM in weak_alias.
22478 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
22480 (PARMS): Do not use macros from bp-asm.h.
22482 (__mmap64): Do not use BP_SYM.
22483 (mmap64): Do not use BP_SYM in weak_alias.
22484 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
22485 <bp-sym.h> and <bp-asm.h>.
22486 (PARMS): Do not use macros from bp-asm.h.
22487 (__posix_fadvise64_l64): Do not use BP_SYM.
22488 * sysdeps/unix/sysv/linux/i386/semtimedop.S
22489 (PARMS): Do not use macros from bp-asm.h.
22491 (semtimedop): Do not use BP_SYM.
22492 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
22495 2013-02-21 Allan McRae <allan@archlinux.org>
22497 * manual/message.texi (Charset conversion in gettext):
22498 Move @end statement to beginning of line.
22500 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22502 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
22504 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
22507 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
22508 (denorm): Likewise.
22509 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
22510 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
22512 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22514 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
22515 tail-call to the resolved function if pltexit isn't needed.
22517 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22519 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
22520 or Y being zero as being unlikely.
22521 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
22524 2013-02-20 Carlos O'Donell <carlos@redhat.com>
22526 * manual/nss.texi (System Databases and Name Service Switch):
22527 Remove frobnicate @pxref.
22529 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
22531 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22532 __attribute__ ((unused)) to __attribute__ ((__unused__)).
22534 2013-02-20 Petr Machata <pmachata@redhat.com>
22536 * elf/elf.h (R_ARM_TARGET1): New macro.
22537 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
22538 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
22539 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
22540 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
22541 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
22542 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
22543 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
22544 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
22545 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
22546 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
22547 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
22548 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
22549 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
22550 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
22551 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
22552 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
22553 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
22554 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
22555 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
22556 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
22557 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
22558 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
22559 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
22560 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
22561 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
22562 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
22563 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
22564 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
22565 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
22566 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
22567 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
22568 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
22569 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
22570 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
22571 (R_ARM_THM_GOT_BREL12): Likewise.
22572 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
22573 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
22574 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
22575 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
22576 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
22577 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
22578 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
22579 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
22580 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
22582 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
22584 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22585 __attribute_used__ to __attribute__ ((unused)).
22587 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22589 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
22591 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
22592 comment formatting.
22593 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
22595 2013-02-19 Joseph Myers <joseph@codesourcery.com>
22598 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
22600 (ENTER): Remove both macro definitions.
22602 (CHECK_BOUNDS_LOW): Likewise.
22603 (CHECK_BOUNDS_HIGH): Likewise.
22604 (CHECK_BOUNDS_BOTH): Likewise.
22605 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
22606 (RETURN_BOUNDED_POINTER): Likewise.
22607 (RETURN_NULL_BOUNDED_POINTER): Likewise.
22608 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
22609 (POP_ERRNO_LOCATION_RETURN): Likewise.
22610 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
22611 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22612 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
22614 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22615 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
22616 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
22617 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
22618 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
22619 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
22620 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
22621 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
22622 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
22623 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
22624 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
22625 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
22626 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22627 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
22629 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22630 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
22632 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22633 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
22634 * sysdeps/i386/i586/memset.S (memset): Likewise.
22635 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
22636 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22637 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
22639 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22640 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
22641 Change uses of L(2) to L(out).
22642 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
22643 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
22644 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
22645 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22646 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
22648 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22649 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
22651 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22652 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
22653 (RETURN): Do not use macro LEAVE.
22654 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
22655 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
22656 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
22657 * sysdeps/i386/i686/memset.S (memset): Likewise.
22658 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
22659 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
22660 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22661 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
22663 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22664 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
22665 L(1_2) and L(1_3) into L(1).
22666 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22667 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
22668 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22669 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
22670 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22671 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
22672 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
22673 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22674 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
22676 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
22677 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22678 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
22679 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
22680 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
22681 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22682 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
22683 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
22684 * sysdeps/i386/strcspn.S (strcspn): Likewise.
22685 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
22686 * sysdeps/i386/strrchr.S (strrchr): Likewise.
22687 * sysdeps/i386/strspn.S (strspn): Likewise.
22688 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
22690 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22691 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
22692 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22693 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
22694 L(1_3) into L(1_1).
22695 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
22696 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22697 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
22699 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22701 2013-02-19 Jakub Jelinek <jakub@redhat.com>
22703 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
22706 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22708 * math/atest-exp.c (exp_mpn): Remove ROUND.
22709 * math/atest-exp2.c (exp_mpn): Likewise.
22710 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
22712 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
22713 * stdlib/tst-tls-atexit-lib.c: Likewise.
22714 * stdlib/tst-tls-atexit.c: Likewise.
22716 2013-02-18 Mike Frysinger <vapier@gentoo.org>
22718 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
22719 and __attribute_alloc_size__.
22721 2013-02-18 Mike Frysinger <vapier@gentoo.org>
22723 * include/programs/xmalloc.h: Change __attribute_alloc_size to
22724 __attribute_alloc_size__.
22725 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
22726 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
22728 2013-02-18 Mike Frysinger <vapier@gentoo.org>
22730 * include/programs/xmalloc.h: New file.
22731 * catgets/gencat.c: Include it.
22732 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
22733 * elf/pldd.c: Likewise.
22734 * iconv/iconv_charmap.c: Likewise.
22735 * iconv/iconvconfig.c: Likewise.
22736 * iconv/strtab.c: Likewise.
22737 * locale/programs/locale.c: Likewise.
22738 * locale/programs/localedef.h: Likewise.
22739 * locale/programs/simple-hash.c: Likewise.
22740 * nscd/nscd.h: Likewise.
22741 * nss/makedb.c: Likewise.
22742 * sysdeps/generic/ldconfig.h: Likewise.
22744 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22746 * Versions.def: Add GLIBC_2.18.
22747 * include/link.h (struct link_map): New member l_tls_dtor_count.
22748 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
22749 (__call_tls_dtors): Likewise.
22750 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
22751 __cxa_thread_atexit_impl.
22752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22756 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
22758 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
22760 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22761 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
22763 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
22765 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22766 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
22768 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
22769 (tests): Add test case tst-tls-atexit.
22770 (modules-names): Add shared library for tst-tls-atexit.
22771 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
22772 (GLIBC_PRIVATE): Add __call_tls_dtors.
22773 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
22775 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
22776 * stdlib/tst-tls-atexit.c: New test case.
22777 * stdlib/tst-tls-atexit-lib.c: New test case.
22779 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
22781 * elf/Versions (ld): Add _dl_find_dso_for_object.
22782 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
22783 * elf/dl-open.c (_dl_find_dso_for_object): New function.
22784 (dl_open_worker): Use _dl_find_dso_for_object.
22785 * elf/dl-sym.c (do_sym): Likewise.
22786 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
22788 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22790 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
22791 Syntactic changes only.
22792 (_dl_runtime_profile): Do a tail-call to the resolved function.
22794 2013-02-17 Joseph Myers <joseph@codesourcery.com>
22797 * sysdeps/x86_64/bp-asm.h: Remove file.
22798 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
22799 <bp-sym.h> and <bp-asm.h>.
22800 (__clone): Do not use BP_SYM.
22801 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
22802 <bp-sym.h> and <bp-asm.h>.
22803 * sysdeps/unix/x86_64/sysdep.S: Likewise.
22804 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
22806 (_setjmp): Do not use BP_SYM.
22807 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
22809 (setjmp): Do not use BP_SYM.
22810 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
22812 (mempcpy): Do not use BP_SYM in weak_alias.
22813 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
22815 (strchr): Do not use BP_SYM.
22816 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
22818 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
22819 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
22820 (_start): Do not use BP_SYM.
22821 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
22823 (strcat): Do not use BP_SYM.
22824 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
22826 (STRCMP): Do not use BP_SYM.
22827 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
22829 (STRCPY): Do not use BP_SYM.
22830 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
22832 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
22834 (FUNCTION): Do not use BP_SYM.
22835 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
22837 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
22839 2013-02-17 Andreas Jaeger <aj@suse.de>
22841 * time/Versions: Sort entries.
22842 * string/Versions: Likewise.
22843 * resolv/Versions: Likewise.
22844 * posix/Versions: Likewise.
22845 * iconv/Versions: Likewise.
22846 * elf/Versions: Likewise.
22847 * wcsmbs/Versions: Likewise.
22849 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22851 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
22852 loop termination condition.
22854 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
22855 variable to calculate EZ.
22858 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
22859 the lower precision input.
22861 2013-02-15 Joseph Myers <joseph@codesourcery.com>
22864 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
22865 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
22866 (run-via-rtld-prefix): Do not handle %-bp tests.
22867 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
22868 (all-object-suffixes): Remove .ob.
22869 (bppfx): Remove variable.
22870 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
22871 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
22872 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
22873 [$(build-bounded) = yes] (libtype.ob): Likewise.
22874 * Makerules (elide-routines.ob): Remove variable.
22875 (do-tests-clean): Do not handle *-bp.out.
22876 (common-mostlyclean): Do not handle *-bp and *-bp.out.
22877 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
22878 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
22879 (tests): Do not include $(tests-bp.out).
22880 (xtests): Do not include $(xtests-bp.out).
22881 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
22882 [$(build-bounded) = yes] ($(addprefix
22883 $(objpfx),$(binaries-bounded))): Remove rule.
22884 ($(objpfx)%-bp.out): Remove rule.
22885 * config.make.in (build-bounded): Remove variable.
22886 * crypt/Makefile [$(build-bounded) = yes]
22887 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
22888 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
22889 append to variable.
22890 [$(build-bounded) = yes] (install-lib): Likewise.
22891 [$(build-bounded) = yes] (generated): Likewise.
22892 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
22894 * intl/Makefile [$(build-bounded) = yes]
22895 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
22896 * math/Makefile [$(build-bounded) = yes]
22897 ($(tests:%=$(objpfx)%-bp): Likewise.
22898 * misc/Makefile [$(build-bounded) = yes]
22899 ($(objpfx)tst-tsearch-bp): Likewise.
22900 * nptl/Makeconfig (bounded-thread-library): Remove variable.
22901 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
22903 * string/Makefile (o-objects.ob): Remove variable.
22904 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
22905 (CFLAGS-.ob): Remove variable.
22906 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
22907 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
22908 both definitions of variable.
22909 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
22910 (ASFLAGS-.ob): Remove variable.
22912 2013-02-14 Joseph Myers <joseph@codesourcery.com>
22915 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
22916 Remove __BOUNDED_POINTERS__ from condition.
22917 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
22918 * string/bits/string2.h [!__NO_STRING_INLINES &&
22919 !__BOUNDED_POINTERS__]: Likewise.
22920 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
22922 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
22923 Remove conditional code.
22924 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
22925 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
22926 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
22930 * csu/libc-start.c: Do not include <bp-sym.h>.
22931 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
22932 * elf/dl-open.c: Do not include <bp-sym.h>.
22933 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
22934 * math/fegetenv.c: Do not include <bp-sym.h>.
22935 (fegetenv): Do not use BP_SYM in versioned symbols.
22936 * nptl/sysdeps/pthread/bits/libc-lockP.h
22937 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
22939 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22940 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
22941 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22942 (__pthread_mutex_destroy): Likewise.
22943 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22944 (__pthread_mutex_lock): Likewise.
22945 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22946 (__pthread_mutex_trylock): Likewise.
22947 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22948 (__pthread_mutex_unlock): Likewise.
22949 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22950 (__pthread_mutexattr_init): Likewise.
22951 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22952 (__pthread_mutexattr_destroy): Likewise.
22953 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22954 (__pthread_mutexattr_settype): Likewise.
22955 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22956 (__pthread_rwlock_init): Likewise.
22957 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22958 (__pthread_rwlock_destroy): Likewise.
22959 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22960 (__pthread_rwlock_rdlock): Likewise.
22961 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22962 (__pthread_rwlock_tryrdlock): Likewise.
22963 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22964 (__pthread_rwlock_wrlock): Likewise.
22965 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22966 (__pthread_rwlock_trywrlock): Likewise.
22967 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22968 (__pthread_rwlock_unlock): Likewise.
22969 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22970 (__pthread_key_create): Likewise.
22971 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22972 (__pthread_setspecific): Likewise.
22973 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22974 (__pthread_getspecific): Likewise.
22975 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
22977 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22978 (_pthread_cleanup_push_defer): Likewise.
22979 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22980 (_pthread_cleanup_pop_restore): Likewise.
22981 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22982 (pthread_setcancelstate): Likewise.
22983 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
22985 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
22986 (memchr): Do not use BP_SYM in weak_alias.
22987 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
22988 (fegetenv): Do not use BP_SYM in versioned symbols.
22989 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
22990 (fesetenv): Do not use BP_SYM in versioned symbols.
22991 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
22992 (feupdateenv): Do not use BP_SYM in versioned symbols.
22993 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
22994 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
22995 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
22996 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
22997 (open64): Do not use BP_SYM in weak_alias.
22998 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
22999 (fegetenv): Do not use BP_SYM in versioned symbols.
23000 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
23001 (fesetenv): Do not use BP_SYM in versioned symbols.
23002 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23003 (feupdateenv): Do not use BP_SYM in versioned symbols.
23004 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
23005 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
23006 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
23007 (feraiseexcept): Do not use BP_SYM in versioned symbols.
23008 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23009 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23010 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
23012 (__libc_start_main): Do not use BP_SYM.
23014 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23016 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
23017 redundant return line.
23019 (denorm): Likewise.
23020 (dbl_mp): Likewise.
23021 (sub_magnitudes): Likewise.
23027 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
23029 (denorm): Likewise.
23030 (dbl_mp): Likewise.
23031 (sub_magnitudes): Likewise.
23038 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
23040 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
23041 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
23044 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
23045 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
23046 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
23047 of __mul for squares.
23048 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
23050 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
23052 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
23053 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23055 2013-02-13 Joseph Myers <joseph@codesourcery.com>
23058 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
23060 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
23061 prototype or function definition. Rename ubp_* variables and
23062 parameters. Remove argv definitions conditional on
23063 [__BOUNDED_POINTERS__].
23064 * debug/backtrace.c (__backtrace): Do not use __unbounded.
23065 * elf/dl-runtime.c (_dl_fixup): Likewise.
23066 * include/set-hooks.h (RUN_HOOK): Likewise.
23067 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
23069 * string/strcpy.c (strcpy): Do not use __unbounded.
23070 * sysdeps/generic/frame.h (struct layout): Likewise.
23071 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
23072 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
23073 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
23074 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
23075 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
23076 (__backtrace): Likewise.
23077 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
23079 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
23080 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
23081 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
23083 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
23084 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
23085 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
23086 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23087 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
23088 Do not use __unbounded.
23089 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
23090 Rename __unboundedrlimits parameter to rlimits in prototype.
23091 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
23092 Do not use __unbounded.
23093 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
23094 not use __ptrvalue.
23095 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23096 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
23097 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23098 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
23099 __ptrvalue or __unbounded.
23100 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
23101 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
23103 (__new_msgctl): Do not use __ptrvalue.
23104 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
23106 (__libc_msgrcv): Do not use __ptrvalue.
23107 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
23108 startup_info): Do not use __unbounded.
23109 (__libc_start_main): Likewise. Rename ubp_* variables and
23110 parameters. Remove argv definitions conditional on
23111 [__BOUNDED_POINTERS__].
23112 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
23114 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
23116 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
23118 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
23120 (__new_shmctl): Do not use __ptrvalue.
23121 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
23122 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
23124 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
23125 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
23126 (__libc_sigaction): Likewise.
23127 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
23128 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
23130 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23132 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
23134 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
23136 * string/mempcpy.c: Implement by calling memcpy.
23138 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
23140 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
23142 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
23145 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
23146 values in the mantissa.
23148 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
23149 minimize writes to Z.
23150 (sub_magnitudes): Simplify code a bit.
23152 2013-02-12 Roland McGrath <roland@hack.frob.com>
23154 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
23155 from the message. The linker prefixes all warnings with that already.
23157 2013-02-12 Andreas Schwab <schwab@suse.de>
23160 * posix/regexec.c (extend_buffers): Add parameter min_len.
23161 (check_matching): Pass minimum needed length.
23162 (clean_state_log_if_needed): Likewise.
23163 (get_subexp): Likewise.
23164 * posix/Makefile (tests): Add bug-regex34.
23165 (bug-regex34-ENV): Define.
23166 * posix/bug-regex34.c: New file.
23169 * posix/regcomp.c (parse_bracket_exp): When looking up collating
23170 elements compare against the byte sequence of it, not its name.
23171 * posix/Makefile (tests): Add bug-regex35.
23172 (bug-regex35-ENV): Define.
23173 * posix/bug-regex35.c: New file.
23175 2013-02-11 Tom de Vries <tom@codesourcery.com>
23177 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
23179 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
23180 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
23181 (CHECK_EOL): Add undef.
23183 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
23185 * bits/stdlib-bsearch.h: New file.
23186 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
23187 * stdlib/stdlib.h: Likewise.
23189 2013-02-11 Roland McGrath <roland@hack.frob.com>
23191 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
23192 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
23194 * manual/search.texi (Array Search Function): Add missing const in
23196 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
23197 declaration to use rlim_t.
23198 (Basic Scheduling Functions): Remove erroneous const from
23199 sched_getparam prototype. Remove erroneous * from
23200 sched_get_priority_max and sched_get_priority_min prototypes.
23201 (Resource Usage): Fix summary @comment on vtimes to refer to
23202 sys/vtimes.h rather than vtimes.h.
23203 Add missing *s in vtimes prototype.
23204 (Limits on Resources): Fix ulimit prototype to return long int.
23205 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
23206 prototypes to use long int rather than double.
23207 (BSD Random): Fix initstate and setstate to use char *, not void *.
23208 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
23209 prototype to make second argument 'struct aiocb64 *const[]'.
23210 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
23211 (Status of AIO Operations): Remove erroneous const in aio_return and
23212 aio_return64 prototypes.
23213 (Synchronizing I/O): Fix sync prototype to return void.
23214 * manual/startup.texi (Suboptions): Remove an erroneous const in
23215 getsubopt prototype.
23216 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
23217 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
23218 use size_t rather than int.
23219 (Scanning All Users): Likewise for getpwent_r.
23220 (Setting Groups): Add missing const to setgroups prototype.
23221 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
23222 * manual/socket.texi (Host Names): Fix gethostbyaddr and
23223 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
23224 'const void *' rather than 'const char *'.
23225 (Host Address Functions): Likewise for inet_ntop.
23226 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
23227 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
23228 ssize_t for return value.
23229 (Sending Data): Likewise for send, sendto, sendmsg.
23230 (Socket Option Functions): Add a missing const in setsockopt prototype.
23231 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
23232 use wchar_t for the argument.
23233 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
23234 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
23236 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
23237 double/float/long double for second argument.
23238 Fix return types of significand, significandf, significandl.
23239 * manual/filesys.texi (Setting Permissions): Use mode_t for second
23240 argument in fchmod prototype.
23241 (File Owner): Use uid_t and gid_t in fchown prototype.
23242 (File Times): Add const to utimes, futimes, and lutimes prototypes.
23243 (Making Special Files): Use mode_t and dev_t in mknod prototype.
23244 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
23245 use 'const struct dirent **' as argument types to CMP function pointer
23247 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
23248 (File Times): Fix summary magic @comment for struct utimbuf and utime
23249 to refer to utime.h, not time.h.
23250 * manual/string.texi (Argz Functions): Add missing const in
23251 argz_extract and argz_next prototypes.
23252 (Finding Tokens in a String): Likewise for basename.
23253 (String/Array Comparison): Fix typo in wcscasecmp prototype.
23254 (Copying and Concatenation): Fix typo in wmemmove prototype.
23255 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
23256 (Signal Stack): Remove erroneous const in sigstack prototype.
23257 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
23259 (Simple Calendar Time): Likewise for stime.
23260 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
23262 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
23263 say sys/sysctl.h instead.
23264 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
23265 and vsyslog prototypes.
23267 2013-02-11 Tom de Vries <tom@codesourcery.com>
23269 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
23272 2013-02-11 Roland McGrath <roland@hack.frob.com>
23274 * misc/sys/mman.h: Fix typo in mremap comment.
23276 2013-02-08 Roland McGrath <roland@hack.frob.com>
23278 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
23279 the '\0' terminator.
23281 2013-02-08 Joseph Myers <joseph@codesourcery.com>
23284 * debug/segfault.c: Don't include <bp-checks.h>.
23285 * sysdeps/generic/bp-checks.h: Remove file.
23286 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
23287 (__GETDENTS): Don't use CHECK_N.
23288 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
23289 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
23290 (__getgroups): Don't use CHECK_N.
23291 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
23292 (setgroups): Don't use CHECK_N.
23293 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
23294 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
23295 (__libc_msgrcv): Don't use CHECK_N.
23296 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
23297 (__libc_msgsnd): Don't use CHECK_N.
23298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
23300 (__libc_pread): Don't use CHECK_N.
23301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
23302 include <bp-checks.h>.
23303 (__libc_pread64): Don't use CHECK_N.
23304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
23305 include <bp-checks.h>.
23306 (__libc_pwrite): Don't use CHECK_N.
23307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
23308 include <bp-checks.h>.
23309 (__libc_pwrite64): Don't use CHECK_N.
23310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
23312 (__libc_pread): Don't use CHECK_N.
23313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
23314 include <bp-checks.h>.
23315 (__libc_pread64): Don't use CHECK_N.
23316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
23317 include <bp-checks.h>.
23318 (__libc_pwrite): Don't use CHECK_N.
23319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
23320 include <bp-checks.h>.
23321 (__libc_pwrite64): Don't use CHECK_N.
23322 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
23323 (do_pread): Don't use CHECK_N.
23324 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
23325 (do_pread64): Don't use CHECK_N.
23326 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
23327 (do_pwrite): Don't use CHECK_N.
23328 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
23329 (do_pwrite64): Don't use CHECK_N.
23330 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
23331 (__libc_readv): Don't use CHECK_N.
23332 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
23333 (semop): Don't use CHECK_N.
23334 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
23336 (semtimedop): Don't use CHECK_N.
23337 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
23338 (__libc_pread): Don't use CHECK_N.
23339 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
23341 (__libc_pread64): Don't use CHECK_N.
23342 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
23344 (__libc_pwrite): Don't use CHECK_N.
23345 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
23347 (__libc_pwrite64): Don't use CHECK_N.
23348 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
23350 (__libc_msgrcv): Don't use CHECK_N.
23351 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
23352 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
23353 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
23354 (__libc_writev): Don't use CHECK_N.
23356 2013-02-08 Roland McGrath <roland@hack.frob.com>
23358 * string/strcpy.c: Removed unused variable.
23360 * Makeconfig (+sysdep-includes): Define with := rather than =.
23361 Use an existing include/ subdir of each sysdeps dir before it.
23363 2013-02-08 Carlos O'Donell <carlos@redhat.com>
23365 * nscd/connection.c (register_traced_file): Comment function.
23366 [HAVE_INOTIFY] (union __inev): Define.
23367 [HAVE_INOTIFY] (inotify_check_files): New function.
23368 [HAVE_INOTIFY] (clear_db_cache): Likewise.
23369 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
23371 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
23373 2013-02-08 Carlos O'Donell <carlos@redhat.com>
23375 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
23376 loaded if not already and that a failure is permanent.
23378 2013-02-08 Carlos O'Donell <carlos@redhat.com>
23381 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
23382 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
23384 2013-02-08 Joseph Myers <joseph@codesourcery.com>
23387 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
23388 (CHECK_1_NULL_OK): Likewise.
23389 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
23390 (__fxstat): Do not use CHECK_1.
23391 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
23393 (___fxstat64): Do not use CHECK_1.
23394 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
23396 (__fxstatat): Do not use CHECK_1.
23397 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
23399 (__fxstatat64): Do not use CHECK_1.
23400 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
23402 (__fxstat): Do not use CHECK_1.
23403 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
23405 (__fxstatat): Do not use CHECK_1.
23406 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
23408 (__getresgid): Do not use CHECK_1.
23409 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
23411 (__getresuid): Do not use CHECK_1.
23412 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
23414 (__lxstat): Do not use CHECK_1.
23415 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
23417 (__old_msgctl): Do not use CHECK_1.
23418 (__new_msgctl): Likewise.
23419 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
23421 (__new_setrlimit): Do not use CHECK_1.
23422 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
23424 (__old_shmctl): Do not use CHECK_1.
23425 (__new_shmctl): Likewise.
23426 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
23428 (__xstat): Do not use CHECK_1.
23429 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
23430 (__lxstat): Do not use CHECK_1.
23431 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
23433 (___lxstat64): Do not use CHECK_1.
23434 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
23435 (__old_msgctl): Do not use CHECK_1.
23436 (__new_msgctl): Likewise.
23437 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
23439 (__gettimeofday): Do not use CHECK_1.
23440 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
23441 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
23442 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
23444 (__gettimeofday): Do not use CHECK_1.
23445 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
23446 (__old_shmctl): Do not use CHECK_1_NULL_OK.
23447 (__new_shmctl): Do not use CHECK_1.
23448 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
23450 (do_sigtimedwait): Do not use CHECK_1.
23451 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
23453 (do_sigwaitinfo): Do not use CHECK_1.
23454 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
23456 (msgctl): Do not use CHECK_1.
23457 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
23459 (shmctl): Do not use CHECK_1.
23460 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
23461 (ustat): Do not use CHECK_1.
23462 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
23464 (__fxstat): Do not use CHECK_1.
23465 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
23467 (__fxstatat): Do not use CHECK_1.
23468 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
23470 (__lxstat): Do not use CHECK_1.
23471 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
23473 (__xstat): Do not use CHECK_1.
23474 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
23475 (__xstat): Do not use CHECK_1.
23476 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
23477 (___xstat64): Do not use CHECK_1.
23480 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
23482 (CHECK_BOUNDS_HIGH): Likewise.
23483 * string/strcpy.c: Do not include <bp-checks.h>.
23484 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
23486 2013-02-07 Roland McGrath <roland@hack.frob.com>
23488 * nscd/nscd-client.h (__nscd_drop_map_ref):
23489 Add __attribute__ ((unused)).
23490 * nis/nss-nisplus.h (niserr2nss): Likewise.
23492 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
23493 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
23495 * csu/libc-tls.c (init_static_tls, init_slotinfo):
23496 Remove inline keyword.
23497 * include/rounding-mode.h (round_away): Likewise.
23498 * libio/wfileops.c (adjust_wide_data): Likewise.
23499 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
23500 (__m128i_strloadu_tolower): Likewise.
23501 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
23502 (__m128i_strloadu_tolower): Likewise.
23503 * time/mktime.c (ydhms_diff): Likewise.
23504 * locale/elem-hash.h (elem_hash): Likewise.
23505 * locale/setlocale.c (setdata): Likewise.
23506 * posix/regex_internal.h (re_string_char_size_at): Likewise.
23507 (re_string_wchar_at): Likewise.
23508 (bitset_not, bitset_merge, bitset_mask): Likewise.
23509 [!(__GNUC__ > 3)] (inline): Remove macro.
23510 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
23511 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
23512 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
23513 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
23514 * string/memcmp.c (memcmp_bytes): Likewise.
23515 * locale/programs/locarchive.c (compute_hashval): Likewise.
23516 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
23517 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
23518 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
23519 * nss/getent.c (print_rpc, print_protocols): Likewise.
23520 (print_passwd, print_group, print_aliases): Likewise.
23521 * nis/nss-nisplus.h (niserr2nss): Likewise.
23522 * nscd/connections.c (restart_p): Likewise.
23523 Change return type to bool.
23525 2013-02-05 Roland McGrath <roland@hack.frob.com>
23527 * Makeconfig (all-Depend-files): Add existing
23528 $(sorted-subdirs:=/Depend) files.
23529 (all-subdirs): Remove nss.
23530 * sysdeps/unix/inet/Subdirs: Add it here instead.
23531 * hesiod/Depend: New file.
23533 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
23534 instead of calling alloca.
23536 * io/lseek.c (__lseek): Rename to __libc_lseek.
23537 Define __lseek as an alias.
23539 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
23541 2013-02-04 Carlos O'Donell <carlos@redhat.com>
23543 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
23544 else clause and remove check for non-standard endianness.
23546 2013-02-04 David S. Miller <davem@davemloft.net>
23548 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23550 2013-02-04 Joseph Myers <joseph@codesourcery.com>
23553 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
23554 (__ubp_memchr): Remove prototype.
23555 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
23556 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23557 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
23558 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23559 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
23561 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
23562 (__ubp_memchr): Likewise.
23563 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
23564 (__ubp_memchr): Likewise.
23565 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
23566 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
23567 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
23568 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
23570 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
23571 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
23572 (__getcwd): Do not use CHECK_STRING.
23573 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
23575 (__real_chown): Do not use CHECK_STRING.
23576 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
23578 (fchownat): Do not use CHECK_STRING.
23579 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
23581 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
23583 (__lchown): Do not use CHECK_STRING.
23584 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23585 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23586 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23587 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
23588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
23589 include <bp-checks.h>.
23590 (truncate64): Do not use CHECK_STRING.
23591 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
23593 (__real_chown): Do not use CHECK_STRING.
23594 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
23596 (__lchown): Do not use CHECK_STRING.
23597 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
23599 (__chown): Do not use CHECK_STRING.
23600 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
23602 (truncate64): Do not use CHECK_STRING.
23603 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
23605 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
23606 (__xmknod): Do not use CHECK_STRING.
23607 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
23609 (__xmknodat): Do not use CHECK_STRING.
23610 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23611 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
23613 2013-02-04 Andreas Schwab <schwab@suse.de>
23616 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
23617 * include/netdb.h: Likewise for h_errno.
23618 * elf/tst-stackguard1.c: Include <tls.h>.
23620 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
23622 * elf/link.h (struct link_map): Extend the l_addr comment.
23623 * include/link.h (struct link_map): Likewise.
23625 2013-02-01 Joseph Myers <joseph@codesourcery.com>
23628 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
23629 (BOUNDED_1): Remove macro.
23630 * debug/backtrace.c: Don't include <bp-checks.h>.
23631 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
23632 (__backtrace): Likewise.
23633 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
23635 (__backtrace): Don't use BOUNDED_1.
23636 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
23638 (__backtrace): Don't use BOUNDED_1.
23639 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
23640 (__backtrace): Don't use BOUNDED_1.
23641 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
23642 (shmat): Don't use BOUNDED_N.
23644 2013-01-31 Joseph Myers <joseph@codesourcery.com>
23647 * sysdeps/generic/bp-start.h: Remove file.
23648 * csu/libc-start.c: Don't include <bp-start.h>.
23649 (LIBC_START_MAIN): Set up __environ directly instead of using
23650 INIT_ARGV_and_ENVIRON.
23651 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
23655 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
23657 (CHECK_FCNTL): Likewise.
23658 (CHECK_N_PAGES): Likewise.
23661 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
23663 (CHECK_SIGSET_NULL_OK): Likewise.
23664 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
23666 (sigpending): Don't use CHECK_SIGSET.
23667 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
23669 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23670 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
23672 (do_sigsuspend): Don't use CHECK_SIGSET.
23673 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
23675 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
23676 (do_sigwait): Don't use CHECK_SIGSET.
23677 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
23679 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
23680 include <bp-checks.h>.
23681 (sigpending): Don't use CHECK_SIGSET.
23682 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
23683 include <bp-checks.h>.
23684 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23685 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
23687 (sigpending): Don't use CHECK_SIGSET.
23688 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
23690 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23693 * sysdeps/generic/bp-semctl.h: Remove file.
23694 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
23695 <bp-checks.h> and <bp-semctl.h>.
23696 (__old_semctl): Don't use CHECK_SEMCTL.
23697 (__new_semctl): Likewise.
23698 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
23700 (__old_semctl): Don't use CHECK_SEMCTL.
23701 (__new_semctl): Likewise.
23702 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
23703 <bp-checks.h> and <bp-semctl.h>.
23704 (__old_semctl): Don't use CHECK_SEMCTL.
23705 (__new_semctl): Likewise.
23706 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
23707 <bp-checks.h> and <bp-semctl.h>.
23708 (semctl): Don't use CHECK_SEMCTL.
23711 * Makerules (elide-bp-thunks): Remove variable.
23712 (elide-routines.oS): Don't use $(elide-bp-thunks).
23713 (elide-routines.os): Likewise.
23714 (elide-routines.o): Likewise.
23715 (elide-routines.op): Likewise.
23716 (elide-routines.og): Likewise.
23717 (objects): Don't use $(bp-thunks).
23718 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
23720 (common-generated): Do not add s-proto-bp.d.
23721 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
23724 Do not generate makefile rules for bounded-pointer thunks.
23725 * sysdeps/generic/bp-thunks.h: Remove file.
23726 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
23727 * sysdeps/unix/s-proto-bp.S: Likewise.
23730 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
23731 parts of result separately when argument is not close to line from
23732 -i to i and one part of argument is small.
23733 * math/k_casinhf.c (__kernel_casinhf): Likewise.
23734 * math/k_casinhl.c (__kernel_casinhl): Likewise.
23735 * math/libm-test.inc (cacos_test): Add more tests.
23736 (casin_test): Likewise.
23737 (casinh_test): Likewise.
23738 * sysdeps/i386/fpu/libm-test-ulps: Update.
23739 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23741 2013-01-31 David S. Miller <davem@davemloft.net>
23743 * po/de.po: Update from translation team.
23745 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
23747 * time/tzfile.c: Include stdint.h for SIZE_MAX.
23749 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
23751 * configure.in (_AC_PROG_CC_C89): New definition.
23752 * configure: Regenerate.
23754 * configure.in (AC_PROG_CPP): New definition.
23755 * configure: Regenerate.
23757 2013-01-23 Joseph Myers <joseph@codesourcery.com>
23759 * debug/tst-backtrace.h: New file.
23760 * debug/tst-backtrace2.c: Include tst-backtrace.h.
23761 (ret): Remove variable.
23763 (FAIL): Remove macro.
23764 (NO_INLINE): Likewise.
23765 (fn1): Use match function instead of strstr.
23766 * debug/tst-backtrace3.c: Include tst-backtrace.h.
23767 (ret): Remove variable.
23769 (FAIL): Remove macro.
23770 (NO_INLINE): Likewise.
23771 (fn): Use match function instead of strstr.
23772 * debug/tst-backtrace4.c: Include tst-backtrace.h.
23773 (ret): Remove variable.
23775 (FAIL): Remove macro.
23776 (NO_INLINE): Likewise.
23777 (handle_signal): Use match function instead of strstr.
23778 * debug/tst-backtrace5.c: Include tst-backtrace.h.
23779 (ret): Remove variable.
23781 (FAIL): Remove macro.
23782 (NO_INLINE): Likewise.
23783 (handle_signal): Use match function instead of strstr.
23785 2013-01-23 Roland McGrath <roland@hack.frob.com>
23787 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
23789 2013-01-23 David S. Miller <davem@davemloft.net>
23791 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
23792 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
23793 argument of CAS if possible.
23794 * sysdeps/sparc/sparc64/bits/atomic.h
23795 (__arch_compare_and_exchange_val_32_acq): Likewise.
23796 (__arch_compare_and_exchange_val_64_acq): Likewise.
23798 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
23800 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
23801 * sysdeps/posix/ulimit.c: ... this.
23802 Include <limits.h>.
23803 * sysdeps/unix/bsd/ulimit.c: Remove file.
23805 2013-01-23 Adam Conrad <adconrad@0c3.net>
23807 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
23808 (LDFLAGS-tst-array5): Likewise.
23810 2013-01-23 Joseph Myers <joseph@codesourcery.com>
23813 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
23814 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
23815 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
23816 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
23818 2013-01-21 David S. Miller <davem@davemloft.net>
23820 * sysdeps/sparc/backtrace.c: New file.
23821 * sysdeps/sparc/sparc32/backtrace.h: New file.
23822 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
23823 * sysdeps/sparc/sparc64/backtrace.h: New file.
23824 * sysdeps/sparc/sparc64/backtrace.c: Delete.
23825 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
23828 2013-01-21 Andreas Schwab <schwab@suse.de>
23831 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
23834 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
23836 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
23838 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23840 2013-01-18 Joseph Myers <joseph@codesourcery.com>
23841 Mark Mitchell <mark@codesourcery.com>
23842 Tom de Vries <tom@codesourcery.com>
23843 Paul Pluzhnikov <ppluzhnikov@google.com>
23845 * debug/tst-backtrace2.c: New file.
23846 * debug/tst-backtrace3.c: Likewise.
23847 * debug/tst-backtrace4.c: Likewise.
23848 * debug/tst-backtrace5.c: Likewise.
23849 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
23850 (CFLAGS-tst-backtrace3.c): Likewise.
23851 (CFLAGS-tst-backtrace4.c): Likewise.
23852 (CFLAGS-tst-backtrace5.c): Likewise.
23853 (LDFLAGS-tst-backtrace2): Likewise.
23854 (LDFLAGS-tst-backtrace3): Likewise.
23855 (LDFLAGS-tst-backtrace4): Likewise.
23856 (LDFLAGS-tst-backtrace5): Likewise.
23857 (tests): Add new tests tst-backtrace2, tst-backtrace3,
23858 tst-backtrace4 and tst-backtrace5.
23860 2013-01-18 Anton Blanchard <anton@samba.org>
23861 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23863 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
23864 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
23865 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
23866 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
23867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23868 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
23869 "+r" and remove output regs list as redundant. Add explicit inline
23870 asm to specify register of return val to work around compiler codegen
23871 bug. Remove (int) cast on return value. Add return type parameter to
23872 use in macro so that this macro does not truncate return value for
23874 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
23875 pass to INTERNAL_VSYSCALL_NCS.
23876 (INLINE_VSYSCALL): Add 'long int' as return type to
23877 INTERNAL_VSYSCALL_NCS macro invocation.
23878 (INTERNAL_VSYSCALL): Add 'long int' as return type to
23879 INTERNAL_VSYSCALL_NCS macro invocation.
23880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23882 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23885 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
23886 Fix application of SIMD FP exception mask.
23888 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
23889 mp_no from a power of two.
23890 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
23891 __mpexp_twomm1. Use __pow_mp.
23893 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
23896 2013-01-17 David S. Miller <davem@davemloft.net>
23898 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23900 2013-01-17 Joseph Myers <joseph@codesourcery.com>
23903 * include/complex.h: Condition contents on [!_COMPLEX_H].
23904 (__kernel_casinhf): New prototype.
23905 (__kernel_casinh): Likewise.
23906 (__kernel_casinhl): Likewise.
23907 * math/Makefile (libm_calls): Add k_casinh.
23908 * math/k_casinh.c: New file.
23909 * math/k_casinhf.c: Likewise.
23910 * math/k_casinhl.c: Likewise.
23911 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
23912 finite nonzero arguments.
23913 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
23914 finite nonzero arguments.
23915 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
23916 finite nonzero arguments.
23917 * math/s_casinh.c: Do not include <float.h>.
23918 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
23919 * math/s_casinhf.c: Do not include <float.h>.
23920 (__casinhf): Move code for finite nonzero arguments to
23922 * math/s_casinhl.c: Do not include <float.h>.
23923 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
23925 (__casinhl): Move code for finite nonzero arguments to
23927 * math/libm-test.inc (cacos_test): Add more tests.
23928 * sysdeps/i386/fpu/libm-test-ulps: Update.
23929 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23931 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
23933 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
23934 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
23935 [!HAVE_MREMAP]: Remove [defined linux] case.
23936 * malloc/arena.c: Do not include <malloc-sysdep.h>.
23938 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
23940 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
23942 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
23944 * elf/elf.h (R_386_SIZE32): New relocation.
23945 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
23947 (elf_machine_rela): Likewise.
23948 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
23949 R_X86_64_SIZE64 and R_X86_64_SIZE32.
23951 2013-01-17 Joseph Myers <joseph@codesourcery.com>
23953 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
23954 (FP_FAST_FMA): Do not define.
23955 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
23956 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
23957 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
23958 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
23959 !_SOFT_FLOAT]: Likewise.
23960 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
23961 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
23963 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
23964 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
23965 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
23966 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
23967 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
23968 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
23971 2013-01-16 Andreas Schwab <schwab@suse.de>
23974 * include/stdlib.h (__mktemp): Add declaration.
23975 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
23976 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
23978 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23980 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
23982 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
23983 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
23984 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
23986 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
23987 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
23989 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
23991 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
23992 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
23993 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
23995 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
23996 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
23998 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
24000 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
24002 2013-01-15 David S. Miller <davem@davemloft.net>
24004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24005 trunc{,f} to libm-sysdep_routes.
24006 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
24009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
24010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
24012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
24014 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
24015 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
24016 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
24017 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
24018 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
24019 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
24020 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
24021 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
24023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24024 nearbyint{,f} to libm-sysdep_routes.
24025 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
24028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
24030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
24032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
24034 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
24035 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
24036 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
24038 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
24039 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
24041 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
24042 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
24043 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
24045 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
24046 libc_feholdexcept and libc_fesetenv.
24048 2013-01-15 Mike Frysinger <vapier@gentoo.org>
24050 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
24052 2013-01-14 David S. Miller <davem@davemloft.net>
24054 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
24055 (SPARC_ASM_VIS2_IFUNC): Likewise.
24056 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
24057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
24058 use of 'siam' instruction.
24059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
24061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
24063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
24065 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
24066 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
24067 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
24068 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
24069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
24071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
24073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
24075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
24077 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
24078 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
24079 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
24080 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
24081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
24083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
24084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
24087 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
24088 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
24089 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
24090 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
24091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
24092 routines to libm-sysdep_routines.
24093 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24096 fdim/fdimf to libm-sysdep_routines.
24097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
24099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
24100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
24102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
24103 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
24104 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
24105 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
24106 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
24107 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
24108 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
24110 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24112 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
24113 to optimize copies.
24115 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
24116 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24117 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24119 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
24120 local variable MPTWO.
24121 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24124 2013-01-13 Mike Frysinger <vapier@gentoo.org>
24126 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
24129 2013-01-13 Mike Frysinger <vapier@gentoo.org>
24131 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
24133 2013-01-13 Mike Frysinger <vapier@gentoo.org>
24135 * manual/pattern.texi (glob_t): Document gl_flags.
24136 (glob64_t): Likewise.
24138 2013-01-11 David S. Miller <davem@davemloft.net>
24140 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
24141 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
24142 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
24143 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
24144 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
24145 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
24146 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
24147 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
24148 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
24149 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
24150 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
24151 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
24152 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
24154 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24155 sparc V9 rather than using V8 code.
24156 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24157 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24159 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
24161 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
24164 2013-01-11 Roland McGrath <roland@hack.frob.com>
24166 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
24167 not in the main loop.
24168 * configure: Regenerated.
24170 2013-01-11 Joseph Myers <joseph@codesourcery.com>
24172 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
24173 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
24175 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
24176 [!__GLIBC_HAVE_LONG_LONG] case.
24177 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
24178 condition to just #else.
24179 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
24180 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
24181 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
24182 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
24184 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
24185 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24186 #elif condition to just #else.
24187 * sysdeps/unix/sysv/linux/sys/sysmacros.h
24188 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
24189 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24190 #elif condition to just #else.
24192 2013-01-11 Steve Ellcey <sellcey@mips.com>
24194 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
24195 (EF_MIPS_ARCH_64): Fix value.
24196 (EF_MIPS_ARCH_32R2): New.
24197 (EF_MIPS_ARCH_64R2): New.
24199 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
24201 * Makeconfig (+link-pie-before-libc): New.
24202 (+link-pie-after-libc): Likewise.
24203 (+link-pie-tests): Likewise.
24204 (+link-pie): Rewritten.
24205 (link-before-libc): Remove $(config-LDFLAGS).
24206 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
24207 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
24208 (config-LDFLAGS): Renamed to ...
24209 (rtld-LDFLAGS): This.
24210 (rtld-tests-LDFLAGS): New macro.
24211 (link-libc-rpath-link): Likewise.
24212 (link-libc-tests-rpath-link): Likewise.
24213 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
24214 (link-libc): Prepand $(link-libc-rpath-link).
24215 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
24216 (test-program-prefix): New macro.
24217 (test-via-rtld-prefix): Likewise.
24218 (test-program-cmd): Likewise.
24219 (host-test-program-cmd): Likewise.
24220 * Makefile ($(common-objpfx)testrun.sh): Replace
24221 $(run-program-prefix) with $(test-program-prefix).
24222 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
24224 ($(common-objpfx)shlib.lds): Likewise.
24225 (build-module-helper): Likewise.
24226 ($(common-objpfx)format.lds): Likewise.
24227 * Rules (binaries-pie-tests): New.
24228 (binaries-pie-notests): Likewise.
24229 (binaries-pie): Rewritten.
24230 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
24231 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
24232 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
24233 (make-test-out): Replace $(host-built-program-cmd) with
24234 $(host-test-program-cmd).
24235 * config.make.in (build-hardcoded-path-in-tests): New variable.
24236 * configure.in (--enable-hardcoded-path-in-tests): New configure
24238 (hardcoded_path_in_tests): New AC_SUBST.
24239 * configure: Regenerated.
24240 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
24241 $(built-program-cmd) with $(test-program-cmd).
24242 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
24243 (test_program_cmd): This.
24244 * elf/Makefile ($(objpfx)order.out): Run test with
24245 $(test-program-prefix).
24246 ($(objpfx)order2.out): Likewise.
24247 ($(objpfx)tst-initorder.out): Likewise.
24248 ($(objpfx)tst-initorder2.out): Likewise.
24249 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
24250 $(test-program-cmd).
24251 ($(objpfx)tst-array1-static.out): Likewise.
24252 ($(objpfx)tst-array2.out): Likewise.
24253 ($(objpfx)tst-array3.out): Likewise.
24254 ($(objpfx)tst-array4.out): Likewise.
24255 ($(objpfx)tst-array5.out): Likewise.
24256 ($(objpfx)tst-array5-static.out): Likewise.
24257 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
24258 $(test-program-cmd).
24259 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
24260 $(run-program-prefix) with $(test-program-prefix).
24261 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
24262 (test_program_prefix): This.
24263 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
24264 $(run-program-prefix) with $(test-program-prefix).
24265 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
24266 (test_program_prefix): This.
24267 * iconvdata/tst-tables.sh: Likewise.
24268 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
24269 $(run-program-prefix) with $(test-program-prefix).
24270 ($(objpfx)tst-translit.out): Likewise.
24271 ($(objpfx)tst-gettext2.out): Likewise.
24272 ($(objpfx)tst-gettext4.out): Likewise.
24273 ($(objpfx)tst-gettext6.out): Likewise.
24274 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
24275 (test_program_prefix): This.
24276 * intl/tst-gettext2.sh: Likewise.
24277 * intl/tst-gettext4.sh Likewise.
24278 * intl/tst-gettext6.sh: Likewise.
24279 * intl/tst-translit.sh: Likewise.
24280 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
24281 with $(test-program-cmd).
24282 * libio/Makefile ($(objpfx)test-freopen.out): Replace
24283 $(run-program-prefix) with $(test-program-prefix).
24284 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
24285 (test_program_prefix): This.
24286 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
24287 $(run-program-prefix) with $(test-program-prefix).
24288 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
24289 (test_program_prefix): This.
24290 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
24291 * posix/Makefile ($(objpfx)globtest.out): Replace
24292 $(run-via-rtld-prefix) and $(test-wrapper) with
24293 $(test-program-prefix) and $(test-via-rtld-prefix).
24294 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
24295 $(test-program-prefix).
24296 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
24297 $(host-test-program-cmd).
24298 (tst-spawn-ARGS): Likewise.
24299 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
24300 $(test-program-prefix).
24301 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
24302 (test_via_rtld_prefix): This.
24303 (test_wrapper): Renamed to ...
24304 (test_program_prefix): This.
24305 (run_program_prefix): Replaced by test_program_prefix.
24306 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
24307 (test_program_prefix): This.
24308 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
24309 with $(host-test-program-cmd).
24310 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
24311 $(run-program-prefix) with $(test-program-prefix).
24312 ($(objpfx)tst-printf.out): Likewise.
24313 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
24314 $(test-program-cmd).
24315 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
24316 (test_program_prefix): This.
24317 * stdio-common/tst-unbputc.sh: Likewise.
24318 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
24319 $(run-program-prefix) with $(test-program-prefix).
24320 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
24321 (test_program_prefix): This.
24322 * string/Makefile ($(objpfx)tst-svc.out): Replace
24323 $(built-program-cmd) with $(test-program-cmd).
24325 2013-01-11 Andreas Jaeger <aj@suse.de>
24328 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
24329 value. Sync with Linux 3.7.
24331 2013-01-10 David S. Miller <davem@davemloft.net>
24333 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
24334 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24335 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24337 2013-01-10 Roland McGrath <roland@hack.frob.com>
24339 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
24341 * configure: Regenerated.
24343 2013-01-10 David S. Miller <davem@davemloft.net>
24345 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24346 sparc V9 rather than using V8 code.
24347 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24348 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24350 2013-01-10 Roland McGrath <roland@hack.frob.com>
24352 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
24353 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
24354 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
24355 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
24356 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
24357 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
24358 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
24359 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
24360 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
24361 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
24362 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
24363 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
24364 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
24365 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
24366 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
24367 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
24368 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
24369 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
24370 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
24371 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
24372 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
24373 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
24374 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
24375 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
24376 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
24377 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
24378 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
24380 2013-01-10 David S. Miller <davem@davemloft.net>
24382 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24384 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
24386 * posix/Makefile (tests-static): New variable.
24387 (tests): Add $(tests-static).
24388 (tst-exec-static-ARGS): New variable.
24389 (tst-spawn-static-ARGS): Likewise.
24390 * posix/tst-exec-static.c: New file.
24391 * posix/tst-spawn-static.c: Likewise.
24392 * posix/tst-exec.c: Support run directly.
24393 * posix/tst-spawn.c: Likewise.
24395 2013-01-10 Joseph Myers <joseph@codesourcery.com>
24397 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
24399 * math/bits/mathcalls.h (llrint): Likewise.
24400 (llround): Likewise.
24401 * stdlib/stdlib.h (struct drand48_data): Likewise.
24402 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
24403 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
24404 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
24406 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
24408 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
24409 (elf_greg_t): Likewise.
24410 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
24411 (__jmp_buf): Likewise.
24412 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
24414 (llrint): Likewise, for all definitions.
24415 (llrintl): Likewise.
24417 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
24418 Remove [__GNUC__] condition.
24419 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
24420 condition to just [__USE_ISOC99].
24421 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
24423 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
24426 * sysdeps/unix/sysv/linux/x86/bits/environments.h
24427 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
24429 (_POSIX_V6_ILP32_OFF32): Likewise.
24430 (_XBS5_ILP32_OFF32): Likewise.
24431 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
24432 (__ILP32_OFFBIG_LDFLAGS): Likewise.
24434 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24436 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
24438 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
24439 doubles __mpexp_twomm1. Adjust usage.
24440 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
24443 2013-01-10 Andreas Schwab <schwab@suse.de>
24446 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
24447 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
24449 2013-01-09 David S. Miller <davem@davemloft.net>
24452 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
24453 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
24454 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
24455 (TCP_FASTOPEN): Define.
24456 (tcp_repair_opt): New structure.
24457 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
24459 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
24460 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
24461 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
24462 (tcp_cookie_transactions): New structure.
24464 2013-01-09 Anton Blanchard <anton@samba.org>
24466 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
24467 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
24468 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
24469 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
24471 2013-01-09 Joseph Myers <joseph@codesourcery.com>
24473 * include/features.h (__USE_ANSI): Remove.
24475 2013-01-09 Roland McGrath <roland@hack.frob.com>
24477 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
24479 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
24481 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
24483 * sysdeps/s390/fpu/libm-test-ulps: Update.
24485 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24487 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
24491 (denorm): Likewise.
24492 (__mp_dbl): Likewise.
24493 (__dbl_mp): Likewise.
24494 (add_magnitudes): Likewise.
24495 (sub_magnitudes): Likewise.
24501 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
24505 (denorm): Likewise.
24506 (__mp_dbl): Likewise.
24507 (__dbl_mp): Likewise.
24508 (add_magnitudes): Likewise.
24509 (sub_magnitudes): Likewise.
24515 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
24519 (denorm): Likewise.
24520 (__mp_dbl): Likewise.
24521 (__dbl_mp): Likewise.
24522 (add_magnitudes): Likewise.
24523 (sub_magnitudes): Likewise.
24530 2013-01-08 Joseph Myers <joseph@codesourcery.com>
24532 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
24533 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
24534 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
24535 2 && __USE_EXTERN_INLINES]: Likewise.
24537 2013-01-08 Andreas Jaeger <aj@suse.de>
24540 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
24542 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24543 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24545 2013-01-07 Anton Blanchard <anton@samba.org>
24547 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
24548 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
24549 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
24550 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
24551 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
24552 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24553 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
24554 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
24555 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24556 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24557 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24558 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24559 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24560 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24561 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
24562 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24563 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24564 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24565 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
24566 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
24567 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
24568 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
24569 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24570 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
24571 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
24572 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
24573 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24574 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
24575 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
24576 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24577 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
24578 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24579 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24580 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24581 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24582 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24583 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24584 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24585 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
24586 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
24587 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
24588 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24589 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24591 2013-01-07 Joseph Myers <joseph@codesourcery.com>
24593 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
24594 (__MALLOC_PMT): Likewise.
24595 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
24596 [__GNUC__], only on [_LIBC].
24597 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24598 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
24599 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24600 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
24601 forward declaration.
24602 (realloc_hook_ini): Likewise.
24603 (memalign_hook_ini): Likewise.
24604 (__libc_memalign): Do not use __MALLOC_PMT in variable
24606 (__libc_valloc): Likewise.
24607 (__libc_pvalloc): Likewise.
24608 (__libc_calloc): Likewise.
24609 (__posix_memalign): Likewise.
24612 * math/s_casinh.c: Include <float.h>.
24613 (__casinh): Do not do computation with squaring and square root
24614 for large arguments.
24615 * math/s_casinhf.c: Include <float.h>.
24616 (__casinhf): Do not do computation with squaring and square root
24617 for large arguments.
24618 * math/s_casinhl.c: Include <float.h>.
24619 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
24620 (__casinhl): Do not do computation with squaring and square root
24621 for large arguments.
24622 * math/libm-test.inc (casin_test): Add more tests.
24623 (casinh_test): Likewise.
24624 * sysdeps/i386/fpu/libm-test-ulps: Update.
24625 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24627 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
24629 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
24630 (__x86_64_raw_data_cache_size): Likewise.
24631 (__x86_64_data_cache_size_half): Likewise.
24632 (__x86_64_raw_data_cache_size_half): Likewise.
24633 (__x86_64_shared_cache_size): Likewise.
24634 (__x86_64_raw_shared_cache_size): Likewise.
24635 (__x86_64_shared_cache_size_half): Likewise.
24636 (__x86_64_raw_shared_cache_size_half): Likewise.
24637 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
24639 (__x86_data_cache_size): This.
24640 (__x86_64_raw_data_cache_size): Renamed to ...
24641 (__x86_raw_data_cache_size): This.
24642 (__x86_64_data_cache_size_half): Renamed to ...
24643 (__x86_data_cache_size_half): This.
24644 (__x86_64_raw_data_cache_size_half): Renamed to ...
24645 (__x86_raw_data_cache_size_half): This.
24646 (__x86_64_shared_cache_size): Renamed to ...
24647 (__x86_shared_cache_size): This.
24648 (__x86_64_raw_shared_cache_size): Renamed to ...
24649 (__x86_raw_shared_cache_size): This.
24650 (__x86_64_shared_cache_size_half): Renamed to ...
24651 (__x86_shared_cache_size_half): This.
24652 (__x86_64_raw_shared_cache_size_half): Renamed to ...
24653 (__x86_raw_shared_cache_size_half): This.
24654 * sysdeps/x86_64/memcpy.S: Updated.
24655 * sysdeps/x86_64/memset.S: Likewise.
24656 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24657 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24658 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24660 2013-01-04 David S. Miller <davem@davemloft.net>
24662 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24664 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
24666 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
24667 1 to avoid redefinition warning.
24668 (__USE_GNU): Don't define.
24669 (init_signaling_nan): Protoize.
24671 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24673 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24675 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
24676 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
24677 (__cpymn): Likewise.
24678 (norm): Remove commented code.
24679 (denorm): Likewise.
24680 (__mp_dbl): Likewise.
24682 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
24683 (__cpymn): Likewise.
24684 (norm): Remove commented code.
24685 (denorm): Likewise.
24686 (__mp_dbl): Likewise.
24689 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
24690 mp_no value for 1.0 and 2.0.
24691 (norm): Use RADIXI instead of radixi.d.
24692 (denorm): Likewise.
24693 (__mul): Use 0.0 instead of zero.d.
24694 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
24695 mp_no value for 1.0 and 2.0.
24696 (norm): Use RADIXI instead of radixi.d.
24697 (denorm): Likewise.
24698 (__mul): Use 0.0 instead of zero.d.
24700 2013-01-04 Joseph Myers <joseph@codesourcery.com>
24703 * math/s_casinh.c (__casinh): Reduce finite argument to first
24704 quadrant then set signs of results at the end.
24705 * math/s_casinhf.c (__casinhf): Likewise.
24706 * math/s_casinhl.c (__casinhl): Likewise.
24707 * math/libm-test.inc (casin_test): Add more tests.
24708 (casinh_test): Likewise.
24709 * sysdeps/i386/fpu/libm-test-ulps: Update.
24710 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24712 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24714 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
24716 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
24718 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
24720 (denorm): Likewise.
24721 (__mp_dbl): Likewise.
24724 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
24725 and adjust the header comment.
24727 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
24728 variable name from declaration.
24730 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
24732 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24733 Initialize COMMON_CPUID_INDEX_7 element.
24734 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
24735 (CPUID_RTM): Likewise.
24736 (HAS_RTM): Likewise.
24737 (COMMON_CPUID_INDEX_7): New enum.
24739 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
24742 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
24743 size is zero, record memory as freed.
24745 2013-01-03 Andreas Jaeger <aj@suse.de>
24747 * po/ia.po: Add new Interlingua translation.
24749 2012-01-03 Allan McRae <allan@archlinux.org>
24751 * locale/programs/localedef.c: Fix description of '--posix' flag.
24753 2013-01-02 Joseph Myers <joseph@codesourcery.com>
24755 * NEWS: Update dates in second copyright notice.
24756 * README: Update copyright dates in example.
24757 * manual/libc.texinfo: Update copyright dates.
24758 * scripts/test-installation.pl: Update copyright date in --version
24761 * hurd/ctty-input.c: Fix copyright notice formatting.
24762 * hurd/ctty-output.c: Likewise.
24763 * hurd/dtable.c: Likewise.
24764 * hurd/hurd-raise.c: Likewise.
24765 * hurd/hurdprio.c: Likewise.
24766 * hurd/msgportdemux.c: Likewise.
24767 * misc/sys/file.h: Likewise.
24768 * misc/sys/ioctl.h: Likewise.
24769 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
24770 * sysdeps/mach/hurd/chdir.c: Likewise.
24771 * sysdeps/mach/hurd/fchdir.c: Likewise.
24772 * sysdeps/mach/hurd/rename.c: Likewise.
24773 * sysdeps/mach/hurd/rmdir.c: Likewise.
24774 * sysdeps/mach/hurd/seekdir.c: Likewise.
24775 * sysdeps/mach/hurd/setsid.c: Likewise.
24776 * sysdeps/posix/wait3.c: Likewise.
24778 * All files with FSF copyright notices: Update copyright dates
24779 using scripts/update-copyrights.
24780 * intl/plural.c: Regenerated.
24781 * locale/programs/charmap-kw.h: Likewise.
24782 * locale/programs/locfile-kw.h: Likewise.
24784 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
24786 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
24789 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
24790 calculation loop and add branch prediction.
24792 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
24793 check access beyond bounds of m1np.
24795 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
24797 (__inv): Remove local variable MPTWO to use the global
24799 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
24800 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
24802 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
24803 MP3HALFS static const.
24805 2013-01-01 David S. Miller <davem@davemloft.net>
24807 * po/ca.po: Update from translation team.
24809 2013-01-01 Joseph Myers <joseph@codesourcery.com>
24811 * scripts/update-copyrights: New file.
24812 * Makeconfig: Reformat copyright notice.
24813 * ctype/ctype.h: Likewise.
24814 * debug/swprintf_chk.c: Likewise.
24815 * elf/dl-cache.c: Likewise.
24816 * elf/dl-debug.c: Likewise.
24817 * elf/dl-object.c: Likewise.
24818 * grp/initgroups.c: Likewise.
24819 * hurd/Makefile: Likewise.
24820 * hurd/hurd/signal.h: Likewise.
24821 * hurd/hurdfault.c: Likewise.
24822 * hurd/hurdioctl.c: Likewise.
24823 * hurd/hurdlookup.c: Likewise.
24824 * hurd/intr-msg.c: Likewise.
24825 * iconv/gconv_open.c: Likewise.
24826 * libio/swprintf.c: Likewise.
24827 * locale/lc-ctype.c: Likewise.
24828 * locale/nl_langinfo.c: Likewise.
24829 * mach/Machrules: Likewise.
24830 * mach/Makefile: Likewise.
24831 * malloc/obstack.h: Likewise.
24832 * manual/Makefile: Likewise.
24833 * manual/tsort.awk: Likewise.
24834 * misc/bits/stab.def: Likewise.
24835 * nis/nis_print_group_entry.c: Likewise.
24836 * nis/nis_table.c: Likewise.
24837 * nis/nss_compat/compat-pwd.c: Likewise.
24838 * nis/nss_compat/compat-spwd.c: Likewise.
24839 * po/Makefile: Likewise.
24840 * posix/fnmatch.c: Likewise.
24841 * posix/regex.h: Likewise.
24842 * resolv/Makefile: Likewise.
24843 * resolv/nss_dns/dns-network.c: Likewise.
24844 * resolv/res_hconf.c: Likewise.
24845 * scripts/gen-sorted.awk: Likewise.
24846 * soft-fp/soft-fp.h: Likewise.
24847 * stdio-common/printf.h: Likewise.
24848 * stdlib/monetary.h: Likewise.
24849 * stdlib/random.c: Likewise.
24850 * stdlib/random_r.c: Likewise.
24851 * sysdeps/generic/Makefile: Likewise.
24852 * sysdeps/gnu/Makefile: Likewise.
24853 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
24854 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24855 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24856 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24857 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24858 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24859 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24860 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24861 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24862 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24863 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
24864 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
24865 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
24866 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
24867 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
24868 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
24869 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
24870 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24871 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24872 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24873 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
24874 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
24875 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
24876 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
24877 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
24878 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
24879 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
24880 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
24881 * sysdeps/mach/hurd/errnos.awk: Likewise.
24882 * sysdeps/mach/hurd/fork.c: Likewise.
24883 * sysdeps/mach/hurd/getcwd.c: Likewise.
24884 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
24885 * sysdeps/mach/hurd/mmap.c: Likewise.
24886 * sysdeps/mach/hurd/utimes.c: Likewise.
24887 * sysdeps/mach/hurd/xmknod.c: Likewise.
24888 * sysdeps/posix/profil.c: Likewise.
24889 * sysdeps/posix/readdir_r.c: Likewise.
24890 * sysdeps/powerpc/bits/mathdef.h: Likewise.
24891 * sysdeps/powerpc/bits/setjmp.h: Likewise.
24892 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
24893 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
24894 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24895 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
24896 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24897 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
24898 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24899 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
24900 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24901 * sysdeps/pthread/lio_listio.c: Likewise.
24902 * sysdeps/sparc/dl-procinfo.h: Likewise.
24903 * sysdeps/unix/i386/sysdep.S: Likewise.
24904 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
24905 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
24906 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
24907 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
24908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24909 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
24910 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
24911 * sysdeps/unix/sysv/linux/speed.c: Likewise.
24912 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
24913 * sysdeps/wordsize-32/divdi3.c: Likewise.
24914 * time/sys/time.h: Likewise.
24915 * wcsmbs/Makefile: Likewise.
24917 2013-01-01 David S. Miller <davem@davemloft.net>
24919 * po/fr.po: Update from translation team.
24921 * catgets/gencat.c: Update copyright year.
24922 * csu/version.c: Likewise.
24923 * debug/catchsegv.sh: Likewise.
24924 * debug/pcprofiledump.c: Likewise.
24925 * debug/xtrace.sh: Likewise.
24926 * elf/ldconfig.c: Likewise.
24927 * elf/ldd.bash.in: Likewise.
24928 * elf/pldd.c: Likewise.
24929 * elf/sotruss.ksh: Likewise.
24930 * elf/sprof.c: Likewise.
24931 * iconv/iconv_prog.c: Likewise.
24932 * iconv/iconvconfig.c: Likewise.
24933 * locale/programs/locale.c: Likewise.
24934 * locale/programs/localedef.c: Likewise.
24935 * login/programs/pt_chown.c: Likewise.
24936 * malloc/memusage.sh: Likewise.
24937 * malloc/memusagestat.c: Likewise.
24938 * malloc/mtrace.pl: Likewise.
24939 * nscd/nscd.c: Likewise.
24940 * nss/getent.c: Likewise.
24941 * nss/makedb.c: Likewise.
24942 * posix/getconf.c: Likewise.
24944 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
24946 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
24949 2012-12-30 Mike Frysinger <vapier@gentoo.org>
24951 * math/bits/mathcalls.h (modf): Use __nonnull.
24953 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24955 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
24956 (split): Use macro CN instead of the bare value.
24957 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
24959 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
24960 instead of the bare value.
24961 (power1): Likewise.
24963 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24965 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
24967 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24969 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
24971 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
24972 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24973 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
24974 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
24976 2012-12-28 Andreas Jaeger <aj@suse.de>
24978 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
24979 values are from Linux 3.7.
24981 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
24982 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
24984 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24986 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
24989 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
24991 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
24992 variables with preprocessor constants.
24993 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24994 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
24995 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
24997 2012-12-27 Bruno Haible <bruno@clisp.org>
25000 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
25003 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25005 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
25006 and use variable directly.
25007 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
25009 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
25011 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
25012 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25014 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25015 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
25016 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
25017 include directive. Remove local variable MPONE.
25018 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
25019 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
25020 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25022 2012-12-25 David S. Miller <davem@davemloft.net>
25024 * version.h (RELEASE): Set to "development".
25025 (VERSION): Set to "2.17.90".
25026 * NEWS: Add 2.18 section.
25028 2012-12-21 David S. Miller <davem@davemloft.net>
25030 * po/hr.po: Update from translation team.
25032 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25034 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
25036 2012-12-19 Steve Ellcey <sellcey@mips.com>
25038 * NEWS: Mention new memcpy for MIPS.
25040 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25042 * manual/contrib.texi (Contributors): Spelling correction.
25044 2012-12-15 David S. Miller <davem@davemloft.net>
25046 * po/ru.po: Update from translation team.
25048 2012-12-13 David S. Miller <davem@davemloft.net>
25050 * NEWS: Mention IFUNC testsuite enhancements.
25052 * po/pl.po: Update from translation team.
25053 * po/bg.po: Likewise.
25055 * manual/contrib.texi (Contributors): Update entries for Hongjiu
25056 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
25058 2012-12-11 David S. Miller <davem@davemloft.net>
25060 * po/sv.po: Update from translation team.
25062 * po/vi.po: Update from translation team.
25064 * po/cs.po: Update from translation team.
25066 * po/de.po: Update from translation team.
25067 * po/eo.po: Likewise.
25068 * po/nl.po: Likewise.
25070 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25073 * manual/argp.texi (Argp Helper Functions): Move node to follow
25074 Argp Parsing State.
25077 * manual/conf.texi (Limits on File System Capacity): Mention if
25078 terminating null is included in the max size.
25080 2012-12-10 Andreas Jaeger <aj@suse.de>
25082 * po/cs.po: Update from translation team.
25084 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
25086 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
25087 void pointer and cast to uintptr_t.
25088 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
25090 * sysdeps/s390/s390-64/memcpy.S: Likewise.
25091 * sysdeps/s390/s390-64/memset.S: Likewise.
25093 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
25096 * menual/message.texi (Message Translation): Fix typos.
25097 (Helper programs for gettext): Likewise.
25099 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
25102 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
25105 2012-12-07 David S. Miller <davem@davemloft.net>
25107 * po/libc.pot: Update.
25109 2012-12-07 Richard Henderson <rth@redhat.com>
25112 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
25113 normal/normal case to before the switch.
25114 (_FP_DIV): Likewise.
25116 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
25117 Mike Frysinger <vapier@gentoo.org>
25119 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
25120 check for __NR_fadvise64_64.
25122 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
25124 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
25125 0, not just to plain "0" as a statement.
25126 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
25129 2012-12-06 Joseph Myers <joseph@codesourcery.com>
25131 * NEWS: Use sourceware.org in Bugzilla URL.
25133 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
25135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
25136 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25138 * stdio-common/tst-put-error.c (do_test): Add newline to the
25139 padded test to ensure flush.
25141 2012-12-05 Jeff Law <law@redhat.com>
25143 * sunrpc/etc.rpc (fedfs_admin): Add entry.
25145 2012-12-05 Joseph Myers <joseph@codesourcery.com>
25147 * README: Don't refer to ports add-on as distributed separately.
25148 Mention AArch64 in list of systems supported in the ports add-on.
25150 * LICENSES: Add more non-FSF copyright and license notices.
25152 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
25155 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
25157 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
25158 10000 as width of padded output.
25160 2012-12-04 Joseph Myers <joseph@codesourcery.com>
25162 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
25164 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
25165 variable LX with __attribute__ ((unused)).
25166 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
25168 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
25169 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25170 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
25171 with __attribute__ ((unused)).
25173 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
25175 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
25177 2012-12-04 Joseph Myers <joseph@codesourcery.com>
25179 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
25180 (CFLAGS-nldbl-acos.c): New variable.
25181 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
25182 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
25183 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
25184 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
25185 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
25186 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
25187 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
25188 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
25189 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
25190 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
25191 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
25192 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
25193 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
25194 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
25195 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
25196 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
25197 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
25198 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
25199 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
25200 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
25201 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
25202 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
25203 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
25204 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
25205 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
25206 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
25207 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
25208 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
25209 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
25210 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
25211 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
25212 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
25213 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
25214 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
25215 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
25216 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
25217 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
25218 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
25219 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
25220 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
25221 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
25222 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
25223 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
25224 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
25225 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
25226 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
25227 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
25228 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
25229 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
25230 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
25231 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
25232 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
25233 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
25234 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
25235 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
25236 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
25237 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
25238 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
25239 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
25240 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
25241 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
25242 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
25243 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
25244 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
25245 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
25246 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
25247 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
25248 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
25249 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
25250 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
25251 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
25252 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
25253 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
25254 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
25255 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
25256 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
25257 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
25258 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
25259 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
25260 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
25261 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
25262 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
25263 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
25264 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
25265 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
25266 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
25267 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
25268 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
25269 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
25270 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
25271 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
25272 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
25273 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
25274 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
25275 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
25276 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
25277 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
25279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25280 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25283 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
25284 whole low double instead of just low 47 bits when splitting values
25287 2012-12-03 Allan McRae <allan@archlinux.org>
25289 * manual/stdio.texi (Predefined Printf Handlers): Remove
25290 @hsep and @vsep usage.
25292 2012-12-03 Mike Frysinger <vapier@gentoo.org>
25294 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
25295 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
25297 2012-12-03 Jeff Law <law@redhat.com>
25299 * time/sys/time.h (settimeofday): Do not mark TV argument
25302 2012-12-01 Mike Frysinger <vapier@gentoo.org>
25304 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
25305 when currently writing and seek to current position when not.
25306 * libio/Makefile (tests): Remove bug-fclose1.
25307 * libio/bug-fclose1.c: Delete.
25309 2012-12-01 Joseph Myers <joseph@codesourcery.com>
25311 * manual/arith.texi (feenableexcept): Fix typo.
25312 (fedisableexcept): Likewise.
25314 2012-11-30 Roland McGrath <roland@hack.frob.com>
25316 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
25317 second, differently-typed declaration, rather than a cast.
25319 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
25321 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
25322 * include/rpc/svc.h: ... here.
25324 2012-11-30 Aurelien Jarno <aurel32@debian.org>
25327 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
25328 depending n and resplen2 to catch cases where answer
25331 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
25333 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
25334 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
25336 2012-11-29 Mike Frysinger <vapier@gentoo.org>
25338 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
25340 2012-11-29 Roland McGrath <roland@hack.frob.com>
25342 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
25344 2012-11-28 Jeff Law <law@redhat.com>
25347 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
25348 dataset_temporary. Track alloca usage into alloca_used.
25349 If dataset is large allocate and release it via malloc/free.
25351 2012-06-04 Florian Weimer <fweimer@redhat.com>
25354 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
25356 2012-11-28 David S. Miller <davem@davemloft.net>
25358 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25360 2012-11-28 Joseph Myers <joseph@codesourcery.com>
25363 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
25364 of pi/2 rounded to nearest to 64 bits.
25365 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
25366 nearest to 64 bits.
25367 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
25370 2012-11-28 Jeff Law <law@redhat.com>
25371 Martin Osvald <mosvald@redhat.com>
25374 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
25375 * sunrpc/svc.c: Include time.h.
25376 (__svc_accept_failed): New function.
25377 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
25378 any reason other than EINTR, call __svc_accept_failed.
25379 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
25380 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
25382 2012-11-28 Andreas Schwab <schwab@suse.de>
25384 * scripts/abilist.awk: Also handle indirect functions in .opd
25387 2012-11-28 Joseph Myers <joseph@codesourcery.com>
25390 * sysdeps/x86/fpu/powl_helper.c: New file.
25391 * sysdeps/x86/fpu/Makefile: Likewise.
25392 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
25394 (__ieee754_powl): Use __powl_helper for finite arguments except
25395 integer exponents below 8.
25396 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
25398 (__ieee754_powl): Use __powl_helper for finite arguments except
25399 integer exponents below 8.
25400 * math/libm-test.inc (pow_test): Add more tests and enable some
25401 previously disabled tests.
25402 * sysdeps/i386/fpu/libm-test-ulps: Update.
25403 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25405 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25406 Carlos O'Donell <carlos_odonell@mentor.com>
25408 * nss/makedb.c (is_prime): Assert that input is odd and greater
25409 than 4. Note that fact in a comment too.
25410 (next_prime): Add 4 to input.
25412 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25415 * libio/Makefile (tests): Add test case tst-fwrite-error.
25416 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
25417 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
25418 * libio/tst-fwrite-error.c: New test case.
25420 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
25422 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
25423 before casting to void *.
25424 * include/libc-internal.h (__pointer_type): New macro.
25425 (__integer_if_pointer_type_sub): Likewise.
25426 (__integer_if_pointer_type): Likewise.
25427 (cast_to_integer): Likewise.
25428 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
25429 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
25430 before casting to atomic64_t.
25431 (atomic_exchange_acq): Likewise.
25432 (__arch_exchange_and_add_body): Likewise.
25433 (__arch_add_body): Likewise.
25434 (atomic_add_negative): Likewise.
25435 (atomic_add_zero): Likewise.
25437 2012-11-26 Joseph Myers <joseph@codesourcery.com>
25439 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
25440 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
25441 (add_fdes): Likewise.
25442 (linear_search_fdes): Likewise.
25443 (binary_search_unencoded_fdes): Likewise.
25445 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
25447 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
25449 2012-11-24 Adam Conrad <adconrad@0c3.net>
25451 * configure.in: Autodetect C++ header directories.
25452 * configure: Regenerated.
25454 2012-11-23 Mike Frysinger <vapier@gentoo.org>
25456 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
25458 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
25460 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25462 2012-11-22 Joseph Myers <joseph@codesourcery.com>
25464 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
25465 LDBL_MANT_DIG == 106]: Disable some tests.
25466 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
25468 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
25472 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
25473 input for small inputs. Return +/- pi/2 for large inputs.
25474 * math/libm-test.inc (atan_test): Add more tests.
25476 * sysdeps/generic/unwind-dw2-fde-glibc.c
25477 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
25478 __attribute__ ((unused)).
25481 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
25482 x * y if x and y are nonzero and z is zero.
25485 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
25486 nonzero exponents with absolute value below 0x1p-117 to +/-
25490 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
25491 up arguments below 2**-450, not just those below 2**-500.
25492 * math/libm-test.inc (hypot_test): Add another test.
25495 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
25496 Return a+b for ratio over 2**120, not 2**60.
25497 * math/libm-test.inc (hypot_test): Add another test.
25499 * math/libm-test.inc (clog_test): Use
25500 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
25501 (clog10_test): Likewise.
25504 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
25506 2012-11-22 Andreas Schwab <schwab@suse.de>
25508 * sysdeps/i386/fpu/libm-test-ulps: Update.
25510 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
25512 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
25513 printf output with newline.
25515 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
25518 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
25519 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
25520 -z nodlopen, -z initfirst and -z execstack support.
25521 * configure: Regenerated.
25523 * elf/elf.h (DF_1_NODIRECT): New macro.
25524 (DF_1_IGNMULDEF): Likewise.
25525 (DF_1_NOKSYMS): Likewise.
25526 (DF_1_NOHDR): Likewise.
25527 (DF_1_EDITED): Likewise.
25528 (DF_1_NORELOC): Likewise.
25529 (DF_1_SYMINTPOSE): Likewise.
25530 (DF_1_GLOBAUDIT): Likewise.
25531 (DF_1_SINGLETON): Likewise.
25532 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
25533 DT_1_SUPPORTED_MASK bits.
25534 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
25536 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
25538 * sysdeps/unix/make-syscalls.sh: Document prefixes.
25540 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
25542 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
25545 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
25546 (sendmmsg): Move declarations...
25547 * socket/sys/socket.h: ... here.
25548 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
25549 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
25551 * socket/recvmmsg.c: ... this new file.
25552 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
25553 (sendmmsg): Rename to __sendmmsg, create weak alias and make
25554 definition of __sendmmsg hidden.
25555 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
25556 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
25557 Move ENOSYS stub into and include it from...
25558 * socket/sendmmsg.c: ... this new file.
25559 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
25560 (sysdep_routines): Move recvmmsg and sendmmsg...
25561 * socket/Makefile (routines): ... here.
25562 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
25563 (GLIBC_PRIVATE): Add __sendmmsg.
25564 * include/sys/socket.h (__sendmmsg): Add declarations.
25565 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
25568 2012-11-20 Joseph Myers <joseph@codesourcery.com>
25570 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
25571 variable I1 with __attribute__ ((unused)).
25572 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
25574 2012-11-19 Joseph Myers <joseph@codesourcery.com>
25576 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
25577 DUMMY variables with __attribute__ ((unused)).
25579 * bits/byteswap.h: Include <bits/types.h>.
25580 (__bswap_64): Use __uint64_t instead of unsigned long long int.
25582 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
25584 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
25585 string_t. Do not manually set errno.
25586 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
25587 length with __strnlen. Make sure to both set errno and return it on
25590 2012-11-19 David S. Miller <davem@davemloft.net>
25592 With help from Joseph Myers.
25593 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
25594 very large arguments properly.
25595 * math/libm-test.inc (atan_test): New tests.
25596 (atan2_test): New tests.
25597 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25598 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25600 2012-11-19 Joseph Myers <joseph@codesourcery.com>
25603 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
25606 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
25607 [POSIX] (EADDRNOTAVAIL): Likewise.
25608 [POSIX] (EAFNOSUPPORT): Likewise.
25609 [POSIX] (EALREADY): Likewise.
25610 [POSIX] (ECONNABORTED): Likewise.
25611 [POSIX] (ECONNREFUSED): Likewise.
25612 [POSIX] (ECONNRESET): Likewise.
25613 [POSIX] (EDESTADDRREQ): Likewise.
25614 [POSIX] (EDQUOT): Likewise.
25615 [POSIX] (EHOSTUNREACH): Likewise.
25616 [POSIX] (EIDRM): Likewise.
25617 [POSIX] (EISCONN): Likewise.
25618 [POSIX] (ELOOP): Likewise.
25619 [POSIX] (EMULTIHOP): Likewise.
25620 [POSIX] (ENETDOWN): Likewise.
25621 [POSIX] (ENETUNREACH): Likewise.
25622 [POSIX] (ENOBUFS): Likewise.
25623 [POSIX] (ENODATA): Likewise.
25624 [POSIX] (ENOLINK): Likewise.
25625 [POSIX] (ENOMSG): Likewise.
25626 [POSIX] (ENOPROTOOPT): Likewise.
25627 [POSIX] (ENOSR): Likewise.
25628 [POSIX] (ENOSTR): Likewise.
25629 [POSIX] (ENOTCONN): Likewise.
25630 [POSIX] (ENOTSOCK): Likewise.
25631 [POSIX] (EOPNOTSUPP): Likewise.
25632 [POSIX] (EOVERFLOW): Likewise.
25633 [POSIX] (EPROTO): Likewise.
25634 [POSIX] (EPROTONOSUPPORT): Likewise.
25635 [POSIX] (EPROTOTYPE): Likewise.
25636 [POSIX] (ESTALE): Likewise.
25637 [POSIX] (ETIME): Likewise.
25638 [POSIX] (ETXTBSY): Likewise.
25639 [POSIX] (EWOULDBLOCK): Likewise.
25640 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
25641 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
25642 [POSIX] (SEEK_CUR): Likewise.
25643 [POSIX] (SEEK_END): Likewise.
25644 [POSIX || UNIX98] (mode_t): Do not require.
25645 [POSIX] (off_t): Likewise.
25646 [POSIX] (pid_t): Likewise.
25647 [POSIX] (sys/stat.h): Do not allow header.
25648 [POSIX] (unistd.h): Likewise.
25649 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
25650 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
25651 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
25652 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
25654 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
25655 sigevent): Specify elements.
25656 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
25658 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
25659 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
25661 * conform/data/cpio.h-data [POSIX]: Disable whole file.
25662 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
25663 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
25664 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
25665 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
25666 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
25667 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
25668 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
25669 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
25670 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
25671 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
25672 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
25673 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
25674 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
25676 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
25678 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
25680 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
25682 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
25683 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
25684 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
25685 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
25686 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
25687 Specify lower bound on value.
25688 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
25689 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
25690 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
25691 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
25692 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
25693 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
25694 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
25695 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
25697 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
25699 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
25700 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
25701 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
25702 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
25703 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
25704 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
25705 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
25706 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
25707 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
25708 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
25709 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
25710 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
25711 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
25712 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
25713 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
25714 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
25716 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
25718 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
25719 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
25720 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
25721 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
25722 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
25723 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
25725 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
25726 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
25727 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
25728 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
25729 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
25730 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
25731 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
25733 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
25734 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
25735 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
25736 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
25737 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
25738 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
25739 specify as optional.
25740 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
25741 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
25742 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
25743 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
25744 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
25745 [XPG3] (NL_LANGMAX): Likewise.
25746 [POSIX || XPG3] (NL_MSGMAX): Likewise.
25747 [POSIX || XPG3] (NL_NMAX): Likewise.
25748 [POSIX || XPG3] (NL_SETMAX): Likewise.
25749 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
25750 [XPG3] (NZERO): Likewise.
25751 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
25752 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
25753 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
25754 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
25755 (REG_ERANGE): Expect.
25756 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
25758 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
25759 Use (void) in prototype.
25760 [POSIX] (*_t): Allow.
25761 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
25762 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
25763 (WRDE_BADVAL): Expect.
25765 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
25767 [XPG3 || XPG4] (O_RSYNC): Likewise.
25768 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
25770 [XPG3 || XPG4] (pthread_sigmask): Likewise.
25771 [XPG3 || XPG4] (sigqueue): Likewise.
25772 [XPG3 || XPG4] (sigtimedwait): Likewise.
25773 [XPG3 || XPG4] (sigwaitinfo): Likewise.
25774 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
25775 [XPG3 || XPG4] (vsnprintf): Likewise.
25776 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
25778 [XPG3 || XPG4] (blksize_t): Likewise.
25779 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
25781 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
25782 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
25783 [XPG3 || XPG4] (struct itimerspec): Likewise.
25784 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
25785 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
25786 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
25787 [XPG3 || XPG4] (clockid_t): Likewise.
25788 [XPG3 || XPG4] (timer_t): Likewise.
25789 [XPG3 || XPG4] (clock_getres): Likewise.
25790 [XPG3 || XPG4] (clock_gettime): Likewise.
25791 [XPG3 || XPG4] (clock_settime): Likewise.
25792 [XPG3 || XPG4] (nanosleep): Likewise.
25793 [XPG3 || XPG4] (timer_create): Likewise.
25794 [XPG3 || XPG4] (timer_delete): Likewise.
25795 [XPG3 || XPG4] (timer_gettime): Likewise.
25796 [XPG3 || XPG4] (timer_getoverrun): Likewise.
25797 [XPG3 || XPG4] (timer_settime): Likewise.
25798 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
25799 [XPG3 || XPG4] (getlogin_r): Likewise.
25800 [XPG3 || XPG4] (pread): Likewise.
25801 [XPG3 || XPG4] (pthread_atfork): Likewise.
25802 [XPG3 || XPG4] (pwrite): Likewise.
25805 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
25808 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
25810 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
25811 finalizing MALLSTREAM.
25813 * sysdeps/mach/hurd/syncfs.c: New file.
25815 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25818 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
25819 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
25820 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
25821 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
25822 (_nss_dns_gethostbyname4_r): Likewise.
25823 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
25824 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
25826 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
25829 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
25831 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
25833 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
25834 * elf/cache.c (print_entry): Print ",AArch64" for
25837 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
25838 * elf/cache.c (print_entry): Print ",hard-float" for
25841 2012-11-18 David S. Miller <davem@davemloft.net>
25843 With help from Joseph Myers.
25844 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
25846 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
25848 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
25849 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
25851 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
25852 * math/libm-test.inc (y0_test): New tests.
25853 (y1_test): New tests.
25854 * sysdeps/i386/fpu/libm-test-ulps: Update.
25855 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25856 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25858 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
25860 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
25862 * configure: Regenerated.
25864 2012-11-17 David S. Miller <davem@davemloft.net>
25867 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
25868 nonzero exponents with absolute value below 0x1p-128 to +/-
25871 2012-11-17 Joseph Myers <joseph@codesourcery.com>
25873 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
25875 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
25877 * posix/getconf-speclist.c: New file.
25878 * posix/posix-envs.def: Likewise.
25879 * posix/confstr.c (START_ENV_GROUP): New macro.
25880 (END_ENV_GROUP): Likewise.
25881 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
25882 (KNOWN_PRESENT_ENV_STRING): Likewise.
25883 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
25884 (UNKNOWN_ENVIRONMENT): Likewise.
25885 (confstr): Include posix-envs.def instead of handling
25886 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
25887 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
25888 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
25889 (END_ENV_GROUP): Likewise.
25890 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
25891 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
25892 (UNKNOWN_ENVIRONMENT): Likewise.
25893 (__sysconf): Include posix-envs.def instead of handling associated
25894 cases directly here.
25895 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
25896 preprocessing getconf-speclist.c rather than running getconf or
25897 generating empty file.
25899 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
25901 * scripts/check-local-headers.sh: Ignore 'mach' headers.
25903 2012-11-16 Andrej Lajovic <natrij@gmail.com>
25906 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
25908 2012-11-16 David S. Miller <davem@davemloft.net>
25910 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
25911 smaller than LDBL_EPSILON/2.0L, just return xm1.
25913 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
25915 * elf/tst-array1.c (init): Set constructor priority to 1000.
25916 (fini): Set destructor priority to 1000.
25917 * elf/tst-array2dep.c: Likewise.
25919 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25922 * libio/fileops.c (_IO_new_file_write): Correctly return error.
25923 (_IO_new_file_xsputn): Also return EOF if none of the input
25924 data was written when overflow failed.
25925 * libio/iopadn.c (_IO_padn): Likewise.
25926 * libio/iowpadn.c (_IO_wpadn): Likewise.
25927 * stdio-common/tst-put-error.c: Add copyright notice.
25928 (do_test): Add case for printing padded string.
25929 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
25930 _IO_padn returned error.
25931 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
25932 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
25935 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25937 * libio/libioP.h: Add comment note that the references to C++
25938 bits are now obsolete.
25940 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25942 * math/libm-test.inc (check_complex): Use asprintf.
25944 2012-11-14 Joseph Myers <joseph@codesourcery.com>
25946 * debug/pcprofiledump.c (print_version): Update copyright year.
25947 * malloc/memusagestat.c (print_version): Likewise.
25949 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
25952 * elf/Makefile (tests): Add tst-audit8.
25953 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
25954 ($(objpfx)tst-audit8.out): New target.
25955 (tst-audit8-ENV): New variable.
25956 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
25957 audit if l_reloc_result is NULL.
25958 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
25959 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
25960 * elf/tst-audit8.c: New file.
25962 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25964 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
25965 * misc/Makefile (CFLAGS-select.c): Define.
25966 * posix/Makefile (CFLAGS-pause.c): Define.
25968 2012-11-13 David S. Miller <davem@davemloft.net>
25970 * crypt/Makefile: Move test targets after toplevel Rules
25971 inclusion. Grab any necessary sysdep routines when linking.
25972 * crypt/md5.c (md5_process_block): Remove define, we will always
25973 name it __md5_process_block.
25974 (md5_finish_ctx): Update md5_process_block call.
25975 (md5_stream): Likewise.
25976 (md5_process_bytes): Likewise.
25977 (md5_process_block): Rename to __md5_process_block and move to ...
25978 * crypt/md5-block.c: ... here.
25979 * crypt/sha256.c (sha256_process_block): Move to ...
25980 * crypt/sha256-block.c: ... here.
25981 * crypt/sha512.c (sha512_process_block): Move to ...
25982 * crypt/sha512-block.c: ... here.
25983 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
25985 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
25986 * sysdeps/sparc/sparc64/multiarch/Makefile
25987 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
25989 (localedef-aux): Add md5 crypto assembler when in locale subdir.
25990 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
25992 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
25993 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
25994 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
25995 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
25996 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
25997 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
25998 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
25999 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
26000 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
26002 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
26003 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
26005 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
26007 2012-11-13 Joseph Myers <joseph@codesourcery.com>
26009 * timezone/tzselect.ksh: Update from tzcode git revision
26010 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
26011 * timezone/zdump.c: Likewise.
26012 * timezone/zic.c: Likewise.
26013 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
26014 in TZVERSION setting, not $(PKGVERSION).
26015 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
26016 REPORT_BUGS_TO settings.
26019 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
26022 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26024 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
26025 detection to immediately after _FP_ROUND().
26026 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
26029 2012-11-11 David S. Miller <davem@davemloft.net>
26031 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
26033 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
26034 __close rather than their public counterparts.
26036 2012-11-10 Joseph Myers <joseph@codesourcery.com>
26038 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
26040 [UNIX98] (sem_timedwait): Do not expect.
26041 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
26042 [XPG4 || UNIX98] (sockatmark): Do not expect.
26043 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
26044 (clock_getcpuclockid): Do not expect.
26045 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
26046 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
26048 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
26049 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
26050 [UNIX98] (vwscanf): Likewise.
26051 [UNIX98] (vswscanf): Likewise.
26053 2012-11-09 Joseph Myers <joseph@codesourcery.com>
26055 * timezone/version.h: Remove file.
26056 * timezone/README: Do not refer to version.h.
26057 * timezone/Makefile ($(objpfx)zic.o): New dependency on
26058 $(objpfx)version.h.
26059 ($(objpfx)zdump.o): Likewise.
26060 ($(objpfx)version.h): New target.
26062 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
26064 * timezone/README: Don't mention modification to tzselect.ksh.
26065 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
26066 work on unmodified tzselect.ksh. Substitute version numbers in
26069 * Makefile (format-me): Remove.
26070 (INSTALL): Adjust indentation. Use commands directly instead of
26071 using $(format-me).
26073 * aclocal.m4 (ACX_PKGVERSION): New macro.
26074 (ACX_BUGURL): Likewise.
26075 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
26076 (PKGVERSION): New AC_DEFINE_UNQUOTED.
26077 (REPORT_BUGS_TO): Likewise.
26078 * configure: Regenerated.
26079 * config.h.in (PKGVERSION): New macro.
26080 (REPORT_BUGS_TO): Likewise.
26081 * config.make.in (PKGVERSION): New variable.
26082 (PKGVERSION_TEXI): Likewise.
26083 (REPORT_BUGS_TO): Likewise.
26084 (REPORT_BUGS_TEXI): Likewise.
26085 * Makefile (format-me): Use -I$(common-objpfx)manual.
26086 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
26087 ($(common-objpfx)manual/%): New target.
26088 (manual/%): Remove target.
26089 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
26090 (print_version): Use PKGVERSION.
26091 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
26092 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
26093 and REPORT_BUGS_TO.
26094 ($(objpfx)xtrace): Likewise.
26095 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
26096 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
26097 (print_version): Use PKGVERSION.
26098 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
26099 (do_version): Use PKGVERSION.
26100 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
26102 (common-ldd-rewrite): Likewise.
26103 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
26104 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
26105 (print_version): Use PKGVERSION.
26106 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
26107 * elf/pldd.c (argp_program_bug_address): Remove variable.
26108 (more_help): New function.
26109 (argp): Use more_help.
26110 (print_version): Use PKGVERSION.
26111 * elf/sln.c (main): Use PKGVERSION.
26112 (usage): Use REPORT_BUGS_TO.
26113 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
26114 (top level): Use PKGVERSION.
26115 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
26116 (print_version): Use PKGVERSION.
26117 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
26118 (print_version): Use PKGVERSION.
26119 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
26120 (print_version): Use PKGVERSION.
26121 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
26122 (print_version): Use PKGVERSION.
26123 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
26124 (print_version): Use PKGVERSION.
26125 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
26126 (print_version): Use PKGVERSION.
26127 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
26129 ($(objpfx)memusage): Likewise.
26130 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
26131 (do_version): Use PKGVERSION.
26132 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
26133 (print_version): Use PKGVERSION.
26134 * malloc/mtrace.pl ($PACKAGE): Remove variable.
26135 ($PKGVERSION): New variable.
26136 ($REPORT_BUGS_TO): Likewise.
26137 (usage): Use $REPORT_BUGS_TO.
26138 (top level): Use $PKGVERSION.
26139 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
26140 ($(objpfx)pkgvers.texi): New rule.
26141 ($(objpfx)stamp-pkgvers): Likewise.
26142 * manual/install.texi: Include pkgvers.texi.
26143 (--with-pkgversion): Document new configure option.
26144 (--with-bugurl): Likewise.
26145 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
26146 than necessarily for this particular distribution. Use
26147 REPORT_BUGS_TO for where to report bugs.
26148 * INSTALL: Regenerated.
26149 * manual/libc.texinfo: Include pkgvers.texi.
26150 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
26151 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
26152 (print_version): Use PKGVERSION.
26153 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
26154 (print_version): Use PKGVERSION.
26155 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
26156 (print_version): Use PKGVERSION.
26157 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
26158 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
26160 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
26161 (print_version): Use PKGVERSION.
26162 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
26163 (print_version): Use PKGVERSION.
26164 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
26167 * timezone/checktab.awk: Update from tzcode 2012i.
26168 * timezone/ialloc.c: Likewise.
26169 * timezone/private.h: Likewise.
26170 * timezone/scheck.c: Likewise.
26171 * timezone/tzfile.h: Likewise.
26172 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
26173 (TZVERSION): Hardcode tzcode version number.
26174 * timezone/zdump.c: Update from tzcode 2012i.
26175 * timezone/zic.c: Likewise.
26176 * timezone/version.h: New file.
26177 * timezone/README: Describe version.h. Update upstream location.
26180 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
26181 (mktemp): Enable declaration.
26182 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
26183 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
26184 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
26185 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
26187 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
26189 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
26191 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
26193 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
26195 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
26199 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
26200 offset in buffer as u_int32_t not u_long. Consistently use memcpy
26201 for copies of such integer values.
26202 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
26203 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
26205 2012-11-09 Andreas Jaeger <aj@suse.de>
26207 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
26208 definitions and declarations that are provided by
26209 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
26211 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26213 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
26214 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
26215 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
26218 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26220 * elf/elf.h: Update comment before AArch64 relocations.
26222 2012-11-07 David S. Miller <davem@davemloft.net>
26224 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
26225 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
26226 (__start_context): Declare.
26227 (__makecontext_ret): Delete.
26228 (__makecontext): Hook up __start_context instead of
26230 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
26231 (sysdep_routines): Add __start_context when in stdlib.
26233 2012-11-07 Joseph Myers <joseph@codesourcery.com>
26235 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
26236 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
26237 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
26239 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
26240 (READELF): New variable. Use it instead of hardcoded "readelf".
26242 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
26244 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
26245 * sysdeps/x86/Makefile: Here.
26246 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
26247 * sysdeps/x86/tst-xmmymm.sh: This.
26249 2012-11-07 Joseph Myers <joseph@codesourcery.com>
26251 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
26253 [UNIX98] (pthread_barrier_t): Do not expect.
26254 [UNIX98] (pthread_barrierattr_t): Likewise.
26255 [UNIX98] (pthread_spinlock_t): Likewise.
26256 [UNIX98] (pthread_barrier_destroy): Likewise.
26257 [UNIX98] (pthread_barrier_init): Likewise.
26258 [UNIX98] (pthread_barrier_wait): Likewise.
26259 [UNIX98] (pthread_barrierattr_destroy): Likewise.
26260 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
26261 [UNIX98] (pthread_barrierattr_init): Likewise.
26262 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
26263 [UNIX98] (pthread_getcpuclockid): Likewise.
26264 [UNIX98] (pthread_mutex_timedlock): Likewise.
26265 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
26266 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
26267 [UNIX98] (pthread_sigmask): Likewise.
26268 [UNIX98] (pthread_spin_destroy): Likewise.
26269 [UNIX98] (pthread_spin_init): Likewise.
26270 [UNIX98] (pthread_spin_lock): Likewise.
26271 [UNIX98] (pthread_spin_trylock): Likewise.
26272 [UNIX98] (pthread_spin_unlock): Likewise.
26273 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
26275 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
26276 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
26277 [XPG3 || XPG4] (pthread_cond_t): Likewise.
26278 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
26279 [XPG3 || XPG4] (pthread_key_t): Likewise.
26280 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
26281 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
26282 [XPG3 || XPG4] (pthread_once_t): Likewise.
26283 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
26284 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
26285 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
26286 [XPG3 || XPG4] (pthread_t): Likewise.
26288 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
26290 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
26292 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
26293 Change function return type to int.
26295 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
26296 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
26297 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
26298 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
26299 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
26300 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
26301 [!POSIX] (posix_madvise): Likewise.
26302 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
26304 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
26305 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
26306 (mode_t): Likewise.
26307 (posix_mem_offset): Likewise.
26308 (posix_typed_mem_get_info): Likewise.
26309 (posix_typed_mem_open): Likewise.
26311 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
26312 Change condition to [XOPEN2K8].
26314 * conform/conformtest.pl: Preprocess allow-header data with -x c
26315 instead of from stdin.
26316 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
26317 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
26318 [C99-based standards] (cerfc): Likewise.
26319 [C99-based standards] (cexp2): Likewise.
26320 [C99-based standards] (cexpm1): Likewise.
26321 [C99-based standards] (clog10): Likewise.
26322 [C99-based standards] (clog1p): Likewise.
26323 [C99-based standards] (clog2): Likewise.
26324 [C99-based standards] (clgamma): Likewise.
26325 [C99-based standards] (ctgamma): Likewise.
26326 [C99-based standards] (cerff): Likewise.
26327 [C99-based standards] (cerfcf): Likewise.
26328 [C99-based standards] (cexp2f): Likewise.
26329 [C99-based standards] (cexpm1f): Likewise.
26330 [C99-based standards] (clog10f): Likewise.
26331 [C99-based standards] (clog1pf): Likewise.
26332 [C99-based standards] (clog2f): Likewise.
26333 [C99-based standards] (clgammaf): Likewise.
26334 [C99-based standards] (ctgammaf): Likewise.
26335 [C99-based standards] (cerfl): Likewise.
26336 [C99-based standards] (cerfcl): Likewise.
26337 [C99-based standards] (cexp2l): Likewise.
26338 [C99-based standards] (cexpm1l): Likewise.
26339 [C99-based standards] (clog10l): Likewise.
26340 [C99-based standards] (clog1pl): Likewise.
26341 [C99-based standards] (clog2l): Likewise.
26342 [C99-based standards] (clgammal): Likewise.
26343 [C99-based standards] (ctgammal): Likewise.
26344 * conform/data/inttypes.h-data [C99-based standards]: Include
26345 stdint.h-data. Remove all expectations for stdint.h contents.
26346 [C99-based standards] (PRI*): Do not allow.
26347 [C99-based standards] (SCN*): Likewise.
26348 [C99-based standards] (*_t): Likewise.
26349 [C99-based-standards] (PRId8): Expect macro.
26350 [C99-based-standards] (PRIi8): Likewise.
26351 [C99-based-standards] (PRIo8): Likewise.
26352 [C99-based-standards] (PRIu8): Likewise.
26353 [C99-based-standards] (PRIx8): Likewise.
26354 [C99-based-standards] (PRIX8): Likewise.
26355 [C99-based-standards] (SCNd8): Likewise.
26356 [C99-based-standards] (SCNi8): Likewise.
26357 [C99-based-standards] (SCNo8): Likewise.
26358 [C99-based-standards] (SCNu8): Likewise.
26359 [C99-based-standards] (SCNx8): Likewise.
26360 [C99-based-standards] (PRIdLEAST8): Likewise.
26361 [C99-based-standards] (PRIiLEAST8): Likewise.
26362 [C99-based-standards] (PRIoLEAST8): Likewise.
26363 [C99-based-standards] (PRIuLEAST8): Likewise.
26364 [C99-based-standards] (PRIxLEAST8): Likewise.
26365 [C99-based-standards] (PRIXLEAST8): Likewise.
26366 [C99-based-standards] (SCNdLEAST8): Likewise.
26367 [C99-based-standards] (SCNiLEAST8): Likewise.
26368 [C99-based-standards] (SCNoLEAST8): Likewise.
26369 [C99-based-standards] (SCNuLEAST8): Likewise.
26370 [C99-based-standards] (SCNxLEAST8): Likewise.
26371 [C99-based-standards] (PRIdFAST8): Likewise.
26372 [C99-based-standards] (PRIiFAST8): Likewise.
26373 [C99-based-standards] (PRIoFAST8): Likewise.
26374 [C99-based-standards] (PRIuFAST8): Likewise.
26375 [C99-based-standards] (PRIxFAST8): Likewise.
26376 [C99-based-standards] (PRIXFAST8): Likewise.
26377 [C99-based-standards] (SCNdFAST8): Likewise.
26378 [C99-based-standards] (SCNiFAST8): Likewise.
26379 [C99-based-standards] (SCNoFAST8): Likewise.
26380 [C99-based-standards] (SCNuFAST8): Likewise.
26381 [C99-based-standards] (SCNxFAST8): Likewise.
26382 [C99-based-standards] (PRId16): Likewise.
26383 [C99-based-standards] (PRIi16): Likewise.
26384 [C99-based-standards] (PRIo16): Likewise.
26385 [C99-based-standards] (PRIu16): Likewise.
26386 [C99-based-standards] (PRIx16): Likewise.
26387 [C99-based-standards] (PRIX16): Likewise.
26388 [C99-based-standards] (SCNd16): Likewise.
26389 [C99-based-standards] (SCNi16): Likewise.
26390 [C99-based-standards] (SCNo16): Likewise.
26391 [C99-based-standards] (SCNu16): Likewise.
26392 [C99-based-standards] (SCNx16): Likewise.
26393 [C99-based-standards] (PRIdLEAST16): Likewise.
26394 [C99-based-standards] (PRIiLEAST16): Likewise.
26395 [C99-based-standards] (PRIoLEAST16): Likewise.
26396 [C99-based-standards] (PRIuLEAST16): Likewise.
26397 [C99-based-standards] (PRIxLEAST16): Likewise.
26398 [C99-based-standards] (PRIXLEAST16): Likewise.
26399 [C99-based-standards] (SCNdLEAST16): Likewise.
26400 [C99-based-standards] (SCNiLEAST16): Likewise.
26401 [C99-based-standards] (SCNoLEAST16): Likewise.
26402 [C99-based-standards] (SCNuLEAST16): Likewise.
26403 [C99-based-standards] (SCNxLEAST16): Likewise.
26404 [C99-based-standards] (PRIdFAST16): Likewise.
26405 [C99-based-standards] (PRIiFAST16): Likewise.
26406 [C99-based-standards] (PRIoFAST16): Likewise.
26407 [C99-based-standards] (PRIuFAST16): Likewise.
26408 [C99-based-standards] (PRIxFAST16): Likewise.
26409 [C99-based-standards] (PRIXFAST16): Likewise.
26410 [C99-based-standards] (SCNdFAST16): Likewise.
26411 [C99-based-standards] (SCNiFAST16): Likewise.
26412 [C99-based-standards] (SCNoFAST16): Likewise.
26413 [C99-based-standards] (SCNuFAST16): Likewise.
26414 [C99-based-standards] (SCNxFAST16): Likewise.
26415 [C99-based-standards] (PRId32): Likewise.
26416 [C99-based-standards] (PRIi32): Likewise.
26417 [C99-based-standards] (PRIo32): Likewise.
26418 [C99-based-standards] (PRIu32): Likewise.
26419 [C99-based-standards] (PRIx32): Likewise.
26420 [C99-based-standards] (PRIX32): Likewise.
26421 [C99-based-standards] (SCNd32): Likewise.
26422 [C99-based-standards] (SCNi32): Likewise.
26423 [C99-based-standards] (SCNo32): Likewise.
26424 [C99-based-standards] (SCNu32): Likewise.
26425 [C99-based-standards] (SCNx32): Likewise.
26426 [C99-based-standards] (PRIdLEAST32): Likewise.
26427 [C99-based-standards] (PRIiLEAST32): Likewise.
26428 [C99-based-standards] (PRIoLEAST32): Likewise.
26429 [C99-based-standards] (PRIuLEAST32): Likewise.
26430 [C99-based-standards] (PRIxLEAST32): Likewise.
26431 [C99-based-standards] (PRIXLEAST32): Likewise.
26432 [C99-based-standards] (SCNdLEAST32): Likewise.
26433 [C99-based-standards] (SCNiLEAST32): Likewise.
26434 [C99-based-standards] (SCNoLEAST32): Likewise.
26435 [C99-based-standards] (SCNuLEAST32): Likewise.
26436 [C99-based-standards] (SCNxLEAST32): Likewise.
26437 [C99-based-standards] (PRIdFAST32): Likewise.
26438 [C99-based-standards] (PRIiFAST32): Likewise.
26439 [C99-based-standards] (PRIoFAST32): Likewise.
26440 [C99-based-standards] (PRIuFAST32): Likewise.
26441 [C99-based-standards] (PRIxFAST32): Likewise.
26442 [C99-based-standards] (PRIXFAST32): Likewise.
26443 [C99-based-standards] (SCNdFAST32): Likewise.
26444 [C99-based-standards] (SCNiFAST32): Likewise.
26445 [C99-based-standards] (SCNoFAST32): Likewise.
26446 [C99-based-standards] (SCNuFAST32): Likewise.
26447 [C99-based-standards] (SCNxFAST32): Likewise.
26448 [C99-based-standards] (PRId64): Likewise.
26449 [C99-based-standards] (PRIi64): Likewise.
26450 [C99-based-standards] (PRIo64): Likewise.
26451 [C99-based-standards] (PRIu64): Likewise.
26452 [C99-based-standards] (PRIx64): Likewise.
26453 [C99-based-standards] (PRIX64): Likewise.
26454 [C99-based-standards] (SCNd64): Likewise.
26455 [C99-based-standards] (SCNi64): Likewise.
26456 [C99-based-standards] (SCNo64): Likewise.
26457 [C99-based-standards] (SCNu64): Likewise.
26458 [C99-based-standards] (SCNx64): Likewise.
26459 [C99-based-standards] (PRIdLEAST64): Likewise.
26460 [C99-based-standards] (PRIiLEAST64): Likewise.
26461 [C99-based-standards] (PRIoLEAST64): Likewise.
26462 [C99-based-standards] (PRIuLEAST64): Likewise.
26463 [C99-based-standards] (PRIxLEAST64): Likewise.
26464 [C99-based-standards] (PRIXLEAST64): Likewise.
26465 [C99-based-standards] (SCNdLEAST64): Likewise.
26466 [C99-based-standards] (SCNiLEAST64): Likewise.
26467 [C99-based-standards] (SCNoLEAST64): Likewise.
26468 [C99-based-standards] (SCNuLEAST64): Likewise.
26469 [C99-based-standards] (SCNxLEAST64): Likewise.
26470 [C99-based-standards] (PRIdFAST64): Likewise.
26471 [C99-based-standards] (PRIiFAST64): Likewise.
26472 [C99-based-standards] (PRIoFAST64): Likewise.
26473 [C99-based-standards] (PRIuFAST64): Likewise.
26474 [C99-based-standards] (PRIxFAST64): Likewise.
26475 [C99-based-standards] (PRIXFAST64): Likewise.
26476 [C99-based-standards] (SCNdFAST64): Likewise.
26477 [C99-based-standards] (SCNiFAST64): Likewise.
26478 [C99-based-standards] (SCNoFAST64): Likewise.
26479 [C99-based-standards] (SCNuFAST64): Likewise.
26480 [C99-based-standards] (SCNxFAST64): Likewise.
26481 [C99-based-standards] (PRIdMAX): Likewise.
26482 [C99-based-standards] (PRIiMAX): Likewise.
26483 [C99-based-standards] (PRIoMAX): Likewise.
26484 [C99-based-standards] (PRIuMAX): Likewise.
26485 [C99-based-standards] (PRIxMAX): Likewise.
26486 [C99-based-standards] (PRIXMAX): Likewise.
26487 [C99-based-standards] (SCNdMAX): Likewise.
26488 [C99-based-standards] (SCNiMAX): Likewise.
26489 [C99-based-standards] (SCNoMAX): Likewise.
26490 [C99-based-standards] (SCNuMAX): Likewise.
26491 [C99-based-standards] (SCNxMAX): Likewise.
26492 [C99-based-standards] (PRIdPTR): Likewise.
26493 [C99-based-standards] (PRIiPTR): Likewise.
26494 [C99-based-standards] (PRIoPTR): Likewise.
26495 [C99-based-standards] (PRIuPTR): Likewise.
26496 [C99-based-standards] (PRIxPTR): Likewise.
26497 [C99-based-standards] (PRIXPTR): Likewise.
26498 [C99-based-standards] (SCNdPTR): Likewise.
26499 [C99-based-standards] (SCNiPTR): Likewise.
26500 [C99-based-standards] (SCNoPTR): Likewise.
26501 [C99-based-standards] (SCNuPTR): Likewise.
26502 [C99-based-standards] (SCNxPTR): Likewise.
26503 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
26505 * conform/data/stdint.h-data: Update comments to clarify
26507 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
26509 [C99-based standards] (INT8_MAX): Likewise.
26510 [C99-based standards] (INT16_MIN): Likewise.
26511 [C99-based standards] (INT16_MAX): Likewise.
26512 [C99-based standards] (INT32_MIN): Likewise.
26513 [C99-based standards] (INT32_MAX): Likewise.
26514 [C99-based standards] (INT64_MIN): Likewise.
26515 [C99-based standards] (INT64_MAX): Likewise.
26516 [C99-based standards] (UINT8_MAX): Likewise.
26517 [C99-based standards] (UINT16_MAX): Likewise.
26518 [C99-based standards] (UINT32_MAX): Likewise.
26519 [C99-based standards] (UINT64_MAX): Likewise.
26520 [C99-based standards] (INT_LEAST8_MIN): Likewise.
26521 [C99-based standards] (INT_LEAST8_MAX): Likewise.
26522 [C99-based standards] (INT_LEAST16_MIN): Likewise.
26523 [C99-based standards] (INT_LEAST16_MAX): Likewise.
26524 [C99-based standards] (INT_LEAST32_MIN): Likewise.
26525 [C99-based standards] (INT_LEAST32_MAX): Likewise.
26526 [C99-based standards] (INT_LEAST64_MIN): Likewise.
26527 [C99-based standards] (INT_LEAST64_MAX): Likewise.
26528 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
26529 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
26530 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
26531 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
26532 [C99-based standards] (INT_FAST8_MIN): Likewise.
26533 [C99-based standards] (INT_FAST8_MAX): Likewise.
26534 [C99-based standards] (INT_FAST16_MIN): Likewise.
26535 [C99-based standards] (INT_FAST16_MAX): Likewise.
26536 [C99-based standards] (INT_FAST32_MIN): Likewise.
26537 [C99-based standards] (INT_FAST32_MAX): Likewise.
26538 [C99-based standards] (INT_FAST64_MIN): Likewise.
26539 [C99-based standards] (INT_FAST64_MAX): Likewise.
26540 [C99-based standards] (UINT_FAST8_MAX): Likewise.
26541 [C99-based standards] (UINT_FAST16_MAX): Likewise.
26542 [C99-based standards] (UINT_FAST32_MAX): Likewise.
26543 [C99-based standards] (UINT_FAST64_MAX): Likewise.
26544 [C99-based standards] (INTPTR_MIN): Likewise.
26545 [C99-based standards] (INTPTR_MAX): Likewise.
26546 [C99-based standards] (UINTPTR_MAX): Likewise.
26547 [C99-based standards] (INTMAX_MIN): Likewise.
26548 [C99-based standards] (INTMAX_MAX): Likewise.
26549 [C99-based standards] (UINTMAX_MAX): Likewise.
26550 [C99-based standards] (PTRDIFF_MIN): Likewise.
26551 [C99-based standards] (PTRDIFF_MAX): Likewise.
26552 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
26553 [C99-based standards] (SIZE_MAX): Likewise.
26554 [C99-based standards] (WCHAR_MAX): Likewise.
26555 [C99-based standards] (WINT_MAX): Likewise.
26556 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
26557 constraint on value.
26558 [C99-based standards] (WCHAR_MIN): Likewise.
26559 [C99-based standards] (WINT_MIN): Likewise.
26560 [C99-based standards] (*_t): Allow.
26561 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
26562 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
26563 Include math.h-data and complex.h-data. Remove all expectations
26564 of math.h and complex.h contents.
26565 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
26567 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
26568 (struct tm): Expect tag.
26569 [C99-based-standards] (wcstof): Expect function.
26570 [C99-based-standards] (wcstold): Likewise.
26571 [C99-based-standards] (wcstoll): Likewise.
26572 [C99-based-standards] (wcstoull): Likewise.
26573 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
26574 macro-int-constant. Specify type.
26575 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
26576 constraint on value.
26577 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26579 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
26581 [ISO C standards]: Do not allow headers.
26582 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
26583 wcs[abcdefghijklmnopqrstuvwxyz]*.
26584 [ISO C standards] (*_t): Do not allow.
26585 * conform/data/wctype.h-data [C99-based standards] (iswblank):
26587 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
26588 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26590 [ISO C standards]: Do not allow headers.
26591 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
26592 is[abcdefghijklmnopqrstuvwxyz]*.
26593 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
26594 to[abcdefghijklmnopqrstuvwxyz]*.
26595 [ISO C standards] (*_t): Do not allow.
26596 * conform/data/stdalign.h-data: New file.
26597 * conform/data/stdbool.h-data: Likewise.
26598 * conform/data/stdnoreturn.h-data: Likewise.
26600 2012-11-07 Roland McGrath <roland@hack.frob.com>
26603 * manual/filesys.texi (Directory Entries): Typo fix.
26604 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
26606 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26608 * elf/elf.h (EM_AARCH64): New macro.
26609 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
26610 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
26611 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
26612 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
26613 (R_AARCH64_TLSDESC): Likewise.
26614 (NT_ARM_TLS): Likewise.
26615 (NT_ARM_HW_BREAK): Likewise.
26616 (NT_ARM_HW_WATCH): Likewise.
26618 2012-11-07 Joseph Myers <joseph@codesourcery.com>
26621 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
26622 (__ieee754_powl): Saturate nonzero exponents with absolute value
26623 below 0x1p-79 to +/- 0x1p-79.
26624 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
26625 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
26626 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
26627 nonzero exponents with absolute value below 0x1p-32 to +/-
26629 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
26630 (__ieee754_powl): Saturate nonzero exponents with absolute value
26631 below 0x1p-79 to +/- 0x1p-79.
26632 * math/libm-test.inc (pow_test): Add more tests.
26634 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26636 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
26637 _dl_s390_cap_flags with kernel. Increase string length.
26638 (_dl_s390_platforms): Add z196 and zEC12.
26640 2012-11-07 Joseph Myers <joseph@codesourcery.com>
26642 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
26643 Change XOPEN21K to XOPEN2K.
26645 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
26647 * string/memmove.c: Use memcpy when possible.
26649 2012-11-06 Andreas Jaeger <aj@suse.de>
26651 * po/eo.po: Update from translation team.
26653 2012-11-06 Joseph Myers <joseph@codesourcery.com>
26656 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
26657 exponent and small x and y exponents, scale x or y up. Increase
26658 by 2 the exponent used in scaling up.
26659 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26660 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26661 * math/libm-test.inc (fma_test): Add more tests.
26662 (fma_test_towardzero): Likewise.
26663 (fma_test_downward): Likewise.
26664 (fma_test_upward): Likewise.
26666 2012-11-05 Joseph Myers <joseph@codesourcery.com>
26669 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
26673 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
26674 namespace for names of struct fields.
26675 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
26677 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
26678 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
26680 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
26683 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
26685 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
26687 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
26691 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
26694 2012-11-04 Joseph Myers <joseph@codesourcery.com>
26697 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
26698 definitely overflow as x * y not x * y + z.
26699 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26700 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26701 * math/libm-test.inc (fma_test): Add more tests.
26702 (fma_test_towardzero): Likewise.
26703 (fma_test_downward): Likewise.
26704 (fma_test_upward): Likewise.
26706 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
26710 * include/stub-tag.h: Remove file.
26711 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
26713 * manual/maint.texi (Porting): Don't reference it.
26714 * Makerules ($(objpfx)stubs): Likewise.
26715 * dirent/closedir.c: Don't include <stub-tag.h>.
26716 * dirent/dirfd.c: Likewise.
26717 * dirent/fdopendir.c: Likewise.
26718 * dirent/getdents.c: Likewise.
26719 * dirent/getdents64.c: Likewise.
26720 * dirent/opendir.c: Likewise.
26721 * dirent/readdir.c: Likewise.
26722 * dirent/readdir64.c: Likewise.
26723 * dirent/readdir64_r.c: Likewise.
26724 * dirent/readdir_r.c: Likewise.
26725 * dirent/rewinddir.c: Likewise.
26726 * dirent/seekdir.c: Likewise.
26727 * dirent/telldir.c: Likewise.
26728 * gmon/profil.c: Likewise.
26729 * grp/setgroups.c: Likewise.
26730 * inet/if_index.c: Likewise.
26731 * io/access.c: Likewise.
26732 * io/chdir.c: Likewise.
26733 * io/chmod.c: Likewise.
26734 * io/chown.c: Likewise.
26735 * io/close.c: Likewise.
26736 * io/dup.c: Likewise.
26737 * io/dup2.c: Likewise.
26738 * io/dup3.c: Likewise.
26739 * io/euidaccess.c: Likewise.
26740 * io/faccessat.c: Likewise.
26741 * io/fchdir.c: Likewise.
26742 * io/fchmod.c: Likewise.
26743 * io/fchmodat.c: Likewise.
26744 * io/fchown.c: Likewise.
26745 * io/fchownat.c: Likewise.
26746 * io/fcntl.c: Likewise.
26747 * io/flock.c: Likewise.
26748 * io/fstatfs.c: Likewise.
26749 * io/fstatfs64.c: Likewise.
26750 * io/fstatvfs.c: Likewise.
26751 * io/fstatvfs64.c: Likewise.
26752 * io/futimens.c: Likewise.
26753 * io/fxstat.c: Likewise.
26754 * io/fxstat64.c: Likewise.
26755 * io/fxstatat.c: Likewise.
26756 * io/fxstatat64.c: Likewise.
26757 * io/getcwd.c: Likewise.
26758 * io/isatty.c: Likewise.
26759 * io/lchmod.c: Likewise.
26760 * io/lchown.c: Likewise.
26761 * io/link.c: Likewise.
26762 * io/linkat.c: Likewise.
26763 * io/lseek.c: Likewise.
26764 * io/lseek64.c: Likewise.
26765 * io/lxstat64.c: Likewise.
26766 * io/mkdir.c: Likewise.
26767 * io/mkdirat.c: Likewise.
26768 * io/mkfifo.c: Likewise.
26769 * io/mkfifoat.c: Likewise.
26770 * io/open.c: Likewise.
26771 * io/open64.c: Likewise.
26772 * io/openat.c: Likewise.
26773 * io/openat64.c: Likewise.
26774 * io/pipe.c: Likewise.
26775 * io/pipe2.c: Likewise.
26776 * io/poll.c: Likewise.
26777 * io/posix_fadvise.c: Likewise.
26778 * io/posix_fadvise64.c: Likewise.
26779 * io/posix_fallocate.c: Likewise.
26780 * io/posix_fallocate64.c: Likewise.
26781 * io/read.c: Likewise.
26782 * io/readlink.c: Likewise.
26783 * io/readlinkat.c: Likewise.
26784 * io/rmdir.c: Likewise.
26785 * io/sendfile.c: Likewise.
26786 * io/sendfile64.c: Likewise.
26787 * io/statfs.c: Likewise.
26788 * io/statfs64.c: Likewise.
26789 * io/statvfs.c: Likewise.
26790 * io/statvfs64.c: Likewise.
26791 * io/symlink.c: Likewise.
26792 * io/symlinkat.c: Likewise.
26793 * io/ttyname.c: Likewise.
26794 * io/ttyname_r.c: Likewise.
26795 * io/umask.c: Likewise.
26796 * io/unlink.c: Likewise.
26797 * io/unlinkat.c: Likewise.
26798 * io/utime.c: Likewise.
26799 * io/utimensat.c: Likewise.
26800 * io/write.c: Likewise.
26801 * io/xmknod.c: Likewise.
26802 * io/xmknodat.c: Likewise.
26803 * io/xstat.c: Likewise.
26804 * io/xstat64.c: Likewise.
26805 * login/getpt.c: Likewise.
26806 * login/grantpt.c: Likewise.
26807 * login/unlockpt.c: Likewise.
26808 * math/e_acoshl.c: Likewise.
26809 * math/e_acosl.c: Likewise.
26810 * math/e_asinl.c: Likewise.
26811 * math/e_atan2l.c: Likewise.
26812 * math/e_atanhl.c: Likewise.
26813 * math/e_coshl.c: Likewise.
26814 * math/e_expl.c: Likewise.
26815 * math/e_fmodl.c: Likewise.
26816 * math/e_gammal_r.c: Likewise.
26817 * math/e_hypotl.c: Likewise.
26818 * math/e_j0l.c: Likewise.
26819 * math/e_j1l.c: Likewise.
26820 * math/e_jnl.c: Likewise.
26821 * math/e_lgammal_r.c: Likewise.
26822 * math/e_log10l.c: Likewise.
26823 * math/e_log2l.c: Likewise.
26824 * math/e_logl.c: Likewise.
26825 * math/e_powl.c: Likewise.
26826 * math/e_rem_pio2l.c: Likewise.
26827 * math/e_sinhl.c: Likewise.
26828 * math/e_sqrtl.c: Likewise.
26829 * math/fclrexcpt.c: Likewise.
26830 * math/fedisblxcpt.c: Likewise.
26831 * math/feenablxcpt.c: Likewise.
26832 * math/fegetenv.c: Likewise.
26833 * math/fegetexcept.c: Likewise.
26834 * math/fegetround.c: Likewise.
26835 * math/feholdexcpt.c: Likewise.
26836 * math/fesetenv.c: Likewise.
26837 * math/fesetround.c: Likewise.
26838 * math/feupdateenv.c: Likewise.
26839 * math/fgetexcptflg.c: Likewise.
26840 * math/fraiseexcpt.c: Likewise.
26841 * math/fsetexcptflg.c: Likewise.
26842 * math/ftestexcept.c: Likewise.
26843 * math/k_cosl.c: Likewise.
26844 * math/k_rem_pio2l.c: Likewise.
26845 * math/k_sinl.c: Likewise.
26846 * math/k_tanl.c: Likewise.
26847 * math/s_asinhl.c: Likewise.
26848 * math/s_atanl.c: Likewise.
26849 * math/s_cbrtl.c: Likewise.
26850 * math/s_erfl.c: Likewise.
26851 * math/s_expm1l.c: Likewise.
26852 * math/s_log1pl.c: Likewise.
26853 * math/s_tanhl.c: Likewise.
26854 * misc/acct.c: Likewise.
26855 * misc/brk.c: Likewise.
26856 * misc/chflags.c: Likewise.
26857 * misc/chroot.c: Likewise.
26858 * misc/fchflags.c: Likewise.
26859 * misc/fgetxattr.c: Likewise.
26860 * misc/flistxattr.c: Likewise.
26861 * misc/fremovexattr.c: Likewise.
26862 * misc/fsetxattr.c: Likewise.
26863 * misc/fsync.c: Likewise.
26864 * misc/ftruncate.c: Likewise.
26865 * misc/futimes.c: Likewise.
26866 * misc/futimesat.c: Likewise.
26867 * misc/getdomain.c: Likewise.
26868 * misc/getdtsz.c: Likewise.
26869 * misc/gethostid.c: Likewise.
26870 * misc/gethostname.c: Likewise.
26871 * misc/getloadavg.c: Likewise.
26872 * misc/getpagesize.c: Likewise.
26873 * misc/getsysstats.c: Likewise.
26874 * misc/getxattr.c: Likewise.
26875 * misc/gtty.c: Likewise.
26876 * misc/ioctl.c: Likewise.
26877 * misc/lgetxattr.c: Likewise.
26878 * misc/listxattr.c: Likewise.
26879 * misc/llistxattr.c: Likewise.
26880 * misc/lremovexattr.c: Likewise.
26881 * misc/lsetxattr.c: Likewise.
26882 * misc/lutimes.c: Likewise.
26883 * misc/madvise.c: Likewise.
26884 * misc/mincore.c: Likewise.
26885 * misc/mlock.c: Likewise.
26886 * misc/mlockall.c: Likewise.
26887 * misc/mmap.c: Likewise.
26888 * misc/mprotect.c: Likewise.
26889 * misc/msync.c: Likewise.
26890 * misc/munlock.c: Likewise.
26891 * misc/munlockall.c: Likewise.
26892 * misc/munmap.c: Likewise.
26893 * misc/preadv.c: Likewise.
26894 * misc/preadv64.c: Likewise.
26895 * misc/ptrace.c: Likewise.
26896 * misc/pwritev.c: Likewise.
26897 * misc/pwritev64.c: Likewise.
26898 * misc/readv.c: Likewise.
26899 * misc/reboot.c: Likewise.
26900 * misc/remap_file_pages.c: Likewise.
26901 * misc/removexattr.c: Likewise.
26902 * misc/revoke.c: Likewise.
26903 * misc/select.c: Likewise.
26904 * misc/setdomain.c: Likewise.
26905 * misc/setegid.c: Likewise.
26906 * misc/seteuid.c: Likewise.
26907 * misc/sethostid.c: Likewise.
26908 * misc/sethostname.c: Likewise.
26909 * misc/setregid.c: Likewise.
26910 * misc/setreuid.c: Likewise.
26911 * misc/setxattr.c: Likewise.
26912 * misc/sstk.c: Likewise.
26913 * misc/stty.c: Likewise.
26914 * misc/swapoff.c: Likewise.
26915 * misc/swapon.c: Likewise.
26916 * misc/sync.c: Likewise.
26917 * misc/syncfs.c: Likewise.
26918 * misc/syscall.c: Likewise.
26919 * misc/truncate.c: Likewise.
26920 * misc/ualarm.c: Likewise.
26921 * misc/usleep.c: Likewise.
26922 * misc/ustat.c: Likewise.
26923 * misc/utimes.c: Likewise.
26924 * misc/vhangup.c: Likewise.
26925 * misc/writev.c: Likewise.
26926 * posix/_exit.c: Likewise.
26927 * posix/alarm.c: Likewise.
26928 * posix/execve.c: Likewise.
26929 * posix/fexecve.c: Likewise.
26930 * posix/fork.c: Likewise.
26931 * posix/fpathconf.c: Likewise.
26932 * posix/getaddrinfo.c: Likewise.
26933 * posix/getegid.c: Likewise.
26934 * posix/geteuid.c: Likewise.
26935 * posix/getgid.c: Likewise.
26936 * posix/getgroups.c: Likewise.
26937 * posix/getlogin.c: Likewise.
26938 * posix/getlogin_r.c: Likewise.
26939 * posix/getpgid.c: Likewise.
26940 * posix/getpid.c: Likewise.
26941 * posix/getppid.c: Likewise.
26942 * posix/getresgid.c: Likewise.
26943 * posix/getresuid.c: Likewise.
26944 * posix/getsid.c: Likewise.
26945 * posix/getuid.c: Likewise.
26946 * posix/glob64.c: Likewise.
26947 * posix/nanosleep.c: Likewise.
26948 * posix/pathconf.c: Likewise.
26949 * posix/pause.c: Likewise.
26950 * posix/posix_madvise.c: Likewise.
26951 * posix/pread.c: Likewise.
26952 * posix/pread64.c: Likewise.
26953 * posix/pwrite.c: Likewise.
26954 * posix/pwrite64.c: Likewise.
26955 * posix/sched_getaffinity.c: Likewise.
26956 * posix/sched_getp.c: Likewise.
26957 * posix/sched_gets.c: Likewise.
26958 * posix/sched_primax.c: Likewise.
26959 * posix/sched_primin.c: Likewise.
26960 * posix/sched_rr_gi.c: Likewise.
26961 * posix/sched_setaffinity.c: Likewise.
26962 * posix/sched_setp.c: Likewise.
26963 * posix/sched_sets.c: Likewise.
26964 * posix/sched_yield.c: Likewise.
26965 * posix/setgid.c: Likewise.
26966 * posix/setlogin.c: Likewise.
26967 * posix/setpgid.c: Likewise.
26968 * posix/setresgid.c: Likewise.
26969 * posix/setresuid.c: Likewise.
26970 * posix/setsid.c: Likewise.
26971 * posix/setuid.c: Likewise.
26972 * posix/sleep.c: Likewise.
26973 * posix/spawni.c: Likewise.
26974 * posix/sysconf.c: Likewise.
26975 * posix/times.c: Likewise.
26976 * posix/wait.c: Likewise.
26977 * posix/wait3.c: Likewise.
26978 * posix/wait4.c: Likewise.
26979 * posix/waitpid.c: Likewise.
26980 * resolv/gai_sigqueue.c: Likewise.
26981 * resource/getpriority.c: Likewise.
26982 * resource/getrlimit.c: Likewise.
26983 * resource/getrusage.c: Likewise.
26984 * resource/nice.c: Likewise.
26985 * resource/setpriority.c: Likewise.
26986 * resource/setrlimit.c: Likewise.
26987 * resource/ulimit.c: Likewise.
26988 * rt/aio_cancel.c: Likewise.
26989 * rt/aio_fsync.c: Likewise.
26990 * rt/aio_read.c: Likewise.
26991 * rt/aio_sigqueue.c: Likewise.
26992 * rt/aio_suspend.c: Likewise.
26993 * rt/aio_write.c: Likewise.
26994 * rt/clock_getres.c: Likewise.
26995 * rt/clock_gettime.c: Likewise.
26996 * rt/clock_nanosleep.c: Likewise.
26997 * rt/clock_settime.c: Likewise.
26998 * rt/lio_listio.c: Likewise.
26999 * rt/mq_close.c: Likewise.
27000 * rt/mq_getattr.c: Likewise.
27001 * rt/mq_notify.c: Likewise.
27002 * rt/mq_open.c: Likewise.
27003 * rt/mq_receive.c: Likewise.
27004 * rt/mq_send.c: Likewise.
27005 * rt/mq_setattr.c: Likewise.
27006 * rt/mq_timedreceive.c: Likewise.
27007 * rt/mq_timedsend.c: Likewise.
27008 * rt/mq_unlink.c: Likewise.
27009 * rt/shm_open.c: Likewise.
27010 * rt/shm_unlink.c: Likewise.
27011 * rt/timer_create.c: Likewise.
27012 * rt/timer_delete.c: Likewise.
27013 * rt/timer_getoverr.c: Likewise.
27014 * rt/timer_gettime.c: Likewise.
27015 * rt/timer_settime.c: Likewise.
27016 * setjmp/__longjmp.c: Likewise.
27017 * setjmp/setjmp.c: Likewise.
27018 * signal/kill.c: Likewise.
27019 * signal/killpg.c: Likewise.
27020 * signal/raise.c: Likewise.
27021 * signal/sigaction.c: Likewise.
27022 * signal/sigaltstack.c: Likewise.
27023 * signal/sigblock.c: Likewise.
27024 * signal/sigignore.c: Likewise.
27025 * signal/sigintr.c: Likewise.
27026 * signal/signal.c: Likewise.
27027 * signal/sigpause.c: Likewise.
27028 * signal/sigpending.c: Likewise.
27029 * signal/sigqueue.c: Likewise.
27030 * signal/sigreturn.c: Likewise.
27031 * signal/sigset.c: Likewise.
27032 * signal/sigsetmask.c: Likewise.
27033 * signal/sigstack.c: Likewise.
27034 * signal/sigsuspend.c: Likewise.
27035 * signal/sigtimedwait.c: Likewise.
27036 * signal/sigvec.c: Likewise.
27037 * signal/sigwait.c: Likewise.
27038 * signal/sigwaitinfo.c: Likewise.
27039 * signal/sysv_signal.c: Likewise.
27040 * socket/accept.c: Likewise.
27041 * socket/accept4.c: Likewise.
27042 * socket/bind.c: Likewise.
27043 * socket/connect.c: Likewise.
27044 * socket/getpeername.c: Likewise.
27045 * socket/getsockname.c: Likewise.
27046 * socket/getsockopt.c: Likewise.
27047 * socket/isfdtype.c: Likewise.
27048 * socket/listen.c: Likewise.
27049 * socket/recv.c: Likewise.
27050 * socket/recvfrom.c: Likewise.
27051 * socket/recvmsg.c: Likewise.
27052 * socket/send.c: Likewise.
27053 * socket/sendmsg.c: Likewise.
27054 * socket/sendto.c: Likewise.
27055 * socket/setsockopt.c: Likewise.
27056 * socket/shutdown.c: Likewise.
27057 * socket/sockatmark.c: Likewise.
27058 * socket/socket.c: Likewise.
27059 * socket/socketpair.c: Likewise.
27060 * stdio-common/ctermid.c: Likewise.
27061 * stdio-common/cuserid.c: Likewise.
27062 * stdio-common/remove.c: Likewise.
27063 * stdio-common/rename.c: Likewise.
27064 * stdio-common/renameat.c: Likewise.
27065 * stdio-common/tempname.c: Likewise.
27066 * stdlib/getcontext.c: Likewise.
27067 * stdlib/makecontext.c: Likewise.
27068 * stdlib/setcontext.c: Likewise.
27069 * stdlib/swapcontext.c: Likewise.
27070 * stdlib/system.c: Likewise.
27071 * streams/fattach.c: Likewise.
27072 * streams/fdetach.c: Likewise.
27073 * streams/getmsg.c: Likewise.
27074 * streams/getpmsg.c: Likewise.
27075 * streams/putmsg.c: Likewise.
27076 * streams/putpmsg.c: Likewise.
27077 * sysdeps/unix/bsd/getpt.c: Likewise.
27078 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
27079 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
27080 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
27081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
27083 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
27084 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
27085 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
27086 * sysvipc/msgctl.c: Likewise.
27087 * sysvipc/msgget.c: Likewise.
27088 * sysvipc/msgrcv.c: Likewise.
27089 * sysvipc/msgsnd.c: Likewise.
27090 * sysvipc/semctl.c: Likewise.
27091 * sysvipc/semget.c: Likewise.
27092 * sysvipc/semop.c: Likewise.
27093 * sysvipc/semtimedop.c: Likewise.
27094 * sysvipc/shmat.c: Likewise.
27095 * sysvipc/shmctl.c: Likewise.
27096 * sysvipc/shmdt.c: Likewise.
27097 * sysvipc/shmget.c: Likewise.
27098 * termios/tcdrain.c: Likewise.
27099 * termios/tcflow.c: Likewise.
27100 * termios/tcflush.c: Likewise.
27101 * termios/tcgetattr.c: Likewise.
27102 * termios/tcgetpgrp.c: Likewise.
27103 * termios/tcsendbrk.c: Likewise.
27104 * termios/tcsetattr.c: Likewise.
27105 * termios/tcsetpgrp.c: Likewise.
27106 * time/adjtime.c: Likewise.
27107 * time/clock.c: Likewise.
27108 * time/getitimer.c: Likewise.
27109 * time/gettimeofday.c: Likewise.
27110 * time/setitimer.c: Likewise.
27111 * time/settimeofday.c: Likewise.
27112 * time/stime.c: Likewise.
27113 * time/time.c: Likewise.
27115 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
27117 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
27120 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
27122 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
27124 2012-11-03 Joseph Myers <joseph@codesourcery.com>
27127 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
27128 FE_TONEAREST before applying Dekker multiplication and Knuth
27129 addition. Clear inexact exceptions and check for exact zero
27130 results afterwards.
27131 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27132 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27133 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27134 * math/libm-test.inc (fma_test): Add more tests.
27135 (fma_test_towardzero): Likewise.
27136 (fma_test_downward): Likewise.
27137 (fma_test_upward): Likewise.
27138 * sysdeps/generic/math_private.h (default_libc_fesetround): New
27140 (libc_fesetround): New macro.
27141 (libc_fesetroundf): Likewise.
27142 (libc_fesetroundl): Likewise.
27143 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
27145 (libc_fesetround_387): Likewise.
27146 (libc_fesetroundf): New macro.
27147 (libc_fesetround): Likewise.
27148 (libc_fesetroundl): Likewise.
27149 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
27151 (libc_fesetroundf): New macro.
27152 (libc_fesetround): Likewise.
27153 (libc_fesetroundl): Likewise.
27154 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
27155 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
27156 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
27158 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
27159 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
27161 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
27162 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
27164 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
27168 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
27169 integer constant usable in #if and use that to give value to enum
27171 (FE_DIVBYZERO): Likewise.
27172 (FE_UNDERFLOW): Likewise.
27173 (FE_OVERFLOW): Likewise.
27174 (FE_INVALID): Likewise.
27175 (FE_INVALID_SNAN): Likewise.
27176 (FE_INVALID_ISI): Likewise.
27177 (FE_INVALID_IDI): Likewise.
27178 (FE_INVALID_ZDZ): Likewise.
27179 (FE_INVALID_IMZ): Likewise.
27180 (FE_INVALID_COMPARE): Likewise.
27181 (FE_INVALID_SOFTWARE): Likewise.
27182 (FE_INVALID_SQRT): Likewise.
27183 (FE_INVALID_INTEGER_CONVERSION): Likewise.
27184 (FE_TONEAREST): Likewise.
27185 (FE_TOWARDZERO): Likewise.
27186 (FE_UPWARD): Likewise.
27187 (FE_DOWNWARD): Likewise.
27188 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
27189 (FE_DIVBYZERO): Likewise.
27190 (FE_OVERFLOW): Likewise.
27191 (FE_UNDERFLOW): Likewise.
27192 (FE_INEXACT): Likewise.
27193 (FE_TONEAREST): Likewise.
27194 (FE_DOWNWARD): Likewise.
27195 (FE_UPWARD): Likewise.
27196 (FE_TOWARDZERO): Likewise.
27197 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
27198 (FE_UNDERFLOW): Likewise.
27199 (FE_OVERFLOW): Likewise.
27200 (FE_DIVBYZERO): Likewise.
27201 (FE_INVALID): Likewise.
27202 (FE_TONEAREST): Likewise.
27203 (FE_TOWARDZERO): Likewise.
27204 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
27205 (FE_OVERFLOW): Likewise.
27206 (FE_UNDERFLOW): Likewise.
27207 (FE_DIVBYZERO): Likewise.
27208 (FE_INEXACT): Likewise.
27209 (FE_TONEAREST): Likewise.
27210 (FE_TOWARDZERO): Likewise.
27211 (FE_UPWARD): Likewise.
27212 (FE_DOWNWARD): Likewise.
27213 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
27214 (FE_DIVBYZERO): Likewise.
27215 (FE_OVERFLOW): Likewise.
27216 (FE_UNDERFLOW): Likewise.
27217 (FE_INEXACT): Likewise.
27218 (FE_TONEAREST): Likewise.
27219 (FE_DOWNWARD): Likewise.
27220 (FE_UPWARD): Likewise.
27221 (FE_TOWARDZERO): Likewise.
27223 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
27225 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
27227 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
27229 * scripts/cross-test-ssh.sh (command): Use newlines to separate
27230 commands. Quote $PWD.
27231 (blacklist_exports): Don't use remove_newlines. Replace "declare
27233 (remove_newlines): Remove.
27235 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
27237 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
27238 * stdlib/stdlib.h (atof): Moved to ...
27239 * include/bits/stdlib-float.h: Here. New file.
27240 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
27241 * stdlib/bits/stdlib-float.h: New file.
27242 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
27244 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
27247 2012-11-02 Joseph Myers <joseph@codesourcery.com>
27249 * conform/conformtest.pl (@headers): Add fenv.h.
27250 * conform/data/fenv.h-data: New file.
27251 * include/fenv.h [_ISOMAC]: Disable all contents of file except
27252 include of <math/fenv.h>.
27254 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
27255 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
27256 && !UNIX98]. Enables tests for XOPEN2K8.
27257 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
27258 POSIX2008]: Likewise.
27260 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
27261 (struct rusage): Do not expect type or its members.
27264 * math/math.h (FP_NAN): Define macro to integer constant usable in
27265 #if and use that to give value to enum constant.
27266 (FP_INFINITE): Likewise.
27267 (FP_ZERO): Likewise.
27268 (FP_SUBNORMAL): Likewise.
27269 (FP_NORMAL): Likewise.
27271 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
27273 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
27274 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
27277 2012-11-02 Roland McGrath <roland@hack.frob.com>
27279 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
27280 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
27281 autoconf-time if not.
27282 * configure.in: Remove AC_PREREQ.
27284 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27286 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
27287 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
27288 of the internal implementation.
27290 2012-11-02 Joseph Myers <joseph@codesourcery.com>
27292 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
27293 except include of <misc/sys/syslog.h>.
27295 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
27297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
27298 function returns with a NULL context exit with zero.
27300 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27302 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
27304 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
27306 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
27307 (run_program_cmd): This.
27308 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
27309 (tst_langinfo): New variable. Use it.
27311 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
27313 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
27314 floating point opcodes.
27316 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
27318 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
27321 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
27323 * sysdeps/mach/hurd/powerpc: Remove directory.
27324 * sysdeps/mach/powerpc: Likewise.
27326 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
27328 * scripts/check-local-headers.sh: Ignore c++ headers.
27330 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
27332 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
27333 __libc_cleanup_region_start argument.
27335 2012-11-01 Joseph Myers <joseph@codesourcery.com>
27339 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
27340 x * y using scaling, not as x * y + z.
27341 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27342 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27343 * math/libm-test.inc (fma_test): Add more tests.
27344 (fma_test_towardzero): Likewise.
27345 (fma_test_downward): Likewise.
27346 (fma_test_upward): Likewise.
27348 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
27350 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
27352 2012-10-31 Joseph Myers <joseph@codesourcery.com>
27354 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
27357 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
27359 * rt/tst-shm.c (worker): Correct checking for mmap failure.
27361 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
27363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27368 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27371 Fix the order of the list for glibc 2.17.
27372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27375 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
27377 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27379 2012-10-31 Joseph Myers <joseph@codesourcery.com>
27382 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
27383 for low part of x being zero before using __atanl (y).
27384 * math/libm-test.inc (atan2_test): Add another test.
27386 * manual/install.texi (Configuring and compiling): Document
27387 general use of test-wrapper and test-wrapper-env.
27388 * INSTALL: Regenerated.
27390 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
27391 (__fma): Do not extract and scale down low bits on after-rounding
27392 systems when result rounded to normal precision would have normal
27394 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
27395 (__fmal): Do not extract and scale down low bits on after-rounding
27396 systems when result rounded to normal precision would have normal
27398 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
27399 (__fmal): Do not extract and scale down low bits on after-rounding
27400 systems when result rounded to normal precision would have normal
27402 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
27404 (fma_test): Add more tests.
27405 (fma_test_towardzero): Likewise.
27406 (fma_test_downward): Likewise.
27407 (fma_test_upward): Likewise.
27409 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
27411 * sysdeps/i386/tininess.h: Renamed to ...
27412 * sysdeps/x86/tininess.h: This.
27413 * sysdeps/x86_64/tininess.h: Removed.
27415 2012-10-30 Joseph Myers <joseph@codesourcery.com>
27417 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
27418 input. Use $(build-program-cmd).
27419 ($(objpfx)tst-array1-static.out): Likewise.
27420 ($(objpfx)tst-array2.out): Likewise.
27421 ($(objpfx)tst-array3.out): Likewise.
27422 ($(objpfx)tst-array4.out): Likewise.
27423 ($(objpfx)tst-array5.out): Likewise.
27424 ($(objpfx)tst-array5-static.out): Likewise.
27426 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
27428 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
27431 * nss/nsswitch.h (nss_interface_function): Provide new
27432 macro for use with NSS functions.
27433 * grp/initgroups.c: Use new macro.
27434 * nss/getXXbyYY.c: Likewise.
27435 * nss/getXXbyYY_r.c: Likewise.
27436 * nss/getXXent.c: Likewise.
27437 * nss/getXXent_r.c: Likewise.
27438 * sysdeps/posix/getaddrinfo.c: Likewise.
27440 2012-10-30 Andreas Jaeger <aj@suse.de>
27442 * po/ru.po: Update Russion translation from translation project.
27444 2012-10-30 Joseph Myers <joseph@codesourcery.com>
27448 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
27449 result and shift together with sticky bit instead of replicating
27450 round-to-nearest rounding.
27451 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27452 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27453 * math/libm-test.inc (fma_test): Add more tests. Do not permit
27454 missing underflow exceptions.
27455 (fma_test_towardzero): Add more tests.
27456 (fma_test_downward): Likewise.
27457 (fma_test_upward): Likewise.
27460 * sysdeps/generic/tininess.h: New file.
27461 * sysdeps/i386/tininess.h: Likewise.
27462 * sysdeps/sh/tininess.h: Likewise.
27463 * sysdeps/x86_64/tininess.h: Likewise.
27464 * stdlib/tst-strtod-underflow.c: Likewise.
27465 * stdlib/tst-tininess.c: Likewise.
27466 * stdlib/strtod_l.c: Include <tininess.h>.
27467 (round_and_return): Do not set errno for exact underflow cases.
27468 Force an underflow exception when setting errno for underflow.
27469 Determine underflow based on rounding to normal precision if
27470 TININESS_AFTER_ROUNDING.
27471 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
27472 ERANGE for exact underflow cases.
27473 * stdlib/Makefile (tests): Add tst-tininess and
27474 tst-strtod-underflow.
27475 ($(objpfx)tst-tininess): Use $(link-libm).
27476 ($(objpfx)tst-strtod-underflow): Likewise.
27478 2012-10-30 Andreas Jaeger <aj@suse.de>
27481 * elf/Makefile (tests): Remove conditional for have-initfini-array
27482 since this is now always required and the variable does not exist
27484 (tests-static): Likewise.
27485 (modules-names): Likewise.
27487 * po/eo.po: Add Esperanto translation from translation project.
27489 * elf/tst-array1.c (fini_array): Make writeable so that it can be
27490 merged with constructor/destructor.
27491 (init_array): Likewise.
27492 * elf/tst-array2dep.c (fini_array): Likewise.
27493 (init_array): Likewise.
27495 2012-10-29 Mike Frysinger <vapier@gentoo.org>
27497 * manual/message.texi: Delete @cartouche tags.
27499 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
27501 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
27503 * sysdeps/mach/hurd/fsync.c: Likewise.
27505 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
27506 [_POSIX_REALTIME_SIGNALS]: Change condition to
27507 [_POSIX_REALTIME_SIGNALS > 0].
27509 2012-10-27 Andreas Jaeger <aj@suse.de>
27511 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
27512 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
27513 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
27514 [__WORDSIZE != 64]: Likewise.
27516 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
27518 * iconvdata/tst-table.sh: Remove ${SHELL}.
27519 * iconvdata/tst-tables.sh: Likewise.
27521 2012-10-25 David S. Miller <davem@davemloft.net>
27523 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27524 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
27527 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
27529 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27530 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
27531 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
27534 2012-10-25 Roland McGrath <roland@hack.frob.com>
27536 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27537 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
27540 2012-10-25 Joseph Myers <joseph@codesourcery.com>
27541 Jim Blandy <jimb@codesourcery.com>
27543 * scripts/cross-test-ssh.sh: New file.
27544 * manual/install.texi (Configuring and compiling): Document use of
27546 * INSTALL: Regenerated.
27548 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
27550 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
27553 2012-10-25 Joseph Myers <joseph@codesourcery.com>
27555 * Makeconfig (run-program-prefix): Fix comment.
27557 2012-10-24 Joseph Myers <joseph@codesourcery.com>
27558 Jim Blandy <jimb@codesourcery.com>
27560 * Makeconfig (test-wrapper): New variable,
27561 (test-wrapper-env): Likewise.
27562 [$(cross-compiling) = yes && $(test-wrapper) != ""]
27563 (run-built-tests): Define to yes.
27564 (run-program-prefix): Use $(test-wrapper).
27565 (built-program-cmd): Likewise.
27566 * Rules (make-test-out): Use $(test-wrapper-env) and
27567 $(host-built-program-cmd).
27568 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
27569 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
27571 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
27572 $(test-wrapper-env) to tst-rtld-load-self.sh.
27573 ($(objpfx)order2.out): Use $(test-wrapper).
27574 ($(objpfx)tst-initorder.out): Likewise.
27575 ($(objpfx)tst-initorder2.out): Likewise.
27576 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
27577 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
27578 (test_wrapper_env): New variable. Use it to run ld.so.
27579 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
27580 Use it to run ld.so.
27581 (test_wrapper_env): Likewise.
27582 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
27583 $(test-wrapper) to run-iconv-test.sh.
27584 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
27585 (ICONV): Use $test_wrapper.
27586 * posix/Makefile ($(objpfx)globtest.out): Pass
27587 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
27588 globtest.sh, not $(run-program-prefix).
27589 * posix/globtest.sh (run_via_rtld_prefix): New variable.
27590 (test_wrapper): Likewise.
27591 (test_wrapper_env): Likewise. Use it to run globtest with HOME
27592 set together with run_via_rtld_prefix.
27593 (run_program_prefix): Define in terms of test_wrapper and
27594 run_via_rtld_prefix.
27596 2012-10-24 Roland McGrath <roland@hack.frob.com>
27598 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
27599 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
27603 * include/time.h: Remove librt_hidden_proto (clock_gettime).
27604 Declare __clock_getres, __clock_gettime, __clock_settime,
27605 __clock_nanosleep, and __clock_getcpuclockid.
27606 * rt/clock_gettime.c: Define __clock_gettime as an alias.
27607 Remove librt_hidden_def (clock_gettime).
27608 * sysdeps/unix/clock_gettime.c: Likewise.
27609 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
27610 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
27611 * rt/clock_getres.c: Define __clock_getres as an alias.
27612 * sysdeps/posix/clock_getres.c: Likewise.
27613 * rt/clock_settime.c: Define __clock_settime as an alias.
27614 * sysdeps/unix/clock_settime.c: Likewise.
27615 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
27616 * sysdeps/unix/clock_nanosleep.c: Likewise.
27617 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
27618 * rt/clock-compat.c: New file.
27619 * rt/Makefile (librt-routines): Add clock-compat and move
27620 $(clock-routines) to ...
27621 (routines): ... here, new variable.
27622 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
27623 Don't add get_clockfreq here.
27624 * rt/Versions (libc: GLIBC_2.17): New version set.
27625 Add clock_* symbols here.
27626 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
27627 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
27628 (GLIBC_2.17): Add clock_* symbols.
27629 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
27630 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
27631 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27636 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27637 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
27638 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27639 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27640 * NEWS: Mention the move.
27642 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
27643 Use __open, __read, __close rather than their public counterparts.
27644 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27645 (__get_clockfreq_via_cpuinfo): Likewise.
27646 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
27647 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
27649 * config.h.in (HAVE_IFUNC): New #undef.
27650 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
27652 * configure: Regenerated.
27654 2012-10-24 Mike Frysinger <vapier@gentoo.org>
27656 * configure.in: Move READELF check to start of file.
27657 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
27658 libc_cv_asm_gnu_indirect_function in the process.
27659 * configure: Regenerated.
27661 2012-10-24 Mike Frysinger <vapier@gentoo.org>
27663 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
27664 send the output to /dev/null.
27665 (libc_cv_cc_with_libunwind): Likewise.
27666 (libc_cv_as_noexecstack): Likewise.
27667 * configure: Regenerate.
27669 2012-10-24 Joseph Myers <joseph@codesourcery.com>
27671 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
27673 * posix/globtest.sh (TMPDIR): Do not set.
27674 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
27675 (testout): Likewise.
27677 2012-10-24 Andreas Jaeger <aj@suse.de>
27679 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
27680 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
27681 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
27682 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
27683 posix_fadvise64, posix_fallocate64.
27685 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
27686 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
27687 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
27689 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
27691 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
27693 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
27694 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
27695 <bits/fcntl-linux.h>.
27696 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
27698 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
27699 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
27700 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
27701 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
27702 [__WORDSIZE != 64]: Likewise.
27704 2012-10-23 Joseph Myers <joseph@codesourcery.com>
27706 * Makeconfig (run-built-tests): New variable.
27707 * Rules [$(cross-compiling) = yes]: Change condition to
27708 [$(run-built-tests) = no].
27709 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
27710 to [$(run-built-tests) = yes].
27711 * elf/Makefile [$(cross-compiling) = no]: Likewise
27712 * grp/Makefile [$(cross-compiling) = no]: Likewise.
27713 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
27714 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
27715 * intl/Makefile [$(cross-compiling) = no]: Likewise.
27716 * io/Makefile [$(cross-compiling) = no]: Likewise.
27717 * libio/Makefile [$(cross-compiling) = no]: Likewise.
27718 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
27719 * misc/Makefile [$(cross-compiling) = no]: Likewise.
27720 * posix/Makefile [$(cross-compiling) = no]: Likewise.
27721 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
27722 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
27723 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
27724 * string/Makefile [$(cross-compiling) = no]: Likewise.
27726 * posix/Makefile ($(objpfx)globtest.out): Pass
27727 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
27728 $(rtld-installed-name).
27729 * posix/globtest.sh (elf_objpfx): Remove variable.
27730 (rtld_installed_name): Likewise.
27731 (library_path): Likewise.
27732 (run_program_prefix): New variable. Use for running globtest
27735 2012-10-23 Jim Blandy <jimb@codesourcery.com>
27736 Joseph Myers <joseph@codesourcery.com>
27738 * Makeconfig (host-built-program-cmd): New variable.
27739 * elf/Makefile (tst-stackguard1-ARGS): Use
27740 $(host-built-program-cmd).
27741 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
27742 (tst-spawn-ARGS): Likewise.
27743 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
27745 2012-10-23 Joseph Myers <joseph@codesourcery.com>
27746 Jim Blandy <jimb@codesourcery.com>
27748 * Makeconfig (run-via-rtld-prefix): New variable.
27749 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
27750 (built-program-cmd): Likewise.
27752 2012-10-22 Andreas Jaeger <aj@suse.de>
27754 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
27755 __O_RSYNC if it exists, otherwise to O_SYNC.
27757 2012-10-22 Jim Blandy <jimb@codesourcery.com>
27758 Joseph Myers <joseph@codesourcery.com>
27760 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
27762 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
27764 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
27767 2012-10-22 Andreas Jaeger <aj@suse.de>
27769 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
27771 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
27773 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27774 bits/fcntl-linux.h.
27776 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
27777 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
27779 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
27781 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
27784 2012-10-21 Jim Blandy <jimb@codesourcery.com>
27785 Joseph Myers <joseph@codesourcery.com>
27787 * config.make.in (NM): New variable.
27789 2012-10-21 Andreas Jaeger <aj@suse.de>
27791 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
27792 definitions and declarations that are provided by
27793 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
27795 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
27798 * elf/Makefile (tests-static): Add tst-leaks1-static.
27799 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
27800 ($(objpfx)tst-leaks1-static): New rule.
27801 ($(objpfx)tst-leaks1-static-mem): Likewise.
27802 (tst-leaks1-static-ENV): New macro.
27803 * elf/dl-open.c (dl_open_worker): Check the main application
27804 only if SHARED is defined.
27805 * elf/tst-leaks1-static.c: New file.
27807 2012-10-20 Andreas Jaeger <aj@suse.de>
27809 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
27810 generic values for Linux.
27811 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
27812 and declarations that are provided by <bits/fcntl-linux.h> and
27813 include <bits/fcntl-linux.h>.
27814 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27815 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27817 2012-10-20 Roland McGrath <roland@hack.frob.com>
27819 * io/fcntl.h: Move include of <bits/types.h> to the top and
27820 include it unconditionally.
27822 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
27824 * wcsmbs/Makefile (tests-ifunc): New variable.
27825 (tests): Add $(tests-ifunc).
27826 * wcsmbs/test-wcschr-ifunc.c: New file.
27827 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
27828 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
27829 * wcsmbs/test-wcslen-ifunc.c: Likewise.
27830 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
27831 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
27833 * string/Makefile (tests-ifunc): New variable.
27834 (tests): Add $(tests-ifunc).
27835 * string/test-memccpy.c (TEST_NAME): New macro.
27836 * string/test-memchr.c (TEST_NAME): Likewise.
27837 * string/test-memcmp.c (TEST_NAME): Likewise.
27838 * string/test-memcpy.c (TEST_NAME): Likewise.
27839 * string/test-memmem.c (TEST_NAME): Likewise.
27840 * string/test-memmove.c (TEST_NAME): Likewise.
27841 * string/test-memset.c (TEST_NAME): Likewise.
27842 * string/test-rawmemchr.c (TEST_NAME): Likewise.
27843 * string/test-stpcpy.c (TEST_NAME): Likewise.
27844 * string/test-stpncpy.c (TEST_NAME): Likewise.
27845 * string/test-strcasecmp.c (TEST_NAME): Likewise.
27846 * string/test-strcasestr.c (TEST_NAME): Likewise.
27847 * string/test-strcat.c (TEST_NAME): Likewise.
27848 * string/test-strchr.c (TEST_NAME): Likewise.
27849 * string/test-strcmp.c(TEST_NAME): Likewise.
27850 * string/test-strcpy.c (TEST_NAME): Likewise.
27851 * string/test-strcspn.c (TEST_NAME): Likewise.
27852 * string/test-strlen.c (TEST_NAME): Likewise.
27853 * string/test-strncasecmp.c (TEST_NAME): Likewise.
27854 * string/test-strncmp.c (TEST_NAME): Likewise.
27855 * string/test-strncpy.c (TEST_NAME): Likewise.
27856 * string/test-strnlen.c (TEST_NAME): Likewise.
27857 * string/test-strpbrk.c (TEST_NAME): Likewise.
27858 * string/test-strrchr.c (TEST_NAME): Likewise.
27859 * string/test-strspn.c (TEST_NAME): Likewise.
27860 * string/test-strstr.c (TEST_NAME): Likewise.
27861 * string/test-bcopy-ifunc.c: New file.
27862 * string/test-bzero-ifunc.c: Likewise.
27863 * string/test-memccpy-ifunc.c: Likewise.
27864 * string/test-memchr-ifunc.c: Likewise.
27865 * string/test-memcmp-ifunc.c: Likewise.
27866 * string/test-memcpy-ifunc.c: Likewise.
27867 * string/test-memmem-ifunc.c: Likewise.
27868 * string/test-memmove-ifunc.c: Likewise.
27869 * string/test-mempcpy-ifunc.c: Likewise.
27870 * string/test-memset-ifunc.c: Likewise.
27871 * string/test-rawmemchr-ifunc.c: Likewise.
27872 * string/test-stpcpy-ifunc.c: Likewise.
27873 * string/test-stpncpy-ifunc.c: Likewise.
27874 * string/test-strcasecmp-ifunc.c: Likewise.
27875 * string/test-strcasestr-ifunc.c: Likewise.
27876 * string/test-strcat-ifunc.c: Likewise.
27877 * string/test-strchr-ifunc.c: Likewise.
27878 * string/test-strchrnul-ifunc.c: Likewise.
27879 * string/test-strcmp-ifunc.c: Likewise.
27880 * string/test-strcpy-ifunc.c: Likewise.
27881 * string/test-strcspn-ifunc.c: Likewise.
27882 * string/test-strlen-ifunc.c: Likewise.
27883 * string/test-strncasecmp-ifunc.c: Likewise.
27884 * string/test-strncat-ifunc.c: Likewise.
27885 * string/test-strncmp-ifunc.c: Likewise.
27886 * string/test-strncpy-ifunc.c: Likewise.
27887 * string/test-strnlen-ifunc.c: Likewise.
27888 * string/test-strpbrk-ifunc.c: Likewise.
27889 * string/test-strrchr-ifunc.c: Likewise.
27890 * string/test-strspn-ifunc.c: Likewise.
27891 * string/test-strstr-ifunc.c: Likewise.
27893 * debug/Makefile (tests-ifunc): New variable.
27894 (tests): Add $(tests-ifunc).
27895 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
27896 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
27897 * debug/test-stpcpy_chk-ifunc.c: New file.
27898 * debug/test-strcpy_chk-ifunc.c: Likewise.
27900 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
27903 * elf/dl-load.c (open_verify): Retry read if the entire ELF
27904 header is not read in.
27906 2012-10-19 Joseph Myers <joseph@codesourcery.com>
27908 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
27909 script to $(SHELL) as $<. Pass $(common-objpfx) to script
27910 directly. Pass built executable to script as
27911 $(built-program-cmd).
27912 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
27913 $testprogram without using LD_LIBRARY_PATH and $ldso.
27915 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
27916 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
27917 $(rtld-installed-name).
27918 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
27919 (rtld_installed_name): Likewise.
27920 (library_path): Likewise.
27921 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
27922 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
27923 $(run-program-prefix) to tst-tables.sh.
27924 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
27925 it to run tst-table-from and tst-table-to.
27926 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
27927 Pass it to tst-table.sh.
27928 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
27929 $(run-program-prefix) to tst-gettext.sh.
27930 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
27932 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
27934 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
27935 to run tst-gettext.
27936 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
27937 to run tst-gettext2.
27938 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
27939 to run tst-translit.
27940 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
27941 $(run-program-prefix) to tst-mtrace.sh.
27942 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
27944 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
27945 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
27946 $(rtld-installed-name).
27947 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
27948 (rtld_installed_name): Likewise.
27949 (run_program_prefix): New variable. Use it to run wordexp-test.
27951 * Makeconfig (ARCH): Remove all definitions.
27952 (machine): Likewise.
27953 [ARCH]: Remove conditional code.
27954 [!objdir]: Give error.
27955 [!objdir] (objpfx): Remove.
27956 [!objdir] (common-objpfx): Likewise.
27957 [!objdir] (common-objdir): Likewise.
27958 * configure.in (config_makefile): Remove. Hardcode Makefile in
27959 AC_CONFIG_FILES call.
27960 * configure: Regenerated.
27963 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
27965 (testout): Likewise.
27967 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
27968 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
27969 $(rtld-installed-name).
27970 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
27971 (rtld_installed_name): Likwise.
27972 (runit): Remove function.
27973 (run_getconf): New variable, Use it for running getconf binary.
27975 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
27978 * string/test-memmem.c (check_result): New function.
27979 (do_one_test): Use it.
27980 (check1): New function.
27981 (test_main): Use it.
27983 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
27985 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
27987 2012-10-18 Joseph Myers <joseph@codesourcery.com>
27989 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
27990 (_G_LSEEK64): Likewise.
27991 (_G_MMAP64): Likewise.
27992 (_G_FSTAT64): Likewise.
27993 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
27994 (_G_LSEEK64): Likewise.
27995 (_G_MMAP64): Likewise.
27996 (_G_FSTAT64): Likewise.
27997 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
27998 unconditional. Call __mmap64 directly.
27999 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
28000 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
28001 __lseek64 directly.
28002 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
28003 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
28005 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
28006 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
28007 __lseek64 directly.
28008 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
28009 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
28010 __lseek64 directly.
28011 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
28012 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
28013 __lseek64 directly.
28014 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
28015 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
28016 __fxstat64 directly.
28017 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
28018 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
28020 (freopen64) [!_G_OPEN64]: Remove conditional code.
28021 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
28023 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
28024 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
28026 (ftello64) [!_G_LSEEK64]: Remove conditional code.
28027 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
28029 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28030 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
28032 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
28033 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
28035 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28036 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
28038 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28039 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
28041 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28043 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28046 * manual/memory.texi (Malloc Tunable Parameters): Add note
28047 about free list pointers overwriting some perturb bytes.
28048 Wording suggested by Roland McGrath.
28050 2012-10-17 Joseph Myers <joseph@codesourcery.com>
28052 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
28053 (lgamma_test): Likewise.
28054 (tgamma_test): Likewise.
28056 2012-10-16 Florian Weimer <fweimer@redhat.com>
28059 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
28060 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
28062 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
28064 * NEWS: Mention BZ #14716.
28065 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
28066 when removing AVAILABLE1_USES_J macro.
28068 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
28070 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
28071 (__bswap_64): __uint64_t for unsigned 64-bit int.
28073 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
28075 * include/string.h (memmem): Declare libc hidden alias.
28076 * string/memmem.c (memmem): Define libc hidden alias.
28077 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
28078 __read, __close instead of open, read, close.
28080 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
28082 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
28083 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
28085 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
28086 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
28087 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
28089 (__rawmemchr_sse2): Likewise.
28090 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
28091 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
28092 (__strchr_sse2): Likewise.
28093 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
28094 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
28095 (__strcasecmp_sse2): Likewise.
28096 (__strncasecmp_sse2): Likewise.
28097 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
28098 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
28099 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
28100 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
28101 (__strrchr_sse2): Likewise.
28102 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
28104 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
28105 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
28106 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
28107 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
28108 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
28109 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
28110 * sysdeps/x86_64/multiarch/memset.S: Likewise.
28111 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28112 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
28113 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
28114 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
28115 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
28116 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
28117 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
28118 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
28119 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
28120 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
28121 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
28122 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
28123 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
28124 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
28125 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
28126 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
28127 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
28128 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
28129 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28130 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
28131 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
28132 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
28133 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
28135 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
28137 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
28138 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
28139 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
28140 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
28142 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
28144 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
28145 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
28146 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
28147 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
28149 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28150 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28151 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28152 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28153 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28154 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28155 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28156 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28157 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28158 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28159 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28160 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28161 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28162 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
28163 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
28164 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28165 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
28166 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
28167 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28168 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28169 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28170 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28171 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28172 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28173 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28174 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
28175 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
28176 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
28177 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
28178 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28179 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
28180 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28181 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28182 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
28183 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28184 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28185 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28186 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28187 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28188 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28189 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
28191 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
28192 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
28193 * include/ifunc-impl-list.h: New file.
28194 * misc/ifunc-impl-list.c: Likewise.
28195 * misc/Makefile (routines): Add ifunc-impl-list.
28196 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
28197 * string/test-string.h: Include <ifunc-impl-list.h>.
28198 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
28199 TEST_NAME]: New variables.
28200 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
28202 (test_init): Call __libc_ifunc_impl_list to initialize
28203 func_list if TEST_IFUNC and TEST_NAME are defined.
28205 * string/Makefile (strop-tests): Add bcopy and bzero.
28206 * string/test-bcopy.c: New file.
28207 * string/test-bzero.c: Likewise.
28208 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
28210 * string/test-memset.c: Support bzero test if TEST_BZERO is
28212 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
28214 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
28216 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
28219 2012-10-10 Joseph Myers <joseph@codesourcery.com>
28221 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
28222 * configure: Regenerated.
28224 * Makeconfig (+link-static-before-libc): Don't include
28225 $(link-static-libc).
28227 * libio/libio.h (_IO_pos_t): Remove.
28229 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
28231 * NEWS: Add note about FIPS mode. Wording suggested by Roland
28234 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
28236 * crypt/crypt-entry.c: Include fips-private.h.
28237 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
28238 * crypt/md5c-test.c (main): Tolerate disabled MD5.
28239 * sysdeps/unix/sysv/linux/fips-private.h: New file.
28240 * sysdeps/generic/fips-private.h: New file, dummy fallback.
28242 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
28244 * crypt/crypt-private.h: Include stdbool.h.
28245 (_ufc_setup_salt_r): Return bool.
28246 * crypt/crypt-entry.c: Include errno.h.
28247 (__crypt_r): Return NULL with EINVAL for bad salt.
28248 * crypt/crypt_util.c (bad_for_salt): New.
28249 (_ufc_setup_salt_r): Check that salt is long enough and within
28250 the specified alphabet.
28251 * crypt/badsalttest.c: New file.
28252 * crypt/Makefile (tests): Add it.
28253 ($(objpfx)badsalttest): New.
28255 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
28257 * NEWS: Add entry for BZ #14602.
28259 2012-10-09 Joseph Myers <joseph@codesourcery.com>
28261 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
28263 * math/libm-test.inc: Update comment listing what functions and
28265 (isgreater_test): New function.
28266 (isgreaterequal_test): Likewise.
28267 (isless_test): Likewise.
28268 (islessequal_test): Likewise.
28269 (islessgreater_test): Likewise.
28270 (isunordered_test): Likewise.
28271 (main): Call the new functions.
28273 2012-10-09 Roland McGrath <roland@hack.frob.com>
28275 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
28276 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
28277 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
28278 * sysdeps/i386/configure: Regenerated.
28279 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
28280 * sysdeps/mach/configure: Regenerated.
28281 * sysdeps/mach/hurd/configure: Regenerated.
28282 * sysdeps/powerpc/configure: Regenerated.
28283 * sysdeps/powerpc/powerpc32/configure: Regenerated.
28284 * sysdeps/powerpc/powerpc64/configure: Regenerated.
28285 * sysdeps/s390/s390-32/configure: Regenerated.
28286 * sysdeps/s390/s390-64/configure: Regenerated.
28287 * sysdeps/sh/configure: Regenerated.
28288 * sysdeps/sparc/configure: Regenerated.
28289 * sysdeps/unix/sysv/linux/configure: Regenerated.
28290 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
28291 * sysdeps/x86_64/configure: Regenerated.
28293 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
28294 defined. Don't check if MAP is NULL.
28296 2012-10-09 Joseph Myers <joseph@codesourcery.com>
28298 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
28299 (_G_stat64): Likewise.
28300 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
28301 (_G_stat64): Likewise.
28302 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
28303 instead of struct _G_stat64.
28304 * libio/fileops.c (mmap_remap_check): Likewise.
28305 (decide_maybe_mmap): Likewise.
28306 (_IO_new_file_seekoff): Likewise.
28307 (_IO_file_stat): Likewise.
28308 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
28310 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
28311 instead of struct _G_stat64.
28312 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
28314 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
28317 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28319 (CHECK_EOL): New macro.
28320 (two_way_short_needle): Check beginning of haystack for EOL. Use
28322 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28323 Replace with CHECK_EOL.
28324 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28325 Replace with CHECK_EOL.
28327 2012-10-08 Joseph Myers <joseph@codesourcery.com>
28329 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
28331 * math/libm-test.inc: Update comment listing what functions and
28333 (finite_test): New function.
28334 (isinf_test): Likewise.
28335 (isnan_test): Likewise.
28336 (fpclassify_test): Test subnormal input.
28337 (isfinite_test): Likewise.
28338 (isnormal_test): Likewise.
28339 (main): Call the new functions.
28341 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
28344 * Makerules (%.dynsym): Force C locale when running
28345 $(OBJDUMP) --dynamic-syms.
28347 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
28349 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
28352 2012-10-06 David S. Miller <davem@davemloft.net>
28354 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
28355 upper 32-bits of the length value in %o2 since we use branch-on-register
28356 tests which consider the entire 64-bit register.
28358 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
28360 * string/test-strstr.c (check2): Add a test for page boundary.
28362 2012-10-05 David S. Miller <davem@davemloft.net>
28364 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
28365 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
28367 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28369 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28370 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
28371 and bzero when HWCAP_SPARC_CRYPTO is present.
28373 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
28376 * string/test-strstr.c (check2): New function.
28377 (test_main): Call check2.
28379 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
28381 * string/bug-strcasestr1.c (do_test): Moved to ...
28382 * string/test-strcasestr.c (check1): Here. New function.
28383 (do_one_test): Break out result checking code into ...
28384 (check_result): This. New function.
28385 (do_one_test): Call check_result.
28386 (test_main): Call check1.
28387 * string/bug-strchr1.c (do_test): Moved to ...
28388 * string/test-strchr.c (check1): Here. New function.
28389 (do_one_test): Break out result checking code into ...
28390 (check_result): This. New function.
28391 (do_one_test): Call check_result.
28392 (test_main): Call check1.
28393 * string/bug-strstr1.c (main): Moved to ...
28394 * string/test-strstr.c (check1): Here. New function.
28395 (do_one_test): Break out result checking code into ...
28396 (check_result): This. New function.
28397 (do_one_test): Call check_result.
28398 (test_main): Call check1.
28399 * string/bug-strcasestr1.c: Removed.
28400 * string/bug-strchr1.c: Likewise.
28401 * string/bug-strstr1.c: Likewise.
28403 * elf/Makefile (dl-routines): Add hwcaps.
28404 * elf/dl-support.c (_dl_important_hwcaps): Removed.
28405 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
28406 (_dl_important_hwcaps): Moved to ...
28407 * elf/dl-hwcaps.c: Here. New file.
28408 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
28411 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
28412 if IS_IN_rtld isn't defined.
28414 * elf/dl-support.c (_dl_sysinfo_map): New.
28415 Include "get-dynamic-info.h" and "setup-vdso.h".
28416 (_dl_non_dynamic_init): Call setup_vdso.
28417 * elf/dynamic-link.h: Don't include <assert.h>.
28418 (elf_get_dynamic_info): Moved to ...
28419 * elf/get-dynamic-info.h: Here. New file.
28420 * elf/dynamic-link.h: Include "get-dynamic-info.h".
28421 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
28422 * elf/setup-vdso.h: Here. New file.
28423 * elf/rtld.c: Include "setup-vdso.h".
28424 (dl_main): Call setup_vdso.
28426 2012-10-05 Joseph Myers <joseph@codesourcery.com>
28428 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
28429 creal in comment listing functions tested. List finite, isinf,
28430 isnan, isless, islessequal, isgreater, isgreaterequal,
28431 islessgreater, isunordered, lgamma_r and pow10 as functions and
28432 macros not tested. Mention which functions not tested are aliases
28433 for other functions. Fix typo. Note that signs of NaNs are not
28436 * scripts/config.guess: Update from config.git.
28437 * scripts/config.sub: Likewise.
28439 2012-10-04 Roland McGrath <roland@hack.frob.com>
28441 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
28442 * misc/madvise.c (madvise): Renamed to __madvise.
28443 Make madvise a weak alias.
28444 * include/sys/mman.h: Declare __madvise.
28445 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
28446 * sysdeps/unix/syscalls.list
28447 (madvise): Make __madvise the strong name, and madvise a weak alias.
28448 * sysdeps/unix/sysv/linux/syscalls.list
28449 (madvise, mmap): Remove redundant entries.
28450 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
28451 * malloc/malloc.c (mtrim): Likewise.
28452 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
28454 2012-10-03 Roland McGrath <roland@hack.frob.com>
28456 * sysdeps/mach/hurd/dl-cache.c: File removed.
28457 * config.h.in (USE_LDCONFIG): New #undef.
28458 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
28459 * configure: Regenerated.
28460 * elf/Makefile (dl-routines): Add dl-cache only under
28461 [$(use-ldconfig) = yes].
28462 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
28463 cache on [USE_LDCONFIG].
28464 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
28466 * elf/rtld.c (dl_main): Likewise.
28468 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
28470 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
28471 _SC_LEVEL4_CACHE_LINESIZE.
28473 2012-10-03 Roland McGrath <roland@hack.frob.com>
28475 * sysdeps/unix/bsd/confstr.h: File removed.
28477 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
28479 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
28482 2012-10-02 Roland McGrath <roland@hack.frob.com>
28484 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
28485 Make 'mapoff' field ElfW(Off) rather than off_t.
28487 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
28489 * nscd/Makefile: Remove nscd-cflags and all its users.
28490 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
28491 (CFLAGS-nonlib): Add compiler flags for nscd modules.
28494 * malloc.c (malloc_printerr): Clarify error message.
28496 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
28499 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28500 Set bit_FMA_Usable if FMA is supported.
28501 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
28503 (bit_FMA4_Usable): Updated.
28504 (index_FMA_Usable): New macro.
28505 (CPUID_FMA): Likewise
28506 (HAS_FMA): Defined with bit_FMA_Usable.
28508 2012-10-01 Roland McGrath <roland@hack.frob.com>
28510 * bits/types.h (__swblk_t): Type removed.
28511 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
28512 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
28513 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28514 (__SWBLK_T_TYPE): Likewise.
28515 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28516 (__SWBLK_T_TYPE): Likewise.
28517 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28518 (__SWBLK_T_TYPE): Likewise.
28519 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28520 (__SWBLK_T_TYPE): Likewise.
28522 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
28523 Honza Horak <hhorak@redhat.com>
28525 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
28526 (xdr_mapname): Use YPMAXMAP as maxsize.
28527 (xdr_peername): Use YPMAXPEER as maxsize.
28528 (xdr_keydat): Use YPAXRECORD as maxsize.
28529 (xdr_valdat): Use YPMAXRECORD as maxsize.
28531 2012-10-01 Roland McGrath <roland@hack.frob.com>
28533 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
28535 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
28536 * csu/init-first.c: ... here.
28537 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
28538 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
28539 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
28540 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
28541 * sysdeps/i386/init-first.c: File removed.
28542 * sysdeps/sh/init-first.c: File removed.
28544 2012-10-01 Joseph Myers <joseph@codesourcery.com>
28547 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
28548 if x * y might underflow to zero and z is zero.
28549 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28550 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28551 * math/libm-test.inc (min_subnorm_value): New variable.
28552 (fma_test): Add more tests.
28553 (fma_test_towardzero): Likewise.
28554 (fma_test_downward): Likewise
28555 (fma_test_upward): Likewise.
28556 (initialize): Set min_subnorm_value.
28558 2012-09-29 Joseph Myers <joseph@codesourcery.com>
28561 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
28563 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
28564 mode for addition resulting in exact zero.
28565 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
28566 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
28568 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28569 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28570 * math/libm-test.inc (fma_test): Add more tests.
28571 (fma_test_towardzero): New function.
28572 (fma_test_downward): Likewise.
28573 (fma_test_upward): Likewise.
28574 (main): Call the new functions.
28576 2012-09-28 David S. Miller <davem@davemloft.net>
28578 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
28580 2012-09-28 Roland McGrath <roland@hack.frob.com>
28582 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
28583 instead of SIGALRM.
28585 * sysdeps/gnu/_G_config.h: Moved to ...
28586 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
28587 * sysdeps/mach/hurd/_G_config.h: Moved to ...
28588 * sysdeps/generic/_G_config.h: ... here.
28590 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
28592 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
28594 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
28595 Conditionalize target on [libnss_test1.so-version].
28597 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
28599 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
28600 (elfobjdir): Move out of conditionals.
28602 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
28603 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
28604 (__nss_lookup_function): Conditionalize label remove_from_tree on
28605 [!DO_STATIC_NSS || SHARED], matching its only use.
28607 2012-09-28 David S. Miller <davem@davemloft.net>
28609 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
28610 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
28612 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28614 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28615 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
28616 when HWCAP_SPARC_CRYPTO is present.
28618 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
28620 * io/tst-mknodat.c: Create a FIFO instead of a socket.
28622 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
28625 * stdio-common/vfprintf.c (process_string_arg): Revert
28628 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
28630 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
28632 * stdio-common/tst-sprintf.c: Include <locale.h>
28633 (main): Test sprintf's handling of incomplete multibyte
28636 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
28638 * elf/dl-runtime.c (VERSYMIDX): Removed.
28639 * elf/dl-version.c (VERSYMIDX): Likewise.
28640 * elf/do-rel.h (VERSYMIDX): Likewise.
28641 (VALIDX): Likewise.
28642 * elf/dynamic-link.h (VERSYMIDX): Likewise.
28643 * elf/rtld.c (VALIDX): Likewise.
28644 (ADDRIDX): Likewise.
28645 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
28646 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
28647 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
28648 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
28649 (VALIDX): Likewise.
28650 (ADDRIDX): Likewise.
28652 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
28654 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
28656 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
28659 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
28661 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
28662 addresses are in the same scope as 192.0.2/24.
28663 * posix/gai.conf: Document new scope table defaults.
28665 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28668 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
28669 for ftell. Compute offsets from write pointers instead.
28670 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
28672 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28675 * libio/Makefile (tests): New test case tst-fseek.
28676 * libio/tst-fseek.c: New test case to verify that fseek/ftell
28677 combination works in wide mode.
28678 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
28679 state when the external buffer state changes.
28681 2012-09-27 David S. Miller <davem@davemloft.net>
28684 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
28685 pass reloc->r_addend in as the 'high' argument to
28686 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
28688 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28690 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
28692 * rt/tst-aio2.c: Include <pthread.h>.
28693 * rt/tst-aio3.c: Likewise.
28695 2012-09-27 Steve Ellcey <sellcey@mips.com>
28697 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
28699 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
28701 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
28702 contents on [SHARED].
28704 2012-09-26 Marek Polacek <polacek@redhat.com>
28708 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
28709 for C++ and GCC <4.3 as well as for non GCC compilers.
28711 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
28713 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28715 2012-09-25 Roland McGrath <roland@hack.frob.com>
28717 * Makefile.in (all, install): Declare with .PHONY.
28718 Reported by Michael Hope <michael.hope@linaro.org>.
28720 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28722 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
28723 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
28725 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
28727 (sydep_routines): Add the new and the internal functions.
28728 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
28729 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
28730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
28731 (GLIBC_2.17): Add the new function.
28732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
28733 (GLIBC_2.17): Likewise.
28734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
28735 (GLIBC_2.17): Likewise.
28736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
28737 (GLIBC_2.17): Likewise.
28738 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
28740 2012-09-25 Alan Modra <amodra@gmail.com>
28742 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
28743 Add release barrier before setting once_control to say
28744 initialisation is done. Add hints on lwarx. Use macro in
28746 (clear_once_control): Add release barrier.
28748 2012-09-25 Joseph Myers <joseph@codesourcery.com>
28751 * math/s_clog.c (__clog): Handle more values close to |z| = 1
28753 * math/s_clog10.c (__clog10): Likewise.
28754 * math/s_clog10f.c (__clog10f): Likewise.
28755 * math/s_clog10l.c (__clog10l): Likewise.
28756 * math/s_clogf.c (__clogf): Likewise.
28757 * math/s_clogl.c (__clogl): Likewise.
28758 * math/Makefile (libm-calls): Add x2y2m1.
28759 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
28760 (__x2y2m1): Likewise.
28761 (__x2y2m1l): Likewise.
28762 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
28763 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
28764 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
28765 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
28766 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
28767 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
28768 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
28769 * sysdeps/i386/fpu/libm-test-ulps: Update.
28770 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28773 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
28774 int as type of variable DEPTH.
28775 (glob): Use size_t instead of int as type of variables NEWCOUNT
28778 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28780 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
28781 Add s_sincosf-sse2.
28782 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
28783 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
28784 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
28785 macros for using routine as __sincosf_ia32.
28786 Use macro for function declaration and weak_alias.
28787 * sysdeps/i386/fpu/libm-test-ulps: Update.
28789 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
28790 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28792 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
28793 subnormal argument.
28794 * math/s_cexpf.c (__cexpf): Likewise.
28795 * math/s_csinf.c (__csinf): Likewise.
28796 * math/s_csinhf.c (__csinhf): Likewise.
28797 * math/s_ctanf.c (__ctanf): Likewise.
28798 * math/s_ctanhf.c (__ctanhf): Likewise.
28799 * math/s_ccosh.c (__ccoshf): Likewise.
28800 * math/s_cexp.c (__cexpl): Likewise.
28801 * math/s_csin.c (__csin): Likewise.
28802 * math/s_csinh.c (__csinh): Likewise.
28803 * math/s_ctan.c (__ctan): Likewise.
28804 * math/s_ctanh.c (ctanh): Likewise.
28805 * math/s_ccoshl.c (__ccoshl): Likewise.
28806 * math/s_cexpl.c (__cexpl): Likewise.
28807 * math/s_csinl.c (__csinl): Likewise.
28808 * math/s_csinhl.c (__csinhl): Likewise.
28809 * math/s_ctanl.c (__ctanl): Likewise.
28810 * math/s_ctanhl.c (__ctanhl): Likewise.
28812 2012-09-25 Joseph Myers <joseph@codesourcery.com>
28814 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
28815 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
28816 (_IO_off_t): Define to __off_t, not _G_off_t.
28817 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
28818 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
28819 (_IO_wint_t): Define to wint_t, not _G_wint_t.
28820 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
28821 type of __dummy and __dummy2 fields.
28822 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
28823 (_G_ssize_t): Likewise.
28824 (_G_off_t): Likewise.
28825 (_G_pid_t): Likewise.
28826 (_G_uid_t): Likewise.
28827 (_G_wchar_t): Likewise.
28828 (_G_wint_t): Likewise.
28829 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
28830 (_G_ssize_t): Likewise.
28831 (_G_off_t): Likewise.
28832 (_G_pid_t): Likewise.
28833 (_G_uid_t): Likewise.
28834 (_G_wchar_t): Likewise.
28835 (_G_wint_t): Likewise.
28836 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
28837 (_G_ssize_t): Likewise.
28838 (_G_off_t): Likewise.
28839 (_G_pid_t): Likewise.
28840 (_G_uid_t): Likewise.
28841 (_G_wchar_t): Likewise.
28842 (_G_wint_t): Likewise.
28844 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
28846 * malloc/arena.c: Include malloc-sysdep.h.
28847 (shrink_heap): Use check_may_shrink_heap to decide if madvise
28848 is sufficient to shrink the heap or an unmap is needed.
28849 * sysdeps/generic/malloc-sysdep.h: New file. Define
28850 new function check_may_shrink_heap.
28851 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
28852 new function check_may_shrink_heap.
28854 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
28856 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
28859 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
28861 * catgets/test-gencat.sh: Add "set -e".
28862 * elf/tst-pathopt.sh: Likewise.
28863 * grp/tst_fgetgrent.sh: Likewise.
28864 * iconvdata/run-iconv-test.sh: Likewise.
28865 * intl/tst-gettext.sh: Likewise.
28866 * intl/tst-gettext2.sh: Likewise.
28867 * intl/tst-gettext4.sh: Likewise.
28868 * intl/tst-gettext6.sh: Likewise.
28869 * intl/tst-translit.sh: Likewise.
28870 * io/ftwtest-sh: Likewise.
28871 * libio/test-freopen.sh: Likewise.
28872 * malloc/tst-mtrace.sh: Likewise.
28873 * posix/globtest.sh: Likewise.
28874 * posix/tst-getconf.sh: Likewise.
28875 * posix/wordexp-tst.sh: Likewise.
28876 * stdio-common/tst-printf.sh: Likewise.
28877 * stdio-common/tst-unbputc.sh: Likewise.
28878 * stdlib/tst-fmtmsg.sh: Likewise.
28879 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
28880 * catgets/Makefile: Do not specify -e option when running
28881 testsuite shell scripts.
28882 * elf/Makefile: Likewise.
28883 * grp/Makefile: Likewise.
28884 * iconvdata/Makefile: Likewise.
28885 * intl/Makefile: Likewise.
28886 * io/Makefile: Likewise.
28887 * libio/Makefile: Likewise.
28888 * malloc/Makefile: Likewise.
28889 * posix/Makefile: Likewise.
28890 * stdio-common/Makefile: Likewise.
28891 * stdlib/Makefile: Likewise.
28892 * sysdeps/x86_64/Makefile: Likewise.
28894 * io/ftwtest-sh: Add copyright header.
28895 * posix/globtest.sh: Likewise.
28896 * posix/tst-getconf.sh: Likewise.
28897 * posix/wordexp-tst.sh: Likewise.
28898 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
28900 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
28903 * Makeconfig (+link): Defined as $(+link-static) if
28904 $(build-shared) isn't yes.
28905 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
28907 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
28909 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
28912 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
28913 new chunk size with MALLOC_ALIGN_MASK.
28915 2012-09-24 Joseph Myers <joseph@codesourcery.com>
28918 * stdio-common/printf_fphex.c: Include <stdbool.h> and
28920 (__printf_fphex): Determine rounding using get_rounding_mode and
28922 * stdio-common/tst-printf-round.c (struct hex_test): New
28924 (hex_tests): New variable.
28925 (test_hex_in_one_mode): New function.
28926 (do_test): Also run tests for hex float output.
28928 2012-09-21 Joseph Myers <joseph@codesourcery.com>
28930 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
28931 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
28932 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
28933 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
28934 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
28935 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
28936 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
28937 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
28939 2012-09-20 Joseph Myers <joseph@codesourcery.com>
28941 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
28942 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
28943 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
28944 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
28946 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
28949 * elf/rtld.c (dl_main): Limit the check for self loading to normal
28951 * elf/tst-rtld-load-self.sh: New test.
28952 * elf/Makefile: Run it.
28954 2012-09-18 Joseph Myers <joseph@codesourcery.com>
28956 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
28957 (tst-writev-ENV): Remove.
28958 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
28960 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
28962 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
28964 2012-09-17 Joseph Myers <joseph@codesourcery.com>
28966 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
28968 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
28970 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
28971 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
28972 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
28975 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
28978 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
28979 * config.make.in (have-cpp-asm-debuginfo): Removed.
28980 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
28981 * configure: Regenerated.
28983 2012-09-14 Joseph Myers <joseph@codesourcery.com>
28986 * stdio-common/printf_fp.c: Include <stdbool.h> and
28988 (___printf_fp): Determine rounding using get_rounding_mode and
28990 * stdio-common/tst-printf-round.c: New file.
28991 * stdio-common/Makefile (tests): Add tst-printf-round.
28992 (link-libm): New variable.
28993 ($(objpfx)tst-printf-round): Depend in $(link-libm).
28995 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
28998 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
28999 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
29001 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
29004 2012-09-13 Joseph Myers <joseph@codesourcery.com>
29006 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
29007 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29008 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29009 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29011 2012-09-12 Joseph Myers <joseph@codesourcery.com>
29014 * include/rounding-mode.h: New file.
29015 * sysdeps/generic/get-rounding-mode.h: Likewise.
29016 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
29017 * stdlib/strtod_l.c: Include <rounding-mode.h>.
29018 (MAX_VALUE): New macro.
29019 (MIN_VALUE): Likewise.
29020 (overflow_value): New function.
29021 (underflow_value): Likewise.
29022 (round_and_return): Use overflow_value and underflow_value to
29023 determine return values in overflow and underflow cases. Use
29024 round_away to determine rounding depending on rounding mode.
29025 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
29026 determine return values in overflow and underflow cases.
29027 * stdlib/tst-strtod-round.c: Include <fenv.h>.
29028 (struct test_results): New structure.
29029 (struct test): Use struct test_results to store expected results
29030 for all rounding modes.
29031 (TEST): Include expected results for all rounding modes.
29032 (test_in_one_mode): New function.
29033 (do_test): Use test_in_one_mode to compute and check results.
29034 Check results for all rounding modes.
29035 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
29038 2012-12-09 Allan McRae <allan@archlinux.org>
29040 * sysdeps/i386/fpu/libm-test-ulps: Update
29042 2012-09-11 Joseph Myers <joseph@codesourcery.com>
29044 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
29045 (_G_int32_t): Likewise.
29046 (_G_uint16_t): Likewise.
29047 (_G_uint32_t): Likewise.
29048 (_G_HAVE_BOOL): Likewise.
29049 (_G_HAVE_ATEXIT): Likewise.
29050 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29051 (_G_HAVE_IO_FILE_OPEN): Likewise.
29052 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
29053 (_G_int32_t): Likewise.
29054 (_G_uint16_t): Likewise.
29055 (_G_uint32_t): Likewise.
29056 (_G_HAVE_BOOL): Likewise.
29057 (_G_HAVE_ATEXIT): Likewise.
29058 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29059 (_G_HAVE_IO_FILE_OPEN): Likewise.
29060 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
29061 (_G_int32_t): Likewise.
29062 (_G_uint16_t): Likewise.
29063 (_G_uint32_t): Likewise.
29064 (_G_HAVE_BOOL): Likewise.
29065 (_G_HAVE_ATEXIT): Likewise.
29066 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29067 (_G_HAVE_IO_FILE_OPEN): Likewise.
29069 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
29071 * csu/libc-tls.c: Update copyright years.
29073 2012-09-10 Joseph Myers <joseph@codesourcery.com>
29075 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
29076 [!_G_USING_THUNKS]: Remove conditional code.
29077 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
29078 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
29080 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
29081 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
29082 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29083 (_G_VTABLE_LABEL_PREFIX): Likewise.
29084 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29085 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29086 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29087 (_G_VTABLE_LABEL_PREFIX): Likewise.
29088 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29089 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29090 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29091 (_G_VTABLE_LABEL_PREFIX): Likewise.
29092 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29094 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
29096 * libio/Makefile: Include ../Makeconfig before tests.
29097 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
29098 only if $(build-shared) is yes.
29100 * iconv/gconv_db.c: Update copyright years.
29102 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29104 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
29105 unwind info if defined PIC. Fix special cases description.
29106 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
29108 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
29110 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
29112 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
29114 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
29116 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
29119 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
29120 (LDLIBS-tst-chk4): This.
29121 (LDFLAGS-tst-chk5): Renamed to ...
29122 (LDLIBS-tst-chk5): This.
29123 (LDFLAGS-tst-chk6): Renamed to ...
29124 (LDLIBS-tst-chk6): This.
29125 (LDFLAGS-tst-lfschk4): Renamed to ...
29126 (LDLIBS-tst-lfschk4): This.
29127 (LDFLAGS-tst-lfschk5): Renamed to ...
29128 (LDLIBS-tst-lfschk5): This.
29129 (LDFLAGS-tst-lfschk6): Renamed to ...
29130 (LDLIBS-tst-lfschk6): This.
29132 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
29133 on $(common-objpfx)soversions.mk.
29135 2012-09-07 Joseph Myers <joseph@codesourcery.com>
29138 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
29141 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
29143 * malloc/arena.c (arena_get_retry): New function that gets
29144 another arena for the caller to try its request on.
29145 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
29146 current arena cannot fulfill the request.
29147 (__libc_memalign): Likewise.
29148 (__libc_memalign): Likewise.
29149 (__libc_pvalloc): Likewise.
29150 (__libc_calloc): Likewise.
29152 2012-09-05 John Tobey <john.tobey@gmail.com>
29155 * manual/arith.texi (Operations on Complex): Fix description
29156 of carg branch cut.
29158 2012-09-06 Joseph Myers <joseph@codesourcery.com>
29161 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
29165 * manual/memory.texi (Memory): Make order of menu items match
29168 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29170 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
29171 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
29172 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
29174 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29176 * csu/libc-tls.c (static_dtv): Renamed to ...
29177 (_dl_static_dtv): This. Make it global.
29178 (_dl_initial_dtv): Removed.
29179 (__libc_setup_tls): Updated.
29180 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
29181 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
29184 2012-09-06 Petr Machata <pmachata@redhat.com>
29186 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
29187 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
29188 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
29189 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
29191 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29194 * csu/libc-tls.c (_dl_initial_dtv): New variable.
29195 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
29198 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29201 * Makeconfig (link-static-before-libc): Replace $(+prector)
29203 (link-static-after-libc): Replace $(+postctor) with
29205 (link-bounded): Replace $(+prector)/$(+postctor) with
29206 $(+prectorT)/$(+postctorT).
29207 (+prectorT): New macro.
29208 (+postctorT): Likewise.
29210 2012-09-06 Joseph Myers <joseph@codesourcery.com>
29212 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
29213 (round_str): Handle values above the maximum for IBM long double
29215 * stdlib/tst-strtod-round.c (tests): Regenerated.
29217 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29219 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
29221 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
29222 zarch_nohighgprs around the zarch optimized routines.
29223 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
29224 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
29225 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
29228 2012-09-05 David S. Miller <davem@davemloft.net>
29230 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29232 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
29233 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
29234 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
29235 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
29238 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29240 * malloc/arena.c: Fold copyright years.
29241 * malloc/mcheck.c, malloc/memusage.c: Likewise.
29243 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29245 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
29247 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29249 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
29251 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29253 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
29254 change internal state upon failure.
29256 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29258 * malloc/mcheck.c (mcheck_check_all): Fix typo.
29259 * malloc/memusage.c (mmap): Likewise.
29260 (mmap64, mremap): Likewise. Adjust name in comment.
29262 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
29264 * libio/fileops.c: Fix typos in comments.
29265 * libio/oldfileops.c: Likewise.
29266 * libio/wfileops.c: Likewise.
29268 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
29271 * malloc/Makefile (tests): Add tst-malloc-usable test case.
29272 (tst-malloc-usable-ENV): Set environment for test case.
29273 * malloc/hooks.c (malloc_check_get_size): New function to get
29275 * malloc/malloc.c (musable): Use malloc_check_get_size.
29276 * malloc/tst-malloc-usable.c: New test case.
29278 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
29280 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
29282 2012-09-05 Allan McRae <allan@archlinux.org>
29285 * configure.in (CXX_SYSINCLUDES): Use compiler output to
29286 determine header location.
29287 * configure: Regenerated.
29289 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
29291 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
29293 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
29294 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
29296 (test): Regenerate.
29298 2012-09-04 David S. Miller <davem@davemloft.net>
29300 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
29301 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
29302 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
29304 2012-09-04 Florian Weimer <fweimer@redhat.com>
29306 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
29309 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
29311 2012-09-04 Joseph Myers <joseph@codesourcery.com>
29314 * libio/iogetdelim.c: Include <limits.h>.
29315 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
29316 + len + 1 would overflow.
29318 2012-09-03 Andreas Jaeger <aj@suse.de>
29320 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29321 * sysdeps/i386/fpu/libm-test-ulps: Update.
29323 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29325 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
29326 Add s_sinf-sse2, s_conf-sse2.
29328 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
29329 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
29330 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
29331 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
29333 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
29334 for using routine as __sinf_ia32.
29335 Use macro for function declaration and weak_alias.
29336 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
29337 for using routine as __cosf_ia32.
29338 Use macro for function declaration and weak_alias.
29340 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
29341 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
29343 * sysdeps/x86_64/fpu/s_sinf.S: New file.
29344 * sysdeps/x86_64/fpu/s_cosf.S: New file.
29345 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29347 * math/libm-test.inc (cos_test): Add more test cases.
29348 (sin_test): Likewise.
29349 (sincos_test): Likewise.
29351 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29353 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
29354 (IFUNC_RESOLVE): Make pointers to the specialized implementations
29356 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
29358 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
29361 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
29362 first element of the GOT.
29363 (elf_machine_load_address): Return the difference between
29364 the runtime address of _DYNAMIC and elf_machine_dynamic ().
29366 2012-09-01 Allan McRae <allan@archlinux.org>
29369 * configure.in (AWK): Require gawk version 3.0 or later.
29370 * configure: Regenerated.
29372 2012-09-01 Joseph Myers <joseph@codesourcery.com>
29374 * sysdeps/unix/sysv/linux/kernel-features.h
29375 (__ASSUME_POSIX_CPU_TIMERS): Remove.
29376 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29377 [__NR_clock_getres]: Make code unconditional.
29378 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
29379 (clock_getcpuclockid): Remove code left unreachable by removal of
29381 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
29382 code unconditional.
29383 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29384 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29385 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
29386 Make code unconditional.
29387 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29388 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29389 * sysdeps/unix/sysv/linux/clock_settime.c
29390 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
29392 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
29393 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29395 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
29398 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
29399 scripts/test-installation.pl.
29401 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
29402 and $ld_so_version if it is set.
29404 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29407 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
29408 failure if reading from procfs failed.
29409 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
29411 2012-08-27 Joseph Myers <joseph@codesourcery.com>
29413 * sysdeps/unix/sysv/linux/kernel-features.h
29414 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
29415 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29416 Remove conditional code.
29417 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29418 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
29419 Remove conditional code.
29420 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29421 * sysdeps/unix/sysv/linux/i386/fxstat.c
29422 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29423 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29424 * sysdeps/unix/sysv/linux/i386/fxstatat.c
29425 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29426 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29427 * sysdeps/unix/sysv/linux/i386/lxstat.c
29428 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29429 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29430 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
29431 Remove conditional code.
29432 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29433 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29434 Remove conditional code.
29435 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29436 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
29437 <kernel-features.h>.
29438 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
29440 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
29441 Remove conditional code.
29442 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29443 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
29444 Remove conditional.
29446 2012-08-27 Mike Frysinger <vapier@gentoo.org>
29449 * NEWS: Add fixed bug number.
29451 2012-08-27 Joseph Myers <joseph@codesourcery.com>
29454 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
29455 underflowing exponent in case of negative sign.
29456 * stdlib/tst-strtod-round-data: Add more tests.
29457 * stdlib/tst-strtod-round.c (tests): Regenerated.
29460 * stdlib/strtod_l.c (NDIG): Remove.
29461 (HEXNDIG): Likewise.
29462 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
29463 smallest representable value.
29464 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
29465 lie within an exact representation of 1/2 ulp of the result.
29466 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
29468 (TENS_P9_IDX): Define unconditionally.
29469 (TENS_P9_SIZE): Likewise.
29470 (TENS_P10_IDX): Likewise.
29471 (TENS_P10_SIZE): Likewise.
29472 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
29473 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
29474 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
29475 entries for 10^2^13 and 10^2^14.
29476 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
29477 (TENS_P13_IDX): Define.
29478 (TENS_P13_SIZE): Likewise.
29479 (TENS_P14_IDX): Likewise.
29480 (TENS_P14_SIZE): Likewise.
29481 (_fpioconst_pow10): Change array size to
29482 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
29484 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
29485 1024]: Add entries for 10^2^13 and 10^2^14.
29486 [LAST_POW10 > _LAST_POW10]: Remove #error.
29487 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
29488 (_fpioconst_pow10): Change array size to
29489 FPIOCONST_POW10_ARRAY_SIZE.
29490 * stdlib/gen-fpioconst.c: New file.
29491 * stdlib/gen-tst-strtod-round.c: Likewise.
29492 * stdlib/tst-strtod-round-data: Likewise.
29493 * stdlib/tst-strtod-round.c: Likewise.
29494 * stdlib/Makefile (tests): Add tst-strtod-round.
29497 * stdlib/strtod_l.c: Include <stdint.h>.
29498 (NDEBUG): Do not define.
29499 (round_and_return): Change EXPONENT parameter to type intmax_t.
29500 Rearrange calculations to avoid internal overflow possibilities.
29501 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
29502 Rearrange calculations to avoid internal overflow possibilities.
29503 Assert that number fits inside MPNSIZE limbs.
29504 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
29505 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
29506 calculations and add assertions to avoid internal overflow
29507 possibilities. Add casts to avoid signed/unsigned operations.
29508 * stdlib/tst-strtod-overflow.c: New file.
29509 * stdlib/Makefile (tests): Add tst-strtod-overflow.
29511 2012-08-25 Marek Polacek <polacek@redhat.com>
29513 * time/time.h: Fix some typos in comments.
29515 2012-08-23 Roland McGrath <roland@hack.frob.com>
29517 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
29518 * posix/tst-rfc3484-2.c: Likewise.
29519 * posix/tst-rfc3484-3.c: Likewise.
29521 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
29523 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
29524 (EF_ARM_ABI_FLOAT_HARD): Likewise.
29526 2012-08-23 Joseph Myers <joseph@codesourcery.com>
29528 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
29529 #include of fxstatat64.c.
29531 2012-08-22 Roland McGrath <roland@hack.frob.com>
29533 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
29534 * shadow/getspent_r.c: Likewise.
29535 * shadow/getspnam.c: Likewise.
29536 * shadow/getspnam_r.c: Likewise.
29537 * gshadow/getsgent.c: Likewise.
29538 * gshadow/getsgent_r.c: Likewise.
29539 * gshadow/getsgnam.c: Likewise.
29540 * gshadow/getsgnam_r.c: Likewise.
29541 * inet/getnetbyad.c: Likewise.
29542 * inet/getnetbyad_r.c: Likewise.
29543 * inet/getnetbynm.c: Likewise.
29544 * inet/getnetbynm_r.c: Likewise.
29545 * inet/getnetent.c: Likewise.
29546 * inet/getnetent_r.c: Likewise.
29547 * inet/getproto.c: Likewise.
29548 * inet/getproto_r.c: Likewise.
29549 * inet/getprtent.c: Likewise.
29550 * inet/getprtent_r.c: Likewise.
29551 * inet/getprtname.c: Likewise.
29552 * inet/getprtname_r.c: Likewise.
29553 * inet/getrpcbyname.c: Likewise.
29554 * inet/getrpcbyname_r.c: Likewise.
29555 * inet/getrpcbynumber.c: Likewise.
29556 * inet/getrpcbynumber_r.c: Likewise.
29557 * inet/getrpcent.c: Likewise.
29558 * inet/getrpcent_r.c: Likewise.
29559 * inet/getaliasent.c: Likewise.
29560 * inet/getaliasent_r.c: Likewise.
29561 * inet/getaliasname.c: Likewise.
29562 * inet/getaliasname_r.c: Likewise.
29563 * nscd/getgrgid_r.c: Likewise.
29564 * nscd/getgrnam_r.c: Likewise.
29565 * nscd/gethstbyad_r.c: Likewise.
29566 * nscd/gethstbynm3_r.c: Likewise.
29567 * nscd/getpwnam_r.c: Likewise.
29568 * nscd/getpwuid_r.c: Likewise.
29569 * nscd/getsrvbynm_r.c: Likewise.
29570 * nscd/getsrvbypt_r.c: Likewise.
29571 * nscd/gai.c: Likewise.
29573 * configure.in (build_nscd): New substituted variable, set
29574 by --disable-build-nscd and defaults to $use_nscd.
29575 * configure: Regenerated.
29576 * config.make.in (build-nscd): New substituted variable.
29577 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
29578 Change conditional to require [$(build-nscd) = yes] as well.
29579 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
29582 * configure.in (use_nscd): New substituted variable, set by
29583 --disable-nscd. If enabled, define USE_NSCD.
29584 * configure: Regenerated.
29585 * config.h.in: Add USE_NSCD.
29586 * config.make.in (use-nscd): New substituted variable.
29587 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
29588 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
29589 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
29590 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
29591 (CFLAGS-getgrnam_r.c): Likewise.
29592 (CFLAGS-initgroups.c): Likewise.
29593 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
29594 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
29596 * inet/getnetgrent_r.c
29597 (nscd_setnetgrent): New function, broken out of ...
29598 (setnetgrent): ... here. Call it.
29599 (innetgr): Conditionalize nscd bits on [USE_NSCD].
29600 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
29601 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
29602 * nscd/Makefile (routines, aux): Move definitions after include of
29603 Makeconfig. Conditionalize on [$(use-nscd) != no].
29604 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
29605 Conditionalize on [USE_NSCD].
29606 (is_nscd, nscd_init_cb): Likewise.
29607 (nss_load_library): Conditionalize init callback on [USE_NSCD].
29608 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
29609 * nss/nss_db/db-init.c: Likewise.
29610 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
29612 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
29613 (make_request): Use it.
29614 (cache_valid_p): New function.
29615 (__check_pf): Use it.
29616 * NEWS: Add item for --disable-nscd.
29618 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
29620 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
29621 to support sed >= 4.2.1-20-ga9bf076.
29622 * configure: Regenerated.
29624 2012-08-22 Roland McGrath <roland@hack.frob.com>
29626 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
29627 Conditionalize whole body on [IREL].
29629 2012-08-22 Jeff Law <law@redhat.com>
29632 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
29633 if the family is PF_UNSPEC.
29635 2012-08-22 Mike Frysinger <vapier@gentoo.org>
29637 * Makerules (lib-version): Rename from V.
29638 (install-lib-nosubdir): Change V to lib-version.
29640 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
29643 * powerpc32/power6/wcschr.c: New file.
29644 * powerpc32/power6/wcscpy.c: New file.
29645 * powerpc32/power6/wcsrchr.c: New file.
29646 * powerpc64/power6/wcschr.c: New file.
29647 * powerpc64/power6/wcscpy.c: New file.
29648 * powerpc64/power6/wcsrchr.c: New file.
29650 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
29652 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
29653 (two_way_short_needle): Use it.
29654 * string/strstr.c (AVAILABLE1_USES_J): Define.
29655 * string/strcasestr.c: Likewise.
29657 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
29659 * string/strcasestr.c (TOLOWER): Make side-effect safe.
29662 * NEWS: Add an entry.
29663 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
29664 define their defaults.
29665 (two_way_short_needle): Detect end-of-string on-the-fly.
29666 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
29667 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
29668 * string/bug-strcasestr1.c: New test.
29669 * string/Makefile: Run it.
29671 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
29674 * string/str-two-way.h (two_way_short_needle): Optimize matching of
29675 the first character.
29677 2012-08-21 Roland McGrath <roland@hack.frob.com>
29679 * csu/elf-init.c (__libc_csu_irel): Function removed.
29680 * csu/libc-start.c (apply_irel): New function.
29681 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
29683 2012-08-21 Joseph Myers <joseph@codesourcery.com>
29685 * sysdeps/unix/sysv/linux/kernel-features.h
29686 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
29687 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
29688 <kernel-features.h>.
29689 [__NR_fadvise64_64]: Make code unconditional.
29690 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
29691 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
29692 !__NR_fadvise64_64)]: Likewise.
29693 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
29694 !__NR_fadvise64_64))]: Likewise.
29695 [__NR_fadvise64]: Make code unconditional.
29696 [!__NR_fadvise64]: Remove conditional code.
29697 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
29698 <kernel-features.h>.
29699 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29701 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
29704 not include <kernel-features.h>.
29705 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29707 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29709 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
29710 include <kernel-features.h>.
29711 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29713 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29716 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
29718 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
29719 slight instruction rearrangements per scrollpipe analysis.
29720 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
29722 2012-08-20 Roland McGrath <roland@hack.frob.com>
29724 * manual/syslog.texi (syslog; vsyslog, closelog):
29725 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
29726 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
29728 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
29729 DSOCAPS to match condition on defining it.
29731 2012-08-20 Joseph Myers <joseph@codesourcery.com>
29733 * sysdeps/unix/sysv/linux/kernel-features.h
29734 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
29735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
29736 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29737 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
29739 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29740 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
29742 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29743 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29745 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
29746 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
29748 * sysdeps/unix/sysv/linux/kernel-features.h
29749 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
29750 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
29752 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29753 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
29754 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29755 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29756 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
29757 Make code unconditional.
29758 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29759 (__mmap64) [!__NR_mmap2]: Likewise.
29760 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
29761 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29762 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29763 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
29764 [__NR_mmap2]: Make code unconditional.
29765 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29766 (__mmap64) [!__NR_mmap2]: Likewise.
29768 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29770 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
29772 2012-08-18 Andreas Jaeger <aj@suse.de>
29774 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
29776 2012-08-18 Mike Frysinger <vapier@gentoo.org>
29778 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
29779 * include/unistd.h (__have_sock_cloexec): Likewise.
29780 (__have_pipe2): Likewise.
29781 (__have_dup3): Likewise.
29783 2012-08-18 Mike Frysinger <vapier@gentoo.org>
29786 * include/unistd.h (__have_pipe2): Change define into an extern int.
29787 (__have_dup3): Likewise.
29788 * socket/have_sock_cloexec.c: Include fcntl.h.
29789 (__have_pipe2): New variable.
29790 (__have_dup3): Likewise.
29792 2012-08-17 Mike Frysinger <vapier@gentoo.org>
29794 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
29796 2012-08-17 Marek Polacek <polacek@redhat.com>
29798 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
29799 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
29801 2012-08-17 Roland McGrath <roland@hack.frob.com>
29803 * configure.in: Add AC_SUBST for sysheaders.
29804 * configure: Regenerated.
29805 * config.make.in (sysheaders): New substituted variable.
29807 * sysdeps/unix/mkfifo.c: Moved ...
29808 * sysdeps/posix/mkfifo.c: ... here.
29809 * sysdeps/unix/mkfifoat.c: Moved ...
29810 * sysdeps/posix/mkfifoat.c: ... here.
29812 * sysdeps/unix/utime.c: Moved ...
29813 * sysdeps/posix/utime.c: ... here.
29815 * sysdeps/unix/time.c: Moved ...
29816 * sysdeps/posix/time.c: ... here.
29817 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
29818 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
29820 * sysdeps/unix/nice.c: Moved ...
29821 * sysdeps/posix/nice.c: ... here.
29823 * sysdeps/unix/alarm.c: Moved ...
29824 * sysdeps/posix/alarm.c: ... here.
29826 * intl/Makefile ($(codeset_mo)): Depend on the input file.
29828 2012-08-17 Jeff Law <law@redhat.com>
29830 * intl/Makefile (codeset_mo): New variable.
29831 ($(codeset_mo)): New target.
29832 (tst-codeset.out): Depend on that. Remove explicit rule.
29833 (tst-gettext3.out, tst-gettext5.out): Likewise.
29834 (LOCPATH-ENV, tst-codeset-ENV): New variables.
29835 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
29836 * intl/tst-codeset.sh: Remove.
29837 * intl/tst-gettext3.sh: Likewise.
29838 * intl/tst-gettext5.sh: Likewise.
29840 2012-08-17 Roland McGrath <roland@hack.frob.com>
29842 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
29843 * sysdeps/unix/syscalls.list: ... here.
29845 * sysdeps/posix/getaddrinfo.c
29846 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
29847 (gaiconf_init, gaiconf_reload): Use them.
29848 [!_STATBUF_ST_NSEC]
29849 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
29850 Define using time_t rather than struct timespec.
29852 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
29853 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
29855 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
29857 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
29858 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
29861 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
29862 __libc_cleanup_push argument.
29864 * bits/param.h: New file.
29865 * misc/sys/param.h: New file.
29866 * include/sys/param.h: New file.
29867 * misc/Makefile (headers): Add bits/param.h.
29868 * sysdeps/generic/sys/param.h: File removed.
29869 * sysdeps/unix/sysv/linux/bits/param.h: New file.
29870 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
29871 * sysdeps/mach/hurd/bits/param.h: New file.
29872 * sysdeps/mach/hurd/sys/param.h: File removed.
29874 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
29877 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
29879 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
29880 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
29883 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
29884 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
29885 rather than -D_IO_MTSAFE_IO conditionally.
29886 * stdio-common/Makefile (CPPFLAGS): Likewise.
29887 * wcsmbs/Makefile (CPPFLAGS): Likewise.
29888 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
29889 Use $(libio-mtsafe).
29890 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
29891 of -D_IO_MTSAFE_IO.
29892 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
29893 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
29894 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
29895 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
29896 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
29897 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
29898 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
29899 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
29900 (CFLAGS-fread_u_chk.c): Likewise.
29901 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
29902 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
29903 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
29904 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
29905 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
29906 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
29907 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
29908 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
29909 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
29911 * libio/Makefile: Test [$(libc-reentrant) = yes]
29912 instead of [$(filter %REENTRANT, $(defines)) nonempty].
29915 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
29916 * sysdeps/pthread/configure: File removed.
29917 * sysdeps/pthread/Makeconfig: New file.
29918 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
29919 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
29921 2012-08-16 Gary Benson <gbenson@redhat.com>
29923 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
29924 unmapping the first object in a namespace.
29926 2012-08-16 Roland McGrath <roland@hack.frob.com>
29928 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
29929 (__internal_setnetgrent): ... this. Add internal_function to
29930 definition. Add libc_hidden_def.
29931 (setnetgrent): Update caller.
29932 (internal_endnetgrent): Renamed to ...
29933 (__internal_endnetgrent): ... this. Add internal_function to
29934 definition. Add libc_hidden_def.
29935 (endnetgrent): Update caller.
29936 (internal_getnetgrent_r): Renamed to ...
29937 (__internal_getnetgrent_r): ... this. Add internal_function to
29938 definition. Add libc_hidden_def.
29939 (__getnetgrent_r): Update caller.
29940 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
29942 2012-08-16 Joseph Myers <joseph@codesourcery.com>
29944 * stdlib/longlong.h: Update from GCC.
29946 2012-08-16 Roland McGrath <roland@hack.frob.com>
29948 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
29949 on _QL, which is set by umul_ppmm but never used.
29950 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
29951 variables, which are set by GMP macros but never used.
29952 * stdio-common/_itowa.c (_itowa): Likewise.
29953 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
29954 * stdlib/mod_1.c (mpn_mod_1): Likewise.
29956 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
29958 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
29959 struct La_sh_regs is not constant.
29960 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
29961 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
29962 and struct La_sparc64_regs are not constant.
29964 2012-08-16 Joseph Myers <joseph@codesourcery.com>
29966 * sysdeps/unix/sysv/linux/kernel-features.h
29967 (__ASSUME_POSIX_TIMERS): Remove.
29968 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29969 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29970 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
29971 Make code unconditional.
29972 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29973 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
29974 Make code unconditional.
29975 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29976 * sysdeps/unix/sysv/linux/clock_nanosleep.c
29977 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
29978 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29979 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
29980 Make code unconditional.
29981 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29982 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
29983 (__libc_missing_posix_timers): Remove.
29985 2012-08-15 Roland McGrath <roland@hack.frob.com>
29987 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
29988 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
29990 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
29992 * elf/dl-sym.c: Include <stdlib.h>.
29994 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
29995 constants, which avoids warnings in 32-bit builds.
29997 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
29998 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
30000 * misc/lseek.c: File moved to ...
30001 * io/lseek.c: ... here.
30003 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
30005 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
30006 shifting LEN more than 31 bits at once.
30008 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30011 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
30012 segmentation fault for a case of two empty input strings.
30013 * string/test-strncasecmp.c (check1): Renamed to...
30014 (bz12205): ...this.
30015 (bz14195): Add new testcase for two empty input strings and N > 0.
30016 (test_main): Call new testcase, adapt for renamed function.
30018 2012-08-15 Andreas Jaeger <aj@suse.de>
30021 * crypt/md5test2.c: New test, based on test supplied by Serge
30022 Belyshev <belyshev@depni.sinp.msu.ru>.
30023 * crypt/Makefile (xtests): Add md5test-giant..
30024 * crypt/Makefile ($(objpfx)md5test-giant): Add.
30026 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
30029 * crypt/md5.c (md5_process_block): Don't assume the buffer
30030 length is less than 2**32.
30031 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
30032 length is less than 2**64.
30034 2012-08-15 Roland McGrath <roland@hack.frob.com>
30036 * string/str-two-way.h: Include <sys/param.h>.
30037 (MAX): Macro removed.
30039 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
30040 Move #define and #undef of memmove to just before and after
30041 including <string.h>.
30043 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
30044 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
30045 and after including <string.h>. Move declarations of
30046 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
30047 to before #include "string/memmove.c".
30049 * include/dirent.h: Declare __getdirentries.
30051 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
30052 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
30054 2012-08-14 Mike Frysinger <vapier@gentoo.org>
30056 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
30057 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
30058 * sysdeps/i386/configure: Regenerated.
30059 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
30060 STABS_CURRENT_FILE, and STABS_FUN.
30061 (END): Remove call to STABS_FUN_END.
30062 (STABS_CURRENT_FILE1): Delete.
30063 (STABS_CURRENT_FILE): Likewise.
30064 (STABS_FUN): Likewise.
30065 (STABS_FUN_END): Likewise.
30066 (STABS_FUN2): Likewise.
30067 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
30068 * sysdeps/x86_64/configure: Regenerated.
30070 2012-08-14 Roland McGrath <roland@hack.frob.com>
30072 * elf/dl-open.c: Include <atomic.h>.
30073 * elf/dl-lookup.c: Likewise.
30075 2012-08-14 Joseph Myers <joseph@codesourcery.com>
30077 * sysdeps/unix/sysv/linux/kernel-features.h
30078 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
30079 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
30081 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
30083 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
30084 condition on __ASSUME_CLONE_THREAD_FLAGS.
30086 2012-08-14 Andreas Jaeger <aj@suse.de>
30088 * sysdeps/i386/fpu/libm-test-ulps: Update.
30090 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
30092 * include/atomic.h (atomic_exchange_and_add): Split into ...
30093 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
30096 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
30098 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30100 2012-08-13 Jeff Law <law@redhat.com>
30102 * manual/stdio.texi (snprintf): Clarify handling of the trailing
30103 null byte in the output string.
30105 2012-08-10 Joseph Myers <joseph@codesourcery.com>
30107 * sysdeps/unix/sysv/linux/kernel-features.h
30108 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
30109 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
30110 (__ASSUME_ARG_MAX_STACK_BASED): Define.
30111 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
30112 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
30113 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
30114 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
30116 2012-08-09 Jeff Law <law@redhat.com>
30119 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
30120 When avoid_arena is set, don't retry in the that arena. Pick the
30121 next one, whatever it might be.
30122 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
30123 (arena_lock): Pass in new parameter to arena_get2.
30124 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
30126 (__libc_malloc): Unify retrying after main arena failure with
30127 __libc_memalign version.
30128 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
30130 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
30133 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
30134 to __redirect_strstr.
30135 (__strstr_sse42): Use typeof __redirect_strstr.
30136 (__strstr_ia32): Likewise.
30137 (__libc_strstr): New prototype.
30138 (strstr): Renamed to ...
30139 (__libc_strstr): This.
30140 (strstr): New strong alias of __libc_strstr.
30141 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
30142 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
30145 (__libc_time): New prototype.
30146 (time_ifunc): Replace time with __libc_time.
30147 (time): New strong alias and hidden definition of __libc_time.
30148 (__GI_time): Remove strong alias.
30149 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
30150 Include <stddef.h>.
30151 (memmove): Redefined to __redirect_memmove.
30152 (__memmove_sse2): Use typeof __redirect_memmove.
30153 (__memmove_ssse3): Likewise.
30154 (__memmove_ssse3_back): Likewise.
30155 (__libc_memmove): New prototype.
30156 (memmove): Renamed to ...
30157 (__libc_memmove): This.
30158 (memmove): New strong alias of __libc_memmove.
30160 2012-08-08 Mark Salter <msalter@redhat.com>
30163 (R_MN10300_TLS_GD): Define.
30164 (R_MN10300_TLS_LD): Likewise.
30165 (R_MN10300_TLS_LDO): Likewise.
30166 (R_MN10300_TLS_GOTIE): Likewise.
30167 (R_MN10300_TLS_IE): Likewise.
30168 (R_MN10300_TLS_LE): Likewise.
30169 (R_MN10300_TLS_DTPMOD): Likewise.
30170 (R_MN10300_TLS_DTPOFF): Likewise.
30171 (R_MN10300_TLS_TPOFF): Likewise.
30172 (R_MN10300_SYM_DIFF): Likewise.
30173 (R_MN10300_ALIGN): Likewise.
30174 (R_MN10300_NUM): Update.
30176 2012-08-08 Joseph Myers <joseph@codesourcery.com>
30178 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
30181 2012-08-08 Roland McGrath <roland@hack.frob.com>
30183 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
30185 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
30186 sysdeps/unix -> sysdeps/posix move.
30187 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
30189 2012-08-07 Allan McRae <allan@archlinux.org>
30192 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
30193 (SUNOS_CPP): Likewise.
30194 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
30196 (open_input): Call CPP using execvp.
30198 2012-08-07 Joseph Myers <joseph@codesourcery.com>
30200 * sysdeps/unix/sysv/linux/kernel-features.h
30201 (__ASSUME_PROT_GROWSUPDOWN): Remove.
30202 (__ASSUME_NO_CLONE_DETACHED): Likewise.
30203 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
30204 (__ASSUME_WAITID_SYSCALL): Likewise.
30205 * sysdeps/unix/sysv/linux/dl-execstack.c
30206 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
30207 code unconditional.
30208 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
30210 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
30211 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
30212 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
30214 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
30216 [__ASSUME_WAITID_SYSCALL]: Likewise.
30217 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
30219 2012-08-07 Roland McGrath <roland@hack.frob.com>
30221 * sysdeps/unix/closedir.c: Renamed to ...
30222 * sysdeps/posix/closedir.c: ... here.
30223 * sysdeps/unix/dirfd.c: Renamed to ...
30224 * sysdeps/posix/dirfd.c: ... here.
30225 * sysdeps/unix/dirstream.h: Renamed to ...
30226 * sysdeps/posix/dirstream.h: ... here.
30227 * sysdeps/unix/fdopendir.c: Renamed to ...
30228 * sysdeps/posix/fdopendir.c: ... here.
30229 * sysdeps/unix/opendir.c: Renamed to ...
30230 * sysdeps/posix/opendir.c: ... here.
30231 * sysdeps/unix/readdir.c: Renamed to ...
30232 * sysdeps/posix/readdir.c: ... here.
30233 * sysdeps/unix/readdir_r.c: Renamed to ...
30234 * sysdeps/posix/readdir_r.c: ... here.
30235 * sysdeps/unix/rewinddir.c: Renamed to ...
30236 * sysdeps/posix/rewinddir.c: ... here.
30237 * sysdeps/unix/seekdir.c: Renamed to ...
30238 * sysdeps/posix/seekdir.c: ... here.
30239 * sysdeps/unix/telldir.c: Renamed to ...
30240 * sysdeps/posix/telldir.c: ... here.
30241 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
30242 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
30243 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
30244 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
30246 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
30247 * bits/fcntl.h: ... here.
30249 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
30251 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
30252 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
30253 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
30254 (struct flock): Move l_start, l_len to the beginning.
30255 Use __pid_t for l_pid.
30256 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
30257 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
30258 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
30259 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
30260 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
30261 [__USE_LARGEFILE64] (struct flock64): New type.
30262 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
30264 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
30265 * bits/dirent.h: ... here.
30267 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
30268 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
30270 2012-08-07 Joseph Myers <joseph@codesourcery.com>
30272 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30273 Change from 2.6.0 to 2.6.16.
30274 * sysdeps/unix/sysv/linux/configure: Regenerated.
30275 * sysdeps/unix/sysv/linux/kernel-features.h
30276 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
30277 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
30279 (__ASSUME_UTIMES): Likewise.
30280 (__ASSUME_CLONE_STOPPED): Remove.
30281 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
30282 architectures, not kernel version.
30283 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
30284 (__ASSUME_NO_CLONE_DETACHED): Likewise.
30285 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
30286 (__ASSUME_WAITID_SYSCALL): Likewise.
30287 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
30288 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
30289 * README: State 2.6.16 as minimum Linux kernel version. Do not
30290 refer to older versions.
30292 2012-08-06 Roland McGrath <roland@hack.frob.com>
30294 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
30295 Define alphasort64 as an alias.
30296 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
30297 Define versionsort64 as an alias.
30298 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
30299 Define scandir64 as an alias.
30300 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
30301 Define scandirat64 as an alias.
30302 * dirent/alphasort64.c (alphasort64):
30303 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
30304 * dirent/versionsort64.c: Likewise.
30305 * dirent/scandir64.c: Likewise.
30306 * dirent/scandirat64.c: Likewise.
30307 * sysdeps/wordsize-64/alphasort.c: File removed.
30308 * sysdeps/wordsize-64/alphasort64.c: File removed.
30309 * sysdeps/wordsize-64/scandir.c: File removed.
30310 * sysdeps/wordsize-64/scandir64.c: File removed.
30311 * sysdeps/wordsize-64/scandirat.c: File removed.
30312 * sysdeps/wordsize-64/scandirat64.c: File removed.
30313 * sysdeps/wordsize-64/versionsort.c: File removed.
30314 * sysdeps/wordsize-64/versionsort64.c: File removed.
30315 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
30316 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
30317 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
30318 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
30319 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
30320 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
30321 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
30322 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
30324 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
30325 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
30326 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
30327 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30328 [defined __arch64__ || defined __sparcv9]
30329 (__INO_T_MATCHES_INO64_T): New macro.
30330 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30331 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
30332 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
30333 * sysdeps/unix/sysv/linux/bits/dirent.h
30334 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
30335 (_DIRENT_MATCHES_DIRENT64): New macro.
30337 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
30338 Define lockf64 as an alias.
30339 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
30340 Define fseeko64 as an alias.
30341 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
30342 Define ftello64 as an alias.
30343 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
30344 Define _IO_fgetpos64 and fgetpos64 as aliases.
30345 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
30346 Define _IO_fsetpos64 and fsetpos64 as aliases.
30347 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
30348 Conditionalize body on this.
30349 * libio/fseeko64.c: Likewise.
30350 * libio/ftello64.c: Likewise.
30351 * libio/iofgetpos64.c: Likewise.
30352 * libio/iofsetpos64.c: Likewise.
30353 * sysdeps/wordsize-64/lockf.c: File removed.
30354 * sysdeps/wordsize-64/lockf64.c: File removed.
30355 * sysdeps/wordsize-64/fseeko.c: File removed.
30356 * sysdeps/wordsize-64/fseeko64.c: File removed.
30357 * sysdeps/wordsize-64/ftello.c: File removed.
30358 * sysdeps/wordsize-64/ftello64.c: File removed.
30359 * sysdeps/wordsize-64/iofgetpos.c: File removed.
30360 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
30361 * sysdeps/wordsize-64/iofsetpos.c: File removed.
30362 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
30363 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
30364 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
30365 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
30366 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
30367 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
30368 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
30369 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
30370 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
30371 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
30372 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
30374 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30375 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
30376 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
30377 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30378 [defined __arch64__ || defined __sparcv9]
30379 (__OFF_T_MATCHES_OFF64_T): New macro.
30380 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30381 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30382 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30383 (__OFF_T_MATCHES_OFF64_T): New macro.
30385 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
30387 * stdlib/secure-getenv.c (__secure_getenv): Replace
30388 GLIBC_2_16 with GLIBC_2_17.
30390 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
30392 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
30393 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
30395 2012-08-03 David S. Miller <davem@davemloft.net>
30397 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30399 2012-08-03 Joseph Myers <joseph@codesourcery.com>
30401 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
30403 (__ASSUME_CORRECT_SI_PID): Likewise.
30404 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
30405 (__ASSUME_TMPFS_NAME): Likewise.
30406 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
30407 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
30408 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
30409 (HAVE_AUX_SECURE): Make definition unconditional.
30410 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
30411 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
30413 2012-08-03 Roland McGrath <roland@hack.frob.com>
30415 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
30416 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
30417 * sysdeps/mach/hurd/eloop-threshold.h: New file.
30418 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
30419 __eloop_threshold instead of SYMLOOP_MAX.
30421 * sysdeps/generic/eloop-threshold.h: New file.
30422 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
30424 * elf/chroot_canon.c (chroot_canon): Likewise.
30426 2012-08-03 Joseph Myers <joseph@codesourcery.com>
30429 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30430 Change to 2.6.0 everywhere.
30431 * sysdeps/unix/sysv/linux/configure: Regenerated.
30432 * sysdeps/unix/sysv/linux/kernel-features.h
30433 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
30434 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
30436 (__ASSUME_POSIX_TIMERS): Define unconditionally.
30437 (__ASSUME_FUTEX_REQUEUE): Remove.
30438 (__ASSUME_STATFS64): Define unconditionally.
30439 (__ASSUME_AT_SECURE): Likewise.
30440 (__ASSUME_CORRECT_SI_PID): Likewise.
30441 (__ASSUME_TGKILL): Define without depending on kernel version for
30443 (__ASSUME_UTIMES): Likewise.
30444 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
30446 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
30447 (__ASSUME_TMPFS_NAME): Likewise.
30448 * README: Update reference to Linux kernel versions.
30450 2012-08-02 Marek Polacek <polacek@redhat.com>
30453 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
30454 libc_cv_asm_type_prefix with %.
30455 * configure: Regenerated.
30456 * include/libc-symbols.h: Remove comment about
30457 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
30458 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
30459 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
30460 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
30461 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
30462 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
30463 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
30464 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
30465 * elf/tst-unique2mod1.c: Likewise.
30466 * elf/tst-unique1mod2.c: Likewise.
30467 * elf/tst-unique1mod1.c: Likewise.
30468 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
30469 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
30470 Replace ASM_TYPE_DIRECTIVE with .type.
30471 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30472 * sysdeps/i386/sysdep.h: Likewise.
30473 * sysdeps/x86_64/sysdep.h: Likewise.
30474 * sysdeps/sh/sysdep.h: Likewise.
30475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
30476 Do not define ASM_TYPE_DIRECTIVE.
30477 * sysdeps/powerpc/sysdep.h: Likewise.
30478 * sysdeps/powerpc/powerpc32/sysdep.h:
30479 Replace ASM_TYPE_DIRECTIVE with .type.
30480 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
30481 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30482 * sysdeps/i386/fpu/e_powf.S: Likewise.
30483 * sysdeps/i386/fpu/e_expl.S: Likewise.
30484 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30485 * sysdeps/i386/fpu/e_acosh.S: Likewise.
30486 * sysdeps/i386/fpu/e_pow.S: Likewise.
30487 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30488 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30489 * sysdeps/i386/fpu/s_expm1.S: Likewise.
30490 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30491 * sysdeps/i386/fpu/e_log2.S: Likewise.
30492 * sysdeps/i386/fpu/e_log2l.S: Likewise.
30493 * sysdeps/i386/fpu/e_scalb.S: Likewise.
30494 * sysdeps/i386/fpu/e_powl.S: Likewise.
30495 * sysdeps/i386/fpu/e_log10f.S: Likewise.
30496 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30497 * sysdeps/i386/fpu/e_logl.S: Likewise.
30498 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30499 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30500 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30501 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30502 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30503 * sysdeps/i386/fpu/e_log.S: Likewise.
30504 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30505 * sysdeps/i386/fpu/e_logf.S: Likewise.
30506 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30507 * sysdeps/i386/fpu/e_atanh.S: Likewise.
30508 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30509 * sysdeps/i386/fpu/e_log10.S: Likewise.
30510 * sysdeps/i386/fpu/s_frexp.S: Likewise.
30511 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30512 * sysdeps/i386/fpu/s_asinh.S: Likewise.
30513 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30514 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30515 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
30516 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30517 * sysdeps/i386/i686/strtok.S: Likewise.
30518 * sysdeps/i386/i386-mcount.S: Likewise.
30519 * sysdeps/i386/strtok.S: Likewise.
30520 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
30521 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30522 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30523 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30524 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
30525 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30526 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30527 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30528 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30529 * sysdeps/x86_64/_mcount.S: Likewise.
30530 * sysdeps/x86_64/strtok.S: Likewise.
30531 * sysdeps/sh/_mcount.S: Likewise.
30533 2012-08-01 Roland McGrath <roland@hack.frob.com>
30535 * libio/iofopen.c: Include <fcntl.h>.
30536 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
30537 (_IO_fopen64, fopen64): Define as aliases.
30538 * libio/iofopen64.c: Include <fcntl.h>.
30539 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
30540 Conditionalize body on this.
30541 * sysdeps/wordsize-64/iofopen.c: File removed.
30542 * sysdeps/wordsize-64/iofopen64.c: File removed.
30544 2012-08-01 Marek Polacek <polacek@redhat.com>
30546 * libc/Makeconfig: Use elf in place of binfmt-subdir.
30547 Use dlfcn directly instead of a variable.
30548 (binfmt-subdir): Do not define.
30551 2012-08-01 Joseph Myers <joseph@codesourcery.com>
30553 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
30554 Remove all definitions.
30555 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
30556 <kernel-features.h>.
30557 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30558 (miss_F_GETOWN_EX): Remove all definitions.
30559 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
30561 [!__ASSUME_FCNTL64]: Remove conditional code.
30562 [__ASSUME_FCNTL64]: Make code unconditional.
30563 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
30564 <kernel-features.h>.
30565 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30566 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
30567 (lockf64) [__NR_fcntl64]: Make code unconditional.
30568 (lockf64) [__ASSUME_FCNTL64]: Likewise.
30570 * sysdeps/unix/sysv/linux/kernel-features.h
30571 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
30572 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
30573 Make code unconditional.
30574 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30575 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
30577 [__NR_vfork]: Make code unconditional.
30578 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30579 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
30581 [__NR_vfork]: Make code unconditional.
30582 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30583 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30585 2012-08-01 Roland McGrath <roland@hack.frob.com>
30587 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
30588 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
30590 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30591 Define mkstemp64 as an alias.
30592 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30593 Define mkstemps64 as an alias.
30594 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30595 Define mkostemp64 as an alias.
30596 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30597 Define mkostemps64 as an alias.
30598 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
30599 Conditionalize body on this.
30600 * misc/mkostemp64.c: Likewise.
30601 * misc/mkostemps64.c: Likewise.
30602 * misc/mkstemps64.c: Likewise.
30603 * sysdeps/wordsize-64/mkstemp64.c: File removed.
30604 * sysdeps/wordsize-64/mkostemp64.c: File removed.
30605 * sysdeps/wordsize-64/mkostemp.c: File removed.
30606 * sysdeps/wordsize-64/mkstemp.c: File removed.
30607 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
30608 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
30609 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
30610 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
30613 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
30614 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
30615 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
30616 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
30618 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
30619 compat_symbol macros from <shlib-compat.h> rather than the underlying
30620 default_symbol_version and symbol_version macros, so that DEFAULT
30621 lines in shlib-versions are respected.
30622 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
30624 2012-08-01 Florian Weimer <fweimer@redhat.com>
30626 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
30627 Declare with warn_unused_result.
30628 (setgid, setregid, setegid, setresgid): Likewise.
30629 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
30631 * WUR-REPORT: Remove set*id functions.
30633 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
30635 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
30637 2012-07-31 Roland McGrath <roland@hack.frob.com>
30640 * include/sys/socket.h (__libc_accept, __libc_accept4):
30641 Add attribute_hidden.
30642 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
30644 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
30646 * inet/getnetgrent_r.c (setup): Likewise.
30648 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
30650 2012-07-31 David S. Miller <davem@davemloft.net>
30652 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30654 2012-07-31 Joseph Myers <joseph@codesourcery.com>
30657 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
30658 value between 1.0 and 2.0 and smaller part has absolute value less
30660 * math/s_clog10.c (__clog10): Likewise.
30661 * math/s_clog10f.c (__clog10f): Likewise.
30662 * math/s_clog10l.c (__clog10l): Likewise.
30663 * math/s_clogf.c (__clogf): Likewise.
30664 * math/s_clogl.c (__clogl): Likewise.
30665 * math/libm-test.inc (clog_test): Add more tests.
30666 (clog10_test): Likewise.
30667 * sysdeps/i386/fpu/libm-test-ulps: Update.
30668 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30670 2012-07-31 Florian Weimer <fweimer@redhat.com>
30672 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
30673 Exit with zero in case no suitable GID is found, and write a
30674 message to standard error.
30676 2012-07-30 Roland McGrath <roland@hack.frob.com>
30678 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
30680 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
30681 (MAXPATHLEN): Removed.
30682 (NOGROUP, NODEV): New macros.
30683 (setbit, clrbit, isset, isclr): New macros.
30684 (howmany, roundup, powerof2): New macros.
30685 (DEV_BSIZE): New macro.
30687 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
30688 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
30690 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
30691 definition on [!__NO_LONG_DOUBLE_MATH].
30693 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
30694 PTR_MANGLE and PTR_DEMANGLE.
30696 * socket/accept4.c (accept4): Rename to __libc_accept4.
30697 Define accept4 as a weak alias.
30699 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
30700 on [_DIRENT_HAVE_D_TYPE].
30701 * io/ftw.c (ftw_dir): Likewise.
30703 * io/xmknod.c (__xmknod): Don't check PATH for being null.
30705 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
30707 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
30708 Use the BSD numbers rather than the arbitrary ones we had.
30709 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
30710 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
30711 (SIGXCPU, SIGXFSZ): New macros.
30714 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
30715 initializer on [_LIBC_REENTRANT].
30717 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
30718 definitions inside [_POSIX_MAPPED_FILES].
30720 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
30722 * dirent/opendir.c: Include <fcntl.h>.
30724 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
30725 (__libc_getspecific): Likewise.
30726 (__libc_key_create): Likewise.
30728 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
30729 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
30730 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
30731 (tmpfile64): Define as alias.
30732 * sysdeps/wordsize-64/tmpfile.c: File removed.
30733 * sysdeps/wordsize-64/tmpfile64.c: File removed.
30734 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
30735 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
30737 * stdio-common/vfscanf.c: Include <stdbool.h>.
30738 * nss/makedb.c: Likewise.
30739 * stdio-common/_i18n_number.h: Likewise.
30740 * argp/argp-help.c: Likewise.
30741 * posix/wordexp.c: Likewise.
30742 * sysdeps/posix/spawni.c: Likewise.
30743 * nss/nss_files/files-initgroups.c: Likewise.
30744 * stdio-common/reg-modifier.c: Include <stdlib.h>.
30745 * nss/nss_files/files-initgroups.c: Likewise.
30746 * nss/nss_db/db-netgrp.c: Likewise.
30747 * nss/nss_db/db-initgroups.c: Likewise.
30748 * io/fchmodat.c: Include <sys/stat.h>.
30750 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
30751 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
30753 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
30756 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
30757 Add multiple inclusion protection.
30759 2012-07-27 David S. Miller <davem@davemloft.net>
30761 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30763 2012-07-27 Gary Benson <gbenson@redhat.com>
30766 * elf/rtld.c: Include <stap-probe.h>.
30767 (dl_main): Added static probes "init_start" and "init_complete".
30768 * elf/dl-load.c: Include <stap-probe.h>.
30769 (lose): Take new parameter "nsid".
30770 Added static probe "map_failed".
30771 (_dl_map_object_from_fd): Pass namespace id to lose.
30772 Added static probe "map_start".
30773 (open_verify): Pass namespace id to lose.
30774 * elf/dl-open.c: Include <stap-probe.h>.
30775 (dl_open_worker) Added static probes "map_complete", "reloc_start"
30776 and "reloc_complete".
30777 * elf/dl-close.c: Include <stap-probe.h>.
30778 (_dl_close_worker): Added static probes "unmap_start" and
30780 * elf/rtld-debugger-interface.txt: New file documenting the above.
30782 2012-07-26 Roland McGrath <roland@hack.frob.com>
30784 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
30785 rather than a string variable.
30786 * sunrpc/rpc_main.c (h_output): Likewise.
30787 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
30789 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
30791 * inet/check_native.c: New file.
30793 2012-07-26 Joseph Myers <joseph@codesourcery.com>
30796 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
30797 if larger part has absolute value 1.0.
30798 * math/s_clog10.c (__clog10): Likewise.
30799 * math/s_clog10f.c (__clog10f): Likewise.
30800 * math/s_clog10l.c (__clog10l): Likewise.
30801 * math/s_clogf.c (__clogf): Likewise.
30802 * math/s_clogl.c (__clogl): Likewise.
30803 * math/libm-test.inc (clog_test): Add more tests.
30804 (clog10_test): Likewise.
30805 * sysdeps/i386/fpu/libm-test-ulps: Update.
30806 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30808 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
30809 (pltexit): Likewise.
30810 (La_regs): Likewise.
30811 (La_retval): Likewise.
30812 (int_retval): Likewise.
30813 Update #error for removed macros to refer only to definitions in
30815 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
30817 (pltexit): Likewise.
30818 (La_regs): Likewise.
30819 (La_retval): Likewise.
30820 (int_retval): Likewise.
30821 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
30823 (pltexit): Likewise.
30824 (La_regs): Likewise.
30825 (La_retval): Likewise.
30826 (int_retval): Likewise.
30827 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
30829 (pltexit): Likewise.
30830 (La_regs): Likewise.
30831 (La_retval): Likewise.
30832 (int_retval): Likewise.
30833 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
30835 (pltexit): Likewise.
30836 (La_regs): Likewise.
30837 (La_retval): Likewise.
30838 (int_retval): Likewise.
30839 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
30841 (pltexit): Likewise.
30842 (La_regs): Likewise.
30843 (La_retval): Likewise.
30844 (int_retval): Likewise.
30845 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
30847 (pltexit): Likewise.
30848 (La_regs): Likewise.
30849 (La_retval): Likewise.
30850 (int_retval): Likewise.
30851 * sysdeps/generic/tst-audit.h: Update comment to refer only to
30852 macro definitions in tst-audit.h.
30853 * sysdeps/i386/tst-audit.h: New file.
30854 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
30855 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
30856 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
30857 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
30858 * sysdeps/sh/tst-audit.h: Likewise.
30859 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
30860 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
30861 * sysdeps/x86_64/tst-audit.h: Likewise.
30863 2012-07-26 Andreas Jaeger <aj@suse.de>
30865 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
30868 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
30869 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
30870 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
30872 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
30873 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
30874 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
30876 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
30879 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
30881 (si_call_addr, si_syscall, si_arch): Define new macro.
30882 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
30884 (si_call_addr, si_syscall, si_arch): Define new marcro.
30885 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
30887 (si_call_addr, si_syscall, si_arch): Define new macro.
30888 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
30890 (si_call_addr, si_syscall, si_arch): Define new macro.
30892 2012-07-25 Joseph Myers <joseph@codesourcery.com>
30895 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30896 Change to 2.4.21 where previously 2.4.1.
30897 * sysdeps/unix/sysv/linux/configure: Regenerated.
30898 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
30899 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
30900 Linux kernel version.
30901 (__ASSUME_STD_AUXV): Remove.
30902 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
30904 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
30905 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
30906 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
30907 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
30908 (__ASSUME_NETLINK_SUPPORT): Likewise.
30909 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
30910 (__no_netlink_support): Remove conditional definition.
30911 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
30913 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
30914 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
30915 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
30916 (if_nameindex_ioctl): Remove.
30917 (if_nameindex_netlink): Do not handle __no_netlink_support.
30918 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
30920 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
30921 Remove conditional code.
30922 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
30924 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
30926 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
30927 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
30928 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
30930 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
30931 [!__ASSUME_STD_AUXV]: Remove conditional code.
30932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
30933 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
30934 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
30935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
30936 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
30937 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
30939 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
30940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
30941 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
30942 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
30944 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
30945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
30946 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
30948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
30949 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
30951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
30952 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30953 code unconditional.
30954 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30956 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30958 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
30961 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30963 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
30966 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30967 code unconditional.
30968 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30970 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30972 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
30975 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30976 code unconditional.
30977 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30979 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30981 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30984 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
30986 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
30987 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
30988 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
30989 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
30990 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
30991 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
30992 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
30993 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
30994 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
30995 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
30996 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
30997 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
30998 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
30999 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
31000 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
31001 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
31002 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
31003 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
31004 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
31005 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
31006 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
31007 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
31008 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
31010 2012-07-25 Florian Weimer <fweimer@redhat.com>
31012 * Versions.def: Add GLIBC_2.17.
31013 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
31014 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
31015 Introduce __libc_secure_getenv.
31016 * stdlib/Versions (2.17): Add secure_getenv
31017 (GLIBC_PRIVATE): Add __libc_secure_getenv.
31018 * stdlib/secure-getenv.c: Rename __secure_getenv to
31019 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
31020 symbol __secure_getenv for GLIBC_2.0.
31021 * stdlib/tst-secure-getenv.c: New.
31022 * stdlib/Makefile (tests): Add testcase.
31023 * manual/startup.texi (Environment Access): Document
31025 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
31026 __libc_secure_getenv.
31027 * inet/ruserpass.c (ruserpass): Likewise.
31028 * malloc/mtrace.c (mtrace): Likewise.
31029 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
31030 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
31031 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
31032 * sysdeps/posix/tempname.c: Likewise. Evaluate
31033 HAVE_SECURE_GETENV.
31034 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
31035 __secure_getenv to __libc_secure_getenv.
31036 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
31037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31041 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
31042 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
31043 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31044 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
31045 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
31046 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31047 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
31049 2012-07-25 Joseph Myers <joseph@codesourcery.com>
31051 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
31052 (struct La_i86_retval): Likewise.
31053 (struct La_x86_64_regs): Likewise.
31054 (struct La_x86_64_retval): Likewise.
31055 (struct La_x32_regs): Likewise.
31056 (struct La_x32_retval): Likewise.
31057 (struct La_ppc32_regs): Likewise.
31058 (struct La_ppc32_retval): Likewise.
31059 (struct La_ppc64_regs): Likewise.
31060 (struct La_ppc64_retval): Likewise.
31061 (struct La_sh_regs): Likewise.
31062 (struct La_sh_retval): Likewise.
31063 (struct La_s390_32_regs): Likewise.
31064 (struct La_s390_32_retval): Likewise.
31065 (struct La_s390_64_regs): Likewise.
31066 (struct La_s390_64_retval): Likewise.
31067 (struct La_sparc32_regs): Likewise.
31068 (struct La_sparc32_retval): Likewise.
31069 (struct La_sparc64_regs): Likewise.
31070 (struct La_sparc64_retval): Likewise.
31071 (struct audit_ifaces): Remove architecture-specific pltenter and
31073 * sysdeps/i386/ldsodefs.h: New file.
31074 * sysdeps/powerpc/ldsodefs.h: Likewise.
31075 * sysdeps/s390/ldsodefs.h: Likewise.
31076 * sysdeps/sh/ldsodefs.h: Likewise.
31077 * sysdeps/sparc/ldsodefs.h: Likewise.
31078 * sysdeps/x86_64/ldsodefs.h: Likewise.
31080 2012-07-25 Marek Polacek <polacek@redhat.com>
31083 * math/libm-test.inc (yn_test): Add another test.
31084 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
31085 to ERANGE when the result is +-Inf.
31086 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
31087 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
31088 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
31089 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
31091 2012-07-24 Joseph Myers <joseph@codesourcery.com>
31093 * conform/data/time.h-data (NULL): Use macro-constant. Require
31095 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
31097 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
31099 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
31101 * configure.in <sysdeps resolving>: Correct printing
31103 * configure: Regenerate.
31105 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
31107 * math/w_ilogb.c: Include <limits.h>.
31108 * math/w_ilogbl.c: Likewise.
31110 2012-07-20 Joseph Myers <joseph@codesourcery.com>
31112 * manual/lang.texi (__va_copy): Document primarily as ISO C99
31113 va_copy. Document allowing for unavailable va_copy only as
31114 pre-C99 compatibility.
31115 * manual/string.texi (Copying and Concatenation): Use va_copy
31116 instead of __va_copy in concat example.
31118 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
31120 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
31121 (__sendto): Use create_address_port. Initialize APORT and deallocate
31124 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
31125 with O_NOLINK passed to __file_name_lookup.
31127 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
31128 with O_NOLINK passed to __file_name_lookup.
31130 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
31131 negative N or less than NGIDS.
31133 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
31134 type to string_t. Set ERANGE as errno and return it if NAME is not big
31135 enough. Use memcpy instead of strncpy.
31137 2012-07-20 Joseph Myers <joseph@codesourcery.com>
31139 * elf/Makefile (check-data): Remove.
31140 (localplt.data): New vpath directive.
31141 ($(objpfx)check-localplt.out): Use localplt.data from vpath
31142 instead of $(check-data).
31143 * scripts/data/localplt-generic.data: Move to ...
31144 * sysdeps/generic/localplt.data: ... here.
31145 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
31146 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
31147 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
31148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
31150 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
31151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
31153 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
31154 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
31156 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
31157 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
31159 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
31160 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
31162 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
31163 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
31166 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31168 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
31169 PPC32 and PPC64 files.
31170 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
31171 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
31173 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31175 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
31176 __makecontext_ret to ...
31177 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
31178 ... here and call exit if uc_link is NULL. New file.
31179 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
31180 __makecontext_ret.S.
31181 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
31182 __makecontext_ret to ...
31183 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
31184 ... here and call exit if uc_link is NULL. New file.
31185 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
31186 __makecontext_ret.S.
31188 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31190 * elf/elf.h (R_390_IRELATIVE): New definition.
31191 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
31192 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
31193 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
31194 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
31195 (elf_machine_lazy_rel): Likewise.
31196 * sysdeps/s390/dl-irel.h: New file.
31197 * sysdeps/s390/s390-64/memcpy.S: New asm code.
31198 * sysdeps/s390/s390-64/memset.S: New asm code.
31199 * sysdeps/s390/s390-64/memcmp.S: New asm code.
31200 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
31201 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
31202 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
31203 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
31204 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
31205 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
31206 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
31207 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
31208 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
31209 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
31210 * sysdeps/s390/s390-32/memcpy.S: New asm code.
31211 * sysdeps/s390/s390-32/memset.S: New asm code.
31212 * sysdeps/s390/s390-32/memcmp.S: New asm code.
31214 2012-07-17 Marek Polacek <polacek@redhat.com>
31217 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
31218 * sysdeps/s390/s390-64/configure.in: Likewise.
31219 * sysdeps/sparc/configure.in: Likewise.
31220 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
31221 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
31222 * sysdeps/i386/configure.in: Likewise.
31223 * sysdeps/x86_64/configure.in: Likewise.
31224 * sysdeps/sh/configure.in: Likewise.
31225 * sysdeps/s390/s390-32/configure: Regenerated.
31226 * sysdeps/s390/s390-64/configure: Likewise.
31227 * sysdeps/x86_64/configure: Likewise.
31228 * sysdeps/sh/configure: Likewise.
31229 * sysdeps/powerpc/powerpc64/configure: Likewise.
31230 * sysdeps/powerpc/powerpc32/configure: Likewise.
31231 * sysdeps/sparc/configure: Likwise.
31232 * sysdeps/i386/configure: Likewise.
31234 * elf/dl-open.c: Comment fixes.
31236 2012-07-17 Joseph Myers <joseph@codesourcery.com>
31238 * Makefile [CXX] (check-data): Remove.
31239 [CXX] (c++-types.data): New vpath directive.
31240 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
31241 vpath. Do not allow for C++ type data being missing.
31242 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
31243 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
31244 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
31245 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
31246 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
31247 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
31248 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
31249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
31251 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
31252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
31254 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
31255 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
31257 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
31258 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
31260 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
31261 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
31263 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
31264 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
31266 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
31267 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
31269 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
31270 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
31272 * elf/tls-macros.h (TLS_LE): Move architecture-specific
31273 definitions to architecture-specific files.
31274 (TLS_IE): Likewise.
31275 (TLS_LD): Likewise.
31276 (TLS_GD): Likewise.
31277 * sysdeps/i386/tls-macros.h: New file.
31278 * sysdeps/powerpc/tls-macros.h: Likewise.
31279 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
31280 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
31281 * sysdeps/sh/tls-macros.h: Likewise.
31282 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
31283 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
31284 * sysdeps/x86_64/tls-macros.h: Likewise.
31286 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
31288 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
31289 zero value for regular exit case.
31291 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
31292 (__start_context): Preserve zero value for regular exit case.
31294 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
31295 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31297 * manual/setjmp.texi (setcontext): Clarify normal process
31298 termination when uc_link is the null pointer.
31299 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
31302 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
31304 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
31305 preprocessor. Test for each exception mask separately.
31307 2012-07-16 Andreas Jaeger <aj@suse.de>
31309 * po/ru.po: Update from translation team.
31311 2012-07-15 Joseph Myers <joseph@codesourcery.com>
31313 * conform/data/string.h-data (NULL): Use macro-constant. Require
31315 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
31316 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
31317 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
31318 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
31319 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31321 2012-07-13 Andreas Jaeger <aj@suse.de>
31323 * po/fr.po: Update from translation team.
31325 2012-07-12 Marek Polacek <polacek@redhat.com>
31328 * math/libm-test.inc (yn_test): Add test for BZ #14173.
31329 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
31332 2012-07-12 Joseph Myers <joseph@codesourcery.com>
31335 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31336 Change to 2.4.1 where previously 2.4.0.
31337 * sysdeps/unix/sysv/linux/configure: Regenerated.
31338 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
31339 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
31341 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
31342 (__ASSUME_AT_CLKTCK): Remove.
31343 (__ASSUME_AT_PAGESIZE): Likewise.
31344 (__ASSUME_AT_XID): Likewise.
31345 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
31346 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
31347 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
31349 (HAVE_AUX_PAGESIZE): Likewise.
31350 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
31351 [__ASSUME_AT_CLKTCK]: Make code unconditional.
31352 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
31354 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
31357 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
31358 the temporary buffer used to invoke __gethostbyname2_r,
31359 __gethostbyaddr_r and gethostbyname4_r to make room for struct
31360 host_data / struct gaih_addrtuple.
31361 * resolv/nss_dns/dns-host.c (global scope): Move definition of
31362 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
31363 header file nss/nsswitch.h.
31364 * nss/nsswitch.h (global scope): Add definition of implementation
31365 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
31366 resolv/nss_dns/dns-host.c).
31368 2012-07-11 Andreas Jaeger <aj@suse.de>
31370 * po/fr.po: Update from translation team.
31372 * po/sv.po: Update from translation team
31373 * po/fr.po: Another update from translation team.
31375 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31377 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
31378 for subnormals or multiply small sinh result by itself.
31379 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
31380 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31382 2012-07-11 David S. Miller <davem@davemloft.net>
31384 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31386 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
31389 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
31390 (INTERNAL_MARK): Shift it here.
31392 2012-07-10 Marek Polacek <polacek@redhat.com>
31395 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
31396 libc_cv_asm_global_directive with .globl.
31397 * configure: Regenerated.
31398 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
31400 * sysdeps/i386/configure: Regenerated.
31401 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
31403 * sysdeps/x86_64/configure: Regenerated.
31404 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
31405 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
31406 * elf/tst-unique2mod2.c: Likewise.
31407 * elf/tst-unique2mod1.c: Likewise.
31408 * elf/tst-unique1mod2.c: Likewise.
31409 * elf/tst-unique1mod1.c: Likewise.
31410 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31411 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31412 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31413 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31414 * sysdeps/mach/sysdep.h: Likewise.
31415 * sysdeps/i386/sysdep.h: Likewise.
31416 * sysdeps/i386/i386-mcount.S: Likewise.
31417 * sysdeps/x86_64/_mcount.S: Likewise.
31418 * sysdeps/x86_64/sysdep.h: Likewise.
31419 * sysdeps/sh/_mcount.S: Likewise.
31420 * sysdeps/sh/sysdep.h: Likewise.
31421 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
31422 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
31423 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
31424 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31425 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
31426 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
31427 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
31428 * locale/localeinfo.h: Likewise.
31429 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
31430 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
31432 2012-07-09 Roland McGrath <roland@hack.frob.com>
31435 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
31437 * manual/message.texi (The Uniforum approach): Likewise.
31438 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
31439 (glibc iconv Implementation): Likewise.
31441 2012-07-09 Joseph Myers <joseph@codesourcery.com>
31444 * math/s_clog.c (__clog): Avoid scaling a value down where that
31445 could result in underflow.
31446 * math/s_clog10.c (__clog10): Likewise.
31447 * math/s_clog10f.c (__clog10f): Likewise.
31448 * math/s_clog10l.c (__clog10l): Likewise.
31449 * math/s_clogf.c (__clogf): Likewise.
31450 * math/s_clogl.c (__clogl): Likewise.
31451 * math/libm-test.inc (clog_test): Add more tests.
31452 (clog10_test): Likewise.
31453 * sysdeps/i386/fpu/libm-test-ulps: Update.
31454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31456 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
31459 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
31460 by 7 not 8 to examine high bit of fractional part.
31463 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
31464 for call to __mcount_internal.
31465 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
31466 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
31467 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
31469 2012-07-06 Joseph Myers <joseph@codesourcery.com>
31472 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
31473 approximation for values within 0x1p-13f of an odd multiple of
31475 * math/libm-test.inc (tan_test): Do not allow spurious underflow
31476 exception. Add more tests.
31477 * sysdeps/i386/fpu/libm-test-ulps: Update.
31480 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
31481 inputs and return -1 for them. Do not check for +Inf in case not
31482 reachable for +Inf.
31483 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
31484 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
31485 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
31486 and return -1 for them. Do not check for +Inf in case not
31487 reachable for +Inf.
31488 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
31490 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
31491 and return -1 for them. Do not check for +Inf in case not
31492 reachable for +Inf.
31493 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
31494 spurious underflow.
31495 * sysdeps/i386/fpu/libm-test-ulps: Update.
31496 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31498 2012-07-06 Mike Frysinger <vapier@gentoo.org>
31500 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
31502 2012-07-05 Joseph Myers <joseph@codesourcery.com>
31506 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
31507 could result in spurious underflow. Scale down values above
31508 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
31509 * math/s_csqrtf.c (__csqrtf): Likewise.
31510 * math/s_csqrtl.c (__csqrtl): Likewise.
31511 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
31512 spurious underflow.
31513 * sysdeps/i386/fpu/libm-test-ulps: Update.
31514 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31516 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
31518 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
31520 * catgets/xopen-msg.awk: New file.
31521 * catgets/xopen-msg.sed: Removed.
31523 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
31525 * intl/po2test.awk: New file.
31526 * intl/po2test.sed: Removed.
31528 2012-07-04 Joseph Myers <joseph@codesourcery.com>
31531 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
31532 or multiply small sinh result by itself.
31533 * math/s_ctanf.c (__ctanf): Likewise.
31534 * math/s_ctanh.c (__ctanh): Likewise.
31535 * math/s_ctanhf.c (__ctanhf): Likewise.
31536 * math/s_ctanhl.c (__ctanhl): Likewise.
31537 * math/s_ctanl.c (__ctanl): Likewise.
31538 * math/libm-test.inc (ctan_test_tonearest): New function.
31539 (ctan_test_towardzero): Likewise.
31540 (ctan_test_downward): Likewise.
31541 (ctan_test_upward): Likewise.
31542 (ctanh_test_tonearest): Likewise.
31543 (ctanh_test_towardzero): Likewise.
31544 (ctanh_test_downward): Likewise.
31545 (ctanh_test_upward): Likewise.
31546 (main): Call these new functions.
31547 * sysdeps/i386/fpu/libm-test-ulps: Update.
31548 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31550 2012-07-03 Mike Frysinger <vapier@gentoo.org>
31552 * .gitignore: Delete /ports entry.
31554 2012-07-03 Andreas Jaeger <aj@suse.de>
31556 * po/bg.po: Update from translation team.
31557 * po/cs.po: Likewise.
31558 * po/de.po: Likewise.
31559 * po/hr.po: Likewise.
31560 * po/nl.pl: Likewise.
31561 * po/pl.po: Likewise.
31562 * po/vi.po: Likewise.
31564 2012-07-03 Joseph Myers <joseph@codesourcery.com>
31566 * Makeconfig [!+link] (+link-before-libc): New variable.
31567 [!+link] (+link-after-libc): Likewise.
31568 [!+link] (+link-tests): Likewise.
31569 [!+link] (+link): Define in terms of $(+link-before-libc) and
31570 $(+link-after-libc).
31571 [!+link-static] (+link-static-before-libc): New variable.
31572 [!+link-static] (+link-static-after-libc): Likewise.
31573 [!+link-static] (+link-static-tests): Likewise.
31574 [!+link-static] (+link-static): Define in terms of
31575 $(+link-static-before-libc) and $(+link-static-after-libc).
31576 [build-shared] (link-libc-before-gnulib): New variable.
31577 [build-shared] (link-libc-tests): Likewise.
31578 [build-shared] (link-libc): Define in terms of
31579 $(link-libc-before-gnulib).
31580 [!build-shared] (link-libc-tests): New variable.
31581 (link-libc-static-tests): New variable.
31582 [!gnulib] (gnulib-arch): New variable.
31583 [!gnulib] (gnulib-tests): Likewise.
31584 [!gnulib] (static-gnulib-arch): Likewise.
31585 [!gnulib] (static-gnulib-tests): Likewise.
31586 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
31587 Define with "=" instead of ":=".
31588 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
31589 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
31590 * Rules (binaries-all-notests): New variable.
31591 (binaries-all-tests): Likewise.
31592 (binaries-static-notests): Likewise.
31593 (binaries-static-tests): Likewise.
31594 (binaries-all): Define using $(binaries-all-notests) and
31595 $(binaries-all-tests).
31596 (binaries-static): Define using $(binaries-static-notests) and
31597 $(binaries-static-tests).
31598 (binaries-shared-tests): New variable.
31599 (binaries-shared-notests): Likewise.
31600 (binaries-shared): Remove variable.
31601 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
31602 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
31603 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
31604 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
31605 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
31606 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
31607 * elf/Makefile (sln-modules): New variable.
31608 (extra-objs): Add $(sln-modules:=.o).
31609 (ldconfig-modules): Add static-stubs.
31610 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
31611 * elf/static-stubs.c: New file.
31614 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
31615 by 7 not 8 to examine high bit of fractional part. Use volatile
31616 variables when splitting into final array of floats if
31617 __FLT_EVAL_METHOD__ != 0.
31618 * math/libm-test.inc (cos_test): Add another test.
31619 (sin_test): Likewise.
31620 * sysdeps/i386/fpu/libm-test-ulps: Update.
31623 * math/libm-test.inc (cosh_test): Add more tests.
31625 * version.h (RELEASE): Set to "development".
31626 (VERSION): Set to "2.16.90".
31628 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
31630 * NEWS: Update copyright. Remove last-updated date.
31631 Mention math library bug fixes and timezone data changes.
31632 * README: Mention GNU/Hurd, x32, and HPPA support status.
31634 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
31636 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
31638 2012-06-27 Andreas Jaeger <aj@suse.de>
31640 * manual/contrib.texi (Contributors): Add Samuel Thibault.
31642 2012-06-25 Andreas Jaeger <aj@suse.de>
31644 * sysdeps/s390/fpu/libm-test-ulps: Update.
31646 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
31647 Thomas Schwinge <thomas@codesourcery.com>
31649 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
31650 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
31651 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
31654 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
31656 * sysdeps/mach/start.c: Remove file.
31657 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
31658 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
31659 * sysdeps/sh/init-first.c: Likewise.
31661 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
31662 registers for frame unwinding purposes, add CFI directives.
31663 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31664 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
31665 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
31668 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
31669 __fortify_fail returning.
31670 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31672 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
31673 sysdeps/sh/____longjmp_chk.S.
31674 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
31675 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
31676 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
31677 (gen-as-const-headers): Append sigaltstack-offsets.sym.
31679 * sysdeps/sh/abort-instr.h: New file.
31680 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
31681 process in case exit returns.
31683 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
31684 initialize the GOT register before use.
31686 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
31687 calculation of ARGC > 4.
31689 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
31690 meaningful names to some local labels.
31692 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31693 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31695 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
31696 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
31697 (__arch_compare_and_exchange_val_16_acq): Likewise.
31698 (__arch_compare_and_exchange_val_32_acq): Likewise.
31699 (atomic_exchange_and_add): Fix gUSA sequence.
31700 (atomic_add): Likewise.
31701 (atomic_add_negative): Likewise.
31702 (atomic_add_zero): Likewise.
31703 (atomic_bit_test_set): Likewise.
31705 2012-06-22 Andreas Schwab <schwab@redhat.com>
31708 * include/link.h (struct link_map): Add l_free_initfini.
31709 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
31711 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
31712 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
31713 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
31716 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
31718 * configure.in: Use AC_LANG_SOURCE.
31719 * configure: Regenerate.
31721 2012-06-22 Roland McGrath <roland@hack.frob.com>
31723 * configure.in (libc_cv_localstatedir): New substituted variable.
31724 * configure: Regenerated.
31725 * config.make.in (localstatedir): New variable, substituted from
31726 libc_cv_localstatedir.
31727 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
31728 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
31729 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
31730 * sysdeps/gnu/configure: Regenerated.
31732 2012-06-21 Jeff Law <law@redhat.com>
31735 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
31736 free. Simplify list management for _LIBC case.
31738 2012-06-21 Joseph Myers <joseph@codesourcery.com>
31741 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
31742 Clear sign bit of 64-bit integer value before comparing against
31745 * sysdeps/mach/configure: Regenerated.
31747 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
31750 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
31752 2012-06-21 Jeff Law <law@redhat.com>
31755 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
31756 uint16_t for elements in the "seen" array to avoid char overflows.
31757 * elf/dl-fini.c (_dl_sort_fini): Likewise.
31758 * elf/dl-open.c (dl_open_worker): Likewise.
31760 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
31762 * scripts/list-sources.sh: Scan PORTS for translations.
31763 * po/libc.pot: Regenerated.
31765 2012-06-21 Andreas Jaeger <aj@suse.de>
31768 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
31770 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
31771 * bits/byteswap-16.h (__bswap_16): Likewise.
31772 * bits/byteswap.h (__bswap_constant_16): Likewise.
31774 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
31777 * sysdeps/i386/fpu_control.h: Removed.
31778 * sysdeps/x86_64/fpu_control.h: Moved to ...
31779 * sysdeps/x86/fpu_control.h: Here.
31781 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
31782 (_FPU_SETCW): Likewise.
31784 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
31787 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
31788 * sysdeps/x86/fpu/bits/mathinline.h: This.
31789 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
31793 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
31794 functions if __x86_64__ is defined.
31796 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
31798 * string/endian.h: Add !__ASSEMBLER__ condition for including
31799 conversion interfaces.
31801 2012-06-15 Joseph Myers <joseph@codesourcery.com>
31804 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
31805 of ABS(x) in calculating zero to negative powers other than odd
31807 * math/libm-test.inc (pow_test): Add more tests.
31809 2012-06-15 Andreas Jaeger <aj@suse.de>
31811 * manual/contrib.texi (Contributors): Update entry of Liubov
31812 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
31815 2012-06-15 Cyril Hrubis <metan@ucw.cz>
31817 * string/string.h: Add __wur to GNU version of strerror_r.
31819 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
31822 * string/Makefile (tests): Add tst-strtok_r.
31823 * string/tst-strtok_r.c: New file.
31824 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
31825 RAX_LP/RDX_LP on SAVE_PTR.
31827 2012-06-14 Roland McGrath <roland@hack.frob.com>
31829 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
31831 2012-06-14 Joseph Myers <joseph@codesourcery.com>
31833 * libm_test.inc (csqrt_test): Allow more spurious underflow
31835 (j0_test): Likewise.
31836 (j1_test): Likewise.
31837 (y0_test): Likewise.
31838 (y1_test): Likewise.
31840 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
31842 * po/Makefile (libc.pot): Use UTF-8 charset.
31844 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
31847 Suppress sign-conversion warning from FD_SET.
31848 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
31849 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
31850 not unsigned long int.
31851 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
31853 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
31857 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
31858 __extern_always_inline instead of __extern_inline.
31859 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
31860 (__signbit): Likewise.
31861 (__signbitl): Support C++ namespace.
31862 (lrintf): New inline function.
31864 (llrintf): Likewise.
31865 (llrint): Likewise.
31875 (floorf): Likewise.
31876 (nearbyint): Likewise.
31877 (nearbyintf): Likewise.
31879 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
31881 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
31882 non-default versions.
31884 2012-06-11 Roland McGrath <roland@hack.frob.com>
31887 * manual/argp.texi (Argp): Reword argp_parse description slightly.
31889 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
31891 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
31892 (FE_UPWARD, FE_DOWNWARD): Don't define.
31893 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
31894 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
31896 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
31898 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
31899 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31901 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31903 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31904 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
31905 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
31906 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
31908 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
31911 * sysdeps/i386/fpu/bits/fenv.h: Removed.
31912 * sysdeps/i386/fpu/Implies: New file.
31913 * sysdeps/x86_64/fpu/Implies: Likewise.
31914 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
31915 * sysdeps/x86/fpu/bits/fenv.h: This.
31917 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
31920 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
31923 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
31924 character 0xffff that matches the last element of the
31927 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31929 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
31932 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31934 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
31935 values higher than 25.6283.
31937 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31939 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
31940 subnormal exponent extraction and add some __builtin_expect.
31941 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
31942 Fix for subnormal mantissa calculation.
31944 2012-06-04 Mike Frysinger <vapier@gentoo.org>
31946 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
31947 cpu2 is -1 and errno is not ENOSYS.
31949 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
31952 * sysdeps/i386/i486/bits/string.h: Renamed to ...
31953 * sysdeps/x86/bits/string.h: This.
31954 * sysdeps/x86_64/bits/string.h: Removed.
31956 * sysdeps/i386/i486/bits/string.h: Define inline functions only
31957 if not compiling for x86-64, but compiling for >= i486.
31959 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
31960 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
31962 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
31963 New macro from Linux kernel 3.4.0.
31964 (FP_XSTATE_MAGIC2): Likewise.
31965 (FP_XSTATE_MAGIC2_SIZE): Likewise.
31966 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
31967 (struct _fpx_sw_bytes): New struct.
31968 (struct _xsave_hdr): Likewise.
31969 (struct _ymmh_state): Likewise.
31970 (struct _xstate): Likewise.
31972 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
31973 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
31974 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
31975 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
31976 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
31977 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
31979 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
31980 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
31981 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
31982 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
31983 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
31984 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
31986 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31989 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
31990 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
31991 (sysdep_headers): Include sys/platform/ppc.h.
31992 * sysdeps/powerpc/test-gettimebase.c: Test for
31993 __ppc_get_timebase() to catch future ISA opcode/insn changes.
31994 * manual/Makefile (appendices): Include platform.texi.
31995 * manual/contrib.texi (Contributors): Update @node pointers.
31996 * manual/maint.texi (Maintenance): Likewise.
31997 (Platform): New node.
31998 * manual/platform.texi: New file. Document the new features.
32000 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
32001 Jakub Jelinek <jakub@redhat.com>
32004 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
32005 where __builtin_expect is unavailable.
32007 2012-06-03 David S. Miller <davem@davemloft.net>
32009 * stdlib/longlong.h: Updated from GCC.
32011 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
32014 * sysdeps/powerpc/powerpc32/mcount.c: New file.
32015 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
32017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
32018 (GLIBC_2.16): Likewise.
32020 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32022 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
32024 2012-06-01 Joseph Myers <joseph@codesourcery.com>
32026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
32027 (default-abi): New variable.
32028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
32029 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
32031 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
32033 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
32035 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
32038 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
32039 definition. Document in comment.
32041 2012-06-01 David S. Miller <davem@davemloft.net>
32043 * stdlib/longlong.h: Updated from GCC.
32045 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32048 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
32049 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
32050 sys/debugreg.h sys/io.h here.
32051 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
32052 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
32054 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
32055 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
32056 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
32057 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
32058 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
32059 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
32061 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
32062 Define only if __x86_64__ is defined.
32064 2012-06-01 Joseph Myers <joseph@codesourcery.com>
32067 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
32068 Use int64_t for variable i.
32069 * math/libm-test.inc (fmod_test): Add more tests.
32071 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
32072 z computation is not scheduled after fetestexcept.
32073 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
32074 Use math_force_eval instead of asm to ensure calculation scheduled
32075 before exception test.
32076 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
32077 Ensure a1 + u.d computation is not scheduled after fetestexcept.
32079 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
32081 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
32082 computation is not scheduled after fetestexcept.
32084 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32087 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
32088 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
32090 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32092 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
32093 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
32095 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
32098 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
32100 (__WCHAR_MIN): Support __WORDSIZE == 64.
32101 (__WCHAR_MAX): Likewise.
32103 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
32104 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
32107 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
32108 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
32111 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
32112 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
32114 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
32115 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
32117 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
32118 Defined to 1 if __x86_64__ isn't defined.
32119 (_STAT_VER_LINUX_OLD): New.
32120 (st_atime): Remove duplicate.
32121 (st_mtime): Likewise.
32122 (st_ctime): Likewise.
32124 2012-05-31 David S. Miller <davem@davemloft.net>
32126 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
32129 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
32131 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
32135 * elf/dl-reloc.c: Include <_itoa.h>.
32136 (_dl_reloc_bad_type): Remove use of INTUSE.
32137 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
32138 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
32139 * stdio-common/psiginfo.c (psiginfo): Likewise.
32140 * stdio-common/psignal.c (psignal): Likewise.
32141 * string/strsignal.c (strsignal): Likewise.
32142 * include/signal.h (_sys_siglist): Declare hidden proto.
32143 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
32144 INTVARDEF with libc_hidden_data_def.
32145 * stdio-common/itoa-udigits.c: Likewise.
32146 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
32147 (_itoa_lower_digits_internal): Remove declaration.
32148 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
32149 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
32150 (_sys_sigabbrev_internal): Remove aliases.
32151 (_sys_siglist): Define hidden alias.
32153 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
32155 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32158 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
32161 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
32162 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
32164 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
32165 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
32166 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
32167 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
32168 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
32169 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
32171 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
32172 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
32173 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
32175 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
32183 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
32184 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
32185 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
32187 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
32188 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
32189 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
32190 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
32191 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
32192 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
32194 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
32195 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
32197 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
32198 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
32200 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
32201 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
32202 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
32204 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
32205 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
32207 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
32209 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
32210 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
32211 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
32213 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
32215 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
32217 2012-05-31 Joseph Myers <joseph@codesourcery.com>
32219 * math/math.h (M_El): Use two more decimal places.
32220 (M_LOG2El): Likewise.
32221 (M_LOG10El): Likewise.
32222 (M_LN2l): Likewise.
32223 (M_LN10l): Likewise.
32225 (M_PI_2l): Likewise.
32226 (M_PI_4l): Likewise.
32227 (M_1_PIl): Likewise.
32228 (M_2_PIl): Likewise.
32229 (M_2_SQRTPIl): Likewise.
32230 (M_SQRT2l): Likewise.
32231 (M_SQRT1_2l): Likewise.
32233 2012-05-31 David S. Miller <davem@davemloft.net>
32235 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
32236 values between float registers.
32237 * sysdeps/sparc/sparc64/memset.S: Likewise.
32238 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32240 2012-05-31 Mike Frysinger <vapier@gentoo.org>
32242 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
32243 -D_FORTIFY_SOURCE=1.
32244 (CPPFLAGS-tst-longjmp_chk.c): Define.
32245 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
32246 (CPPFLAGS-tst-longjmp_chk2.c): Define.
32247 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
32248 CFLAGS-tst-wchar-h.c.
32250 2012-05-31 Marek Polacek <polacek@redhat.com>
32253 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
32254 __endmntent_internal): Remove declaration.
32255 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
32256 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
32257 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
32259 2012-05-30 David S. Miller <davem@davemloft.net>
32261 * sysdeps/sparc/sparc32/soft-fp/q_util.c
32262 (___Q_simulate_exceptions): Use real FP ops rather than writing
32264 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
32267 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32270 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
32271 * sysdeps/x86/bits/xtitypes.h: This.
32273 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
32274 * sysdeps/x86/bits/wordsize.h: This.
32276 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
32277 * sysdeps/x86/bits/huge_vall.h: This.
32279 * sysdeps/i386/bits/select.h: Removed.
32280 * sysdeps/x86_64/bits/select.h: Renamed to ...
32281 * sysdeps/x86/bits/select.h: This.
32283 * sysdeps/i386/bits/setjmp.h: Removed.
32284 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
32285 * sysdeps/x86/bits/setjmp.h: This.
32287 * sysdeps/i386/bits/mathdef.h: Removed.
32288 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
32289 * sysdeps/x86/bits/mathdef.h: This.
32291 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
32294 * include/sys/socket.h (__connect_internal)
32295 (__libc_sa_len_internal): Remove declaration.
32296 (__connect, __libc_sa_len): Declare hidden_proto.
32297 (SA_LEN): Remove use of INTUSE.
32298 * socket/connect.c: Add libc_hidden_def.
32299 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
32300 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
32301 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
32303 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
32304 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
32305 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
32306 of adding _internal alias.
32308 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32311 * sysdeps/i386/bits/link.h: Removed.
32312 * sysdeps/i386/bits/linkmap.h: Likewise.
32313 * sysdeps/x86_64/bits/link.h: Renamed to ...
32314 * sysdeps/x86/bits/link.h: This.
32315 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
32316 * sysdeps/x86/bits/linkmap.h: This.
32318 * sysdeps/i386/bits/endian.h: Removed.
32319 * sysdeps/x86_64/bits/endian.h: Renamed to ...
32320 * sysdeps/x86/bits/endian.h: This.
32322 * sysdeps/i386/bits/byteswap.h: Removed.
32323 * sysdeps/i386/bits/byteswap-16.h: Likewise.
32324 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
32325 * sysdeps/x86/bits/byteswap.h: This.
32326 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
32327 * sysdeps/x86/bits/byteswap-16.h: This.
32328 * sysdeps/i386/Implies: Add x86.
32329 * sysdeps/x86_64/Implies: Likewise.
32331 2012-05-30 David S. Miller <davem@davemloft.net>
32333 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
32334 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
32335 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
32336 (FP_TRAPPING_EXCEPTIONS): Define.
32337 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
32338 (FP_TRAPPING_EXCEPTIONS): Define.
32339 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
32340 subnormals only when inexact has been signalled or underflow
32341 exceptions are enabled.
32342 (_FP_PACK_CANONICAL): Likewise.
32344 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32347 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
32348 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
32350 2012-05-30 Richard Henderson <rth@twiddle.net>
32352 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
32353 with #ifndef NOT_IN_libc.
32355 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
32356 marked to avoid plt entry.
32358 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32361 * Makeconfig (default-abi): New macro.
32362 (abi-includes): Likewise.
32363 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
32364 $(abi-$(default-abi)-lib-soname) for soname if defined.
32365 ($(common-objpfx)gnu/lib-names.stmp): Generate from
32367 * Makefile (installed-stubs): Likewise.
32368 * include/stubs-biarch.h: Removed.
32369 * scripts/lib-names.awk: Only handle one library at a time.
32370 * scripts/soversions.awk: Remove WORDSIZE support.
32371 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
32373 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
32375 (syscall-list-default-condition): Likewise.
32376 (syscall-list-default-condition): Likewise.
32377 (syscall-list-includes): Likewise.
32378 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
32379 syscall-list-* with abi-*. Handle undefined abi-variants.
32380 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
32381 * sysdeps/unix/sysv/linux/i386/Implies: New file.
32382 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
32383 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
32384 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
32385 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
32387 (syscall-list-32-options): Likewise.
32388 (syscall-list-32-condition): Likewise.
32389 (syscall-list-64-options): Likewise.
32390 (syscall-list-64-condition): Likewise.
32391 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
32393 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
32396 (abi-64-ld-soname): New macro.
32397 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
32398 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
32401 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
32402 * sysdeps/x86_64/x32/shlib-versions: Likewise.
32404 2012-05-30 Joseph Myers <joseph@codesourcery.com>
32406 * sysdeps/unix/sysv/linux/kernel-features.h
32407 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
32408 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
32409 include <kernel-features.h>.
32410 [!__NR_ftruncate64]: Remove conditional code.
32411 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32412 [__NR_ftruncate64]: Make code unconditional.
32413 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32414 * sysdeps/unix/sysv/linux/truncate64.c: Do not
32415 include <kernel-features.h>.
32416 [!__NR_ftruncate64]: Remove conditional code.
32417 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32418 [__NR_ftruncate64]: Make code unconditional.
32419 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
32421 include <kernel-features.h>.
32422 [!__NR_ftruncate64]: Remove conditional code.
32423 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32424 [__NR_ftruncate64]: Make code unconditional.
32425 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
32427 include <kernel-features.h>.
32428 [!__NR_ftruncate64]: Remove conditional code.
32429 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32430 [__NR_ftruncate64]: Make code unconditional.
32431 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32433 * configure.in (libc_cv_fpie): Weaken to a compile test using
32434 LIBC_TRY_CC_OPTION.
32435 * configure: Regenerated.
32437 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32439 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
32440 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
32441 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
32442 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32444 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
32445 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
32446 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
32447 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
32448 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
32449 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32452 2012-05-27 David S. Miller <davem@davemloft.net>
32454 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
32456 (__Q_simulate_exceptions): Return void. Change to simulate
32457 exceptions by writing into the %fsr.
32458 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
32459 (__Qp_handle_exceptions): Likewise.
32461 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
32462 __Qp_handle_exceptions.
32463 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
32464 __Qp_handle_exceptions.
32465 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
32466 as unused and give dummy FP_RND_NEAREST initializer.
32467 (FP_INHIBIT_RESULTS): Define.
32468 (___Q_simulate_exceptions): Update declaration.
32469 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
32471 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
32472 as unused and give dummy FP_RND_NEAREST initializer.
32473 (__Qp_handle_exceptions): Update declaration.
32474 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
32477 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
32479 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
32480 the temporary FPU control word.
32481 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
32482 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
32483 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
32484 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32485 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
32486 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
32487 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
32488 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32489 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
32490 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
32491 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32493 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32495 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
32498 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
32500 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
32501 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
32502 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
32503 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
32505 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
32506 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
32509 2012-05-27 Ulrich Drepper <drepper@gmail.com>
32511 * po/h.po: Update from translation team.
32513 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
32515 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
32517 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
32518 handling of denormals.
32519 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
32520 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
32521 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
32522 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
32523 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32524 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
32525 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
32528 2012-05-26 Marek Polacek <polacek@redhat.com>
32531 * math/libm-test.inc (fma_test): Don't always expect underflow
32534 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32537 * elf/tst-execstack.c: Include stackinfo.h.
32538 (do_test): Adjust test case to ensure that pthread_getattr_np
32539 behaviour remains the same after marking stack executable.
32541 2012-05-25 Joseph Myers <joseph@codesourcery.com>
32543 * sysdeps/unix/sysv/linux/kernel-features.h
32544 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
32545 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
32547 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32548 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32549 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
32551 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32552 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32554 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
32556 * configure.in: Define the default includes to being none.
32557 * configure: Regenerated.
32559 2012-05-25 Roland McGrath <roland@hack.frob.com>
32561 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
32562 * sysdeps/x86_64/setjmp.S: Likewise.
32563 * sysdeps/i386/bsd-setjmp.S: Likewise.
32564 * sysdeps/i386/bsd-_setjmp.S: Likewise.
32565 * sysdeps/i386/setjmp.S: Likewise.
32566 * sysdeps/i386/__longjmp.S: Likewise.
32567 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
32568 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
32570 * include/stap-probe.h: New file.
32571 * configure.in: Handle --enable-systemtap.
32572 * configure: Regenerated.
32573 * config.h.in (USE_STAP_PROBE): New #undef.
32574 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
32575 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
32576 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
32578 2012-05-25 Joseph Myers <joseph@codesourcery.com>
32581 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
32582 to 2.4.0 where earlier.
32583 * sysdeps/unix/sysv/linux/configure: Regenerated.
32584 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
32585 <kernel-features.h>.
32586 [__ASSUME_32BITUIDS]: Make code unconditional.
32587 [!__ASSUME_32BITUIDS]: Remove conditional code.
32588 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
32589 <kernel-features.h>.
32590 [__ASSUME_32BITUIDS]: Make code unconditional.
32591 [!__ASSUME_32BITUIDS]: Remove conditional code.
32592 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
32593 [__ASSUME_32BITUIDS]: Make code unconditional.
32594 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
32595 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
32596 <kernel-features.h>.
32597 [__ASSUME_32BITUIDS]: Make code unconditional.
32598 [!__ASSUME_32BITUIDS]: Remove conditional code.
32599 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
32600 <kernel-features.h>.
32601 [__ASSUME_32BITUIDS]: Make code unconditional.
32602 [!__ASSUME_32BITUIDS]: Remove conditional code.
32603 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
32604 <kernel-features.h>.
32605 [__ASSUME_32BITUIDS]: Make code unconditional.
32606 [!__ASSUME_32BITUIDS]: Remove conditional code.
32607 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
32608 <kernel-features.h>.
32609 [__ASSUME_32BITUIDS]: Make code unconditional.
32610 [!__ASSUME_32BITUIDS]: Remove conditional code.
32611 * sysdeps/unix/sysv/linux/i386/getresgid.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/getresuid.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/getuid.c: Do not include
32620 <kernel-features.h>.
32621 [__ASSUME_32BITUIDS]: Make code unconditional.
32622 [!__ASSUME_32BITUIDS]: Remove conditional code.
32623 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
32624 <kernel-features.h>.
32625 [__ASSUME_32BITUIDS]: Make code unconditional.
32626 [!__ASSUME_32BITUIDS]: Remove conditional code.
32627 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
32628 <kernel-features.h>.
32629 [__ASSUME_32BITUIDS]: Make code unconditional.
32630 [!__ASSUME_32BITUIDS]: Remove conditional code.
32631 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
32632 <kernel-features.h>.
32633 [__ASSUME_32BITUIDS]: Make code unconditional.
32634 [!__ASSUME_32BITUIDS]: Remove conditional code.
32635 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
32636 <kernel-features.h>.
32637 [__NR_setresgid] (__setresgid): Do not declare.
32638 [__ASSUME_32BITUIDS]: Make code unconditional.
32639 [!__ASSUME_32BITUIDS]: Remove conditional code.
32640 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
32641 <kernel-features.h>.
32642 [__NR_setresuid] (__setresuid): Do not declare.
32643 [__ASSUME_32BITUIDS]: Make code unconditional.
32644 [!__ASSUME_32BITUIDS]: Remove conditional code.
32645 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
32646 <kernel-features.h>.
32647 [__ASSUME_32BITUIDS]: Make code unconditional.
32648 [!__ASSUME_32BITUIDS]: Remove conditional code.
32649 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
32650 <kernel-features.h>.
32651 [__ASSUME_32BITUIDS]: Make code unconditional.
32652 [!__ASSUME_32BITUIDS]: Remove conditional code.
32653 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
32654 <kernel-features.h>.
32655 [__ASSUME_32BITUIDS]: Make code unconditional.
32656 [!__ASSUME_32BITUIDS]: Remove conditional code.
32657 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
32658 <kernel-features.h>.
32659 [__ASSUME_32BITUIDS]: Make code unconditional.
32660 [!__ASSUME_32BITUIDS]: Remove conditional code.
32661 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
32662 <kernel-features.h>.
32663 [__ASSUME_32BITUIDS]: Make code unconditional.
32664 [!__ASSUME_32BITUIDS]: Remove conditional code.
32665 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
32666 <kernel-features.h>.
32667 [__ASSUME_32BITUIDS]: Make code unconditional.
32668 [!__ASSUME_32BITUIDS]: Remove conditional code.
32669 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
32670 <kernel-features.h>.
32671 [__ASSUME_32BITUIDS]: Make code unconditional.
32672 [!__ASSUME_32BITUIDS]: Remove conditional code.
32673 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
32674 <kernel-features.h>.
32675 [__ASSUME_32BITUIDS]: Make code unconditional.
32676 [!__ASSUME_32BITUIDS]: Remove conditional code.
32677 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
32678 <kernel-features.h>.
32679 [__ASSUME_32BITUIDS]: Make code unconditional.
32680 [!__ASSUME_32BITUIDS]: Remove conditional code.
32681 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
32682 <kernel-features.h>.
32683 [__ASSUME_32BITUIDS]: Make code unconditional.
32684 [!__ASSUME_32BITUIDS]: Remove conditional code.
32685 * sysdeps/unix/sysv/linux/kernel-features.h
32686 (__ASSUME_SETRESUID_SYSCALL): Remove.
32687 (__ASSUME_SETRESGID_SYSCALL): Likewise.
32688 (__ASSUME_32BITUIDS): Likewise.
32689 (__ASSUME_LDT_WORKS): Likewise.
32690 (__ASSUME_O_DIRECTORY): Likewise.
32691 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
32692 architecture but not kernel version.
32693 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
32694 (__ASSUME_MMAP2_SYSCALL): Likewise.
32695 (__ASSUME_STAT64_SYSCALL): Likewise.
32696 (__ASSUME_IPC64): Likewise.
32697 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
32698 <kernel-features.h>.
32699 [__ASSUME_32BITUIDS]: Make code unconditional.
32700 [!__ASSUME_32BITUIDS]: Remove conditional code.
32701 * sysdeps/unix/sysv/linux/opendir.c: Do not include
32702 <kernel-features.h>.
32703 [__ASSUME_O_DIRECTORY]: Make code unconditional.
32704 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
32705 132096]: Remove conditional code.
32706 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
32707 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
32708 <kernel-features.h>.
32709 [__ASSUME_32BITUIDS]: Make code unconditional.
32710 [!__ASSUME_32BITUIDS]: Remove conditional code.
32711 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
32712 <kernel-features.h>.
32713 [__ASSUME_32BITUIDS]: Make code unconditional.
32714 [!__ASSUME_32BITUIDS]: Remove conditional code.
32715 * sysdeps/unix/sysv/linux/setegid.c: Do not include
32716 <kernel-features.h>.
32717 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
32719 (__setresgid): Do not declare.
32720 [__ASSUME_32BITUIDS]: Make code unconditional.
32721 [!__ASSUME_32BITUIDS]: Remove conditional code.
32722 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
32723 <kernel-features.h>.
32724 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
32726 (__setresuid): Do not declare.
32727 [__ASSUME_32BITUIDS]: Make code unconditional.
32728 [!__ASSUME_32BITUIDS]: Remove conditional code.
32729 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
32730 <kernel-features.h>.
32731 [__ASSUME_32BITUIDS]: Make code unconditional.
32732 [!__ASSUME_32BITUIDS]: Remove conditional code.
32733 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
32734 <kernel-features.h>.
32735 [__ASSUME_32BITUIDS]: Make code unconditional.
32736 [!__ASSUME_32BITUIDS]: Remove conditional code.
32738 2012-05-25 Richard Henderson <rth@twiddle.net>
32740 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
32741 dl_hwcap to ifunc resolver.
32742 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
32744 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
32745 dl_hwcap to ifunc resolver.
32746 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
32748 2012-05-24 Joseph Myers <joseph@codesourcery.com>
32751 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
32752 for |x| <= 2**-26, not 2**-57.
32753 * math/libm-test.inc (acos_test): Do not allow spurious underflow
32756 2012-05-24 Jeff Law <law@redhat.com>
32758 * stdio-common/Makefile (tests): Add bug25.
32759 * stdio-common/bug25.c: New test.
32761 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
32764 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
32765 multiple of MALLOC_ALIGNMENT in size.
32766 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
32768 2012-05-24 Joseph Myers <joseph@codesourcery.com>
32770 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
32772 (FILENAME_MAX): Use macro-int-constant.
32773 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
32774 (_IOFBF): Use macro-int-constant.
32775 (_IOLBF): Likewise.
32776 (_IONBF): Likewise.
32777 (SEEK_CUR): Likewise.
32778 (SEEK_END): Likewise.
32779 (SEEK_SET): Likewise.
32780 (TMP_MAX): Likewise.
32781 (EOF): Use macro-int-constant. Require < 0.
32782 (NULL): Use macro-constant. Require == 0.
32783 (stdin): Require type to be FILE *.
32784 (stdout): Likewise.
32785 (stderr): Likewise.
32786 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
32787 macro-int-constant.
32788 (EXIT_SUCCESS): Likewise.
32789 (NULL): Use macro-constant. Require == 0.
32790 (RAND_MAX): Use macro-int-constant.
32791 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
32792 [C99-based standards] (strtof): Require function.
32793 [C99-based standards] (strtold): Likewise.
32794 [C99-based standards] (strtoll): Likewise.
32795 [C99-based standards] (strtoull): Likewise.
32796 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32797 [ISO || ISO99 || ISO11] (limits.h): Likewise.
32798 [ISO || ISO99 || ISO11] (math.h): Likewise.
32799 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
32800 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32801 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32803 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
32806 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
32807 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
32808 * intl/dgettext.c (DCGETTEXT): Likewise.
32809 * intl/gettext.c (DCGETTEXT): Likewise.
32810 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
32811 * posix/regex_internal.h (gettext): Likewise.
32812 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
32813 Remove declaration.
32814 * include/argz.h (__argz_count_internal)
32815 (__argz_stringify_internal): Remove declaration.
32816 (__argz_count, __argz_stringify): Declare hidden proto.
32817 * intl/dcgettext.c: Remove use of INTDEF.
32818 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
32819 * string/argz-stringify.c: Likewise.
32820 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
32821 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
32822 Declare hidden proto.
32823 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
32824 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
32825 Declare hidden proto.
32826 * include/stdio.h (__asprintf_internal): Don't declare.
32827 (__asprintf): Don't define as macro. Declare hidden proto.
32828 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
32829 (__fsetlocking): Declare hidden proto.
32830 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
32831 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
32833 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
32834 (_IO_setlinebuf): Remove use of INTUSE.
32835 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
32836 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
32837 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
32838 Remove declaration.
32839 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
32840 (_IO_do_flush): Remove use of INTUSE.
32841 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
32842 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
32843 (_IO_adjust_column, _IO_least_wmarker)
32844 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
32845 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
32846 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
32847 (_IO_default_doallocate, _IO_wdefault_doallocate)
32848 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
32849 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
32850 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
32851 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
32852 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
32853 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
32854 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
32855 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
32856 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
32857 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
32858 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
32859 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
32860 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
32862 (_IO_flush_all_internal, _IO_adjust_column_internal)
32863 (_IO_default_uflow_internal, _IO_default_finish_internal)
32864 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
32865 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
32866 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
32867 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
32868 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
32869 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
32870 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
32871 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
32872 (_IO_file_close_internal, _IO_file_close_it_internal)
32873 (_IO_file_underflow_internal, _IO_file_overflow_internal)
32874 (_IO_file_init_internal, _IO_file_attach_internal)
32875 (_IO_file_fopen_internal, _IO_file_read_internal)
32876 (_IO_file_sync_internal, _IO_file_seek_internal)
32877 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
32878 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
32879 (_IO_str_underflow_internal, _IO_str_overflow_internal)
32880 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
32881 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
32882 (_IO_list_all_internal, _IO_link_in_internal)
32883 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
32884 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
32885 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
32886 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
32887 (_IO_do_write_internal, _IO_padn_internal)
32888 (_IO_getline_info_internal, _IO_getline_internal)
32889 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
32890 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
32891 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
32892 (_IO_vfscanf_internal, _IO_vfprintf_internal)
32893 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
32894 (_IO_init_internal, _IO_un_link_internal): Don't declare.
32895 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
32896 with libc_hidden_ver, remove use of INTUSE.
32897 * libio/genops.c: Likewise.
32898 * libio/freopen.c: Likewise.
32899 * libio/freopen64.c: Likewise.
32900 * libio/iofclose.c: Likewise.
32901 * libio/iofdopen.c: Likewise.
32902 * libio/iofflush.c: Likewise.
32903 * libio/iofflush_u.c: Likewise.
32904 * libio/iofgets.c: Likewise.
32905 * libio/iofgets_u.c: Likewise.
32906 * libio/iofopen.c: Likewise.
32907 * libio/iofopncook.c: Likewise.
32908 * libio/iofread.c: Likewise.
32909 * libio/iofread_u.c: Likewise.
32910 * libio/ioftell.c: Likewise.
32911 * libio/iofwrite.c: Likewise.
32912 * libio/iogetline.c: Likewise.
32913 * libio/iogets.c: Likewise.
32914 * libio/iogetwline.c: Likewise.
32915 * libio/iopadn.c: Likewise.
32916 * libio/iopopen.c: Likewise.
32917 * libio/ioseekoff.c: Likewise.
32918 * libio/ioseekpos.c: Likewise.
32919 * libio/iosetbuffer.c: Likewise.
32920 * libio/iosetvbuf.c: Likewise.
32921 * libio/ioungetc.c: Likewise.
32922 * libio/ioungetwc.c: Likewise.
32923 * libio/iovdprintf.c: Likewise.
32924 * libio/iovsprintf.c: Likewise.
32925 * libio/iovsscanf.c: Likewise.
32926 * libio/memstream.c: Likewise.
32927 * libio/obprintf.c: Likewise.
32928 * libio/oldfileops.c: Likewise.
32929 * libio/oldiofclose.c: Likewise.
32930 * libio/oldiofdopen.c: Likewise.
32931 * libio/oldiofopen.c: Likewise.
32932 * libio/oldiopopen.c: Likewise.
32933 * libio/oldstdfiles.c: Likewise.
32934 * libio/putc.c: Likewise.
32935 * libio/setbuf.c: Likewise.
32936 * libio/setlinebuf.c: Likewise.
32937 * libio/stdfiles.c: Likewise.
32938 * libio/strops.c: Likewise.
32939 * libio/vasprintf.c: Likewise.
32940 * libio/vscanf.c: Likewise.
32941 * libio/vsnprintf.c: Likewise.
32942 * libio/vswprintf.c: Likewise.
32943 * libio/wfiledoalloc.c: Likewise.
32944 * libio/wfileops.c: Likewise.
32945 * libio/wgenops.c: Likewise.
32946 * libio/wmemstream.c: Likewise.
32947 * libio/wstrops.c: Likewise.
32948 * libio/__fpurge.c: Likewise.
32949 * libio/__fsetlocking.c: Likewise.
32950 * assert/assert.c: Likewise.
32951 * debug/fgets_chk.c: Likewise.
32952 * debug/fgets_u_chk.c: Likewise.
32953 * debug/fread_chk.c: Likewise.
32954 * debug/fread_u_chk.c: Likewise.
32955 * debug/gets_chk.c: Likewise.
32956 * debug/obprintf_chk.c: Likewise.
32957 * debug/vasprintf_chk.c: Likewise.
32958 * debug/vdprintf_chk.c: Likewise.
32959 * debug/vsnprintf_chk.c: Likewise.
32960 * debug/vsprintf_chk.c: Likewise.
32961 * malloc/mtrace.c: Likewise.
32962 * misc/error.c: Likewise.
32963 * misc/syslog.c: Likewise.
32964 * stdio-common/asprintf.c: Likewise.
32965 * stdio-common/fxprintf.c: Likewise.
32966 * stdio-common/getw.c: Likewise.
32967 * stdio-common/isoc99_fscanf.c: Likewise.
32968 * stdio-common/isoc99_scanf.c: Likewise.
32969 * stdio-common/isoc99_vfscanf.c: Likewise.
32970 * stdio-common/isoc99_vscanf.c: Likewise.
32971 * stdio-common/isoc99_vsscanf.c: Likewise.
32972 * stdio-common/printf-prs.c: Likewise.
32973 * stdio-common/printf_fp.c: Likewise.
32974 * stdio-common/printf_fphex.c: Likewise.
32975 * stdio-common/printf_size.c: Likewise.
32976 * stdio-common/putw.c: Likewise.
32977 * stdio-common/scanf.c: Likewise.
32978 * stdio-common/sprintf.c: Likewise.
32979 * stdio-common/tmpfile.c: Likewise.
32980 * stdio-common/vfprintf.c: Likewise.
32981 * stdio-common/vfscanf.c: Likewise.
32982 * stdlib/strfmon_l.c: Likewise.
32983 * sunrpc/openchild.c: Likewise.
32984 * sunrpc/xdr_stdio.c: Likewise.
32985 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
32986 * sysdeps/mach/hurd/tmpfile.c: Likewise.
32988 2012-05-24 Roland McGrath <roland@hack.frob.com>
32990 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
32992 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
32993 in the third column, to generate for the shared library an IFUNC
32994 that uses _dl_vdso_vsym.
32995 * Makerules (COMPILE.c, compile-stdin.c): New variables.
32996 * Makeconfig (object-suffixes-noshared): New variable.
32998 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
32999 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
33000 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
33001 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
33004 * include/sys/time.h (__gettimeofday): Remove macro.
33005 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
33006 * time/gettimeofday.c (__gettimeofday): Remove #undef.
33008 (__gettimeofday): Add libc_hidden_def.
33009 (gettimeofday): Add libc_hidden_weak.
33010 * sysdeps/mach/gettimeofday.c: Likewise.
33011 * sysdeps/posix/gettimeofday.c: Likewise.
33012 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
33013 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
33014 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
33015 (__gettimeofday_internal): Remove strong_alias.
33016 (__gettimeofday): Add libc_hidden_def.
33017 (gettimeofday): Add libc_hidden_weak.
33018 * sysdeps/unix/syscalls.list (gettimeofday):
33019 Remove __gettimeofday_internal alias.
33021 2012-05-24 Daniel Jacobowitz <drow@false.org>
33022 H.J. Lu <hongjiu.lu@intel.com>
33025 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
33026 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
33027 (largebin_index_32_big): New.
33028 (largebin_index): Use it for 16-byte alignment.
33029 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
33030 correction with front_misalign.
33032 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
33034 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
33035 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
33037 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
33039 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
33041 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
33043 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
33045 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
33047 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
33049 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
33051 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
33053 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
33055 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
33057 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
33060 * scripts/data/c++-types-x32-linux-gnu.data: New file.
33061 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
33063 2012-05-24 Joseph Myers <joseph@codesourcery.com>
33067 * math/libm-test.inc (exp_test): Add test from bug 14036.
33068 (pow_test): Add test from bug 10846.
33070 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
33072 (special_function): Do not include flags in test name.
33073 (parse_args): Likewise.
33074 * sysdeps/i386/fpu/libm-test-ulps: Update.
33075 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33076 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33077 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33078 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33080 * math/gen-libm-test.pl (%beautify): Add entries for underflow
33082 * math/libm-test.inc ("Philosophy"): Update comment about
33084 (UNDERFLOW_EXCEPTION): New macro.
33085 (UNDERFLOW_EXCEPTION_OK): Likewise.
33086 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
33087 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
33088 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
33089 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
33090 (INVALID_EXCEPTION_OK): Update value.
33091 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33092 (OVERFLOW_EXCEPTION_OK): Likewise.
33093 (IGNORE_ZERO_INF_SIGN): Likewise.
33094 (test_exceptions): Handle underflow exceptions.
33095 (acos_test): Update for underflow exception expectations.
33096 (cexp_test): Likewise.
33097 (clog_test): Likewise.
33098 (clog10_test): Likewise.
33099 (csqrt_test): Likewise.
33100 (ctan_test): Likewise.
33101 (ctanh_test): Likewise.
33102 (exp_test): Likewise.
33103 (exp10_test): Likewise.
33104 (exp2_test): Likewise.
33105 (expm1_test): Likewise.
33106 (fma_test): Likewise.
33107 (j0_test): Likewise.
33108 (jn_test): Likewise.
33109 (nexttoward_test): Likewise.
33110 (pow_test): Likewise.
33111 (scalbn_test): Likewise.
33112 (scalbln_test): Likewise.
33113 (tan_test): Likewise.
33114 (y1_test): Likewise.
33115 * sysdeps/i386/fpu/libm-test-ulps: Update.
33116 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33118 2012-05-23 David S. Miller <davem@davemloft.net>
33120 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
33121 (__libc_sigaction): Remove unused local variables.
33123 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33125 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
33127 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
33129 mktime: avoid signed integer overflow
33130 * time/mktime.c (__mktime_internal): Do not mishandle the case
33131 where diff == INT_MIN.
33133 mktime: simplify computation of average
33134 * time/mktime.c (ranged_convert): Use new time_t_avg function
33135 instead of rolling our own (probably-slower) code.
33137 mktime: do not assume signed right shift propagates sign bit
33138 * time/mktime.c (isdst_differ): New static function.
33139 (__mktime_internal): No need to normalize tm_isdst now.
33140 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
33143 mktime: merge another wrapv change from gnulib
33144 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
33145 from some compilers.
33147 mktime: remove incorrect attempt at unusual arithmetics
33148 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
33149 The code didn't really work on such machines anyway.
33150 (TYPE_MINIMUM): Assume two's complement.
33151 (twos_complement_arithmetic): Verify that long_int and time_t
33152 are two's complement (or unsigned, in the latter case).
33154 mktime: check signed shifts on long_int and time_t, too
33155 * time/mktime.c (SHR): Check that shifts work as desired
33156 on the types long_int and time_t too, as SHR is used on
33159 mktime: do not assume 'long' is wide enough
33160 * time/mktime.c (verify): Move decl up.
33161 (long_int): New type.
33162 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
33163 to remove assumption in the code that 'long' is wide enough to
33164 store year values. This assumption is not true on x32 and on
33165 some non-glibc platforms.
33167 mktime: merge wrapv change from gnulib
33168 * time/mktime.c (WRAPV): New macro.
33169 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
33170 (guess_time_tm, __mktime_internal): Do not assume that signed
33171 integer overflow wraps around; modern compilers generate code
33172 where this assumption is no longer valid.
33174 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33176 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33177 Replace "jmp L(pseudo_end)" with "ret".
33178 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
33181 2012-05-23 Andreas Jaeger <aj@suse.de>
33183 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
33184 * sysdeps/unix/sysv/linux/poll.c: Remove file.
33186 2012-05-23 Andreas Jaeger <aj@suse.de>
33187 Maximilian Attems <max@stro.at>
33189 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
33192 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33194 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
33195 code so that pseudo_end is just ret and the stack pointer is
33196 correct also for static library in error case.
33198 2012-05-23 Joseph Myers <joseph@codesourcery.com>
33200 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
33201 move to syscalls.list.
33202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
33203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
33204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
33205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
33207 * manual/install.texi (Running make install): Do not mention Linux
33208 kernel version for which pt_chown is not needed.
33209 (Linux): Do not mention problems with nscd with 2.0 kernels.
33210 * INSTALL: Regenerated.
33212 2012-05-23 Andreas Jaeger <aj@suse.de>
33214 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
33215 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
33217 * sysdeps/unix/sysv/linux/s390/bits/mman.h
33218 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33219 * sysdeps/unix/sysv/linux/sh/bits/mman.h
33220 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33221 * sysdeps/unix/sysv/linux/i386/bits/mman.h
33222 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33223 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
33224 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33225 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
33226 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33227 * sysdeps/unix/sysv/linux/bits/in.h
33228 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
33230 2012-05-22 Roland McGrath <roland@hack.frob.com>
33232 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
33233 (PREPARE_VERSION): Just use assert instead, it will be elided
33234 under [NDEBUG] anyway.
33236 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33238 * sysdeps/unix/sysv/linux/Makefile: Include
33239 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
33240 (sysdep_routines): Remove sysctl.
33241 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
33242 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
33243 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
33244 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
33245 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
33247 2012-05-22 Andreas Jaeger <aj@suse.de>
33249 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
33250 that pseudo_end is just ret and the stack pointer is correct also
33251 for static library in error case.
33253 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
33256 * nss/nsswitch.c (defconfig_entries): New variable.
33257 (__nss_database_lookup): Don't leak defconfig entries.
33258 (nss_parse_service_list): Don't leak on error paths.
33259 (free_database_entries): New function.
33260 (free_defconfig): New function.
33261 (free_mem): Move common code to free_database_entries.
33263 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33265 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
33267 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
33269 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
33270 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
33271 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
33273 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
33274 (INTERNAL_SYSCALL_TYPES): Likewise.
33275 (LOAD_ARGS_TYPES_[1-6]): Likewise.
33276 (LOAD_REGS_TYPES_[1-6]): Likewise.
33277 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
33278 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
33280 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33282 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
33283 copysignl for GLIBC_2_0.
33284 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
33285 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
33286 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
33287 logbl for GLIBC_2_0.
33288 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
33289 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
33291 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33293 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
33294 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
33296 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33299 * time/mktime.c: Update copyright years.
33301 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
33303 mktime: merge comment-quoting-style change from gnulib
33304 * time/mktime.c: Quote 'like this' in comments.
33305 The GNU coding standards suggest that we no longer quote `like this',
33306 as "`" and "'" are typically rendered asymmetrically nowadays.
33307 The typical gnulib style is to quote 'like this' when quoting
33308 code, and "like this" when quoting English.
33310 * time/mktime.c (compile-command): Add "-I.".
33312 mktime: merge mktime-internal.h change from gnulib
33313 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
33315 mktime: merge time_r change from gnulib
33316 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
33318 mktime: merge DEBUG change from gnulib
33319 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
33320 case system <time.h> has a #define.
33322 mktime: merge <sys/types.h> change from gnulib
33323 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
33324 since <time.t> is now guaranteed to define time_t.
33326 mktime: merge HAVE_CONFIG_H change from gnulib
33327 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
33329 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33331 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33334 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
33336 (struct rusage): Use anonymous union to pad each field to
33339 2012-05-21 David S. Miller <davem@davemloft.net>
33341 * Makefules (o-iterator): Remove .s cases.
33342 (compile-command.s): Delete.
33343 (COMPILE.s): Delete.
33344 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
33346 2012-05-21 Joseph Myers <joseph@codesourcery.com>
33348 * configure.in (libc_cv_predef_stack_protector): Only consider
33349 "foobar" and "__stack_chk_fail" lines in libc_undefs.
33350 * configure: Regenerated.
33352 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
33354 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33355 New macro. Use R*LP on int and pointer.
33356 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
33357 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
33358 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
33359 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
33361 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
33362 [__WORDSIZE_TIME64_COMPAT32] instead of
33363 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
33364 (struct utmp): Likewise.
33365 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
33366 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
33368 (__WORDSIZE_TIME64_COMPAT32): This.
33369 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
33370 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
33371 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
33372 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
33373 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
33374 (__WORDSIZE_TIME64_COMPAT32): New macro.
33376 2012-05-21 Andreas Jaeger <aj@suse.de>
33378 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
33379 only if [SHARED]. Add prototype for __wcschr_ia32.
33381 2012-05-21 Roland McGrath <roland@hack.frob.com>
33383 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
33384 of %rbp unmolested in the jmp_buf while mangling the low bits.
33385 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
33386 unmolested high bits of %rbp while demangling the low bits.
33387 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
33389 2012-05-21 Andreas Jaeger <aj@suse.de>
33391 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
33392 * sunrpc/svc_simple.c: Use it for registerrpc.
33393 * sunrpc/xcrypt.c: Use it for passwd2des.
33395 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
33397 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
33399 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
33400 Don't define if [__SYSCALL_WORDSIZE != 32].
33401 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
33404 2012-05-21 Bruno Haible <bruno@clisp.org>
33405 Andreas Jaeger <aj@suse.de>
33407 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
33408 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
33409 inptr and inend for must_buffer_ch.
33410 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
33411 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
33412 * stdio-common/Makefile (tests): Remove bug15.
33413 (bug15-ENV): Remove macro.
33414 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
33417 2012-05-19 Andreas Jaeger <aj@suse.de>
33418 Roland McGrath <roland@hack.frob.com>
33420 * manual/contrib.texi: Completely rewritten. It contains now an
33421 alphabetical list of contributors and their contributions.
33423 2012-05-21 Richard Henderson <rth@twiddle.net>
33425 * misc/getauxval.c (__getauxval): Use unsigned long int.
33426 * misc/sys/auxv.h: Include <sys/cdefs.h>.
33427 (getauxval): Use unsigned long int.
33429 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
33431 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33433 2012-05-21 Roland McGrath <roland@hack.frob.com>
33435 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
33436 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
33437 __alignof__ (long double).
33439 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33441 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33443 2012-05-20 Richard Henderson <rth@twiddle.net>
33445 * misc/getauxval.c: New file.
33446 * misc/sys/auxv.h: New file.
33447 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
33448 (routines): Add getauxval.
33449 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
33450 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
33451 * elf/dl-sysdep.c (_dl_auxv): Remove.
33452 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
33453 * elf/dl-support.c (_dl_auxv): New variable.
33454 (_dl_aux_init): Initialize it.
33455 * manual/startup.texi (Auxiliary Vector): New node.
33456 * sysdeps/generic/bits/hwcap.h: New file.
33457 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
33458 * sysdeps/powerpc/sysdep.h: ... here. Include it.
33459 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
33460 * sysdeps/sparc/sysdep.h: ... here. Include it.
33461 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
33462 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
33463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
33466 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
33467 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
33468 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
33469 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
33470 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
33471 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
33472 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
33474 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33476 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33478 2012-05-19 David S. Miller <davem@davemloft.net>
33480 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33482 2012-05-19 Joseph Myers <joseph@codesourcery.com>
33485 * math/s_ccosh.c: Include <float.h>
33486 (__ccosh): Avoid internal overflow calculating sinh and cosh
33487 values before multiplying by sin and cos values.
33488 * math/s_ccoshf.c: Likewise.
33489 * math/s_ccoshl.c: Likewise.
33490 * math/s_csin.c: Likewise.
33491 * math/s_csinf.c: Likewise.
33492 * math/s_csinl.c: Likewise.
33493 * math/s_csinh.c: Likewise.
33494 * math/s_csinhf.c: Likewise.
33495 * math/s_csinhl.c: Likewise.
33496 * math/libm-test.inc (ccos_test): Add more tests.
33497 (ccosh_test): Likewise.
33498 (csin_test): Likewise.
33499 (csinh_test): Likewise.
33500 * sysdeps/i386/fpu/libm-test-ulps: Update.
33501 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33503 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
33505 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
33506 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
33508 * sysdeps/x86_64/x32/_itoa.h: Add comment.
33510 2012-05-19 Joseph Myers <joseph@codesourcery.com>
33512 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
33513 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
33514 * sysdeps/powerpc/soft-fp/Versions: Likewise.
33515 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
33516 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
33517 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
33518 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
33519 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
33520 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
33521 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
33522 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
33523 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
33524 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
33525 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
33526 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
33527 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
33528 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
33529 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
33530 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
33531 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
33532 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
33533 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
33534 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
33535 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
33536 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
33537 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
33538 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
33539 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
33540 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
33541 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
33542 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
33544 2012-05-18 Andreas Jaeger <aj@suse.de>
33546 * csu/.gitignore: Delete.
33548 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
33550 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
33551 (timex): Use __syscall_slong_t.
33553 2012-05-18 Andreas Jaeger <aj@suse.de>
33554 Carlos O'Donell <carlos_odonell@mentor.com>
33556 * manual/install.texi (Configuring and compiling): Update
33557 description about files modified in the source directory.
33558 * INSTALL: Regenerated.
33560 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
33562 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
33563 value. Use "or" to set return value to -1.
33564 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
33565 negate return value.
33567 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33569 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
33570 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
33571 failure if the compiler has Graphite support disabled.
33572 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
33574 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
33575 (CFLAGS-memmove.c): Likewise.
33576 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
33579 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
33581 * sysdeps/x86_64/x32/_itoa.h: New file.
33583 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
33584 getdents system call only if kernel and user dirents have the
33585 same d_ino and d_off.
33587 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
33588 LLONG_MAX != LONG_MAX.
33589 (_itoa_word): Use _ITOA_WORD_TYPE on value.
33590 (_fitoa_word): Likewise.
33592 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
33594 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
33595 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
33596 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
33598 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
33599 include <bits/wordsize.h>. Check __x86_64__ instead of
33601 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
33602 if __x86_64__ is defined. Use anonymous union on fpstate.
33604 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
33607 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
33609 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
33610 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
33611 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
33612 Refer to _rtld_local_ro instead of _rtld_global_ro.
33613 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
33615 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
33617 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
33619 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
33620 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
33621 of _rtld_global, and rtld_progname instead of _dl_argv[0].
33623 * sysdeps/powerpc/powerpc32/dl-machine.c
33624 (__elf_machine_runtime_setup) [PROF]: Don't reference
33627 2012-05-18 Andreas Jaeger <aj@suse.de>
33629 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
33630 function only available for GCCs before 3.4 since GCC 3.4
33631 introduced a builtin.
33633 (llrintf): Likewise.
33634 (llrint): Likewise.
33641 (nearbyint): Likewise.
33642 (nearbyintf): Likewise.
33646 (floorf): Likewise.
33648 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
33650 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
33651 on both fields and cast pointer to __syscall_ulong_t.
33653 * bits/types.h (__fsword_t): New type.
33654 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
33655 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
33656 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33657 (__FSWORD_T_TYPE): Likewise.
33658 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33659 (__FSWORD_T_TYPE): Likewise.
33660 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33661 (__FSWORD_T_TYPE): Likewise.
33662 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
33663 (__FSWORD_T_TYPE): Likewise.
33664 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
33665 __SWORD_TYPE with __fsword_t.
33666 (statfs64): Likewise.
33668 2012-05-17 David S. Miller <davem@davemloft.net>
33670 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
33672 2012-05-17 Andreas Jaeger <aj@suse.de>
33674 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
33677 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
33679 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
33681 2012-05-17 Andreas Jaeger <aj@suse.de>
33683 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
33686 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
33688 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
33690 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
33692 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
33693 * sysdeps/x86_64/tst-mallocalign1.c: New file.
33695 2012-05-17 Andreas Jaeger <aj@suse.de>
33696 Carlos O'Donell <carlos_odonell@mentor.com>
33699 * sysdeps/x86_64/multiarch/init-arch.h
33700 (bit_YMM_Usable): Rename to...
33701 (bit_AVX_Usable): ... this.
33702 (bit_FMA4_Usable): New macro.
33703 (bit_XMM_state): New macro.
33704 (bit_YMM_state): New macro.
33705 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
33706 [__ASSEMBLER__] (index_AVX_Usable): ... this.
33707 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
33708 (CPUID_OSXSAVE): New macro.
33709 (CPUID_AVX): New macro.
33710 (CPUID_FMA4): New macro.
33711 (index_YMM_Usable): Rename to...
33712 (index_AVX_Usable): ... this.
33713 (HAS_AVX): Use HAS_ARCH_FEATURE.
33714 (HAS_FMA4): Likewise.
33715 (HAS_YMM_USABLE): Remove.
33716 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33717 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
33719 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
33720 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
33721 * sysdeps/x86_64/multiarch/Makefile: Likewise.
33722 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
33723 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
33725 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
33727 * math/libm-test.c: Support platforms without multiple rounding modes.
33728 * math/bug-nextafter.c: Support platforms without FP exceptions.
33729 * math/bug-nexttoward.c: Likewise.
33730 * math/test-fenv.c: Likewise.
33731 * math/test-misc.c: Likewise.
33732 * stdlib/bug-getcontext.c: Likewise.
33734 2012-05-17 Andreas Jaeger <aj@suse.de>
33736 * manual/examples/search.c (critter_cmp): Change signature to
33738 * manual/string.texi (Collation Functions): Likewise.
33740 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33742 * bits/types.h: Fold copyright years.
33743 * bits/typesizes.h: Likewise.
33744 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
33745 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
33746 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
33747 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
33748 * time/time.h: Likewise.
33750 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
33753 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
33754 in instead of returning them. Return void.
33755 (__libc_mallinfo): Accumulate over all arenas.
33756 (__malloc_stats): Adjust for change in int_mallinfo interface.
33758 2012-05-16 Roland McGrath <roland@hack.frob.com>
33761 * configure.in (NM): Add AC_CHECK_TOOL for it.
33762 (libc_extra_cflags): New substituted variable.
33763 Check for -fstack-protector being used implicitly.
33764 * configure: Regenerated.
33765 * config.make.in (config-extra-cflags): New variable,
33766 gets @libc_extra_cflags@.
33767 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
33770 * configure.in: Check for _FORTIFY_SOURCE being predefined.
33771 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
33772 * configure: Regenerated.
33773 * config.make.in (CPPUNDEFS): New substituted variable.
33774 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
33775 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
33776 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
33778 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33780 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
33781 (mq_attr): Use __syscall_slong_t.
33783 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33785 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
33786 Check __x86_64__ instead of __WORDSIZE.
33787 (_STAT_VER_LINUX): Likewise.
33788 (stat): Check __x86_64__ instead of __WORDSIZE. Use
33789 __syscall_ulong_t and __syscall_slong_t.
33790 (stat64): Likewise.
33792 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33794 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
33796 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33798 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
33800 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33802 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
33805 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
33806 include <bits/wordsize.h>. Check __x86_64__ instead of
33808 (greg_t): Use "__extension__ long long int" if __x86_64__ is
33810 (mcontext_t): Replace "unsigned long" with "unsigned long long".
33812 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
33813 include <bits/wordsize.h>. Check __x86_64__ instead of
33815 (user_regs_struct): Use "__extension__ unsigned long long"
33816 instead of "unsigned long" if __x86_64__ is defined.
33817 (user): Likewise. Pad after pointer field if __ILP32__ is
33820 2012-05-16 Joseph Myers <joseph@codesourcery.com>
33822 * configure.in (makeinfo): Require version 4.5 or later. Allow
33824 * configure: Regenerated.
33825 * manual/install.texi (texinfo): Increase version requirement to
33827 * INSTALL: Regenerated.
33829 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
33831 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33833 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
33835 * sysdeps/x86_64/x32/ffs.c: New file.
33837 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
33839 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
33840 defined. Use __syscall_ulong_t.
33841 (shminfo): Use __syscall_ulong_t.
33842 (shm_info): Likewise.
33844 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
33847 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
33849 (msgqnum_t): Use __syscall_ulong_t.
33850 (msglen_t): Likewise.
33851 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
33854 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
33855 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
33857 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
33859 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
33860 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
33862 * sysvipc/sys/msg.h (msgbuf): Replace long int with
33865 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
33866 include <bits/wordsize.h>. Check __x86_64__ instead of
33869 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
33870 "unsigned long long int" if __x86_64__ is defined.
33871 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
33873 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
33874 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
33875 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
33877 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
33879 (GET_PC): Cast to uintptr_t first.
33880 (GET_FRAME): Likewise.
33881 (GET_STACK): Likewise.
33883 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
33884 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
33885 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
33886 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
33887 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
33888 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
33889 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
33890 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
33891 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
33892 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
33893 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
33894 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
33895 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
33896 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
33897 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
33898 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
33899 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
33900 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
33901 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
33902 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
33903 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
33904 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
33905 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
33906 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
33907 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
33908 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
33909 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
33910 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
33911 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
33913 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
33915 * Makerules (+depfiles): Also collect depfiles from .oS in
33917 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
33918 .oS, $(libnldbl-routines)).
33920 * Makerules (native-compile-mkdep-flags): Define.
33921 * sunrpc/Makefile (extra-objs): Add $(addprefix
33922 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
33923 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
33924 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
33925 calling $(make-target-directory).
33927 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33929 * bits/types.h (__snseconds_t): Removed.
33930 * time/time.h (struct timespec): Replace __snseconds_t with
33932 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
33933 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
33935 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33936 (__SNSECONDS_T_TYPE): Likewise.
33937 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33938 (__SNSECONDS_T_TYPE): Likewise.
33939 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33940 (__SNSECONDS_T_TYPE): Likewise.
33942 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33944 * sysdeps/mach/hurd/bits/typesizes.h
33945 (__SYSCALL_SLONG_TYPE): New macro.
33946 (__SYSCALL_ULONG_TYPE): Likewise.
33948 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33950 * bits/types.h (__syscall_slong_t): New type.
33951 (__syscall_ulong_t): Likewise.
33953 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
33954 (__SYSCALL_ULONG_TYPE): Likewise.
33955 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33956 (__SYSCALL_SLONG_TYPE): Likewise.
33957 (__SYSCALL_ULONG_TYPE): Likewise.
33958 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33959 (__SYSCALL_SLONG_TYPE): Likewise.
33960 (__SYSCALL_ULONG_TYPE): Likewise.
33961 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33962 (__SYSCALL_SLONG_TYPE): Likewise.
33963 (__SYSCALL_ULONG_TYPE): Likewise.
33965 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33967 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
33968 Add sigaltstack-offsets.sym.
33969 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
33970 <sigaltstack-offsets.h>.
33971 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
33972 longjmp_msg pointer.
33973 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
33974 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
33976 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
33978 2012-05-15 Joseph Myers <joseph@codesourcery.com>
33980 * elf/stackguard-macros.h: Remove file.
33981 * sysdeps/generic/stackguard-macros.h: New file.
33982 * sysdeps/i386/stackguard-macros.h: Likewise.
33983 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
33984 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
33985 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
33986 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
33987 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
33988 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
33989 * sysdeps/x86_64/stackguard-macros.h: Likewise.
33990 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
33991 <elf/stackguard-macros.h>.
33994 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
33995 __aligned__ in attribute.
33996 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
33997 (gregset_t): Likewise.
33999 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34001 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
34002 * sysdeps/x86_64/64/Implies-after: Here. New file.
34003 * sysdeps/x86_64/x32/Implies-after: New file.
34005 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34007 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
34008 and access return value for _dl_profile_fixup. Use R10_LP to
34011 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34013 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
34015 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34017 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
34018 * sysdeps/x86_64/x32/sysdep.h: New file.
34020 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34022 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
34023 * sysdeps/x86_64/setjmp.S: Likewise.
34025 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34027 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
34028 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
34029 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
34030 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
34031 remove unused global constant.
34033 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
34035 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
34036 include of <not-cancel.h>.
34038 2012-05-15 Roland McGrath <roland@hack.frob.com>
34040 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
34042 2012-05-15 Jeff Law <law@redhat.com>
34043 Andreas Jaeger <aj@suse.de>
34046 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
34048 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
34049 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
34050 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
34051 code changing __hst_map_handle.map.
34053 2012-05-15 Roland McGrath <roland@hack.frob.com>
34055 * configure.in (sysnames): Look for Implies-before and Implies-after
34057 * configure: Regenerated.
34059 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34061 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
34062 8-byte data alignment with LP_SIZE alignment.
34064 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34066 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
34069 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34071 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
34073 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34075 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
34076 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
34077 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
34079 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
34081 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34083 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
34084 (stackinfo_sub_sp): Likewise.
34086 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34088 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
34091 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34093 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
34096 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34098 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
34101 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34103 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
34105 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34107 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
34108 into R11_LP and load __x86_64_shared_cache_size_half into
34111 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34113 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
34116 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34118 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
34120 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
34122 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
34124 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
34125 powerpc32/power7/fpu/s_logb.c via #include.
34126 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
34127 powerpc32/power7/fpu/s_logbf.c via #include.
34128 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
34129 powerpc32/power7/fpu/s_logbl.c via #include.
34131 2012-05-15 Joseph Myers <joseph@codesourcery.com>
34133 * README.libm: Remove file.
34135 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34137 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
34138 count for x32. Use R*_LP and omit operand-size suffix.
34140 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34142 * shlib-versions: Move x86_64-.*-linux.* entries to ...
34143 * sysdeps/x86_64/64/shlib-versions: Here. New file.
34144 * sysdeps/x86_64/x32/shlib-versions: New file.
34146 2012-05-14 Roland McGrath <roland@hack.frob.com>
34148 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
34149 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
34150 Use _dl_fatal_printf instead.
34152 2012-05-14 Joseph Myers <joseph@codesourcery.com>
34154 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
34155 set if not set by the user. Do not allow for being unset.
34156 * sysdeps/unix/sysv/linux/configure: Regenerated.
34158 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34160 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
34161 the `q' suffix from lea and replace .quad with ASM_ADDR.
34163 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34165 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
34166 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
34168 (PTR_DEMANGLE): Likewise.
34170 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34172 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
34174 (ASM_ADDR): Likewise.
34175 (RAX_LP): Likewise.
34176 (RBP_LP): Likewise.
34177 (RBX_LP): Likewise.
34178 (RCX_LP): Likewise.
34179 (RDI_LP): Likewise.
34180 (RSI_LP): Likewise.
34181 (RSP_LP): Likewise.
34184 (R10_LP): Likewise.
34185 (R10_LP): Likewise.
34186 (R11_LP): Likewise.
34187 (R12_LP): Likewise.
34188 (R13_LP): Likewise.
34189 (R14_LP): Likewise.
34190 (R15_LP): Likewise.
34192 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34194 * sysdeps/x86_64/x32/dl-machine.h: New file.
34196 2012-05-14 Andreas Jaeger <aj@suse.de>
34198 * manual/Makefile (subdir): Remove export of subdir.
34199 (all): Remove target.
34200 (.PHONY): Remove all from list.
34201 (mkinstalldirs): Remove.
34202 (.PHONY): Remove installdirs from list.
34203 ($(inst_infodir)/libc.info): Use make-target-directory.
34204 (installdirs): Remove.
34205 (subdir_%): Remove.
34206 (glibc-targets): Remove.
34209 ($(objpfx)stubs ../po/manual.pot): Remove.
34210 ($(objpfx)stamp%): Remove.
34211 (make-target-directory): Remove.
34212 (subdir_install): Remove.
34213 (routines): Remove.
34220 * manual/.gitignore: Remove, it's not needed anymore.
34221 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
34223 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
34225 (texis): Renamed to $(objpfx)texis.
34226 (texis-path): New, contains path to generated files.
34227 (chapters.%): Use texis-path for complete path, add extra argument
34229 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
34230 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
34231 (summary,texi, stamp-summary): Use complete path of
34232 files. Generate files in build dir.
34233 (dir-add.texi): Build in build dir.
34234 (libm-err.texi,stamp-libm-err): Likewise.
34235 (version.texi, stamp-version): Likewise.
34236 (.%c.texi): Likewise.
34237 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
34238 (mostlyclean): Remove target.
34239 (realclean): Remove target.
34240 (generated): Add new variable with contents from mostlyclean and
34241 realclean, remove entries duplicated in common-mostlyclean, add
34242 stamp-libm-err and stamp-version.
34243 (generated-dirs): Add libc directory.
34244 ($(inst_infodir)/libc.info): Install files from build dir.
34246 * manual/install.texi (Configuring and compiling): Adjust since
34247 the info files are not part of the tar ball anymore.
34249 2012-05-14 Andreas Jaeger <aj@suse.de>
34251 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
34254 2012-05-14 Joseph Myers <joseph@codesourcery.com>
34257 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34258 to 2.2.0 where earlier.
34259 * sysdeps/unix/sysv/linux/configure: Regenerated.
34260 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
34261 Remove conditional code.
34262 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
34263 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
34264 Remove conditional code.
34265 [!__NR_lchown]: Likewise.
34266 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34267 [__NR_lchown]: Likewise.
34268 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
34269 comment referencing __ASSUME_LCHOWN_SYSCALL.
34270 * sysdeps/unix/sysv/linux/i386/sigaction.c
34271 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34272 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34273 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
34274 Remove conditional code.
34275 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
34276 (__protocol_available): Remove #if 0 code.
34277 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
34279 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
34280 * sysdeps/unix/sysv/linux/kernel-features.h
34281 (__ASSUME_GETCWD_SYSCALL): Don't define.
34282 (__ASSUME_REALTIME_SIGNALS): Likewise.
34283 (__ASSUME_PREAD_SYSCALL): Likewise.
34284 (__ASSUME_PWRITE_SYSCALL): Likewise.
34285 (__ASSUME_POLL_SYSCALL): Likewise.
34286 (__ASSUME_LCHOWN_SYSCALL): Likewise.
34287 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
34289 (__ASSUME_SIOCGIFNAME): Don't define.
34290 (__ASSUME_MSG_NOSIGNAL): Likewise.
34291 (__ASSUME_SENDFILE): Define unconditionally.
34292 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
34293 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
34295 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
34296 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
34297 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
34298 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34299 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
34300 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
34301 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
34303 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34304 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
34306 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34307 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
34309 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34310 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
34312 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34313 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
34315 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34316 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
34318 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34319 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
34321 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34322 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
34324 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34325 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34326 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
34327 Remove conditional code.
34328 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34329 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
34330 Remove conditional code.
34331 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34332 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
34333 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
34334 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34335 Remove conditional code.
34336 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34337 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
34338 Remove conditional code.
34339 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34340 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
34341 Remove conditional code.
34342 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34343 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
34344 Remove conditional code.
34345 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34346 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34347 Remove conditional code.
34348 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34349 * sysdeps/unix/sysv/linux/sh/pwrite64.c
34350 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34351 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34352 * sysdeps/unix/sysv/linux/sigaction.c
34353 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34354 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34355 * sysdeps/unix/sysv/linux/sigpending.c
34356 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34357 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34358 * sysdeps/unix/sysv/linux/sigprocmask.c
34359 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34360 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34361 * sysdeps/unix/sysv/linux/sigsuspend.c
34362 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34363 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34364 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34365 (__libc_missing_rt_sigs): Remove.
34366 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
34367 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
34368 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
34369 Remove conditional code.
34370 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
34371 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
34373 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
34374 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
34375 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
34376 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
34378 2012-05-14 Andreas Jaeger <aj@suse.de>
34380 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
34381 it's not used in glibc.
34382 (__coshm1): Likewise.
34383 (__acosh1p): Likewise.
34386 * manual/string.texi (Copying and Concatenation): Add missing
34387 variable in concat example.
34388 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
34390 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34393 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
34394 __builtin_clzl with __builtin_clzll.
34396 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34399 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
34402 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34404 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
34405 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
34406 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
34407 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
34409 2012-05-14 Mike Frysinger <vapier@gentoo.org>
34411 * NEWS: Update ia64 info.
34413 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
34415 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
34418 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
34420 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
34421 * sysdeps/unix/syscalls.list (dup3): Likewise.
34422 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
34423 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
34425 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
34427 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
34428 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
34430 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
34432 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
34434 (TLS_IE): Use mov/add instead of movq/addq to load thread
34436 (TLS_GD_PREFIX): New.
34439 2012-05-11 David S. Miller <davem@davemloft.net>
34441 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
34442 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
34443 (_FPU_SETCW): Likewise.
34445 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34447 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
34448 is 32-byte aligned.
34450 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
34453 * iconvdata/gb18030.c: Update tables.
34454 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
34455 characters specially.
34456 (BODY for TO_LOOP): Add encoding of missing ranges.
34458 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
34461 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
34462 * sysdeps/mach/hurd/dup3.c: Likewise.
34463 * sysdeps/mach/hurd/readlinkat.c: Likewise.
34464 * sysdeps/powerpc/memmove.c:: Likewise.
34466 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34468 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
34469 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
34471 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34473 * elf/elf.h (R_X86_64_RELATIVE64): New.
34474 (R_X86_64_NUM): Updated.
34475 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
34476 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
34477 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
34478 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
34479 tst-quad1pie tst-quad2pie
34480 (modules-names): Add tst-quadmod1 tst-quadmod2.
34481 ($(objpfx)tst-quad1): New dependency.
34482 ($(objpfx)tst-quad2): Likewise.
34483 ($(objpfx)tst-quad1pie): Likewise.
34484 ($(objpfx)tst-quad2pie): Likewise.
34485 * sysdeps/x86_64/tst-quad1.c: New file.
34486 * sysdeps/x86_64/tst-quad1pie.c: New file.
34487 * sysdeps/x86_64/tst-quad2.c: Likewise.
34488 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
34489 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
34490 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
34491 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
34492 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
34494 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34496 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
34497 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
34498 * streams/stropts.h (t_scalar_t): Define type.
34500 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
34501 (_PATH_PRESERVE): Set to "/var/lib".
34502 (_PATH_RWHODIR): Set to "/var/spool/rwho".
34504 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
34507 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
34508 if __dir_mkfile succeeded.
34510 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
34511 checking for _hurd_dtablesize. Unlock it right after having
34512 finished _hurd_dtable allocation.
34514 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34516 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
34517 * sysdeps/mach/hurd/configure: Regenerated.
34518 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
34519 special-casing to...
34520 * sysdeps/gnu/configure.in: ... this new file.
34521 * sysdeps/unix/sysv/linux/configure: Regenerated.
34522 * sysdeps/gnu/configure: New generated file.
34524 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
34525 for Linux: use nsec instead of usec, as well as:
34526 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
34527 members of type struct timespec.
34528 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
34530 (struct stat64): Likewise.
34531 (_STATBUF_ST_NSEC): New macro.
34532 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
34534 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
34535 __strtoul_internal rather than strtoul.
34537 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34539 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
34542 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34544 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
34545 which preserves existing values.
34546 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
34548 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34550 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
34551 TIMEOUT values. Return EINVAL for NFDS values either negative or
34552 greater than FD_SETSIZE.
34554 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34556 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
34557 allocated, call __vm_protect to finish enabling the existing space, and
34558 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
34559 allocate the remainder.
34561 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34563 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
34564 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
34566 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34568 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
34569 sysdeps/mach/hurd/readlink.c.
34571 * posix/tst-sysconf.c (posix_options): Only use
34572 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
34573 _POSIX_SYNCHRONIZED_IO when they are defined
34574 * sysdeps/mach/hurd/bits/posix_opt.h:
34575 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
34576 (_XOPEN_REALTIME): Undefine macro.
34577 (_XOPEN_REALTIME_THREADS): Undefine macro.
34578 (_XOPEN_SHM): Undefine macro.
34579 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
34581 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
34583 (_POSIX_ASYNC_IO): Undefine macro.
34584 (_POSIX_PRIORITIZED_IO): Undefine macro.
34585 (_POSIX_SPIN_LOCKS): Define macro to -1.
34587 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
34588 SA_NODEFER, SA_RESETHAND.
34589 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
34590 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
34593 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34595 * elf/Makefile (pldd-modules): Define unconditionally.
34597 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34599 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
34601 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34603 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
34604 Return ENOENT when name is empty.
34605 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
34607 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34609 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
34611 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
34613 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34615 Fix mlock in all cases except non-readable pages.
34616 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
34617 instead of VM_PROT_ALL as parameter to __vm_wire function.
34619 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
34620 (__mkdir): When path is `/', just fail with EEXIST.
34621 * sysdeps/mach/hurd/mkdirat.c: Likewise.
34623 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34625 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
34626 <sys/uio.h> (for writev).
34627 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
34628 and <sys/param.h> (for MIN).
34630 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34632 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
34633 REQUESTED_TIME. Properly set the remaining time and return EINTR
34636 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34638 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
34639 Depend on against $(link-rpcuserlibs).
34641 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34643 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
34644 (__libc_stack_end): Do not use attribute_relro.
34645 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
34646 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
34647 to libthread-provided value.
34648 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
34651 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34654 * bits/libc-lock.h (__libc_once_get): New macro.
34655 * sysdeps/mach/bits/libc-lock.h: Likewise.
34656 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
34657 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
34658 instead of using implementation details.
34660 * libio/fileops.c: Unconditionally include <kernel-features.h>.
34661 * libio/freopen.c: Likewise.
34662 * libio/freopen64.c: Likewise.
34663 * misc/syslog.c: Likewise.
34664 * nscd/connections.c: Likewise.
34665 * nscd/netgroupcache.c: Likewise.
34666 * sysdeps/posix/getcwd.c: Likewise.
34668 2012-05-10 Roland McGrath <roland@hack.frob.com>
34670 * math/w_ilogbf.c: Add #include <limits.h>.
34672 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34674 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
34675 path instead of returning without unlocking.
34677 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
34678 immediate-write ioctls.
34679 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
34681 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34683 * sysdeps/mach/hurd/i386/init-first.c (init): Use
34684 __builtin_frame_address instead of making assumptions about the
34685 location of the return address relative to DATA. Force early load of
34686 the return address.
34687 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
34688 __builtin_frame_address.
34691 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
34692 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
34693 implement dup3 and do some further code clean-ups.
34694 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
34695 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
34697 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34699 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
34701 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
34702 HURD_CRITICAL_END around holding _hurd_dtable_lock.
34703 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
34704 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
34705 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
34708 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
34709 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
34710 when handler == SIG_ERR, not when handler != SIG_ERR.
34712 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34714 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
34715 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
34718 accept4 for GNU Hurd.
34719 * include/sys/socket.h (__libc_accept4): New prototype.
34720 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
34721 to implement __libc_accept4.
34722 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
34724 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
34726 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
34727 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
34728 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
34729 signal-defines.sym.
34731 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34733 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
34735 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34737 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
34738 assertion on O_CLOEXEC flag.
34739 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
34740 * hurd/intern-fd.c: Likewise.
34741 * hurd/port2fd.c: Likewise.
34743 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34746 * bits/in.h (IPV6_PKTINFO): Define new macro.
34747 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
34749 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34754 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
34755 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34756 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
34757 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34758 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34759 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34760 * math/libm-test.inc (logb_test) : Additional logb tests.
34762 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
34763 Andreas Jaeger <aj@suse.de>
34765 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
34766 * configure: Regenerated.
34767 * config.h.in (LINK_OBSOLETE_RPC): New macro.
34768 * config.make.in (link-obsolete-rpc): New substituted variable.
34769 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
34770 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
34771 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
34772 (shared-only-routines): Don't set it under [link-obsolete-rpc],
34773 so that libc.a contains the symbols.
34774 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
34775 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
34776 * sunrpc/auth_none.c: Likewise.
34777 * sunrpc/auth_unix.c: Likewise.
34778 * sunrpc/authdes_prot.c: Likewise.
34779 * sunrpc/authuxprot.c: Likewise.
34780 * sunrpc/clnt_gen.c: Likewise.
34781 * sunrpc/clnt_perr.c: Likewise.
34782 * sunrpc/clnt_raw.c: Likewise.
34783 * sunrpc/clnt_simp.c: Likewise.
34784 * sunrpc/clnt_tcp.c: Likewise.
34785 * sunrpc/clnt_udp.c: Likewise.
34786 * sunrpc/clnt_unix.c: Likewise.
34787 * sunrpc/des_crypt.c: Likewise.
34788 * sunrpc/des_soft.c: Likewise.
34789 * sunrpc/get_myaddr.c: Likewise.
34790 * sunrpc/key_call.c: Likewise.
34791 * sunrpc/key_prot.c: Likewise.
34792 * sunrpc/netname.c: Likewise.
34793 * sunrpc/pm_getmaps.c: Likewise.
34794 * sunrpc/pm_getport.c: Likewise.
34795 * sunrpc/pmap_clnt.c: Likewise.
34796 * sunrpc/pmap_prot.c: Likewise.
34797 * sunrpc/pmap_prot2.c: Likewise.
34798 * sunrpc/pmap_rmt.c: Likewise.
34799 * sunrpc/publickey.c: Likewise.
34800 * sunrpc/rpc_cmsg.c: Likewise.
34801 * sunrpc/rpc_common.c: Likewise.
34802 * sunrpc/rpc_dtable.c: Likewise.
34803 * sunrpc/rpc_prot.c: Likewise.
34804 * sunrpc/rpc_thread.c: Likewise.
34805 * sunrpc/rtime.c: Likewise.
34806 * sunrpc/svc.c: Likewise.
34807 * sunrpc/svc_auth.c: Likewise.
34808 * sunrpc/svc_raw.c: Likewise.
34809 * sunrpc/svc_run.c: Likewise.
34810 * sunrpc/svc_tcp.c: Likewise.
34811 * sunrpc/svc_udp.c: Likewise.
34812 * sunrpc/svc_unix.c: Likewise.
34813 * sunrpc/svcauth_des.c: Likewise.
34814 * sunrpc/xcrypt.c: Likewise.
34815 * sunrpc/xdr.c: Likewise.
34816 * sunrpc/xdr_array.c: Likewise.
34817 * sunrpc/xdr_float.c: Likewise.
34818 * sunrpc/xdr_intXX_t.c: Likewise.
34819 * sunrpc/xdr_mem.c: Likewise.
34820 * sunrpc/xdr_rec.c: Likewise.
34821 * sunrpc/xdr_ref.c: Likewise.
34822 * sunrpc/xdr_sizeof.c: Likewise.
34823 * sunrpc/xdr_stdio.c: Likewise.
34825 2012-05-10 Roland McGrath <roland@hack.frob.com>
34827 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
34828 change. Update copyright years.
34830 2012-05-10 Joseph Myers <joseph@codesourcery.com>
34832 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
34834 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
34835 Joseph Myers <joseph@codesourcery.com>
34836 Paul Pluzhnikov <ppluzhnikov@google.com>
34839 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
34841 [cross-compiling] (extra-libs): Likewise.
34842 [cross-compiling] (extra-libs-others): Likewise.
34843 [cross-compiling] (librpcsvc-routines): Likewise.
34844 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
34845 [cross-compiling] (omit-deps): Likewise.
34846 (sunrpc-CPPFLAGS): New variable.
34847 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
34848 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
34849 (cross-rpcgen-objs): New variable.
34850 (extra-objs): Append $(cross-rpcgen-objs).
34851 ($(cross-rpcgen-objs)): New rule.
34852 ($(objpfx)cross-rpcgen): Likewise.
34853 (rpcgen-cmd): Define to use $(built-program-file). Expand
34855 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
34856 ($(objpfx)x%.stmp): Likewise.
34857 * sunrpc/proto.h [IS_IN_build] (_): Define.
34858 [IS_IN_build] (_libc_intl_domainname): Likewise.
34860 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34862 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
34863 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
34864 and R_X86_64_TPOFF64.
34866 2012-05-10 Joseph Myers <joseph@codesourcery.com>
34868 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
34869 sysdeps/unix/sysv/syscalls.list.
34872 * sysdeps/unix/sysv/syscalls.list: Remove file.
34874 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
34877 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
34878 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
34879 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
34880 (__LC_IDENTIFICATION): Make these macros useful in #if
34881 expressions, as required by C99.
34883 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
34885 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
34886 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
34889 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
34891 * stdlib/longlong.h: Updated from GCC.
34893 2012-05-09 Andreas Jaeger <aj@suse.de>
34895 * nscd/nscd.c (run_modes): Make named enum, reorder so that
34896 default is first entry.
34897 (run_mode): Set type.
34898 (main): Remove informal message about syslog.
34899 (options): Fix typo.
34902 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
34905 (llrintf): Likewise.
34906 (llrint): Likewise.
34909 (nearbyint): Likewise.
34910 (nearbyintf): Likewise.
34912 2012-05-09 Andreas Jaeger <aj@suse.de>
34913 Pedro Alves <palves@redhat.com>
34915 * nscd/nscd.c (run_mode): Use enum.
34916 (main): Cleanup coding style issue.
34918 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
34919 Andreas Jaeger <aj@suse.de>
34921 * nscd/nscd.c (go_background): Replaced with...
34922 (run_mode): ... this.
34923 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
34924 (options): Add -F --foreground.
34925 (main): Implement it.
34926 (parse_opt): Parse it.
34928 2012-05-09 Andreas Jaeger <aj@suse.de>
34931 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
34932 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
34933 -Wconversion warning.
34934 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
34937 2012-05-09 Joseph Myers <joseph@codesourcery.com>
34939 * conform/data/locale.h-data (NULL): Use macro-constant. Require
34941 (LC_ALL): Use macro-int-constant.
34942 (LC_COLLATE): Likewise.
34943 (LC_CTYPE): Likewise.
34944 (LC_MESSAGES): Likewise.
34945 (LC_MONETARY): Likewise.
34946 (LC_NUMERIC): Likewise.
34947 (LC_TIME): Likewise.
34948 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
34949 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
34950 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34951 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
34953 [C99-based standards] (float_t): Expect type.
34954 [C99-based standards] (double_t): Expect type.
34955 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
34957 [C99-based standards] (HUGE_VALL): Likewise.
34958 [C99-based standards] (INFINITY): Likewise.
34959 [C99-based standards] (NAN): Likewise.
34960 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
34961 [C99-based standards] (FP_NAN): Likewise.
34962 [C99-based standards] (FP_NORMAL): Likewise.
34963 [C99-based standards] (FP_SUBNORMAL): Likewise.
34964 [C99-based standards] (FP_ZERO): Likewise.
34965 [C99-based standards] (FP_FAST_FMA): Use
34966 optional-macro-int-constant. Specify type. Require == 1.
34967 [C99-based standards] (FP_FAST_FMAF): Likewise.
34968 [C99-based standards] (FP_FAST_FMAL): Likewise.
34969 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
34970 [C99-based standards] (FP_ILOGBNAN): Likewise.
34971 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
34973 [C99-based standards] (MATH_ERREXCEPT): Likewise.
34974 [C99-based standards] (math_errhandling): Specify type.
34975 [ISO99 || ISO11] (signgam): Do not allow.
34976 [non-C99-based standards] (copysignf): Do not allow.
34977 [non-C99-based standards] (exp2f): Likewise.
34978 [non-C99-based standards] (log2f): Likewise.
34979 [non-C99-based standards] (modff): Allow.
34980 [non-C99-based standards] (erff): Do not allow.
34981 [non-C99-based standards] (erfcf): Likewise.
34982 [non-C99-based standards] (gammaf): Likewise.
34983 [non-C99-based standards] (hypotf): Likewise.
34984 [non-C99-based standards] (j0f): Likewise.
34985 [non-C99-based standards] (j1f): Likewise.
34986 [non-C99-based standards] (jnf): Likewise.
34987 [non-C99-based standards] (lgammaf): Likewise.
34988 [non-C99-based standards] (tgammaf): Likewise.
34989 [non-C99-based standards] (y0f): Likewise.
34990 [non-C99-based standards] (y1f): Likewise.
34991 [non-C99-based standards] (ynf): Likewise.
34992 [non-C99-based standards] (isnanf): Likewise.
34993 [non-C99-based standards] (acoshf): Likewise.
34994 [non-C99-based standards] (asinhf): Likewise.
34995 [non-C99-based standards] (atanhf): Likewise.
34996 [non-C99-based standards] (cbrtf): Likewise.
34997 [non-C99-based standards] (expm1f): Likewise.
34998 [non-C99-based standards] (ilogbf): Likewise.
34999 [non-C99-based standards] (log1pf): Likewise.
35000 [non-C99-based standards] (logbf): Likewise.
35001 [non-C99-based standards] (nextafterf): Likewise.
35002 [non-C99-based standards] (remainderf): Likewise.
35003 [non-C99-based standards] (rintf): Likewise.
35004 [non-C99-based standards] (scalbf): Likewise.
35005 [non-C99-based standards] (copysignl): Likewise.
35006 [non-C99-based standards] (exp2l): Likewise.
35007 [non-C99-based standards] (log2l): Likewise.
35008 [non-C99-based standards] (modfl): Allow.
35009 [non-C99-based standards] (erfl): Do not allow.
35010 [non-C99-based standards] (erfcl): Likewise.
35011 [non-C99-based standards] (gammal): Likewise.
35012 [non-C99-based standards] (hypotl): Likewise.
35013 [non-C99-based standards] (j0l): Likewise.
35014 [non-C99-based standards] (j1l): Likewise.
35015 [non-C99-based standards] (jnl): Likewise.
35016 [non-C99-based standards] (lgammal): Likewise.
35017 [non-C99-based standards] (tgammal): Likewise.
35018 [non-C99-based standards] (y0l): Likewise.
35019 [non-C99-based standards] (y1l): Likewise.
35020 [non-C99-based standards] (ynl): Likewise.
35021 [non-C99-based standards] (isnanl): Likewise.
35022 [non-C99-based standards] (acoshl): Likewise.
35023 [non-C99-based standards] (asinhl): Likewise.
35024 [non-C99-based standards] (atanhl): Likewise.
35025 [non-C99-based standards] (cbrtl): Likewise.
35026 [non-C99-based standards] (expm1l): Likewise.
35027 [non-C99-based standards] (ilogbl): Likewise.
35028 [non-C99-based standards] (log1pl): Likewise.
35029 [non-C99-based standards] (logbl): Likewise.
35030 [non-C99-based standards] (nextafterl): Likewise.
35031 [non-C99-based standards] (remainderl): Likewise.
35032 [non-C99-based standards] (rintl): Likewise.
35033 [non-C99-based standards] (scalbl): Likewise.
35034 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35035 [non-C99-based standards] (FP_*): Do not allow.
35036 [C99-based standards] (FP_*): Change to
35037 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35038 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35040 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
35041 (SIG_ERR): Likewise.
35042 [X/Open-based standards] (SIG_HOLD): Likewise.
35043 (SIG_IGN): Likewise.
35044 (SIGABRT): Use macro-int-constant. Specify type. Require
35046 (SIGFPE): Likewise.
35047 (SIGILL): Likewise.
35048 (SIGINT): Likewise.
35049 (SIGSEGV): Likewise.
35050 (SIGTER): Likewise.
35051 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
35052 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
35053 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
35054 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
35055 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
35056 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
35057 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
35058 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
35059 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
35060 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
35061 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
35062 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
35063 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
35064 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
35065 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
35066 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
35067 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
35068 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
35069 [X/Open-based standards] (SIGTRAP): Likewise.
35070 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
35071 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
35072 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
35073 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
35074 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35077 2012-05-08 Ian Wienand <ianw@vmware.com>
35080 * time/tzset.c (__tzset_parse_tz): Update default rules for
35081 daylight time changes in the Energy Policy Act of 2005.
35083 2012-05-09 Andreas Jaeger <aj@suse.de>
35086 * elf/ldconfig.c (parse_conf): Change string to make clear that
35087 ldconfig only issued a warning if ld.so.conf does not exist.
35089 2012-05-08 David S. Miller <davem@davemloft.net>
35091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
35092 movxtod instead of popping the value on the stack.
35094 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35096 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
35098 * config.h.in: Add HAVE_ARM_PCS_VFP.
35100 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
35103 * include/features.h: Warn if user requests __FORTIFY_SOURCE
35104 checking but the checks are disabled for any reason.
35106 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
35108 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
35109 and ELF64_R_TYPE with ELFW(R_TYPE).
35111 2012-05-08 Joseph Myers <joseph@codesourcery.com>
35113 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
35114 (ulimit): Likewise.
35116 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
35117 (settimeofday): Likewise.
35119 2012-05-08 Mike Frysinger <vapier@gentoo.org>
35121 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
35122 a struct th_u2 inside the union, and move tu_block/tu_code into
35123 a new th_u3 union of tu_block/tu_code inside of that. Move
35124 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
35125 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
35126 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
35127 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
35128 (th_stuff): Change to th_u1.tu_stuff.
35130 (th_msg): Change to th_u1.th_u2.tu_data.
35132 2012-05-07 David S. Miller <davem@davemloft.net>
35134 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35137 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
35138 (SETUP_PIC_REG): Use it.
35139 (SETUP_PIC_REG_LEAF): Use it.
35141 2012-05-07 Joseph Myers <joseph@codesourcery.com>
35145 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35147 (EXPL_FINITE): Likewise.
35148 (FLDLOG): Likewise.
35149 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35150 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35152 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35154 (EXPL_FINITE): Likewise.
35155 (FLDLOG): Likewise.
35156 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35157 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35159 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
35160 test of -max_value argument for long double.
35161 * sysdeps/i386/fpu/libm-test-ulps: Update.
35162 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35164 2012-05-06 David S. Miller <davem@davemloft.net>
35166 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
35167 quad soft-float symbols whose references which are compiler
35169 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
35171 2012-05-06 Joseph Myers <joseph@codesourcery.com>
35175 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35177 (EXPL_FINITE): Likewise.
35178 (FLDLOG): Likewise.
35181 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
35182 Adjust comments for base varying.
35183 (__expl_finite): Change alias to EXPL_FINITE.
35184 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
35186 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
35187 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
35188 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
35189 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
35190 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35192 (EXPL_FINITE): Likewise.
35193 (FLDLOG): Likewise.
35196 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
35197 Adjust comments for base varying.
35198 (__expl_finite): Change alias to EXPL_FINITE.
35199 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
35201 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35204 * math/libm-test.inc (check_float_internal): Correct ulp
35205 calculation for subnormal expected results.
35207 2012-05-06 Andreas Jaeger <aj@suse.de>
35209 * Makeconfig (+math-flags): New, set to -frounding-math.
35210 (+cflags): Add +math-flags so that all of glibc gets compiled with
35213 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
35215 2012-05-05 Joseph Myers <joseph@codesourcery.com>
35217 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
35223 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
35224 (__ieee754_expl): Allow for and saturate large arguments.
35225 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
35226 (u_threshold): Likewise.
35227 (__exp): Call __ieee754_exp before checking for overflow and
35229 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
35230 (u_threshold): Likewise.
35231 (__expf): Call __ieee754_expf before checking for overflow and
35233 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
35234 (u_threshold): Likewise.
35235 (__expl): Call __ieee754_expl before checking for overflow and
35237 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
35238 (__ieee754_expl): Allow for and saturate large arguments.
35239 * math/libm-test.inc (exp_test): Add another test. Do not allow
35240 missing overflow exception on overflow.
35241 (expm1_test): Do not allow missing overflow exception on overflow.
35243 * sysdeps/i386/fpu/e_expl.c: Move to ...
35244 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
35245 rather than using inline asm.
35246 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
35247 * sysdeps/x86_64/fpu/e_expl.S: Copy from
35248 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
35250 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
35253 (signal): Likewise.
35257 2012-05-04 Joseph Myers <joseph@codesourcery.com>
35259 * sysdeps/unix/syscalls.list (adjtime): Add entry from
35260 sysdeps/unix/common/syscalls.list.
35261 (fchmod): Likewise.
35262 (fchown): Likewise.
35263 (ftruncate): Likewise.
35264 (getrusage): Likewise.
35265 (gettimeofday): Likewise.
35266 (setpgid): Likewise.
35267 (setregid): Likewise.
35268 (setreuid): Likewise.
35269 (sigaction): Likewise.
35270 (truncate): Likewise.
35271 (vhangup): Likewise.
35272 * sysdeps/unix/common/syscalls.list: Remove file.
35273 * sysdeps/unix/bsd/Implies: Don't include unix/common.
35274 * sysdeps/unix/sysv/linux/Implies: Likewise.
35276 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
35278 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
35279 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
35280 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
35282 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
35284 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
35286 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
35287 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
35289 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
35290 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
35292 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
35293 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
35295 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
35296 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
35298 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
35299 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
35301 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
35302 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
35304 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
35306 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
35308 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
35310 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
35312 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
35313 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
35315 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
35317 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
35319 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
35321 2012-05-04 Joseph Myers <joseph@codesourcery.com>
35323 * sysdeps/unix/common/bits/dirent.h: Remove file.
35324 * sysdeps/unix/common/bits/fcntl.h: Likewise.
35326 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
35327 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
35328 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
35329 * sysdeps/unix/bsd/isatty.c: Likewise.
35330 * sysdeps/unix/bsd/tcdrain.c: Likewise.
35331 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
35332 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
35334 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35337 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
35338 long double comparison inaccuracies.
35339 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
35340 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35342 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
35344 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
35345 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
35347 2012-05-04 Joseph Myers <joseph@codesourcery.com>
35350 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
35351 nonzero digits before rounding a hex value.
35352 * stdlib/tst-strtod.c (tests): Add another test.
35354 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35356 * sysdeps/s390/fpu/libm-test-ulps: Update.
35358 2012-05-03 Andreas Jaeger <aj@suse.de>
35360 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
35361 does not get optimized out.
35362 (malloc_opt_barrier): New.
35364 2012-05-03 Andreas Jaeger <aj@suse.de>
35365 Roland McGrath <roland@hack.frob.com>
35367 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
35368 intermediate file deletion.
35369 (generated): Add .symlist files.
35371 2012-05-03 Joseph Myers <joseph@codesourcery.com>
35374 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
35375 Redirect under this condition.
35376 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35377 [__USE_GNU] (__dprintf_chk): Not under this condition.
35378 [__USE_GNU] (__vdprintf_chk): Likewise.
35379 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
35380 under this condition.
35381 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35382 [__USE_XOPEN2K8] (dprintf): Define under this condition.
35383 [__USE_XOPEN2K8] (vdprintf): Likewise.
35384 [__USE_GNU] (__dprintf_chk): Not under this condition.
35385 [__USE_GNU] (__vdprintf_chk): Likewise.
35386 [__USE_GNU] (dprintf): Likewise.
35387 [__USE_GNU] (vdprintf): Likewise.
35389 2012-05-03 Roland McGrath <roland@hack.frob.com>
35391 * elf/Makefile (common-generated): Set this instead of generated for
35392 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
35393 $(all-built-dso)-derived lists.
35395 2012-05-03 Andreas Jaeger <aj@suse.de>
35397 * sysdeps/i386/fpu/libm-test-ulps: Update.
35400 * FAQ.in: Likewise.
35401 * scripts/gen-FAQ.pl: Likewise.
35402 * manual/install.texi (Installation): Point to online location of
35404 * Makefile (files-for-dist): Remove FAQ.
35407 2012-05-02 Allan McRae <allan@archlinux.org>
35409 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
35410 (LDFLAGS-reldepmod5.so): Likewise.
35411 (LDFLAGS-reldep6mod1.so): Likewise.
35412 (LDFLAGS-reldep6mod4.so): Likewise.
35413 (LDFLAGS-reldep8mod3.so): Likewise.
35414 (LDFLAGS-unload4mod1.so): Likewise.
35415 (LDFLAGS-unload4mod2.so): Likewise.
35416 (LDFLAGS-tst-initorder): Likewise.
35417 (LDFLAGS-tst-initordera2.so): Likewise.
35418 (LDFLAGS-tst-initordera3.so): Likewise.
35419 (LDFLAGS-tst-initordera4.so): Likewise.
35420 (LDFLAGS-tst-initorderb2.so): Likewise.
35421 (LDFLAGS-noload): Likewise.
35422 (LDFLAGS-next): Likewise.
35423 (LDFLAGS-order2mod1.so): Likewise.
35424 (LDFLAGS-order2mod2.so): Likewise.
35425 (LDFLAGS-tst-initorder2): Likewise.
35426 (LDFLAGS-tst-initorder2a.so): Likewise.
35427 (LDFLAGS-tst-initorder2b.so): Likewise.
35428 (LDFLAGS-tst-initorder2c.so): Likewise.
35429 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
35431 2012-05-02 David S. Miller <davem@davemloft.net>
35433 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35435 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
35438 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
35440 2012-05-02 Andreas Jaeger <aj@suse.de>
35442 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
35443 since we manipulate rounding mode.
35444 (CPPFLAGS-test-idouble.c): Likewise.
35445 (CPPFLAGS-test-ifloat.c): Likewise.
35446 (CFLAGS-test-ldouble.c): Likewise.
35447 (CFLAGS-test-double.c): Likewise.
35448 (CFLAGS-test-float.c): Likewise.
35449 (CFLAGS-test-misc.c): Likewise.
35450 (CFLAGS-test-test-fenv.c): Likewise.
35452 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35456 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
35457 comparisons to determine direction to adjust input.
35459 2012-05-01 Roland McGrath <roland@hack.frob.com>
35461 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
35462 output to the target.
35464 * scripts/localplt.awk: New file.
35465 * elf/Makefile ($(objpfx)check-localplt): Target removed.
35466 (check-localplt-CFLAGS): Variable removed.
35467 ($(all-built-dso:=.jmprel)): New static pattern rule.
35468 (generated): Add those targets.
35469 (localplt-built-dso): New variable.
35470 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
35472 * elf/check-localplt.c: File removed.
35474 * scripts/check-execstack.awk: New file.
35475 * elf/Makefile ($(objpfx)check-execstack): Target removed.
35476 (check-execstack-CFLAGS): Variable removed.
35477 ($(objpfx)check-execstack.h): Target removed.
35478 ($(objpfx)execstack-default): New target.
35479 (generated): Add that instead of check-execstack.h.
35480 ($(all-built-dso:=.phdr)): New static pattern rule.
35481 (generated): Add those targets.
35482 * elf/check-execstack.c: File removed.
35484 * scripts/check-textrel.awk: New file.
35485 * elf/Makefile ($(objpfx)check-textrel): Target removed.
35486 (check-textrel-CFLAGS): Variable removed.
35487 (all-built-dso): Use := to define.o
35488 ($(all-built-dso:=.dyn)): New static pattern rule.
35489 (generated): Add those targets.
35490 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
35491 * config.make.in (READELF): New substituted variable.
35492 * elf/check-textrel.c: File removed.
35494 2012-05-01 Joseph Myers <joseph@codesourcery.com>
35496 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35498 * conform/data/ctype.h-data [C99-based standards] (isblank):
35500 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
35501 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
35502 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35503 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
35504 Specify type. Require positive value.
35505 (EILSEQ): Likewise.
35506 (ERANGE): Likewise.
35507 [ISO || POSIX] (EILSEQ): Do not expect.
35508 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
35509 Specify type. Require positive value.
35510 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
35511 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
35512 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
35513 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
35514 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
35515 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
35516 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
35517 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
35518 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
35519 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
35520 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
35521 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
35522 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
35523 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
35524 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
35525 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
35526 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
35527 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
35528 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
35529 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
35530 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
35531 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
35532 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
35533 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
35534 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
35535 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
35536 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
35537 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
35538 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
35539 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
35540 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
35541 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
35542 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
35543 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
35544 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
35545 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
35546 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
35547 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
35548 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
35549 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
35550 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
35551 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
35552 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
35553 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
35554 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
35555 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
35556 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
35557 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
35558 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
35559 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
35560 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
35561 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
35562 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
35563 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
35564 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
35565 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
35566 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
35567 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
35568 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
35569 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
35570 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
35571 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
35572 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
35573 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
35574 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
35575 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
35576 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
35577 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
35578 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
35579 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
35580 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
35581 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
35582 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
35583 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
35584 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
35585 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
35586 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
35588 (FLT_ROUNDS): Expect as macro, not constant.
35589 (FLT_MANT_DIG): Use macro-int-constant.
35590 (DBL_MANT_DIG): Likewise.
35591 (LDBL_MANT_DIG): Likewise.
35592 (FLT_DIG): Likewise.
35593 (DBL_DIG): Likewise.
35594 (LDBL_DIG): Likewise.
35595 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
35596 (DBL_MIN_EXP): Likewise.
35597 (LDBL_MIN_EXP): Likewise.
35598 (FLT_MAX_EXP): Use macro-int-constant.
35599 (DBL_MAX_EXP): Likewise.
35600 (LDBL_MAX_EXP): Likewise.
35601 (FLT_MAX_10_EXP): Likewise.
35602 (DBL_MAX_10_EXP): Likewise.
35603 (LDBL_MAX_10_EXP): Likewise.
35604 (FLT_MAX): Use macro-constant.
35605 (DBL_MAX): Likewise.
35606 (LDBL_MAX): Likewise.
35607 (FLT_EPSILON): Use macro-constant. Give upper bound.
35608 (DBL_EPSILON): Likewise.
35609 (LDBL_EPSILON): Likewise.
35610 (FLT_MIN): Likewise.
35611 (DBL_MIN): Likewise.
35612 (LDBL_MIN): Likewise.
35613 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
35614 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
35615 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
35616 [ISO11] (FLT_HAS_SUBNORM): Likewise.
35617 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
35618 [ISO11] (DBL_DECIMAL_DIG): Likewise.
35619 [ISO11] (FLT_DECIMAL_DIG): Likewise.
35620 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
35621 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
35622 [ISO11] (FLT_TRUE_MIN): Likewise.
35623 [ISO11] (LDBL_TRUE_MIN): Likewise.
35624 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35625 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
35626 (SCHAR_MIN): Use macro-int-constant. Specify type.
35627 (SCHAR_MAX): Likewise.
35628 (UCHAR_MAX): Likewise.
35629 (CHAR_MIN): Likewise.
35630 (CHAR_MAX): Likewise.
35631 (MB_LEN_MAX): Use macro-int-constant.
35632 (SHRT_MIN): Use macro-int-constant. Specify type.
35633 (SHRT_MAX): Likewise.
35634 (USHRT_MAX): Likewise.
35635 (INT_MAX): Likewise.
35636 (INT_MIN): Use macro-int-constant. Specify type. Make upper
35638 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
35640 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
35642 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
35643 bound negative. Suffix upper bound with "L".
35644 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
35646 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
35648 [C99-based standards] (LLONG_MAX): Likewise.
35649 [C99-based standards] (ULLONG_MAX): Likewise.
35650 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
35652 [ISO11] (max_align_t): Require type.
35653 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35655 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
35656 from $CFLAGS, without defining away __attribute__ calls.
35657 (checknamespace): Use $CFLAGS_namespace.
35659 * conform/conformtest.pl (@keywords): Only include C99 keywords
35660 for standards based on C99 or C11.
35662 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
35664 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
35667 * conform/conformtest.pl: Handle "macro-int-constant" and test for
35668 usability of symbols in #if.
35670 * conform/conformtest.pl: If macro or constant types start
35671 "promoted:", expect the symbol to be of the following type
35672 promoted by the integer promotions.
35674 * conform/conformtest.pl: Parse all "constant" and "macro" lines
35675 in one place. Also handle "macro-constant".
35677 * conform/conformtest.pl: Only accept expected macro values with
35678 "==". Parse all "macro" lines in one place.
35679 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
35681 * conform/conformtest.pl: Handle braced types on "constant" lines
35682 instead of handling "typed-constant".
35683 * conform/data/signal.h-data: Use "constant" instead of
35686 * conform/conformtest.pl: Handle "optional-" at start of lines in
35687 one place rather than duplicating several cases. Handle each
35688 format of "macro" line with initial "optional-".
35690 * conform/conformtest.pl: Only accept expected constant or
35691 optional-constant values with "==". Parse all "constant" lines in
35692 one place. Parse all "optional-constant" lines in one place.
35693 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
35694 * conform/data/fmtmsg.h-data: Likewise.
35695 * conform/data/netinet/in.h-data: Likewise.
35696 * conform/data/tar.h-data: Likewise.
35697 * conform/data/limits.h-data: Use "==" form on "constant" and
35698 "optional-constant" lines.
35700 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
35701 Use -std=c99 for XOPEN2K.
35702 (@knownproblems): Remove.
35703 (newtoken): Don't check %isknown.
35705 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
35706 Do not expect macro.
35707 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
35708 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
35709 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
35710 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
35711 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
35712 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
35713 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
35714 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
35715 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
35716 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
35717 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
35718 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
35719 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
35720 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
35721 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
35722 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
35723 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
35724 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
35725 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
35726 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
35727 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
35728 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
35729 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
35730 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
35731 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
35732 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
35733 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
35734 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
35735 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
35736 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
35737 [XPG3] (acosh): Likewise.
35738 [XPG3] (asinh): Likewise.
35739 [XPG3] (atanh): Likewise.
35740 [XPG3] (cbrt): Likewise.
35741 [XPG3] (expm1): Likewise.
35742 [XPG3] (ilogb): Likewise.
35743 [XPG3] (log1p): Likewise.
35744 [XPG3] (logb): Likewise.
35745 [XPG3] (nextafter): Likewise.
35746 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
35747 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
35748 [XPG3] (remainder): Likewise.
35749 [XPG3] (rint): Likewise.
35750 [XPG3 || XPG4 || UNIX98] (round): Likewise.
35751 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
35752 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
35753 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
35754 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
35755 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
35756 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
35757 [UNIX98 || XOPEN2K] (scalb): Expect.
35758 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
35759 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
35760 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
35761 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
35762 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
35763 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
35764 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
35765 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
35766 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
35767 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
35768 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
35769 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
35770 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
35771 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
35772 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
35773 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
35774 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
35775 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
35776 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
35777 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
35778 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
35779 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
35780 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
35781 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
35782 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
35783 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
35784 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
35785 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
35786 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
35787 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
35788 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
35789 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
35790 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
35791 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
35792 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
35793 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
35794 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
35795 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
35796 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
35797 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
35798 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
35799 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
35800 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
35801 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
35802 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
35803 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
35804 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
35805 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
35806 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
35807 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
35808 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
35809 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
35810 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
35811 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
35812 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
35813 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
35814 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
35815 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
35816 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
35817 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
35818 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
35819 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
35820 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
35821 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
35822 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
35823 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
35824 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
35825 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
35826 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
35827 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
35828 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
35829 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
35830 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
35831 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
35832 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
35833 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
35834 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
35835 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
35836 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
35837 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
35838 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
35839 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
35840 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
35841 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
35842 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
35843 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
35844 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
35845 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
35846 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
35847 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
35848 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
35849 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
35850 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
35851 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
35852 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
35853 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
35854 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
35855 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
35856 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
35857 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
35858 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
35859 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
35860 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
35861 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
35862 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
35863 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
35864 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
35865 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
35866 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
35867 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
35868 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
35869 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
35870 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
35871 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
35872 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
35873 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
35874 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
35875 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
35876 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
35877 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
35878 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
35879 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
35880 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
35881 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
35882 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
35883 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
35884 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
35885 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
35886 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
35887 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
35888 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
35889 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
35890 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
35891 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
35892 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
35893 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
35894 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
35896 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
35897 _XOPEN_SOURCE_EXTENDED for XPG4.
35899 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
35901 * Makeconfig (localtime): Remove variable.
35902 (inst_localtime-file): Likewise.
35904 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
35906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
35908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
35912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
35914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
35916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
35918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
35922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
35925 2012-05-01 Joseph Myers <joseph@codesourcery.com>
35929 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
35930 comparisons to determine direction to adjust input.
35931 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
35932 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
35933 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
35935 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
35937 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
35939 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
35940 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
35942 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
35944 * math/libm-test.inc (nexttoward_test): Add more tests.
35946 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
35949 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
35950 in version GLIBC_2.1, not GLIBC_2.0.
35951 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
35954 2012-04-30 Joseph Myers <joseph@codesourcery.com>
35957 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
35959 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
35960 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
35961 * math/libm-test.inc (acos_test): Add more tests.
35962 (asin_test): Likewise.
35963 * sysdeps/i386/fpu/libm-test-ulps: Update.
35964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35967 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
35969 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
35970 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
35971 * math/libm-test.inc (acos_test_tonearest): New function.
35972 (acos_test_towardzero): Likewise.
35973 (acos_test_downward): Likewise.
35974 (acos_test_upward): Likewise.
35975 (asin_test_tonearest): Likewise.
35976 (asin_test_towardzero): Likewise.
35977 (asin_test_downward): Likewise.
35978 (asin_test_upward): Likewise.
35979 (main): Call the new functions.
35980 * sysdeps/i386/fpu/libm-test-ulps: Update.
35981 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35985 * math/e_exp10.c: Include <float.h>.
35986 (__ieee754_exp10): Handle underflow here rather than multiplying
35987 large negative argument by M_LN10.
35988 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
35990 * math/e_exp10l.c: Include <float.h>.
35991 (__ieee754_exp10l): Handle underflow here rather than multiplying
35992 large negative argument by M_LN10l.
35993 * math/libm-test.inc (exp10_test): Add another test. Do not allow
35994 spurious overflow exception on underflow.
35996 2012-04-29 Marek Polacek <polacek@redhat.com>
35998 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
35999 (__fortify_function): New macro.
36000 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
36001 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
36002 __extern_always_inline.
36003 * libio/bits/stdio2.h: Likewise.
36004 * libio/bits/stdio.h: Likewise.
36005 * string/string.h: Likewise.
36006 * string/bits/string3.h: Likewise.
36007 * include/stdio.h: Likewise.
36008 * stdlib/bits/stdlib.h: Likewise.
36009 * stdlib/stdlib.h: Likewise.
36010 * rt/bits/mqueue2.h: Likewise.
36011 * rt/mqueue.h: Likewise.
36012 * posix/bits/unistd.h: Likewise.
36013 * posix/unistd.h: Likewise.
36014 * io/bits/poll2.h: Likewise.
36015 * io/bits/fcntl2.h: Likewise.
36016 * io/fcntl.h: Likewise.
36017 * io/sys/poll.h: Likewise.
36018 * misc/bits/syslog.h: Likewise.
36019 * misc/bits/syslog-ldbl.h: Likewise.
36020 * misc/sys/syslog.h: Likewise.
36021 * socket/bits/socket2.h: Likewise.
36022 * socket/sys/socket.h: Likewise.
36023 * debug/tst-chk1.c: Likewise.
36024 * wcsmbs/bits/wchar2.h: Likewise.
36025 * wcsmbs/bits/wchar-ldbl.h: Likewise.
36026 * wcsmbs/wchar.h: Likewise.
36028 2012-04-29 Andreas Jaeger <aj@suse.de>
36030 * Makerules (tests): Remove enable-check-abi protection.
36031 (check-abi-warn): Remove.
36032 (check-abi-%): Remove check-abi-warn usage.
36034 * configure.in: Remove check-abi configure option.
36035 * configure: Regenerated.
36036 * config.make.in (enable-check-abi): Remove.
36038 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
36041 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
36042 double functions to double *_finite functions.
36045 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
36046 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
36048 * stdio-common/Makefile (tests): Add tst-sprintf3.
36049 * stdio-common/tst-sprintf3.c: New file.
36051 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
36052 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
36054 2012-04-28 Joseph Myers <joseph@codesourcery.com>
36056 * conform/conformtest.pl: Remove duplicate typed-constant
36059 2012-04-28 David S. Miller <davem@davemloft.net>
36061 * Makerules (%.abilist): Add vpath on sysdep_dirs.
36062 (check-abi-%): Remove AWK script prerequisite and explicit
36064 (check-abi): Rewrite to just diff the symlist with the abilist.
36065 (config-tls, config-abi-config): Delete, no longer used.
36066 (update-abi-%): Remove AWK script and explicit abilist directory.
36067 (update-abi): Rewrite to simply compare and conditionally copy the
36068 symlist and the sysdep abilist file. Remove update-abi-config
36070 * abilist/ld.abilist: Remove.
36071 * abilist/libBrokenLocale.abilist: Remove.
36072 * abilist/libanl.abilist: Remove.
36073 * abilist/libcrypt.abilist: Remove.
36074 * abilist/libdl.abilist: Remove.
36075 * abilist/librt.abilist: Remove.
36076 * abilist/libthread_db.abilist: Remove.
36077 * abilist/libutil.abilist: Remove.
36078 * scripts/extract-abilist.awk: Remove.
36079 * scripts/merge-abilist.awk: Remove.
36080 * sysdeps/generic/libcidn.abilist: New file.
36081 * sysdeps/generic/libnss_compat.abilist: New file.
36082 * sysdeps/generic/libnss_db.abilist: New file.
36083 * sysdeps/generic/libnss_dns.abilist: New file.
36084 * sysdeps/generic/libnss_files.abilist: New file.
36085 * sysdeps/generic/libnss_hesiod.abilist: New file.
36086 * sysdeps/generic/libnss_nis.abilist: New file.
36087 * sysdeps/generic/libnss_nisplus.abilist: New file.
36088 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
36089 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
36090 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
36092 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
36093 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
36094 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
36095 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
36096 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
36097 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
36098 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
36099 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
36100 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
36102 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
36103 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
36104 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
36105 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
36107 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
36108 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
36109 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
36110 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
36111 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
36112 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
36114 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
36115 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
36116 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
36118 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
36119 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
36121 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
36123 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
36125 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
36127 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
36129 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
36131 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
36133 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
36135 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
36137 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
36139 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
36141 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
36143 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
36145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
36147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
36149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
36151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
36153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
36155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
36157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
36159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
36161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
36165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
36167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
36169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
36171 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
36172 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
36174 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
36176 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
36178 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
36180 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
36182 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
36184 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
36186 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36188 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
36190 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
36192 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
36194 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
36196 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
36197 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
36199 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
36201 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
36203 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
36205 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
36207 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
36209 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
36211 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36213 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
36215 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
36217 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
36219 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
36221 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
36222 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
36223 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
36225 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
36226 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
36227 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
36228 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
36229 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
36230 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
36231 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
36232 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
36233 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
36234 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
36235 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
36236 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
36238 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
36240 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
36242 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
36244 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
36246 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
36248 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
36250 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
36252 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
36254 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
36256 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
36258 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
36260 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
36261 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
36263 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
36265 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
36267 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
36269 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
36271 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
36273 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
36275 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
36277 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
36279 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
36281 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
36283 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
36286 2012-04-28 Joseph Myers <joseph@codesourcery.com>
36288 * conform/conformtest.pl: Fix typo in handling typed-constant from
36291 2012-04-27 Joseph Myers <joseph@codesourcery.com>
36293 * README: Cut down references to pre-2.6 Linux kernels and
36294 Linuxthreads. Update lists of configurations in libc and ports
36295 and sort alphabetically. Say "or newer" with Linux kernel version
36298 * config.h.in [IS_IN_build]: Allow compiling without optimization.
36300 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
36303 * math/libm-test.inc (logb_test_downward): New test to expose
36304 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
36307 2012-04-27 Joseph Myers <joseph@codesourcery.com>
36310 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
36312 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
36313 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
36315 2012-04-26 Joseph Myers <joseph@codesourcery.com>
36317 * sysdeps/unix/i386/brk.S: Remove file.
36318 * sysdeps/unix/i386/dl-brk.S: Likewise.
36319 * sysdeps/unix/i386/pipe.S: Likewise.
36320 * sysdeps/unix/i386/sigreturn.S: Likewise.
36321 * sysdeps/unix/i386/syscall.S: Likewise.
36322 * sysdeps/unix/i386/vfork.S: Likewise.
36323 * sysdeps/unix/i386/wait.S: Likewise.
36325 * sysdeps/unix/common/tcsendbrk.c: Move to ...
36326 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
36328 * configure.in (arm*-none*): Do not allow without
36329 --enable-hacker-mode.
36330 (netbsd*): Remove case setting base_os.
36331 (386bsd*): Likewise.
36332 (freebsd*): Likewise.
36335 (sunos*): Likewise.
36336 (ultrix*): Likewise.
36337 (newsos*): Likewise.
36338 (dynix*): Likewise.
36344 (minix*): Likewise.
36345 (irix4*): Likewise.
36346 (irix6*): Likewise.
36347 (solaris[2-9]*): Likewise.
36349 * configure: Regenerated.
36351 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36354 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
36355 overflow or cancellation in calculating denominator.
36356 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
36357 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
36358 down expression to avoid unexpected rounding in newer GCCs.
36359 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
36361 2012-04-26 David S. Miller <davem@davemloft.net>
36363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
36364 long-double compat symbols.
36365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
36366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
36367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
36368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
36369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
36370 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
36371 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
36372 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
36373 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
36374 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
36375 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
36376 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
36377 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
36379 2012-04-25 David S. Miller <davem@davemloft.net>
36381 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
36382 HWCAP_* values only after the memory barriers have been defined.
36383 (atomic_full_barrier): Define.
36384 (atomic_read_barrier): Define.
36385 (atomic_write_barrier): Define.
36387 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
36389 * shlib-versions: Add libgcc_s version information.
36390 * sysdeps/generic/libgcc_s.h: Remove.
36391 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
36393 * sysdeps/gnu/unwind-resume.c: Likewise.
36394 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
36396 2012-04-25 David S. Miller <davem@davemloft.net>
36398 * sysdeps/unix/sparc/brk.S: Delete.
36399 * sysdeps/unix/sparc/dl-brk.S: Delete.
36400 * sysdeps/unix/sparc/pipe.S: Delete.
36401 * sysdeps/unix/sparc/sysdep.S: Delete.
36402 * sysdeps/unix/sparc/sysdep.h: Delete.
36403 * sysdeps/unix/sparc/vfork.S: Delete.
36404 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
36405 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
36406 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
36407 (ret_ERRVAL, r0, r1, MOVE): Define.
36408 (JUMPTARGET): Remove.
36409 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
36410 sysdeps/unix/sparc/sysdep.h
36411 (ENTRY, END): Remove.
36412 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36414 2012-04-25 Joseph Myers <joseph@codesourcery.com>
36416 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
36417 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
36420 * timezone/README: Update upstream location and email address for
36422 * timezone/zdump.c: Update from tzcode 2012b.
36423 * timezone/zic.c: Likewise.
36425 * configure.in (libc_cv_as_needed): Remove test.
36426 * configure: Regenerated.
36427 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
36428 conditional definition.
36429 [$(have-as-needed) != yes] (no-as-needed): Likewise.
36430 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
36431 * config.make.in (have-as-needed): Remove variable.
36433 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
36434 Paul Pluzhnikov <ppluzhnikov@google.com>
36436 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
36439 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
36441 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
36442 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
36443 * sysdeps/sh/strlen.S: Likewise.
36445 2012-04-24 Joseph Myers <joseph@codesourcery.com>
36447 * sysdeps/unix/fork.S: Remove file.
36448 * sysdeps/unix/i386/fork.S: Likewise.
36449 * sysdeps/unix/sparc/fork.S: Likewise.
36451 * sysdeps/unix/system.c: Remove file.
36452 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
36454 * sysdeps/unix/getegid.S: Remove file.
36455 * sysdeps/unix/geteuid.S: Likewise.
36457 2012-04-24 Roland McGrath <roland@hack.frob.com>
36459 * scripts/check-localplt.awk: New file.
36460 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
36462 * scripts/data/localplt-generic.data: Add a comment.
36464 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
36465 NODE when __dir_mkfile failed.
36466 * sysdeps/mach/hurd/symlinkat.c: Likewise.
36467 Reported by Ludovic Courtès <ludo@gnu.org>.
36469 2012-04-24 Andreas Jaeger <aj@suse.de>
36471 * Makerules (common-clean): Also remove gen-as-const-headers
36474 2012-04-24 Joseph Myers <joseph@codesourcery.com>
36476 * Makerules (native-compile): Do not change working directory for
36477 build. Use $(OUTPUT_OPTION) in command.
36478 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
36480 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36483 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
36484 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
36485 * math/libm-test.inc (floor_test): Add more tests.
36486 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
36488 2012-04-24 Joseph Myers <joseph@codesourcery.com>
36490 * sysdeps/unix/getdents.c: Remove file.
36491 * sysdeps/unix/sysv/getdents.c: Likewise.
36492 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
36494 * sysdeps/unix/syscalls.list (madvise): Add syscall from
36495 sysdeps/unix/mman/syscalls.list.
36497 (mprotect): Likewise.
36499 (munmap): Likewise.
36500 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
36501 * sysdeps/unix/mman/syscalls.list: Remove.
36502 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
36504 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
36505 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
36506 * configure: Regenerated.
36507 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
36508 $(libgcc_s_suffix).
36509 * config.make.in (libgcc_s_suffix): Remove variable.
36511 2012-04-23 Joseph Myers <joseph@codesourcery.com>
36513 * sysdeps/unix/sysv/gethostname.c: Move to ...
36514 * sysdeps/posix/gethostname.c: ... here.
36516 * sysdeps/unix/execve.S: Remove file.
36518 * sysdeps/unix/_exit.S: Remove file.
36520 2012-04-23 Andreas Jaeger <aj@suse.de>
36523 * manual/Makefile: Remove make dist support, there's no
36524 need for a stand-alone documentation tar ball.
36525 (TEXI2DVI): Define always, it's not in Makeconfig.
36528 (edition): Removed.
36529 (glibc-doc-$(edition).tar): Removed
36533 (ETAGS): Remove, it's in Makeconfig.
36534 (move-if-change): Remove, it's in Makeconfig.
36536 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
36539 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
36540 (strtod, strtof, strtold, strtol, strtoul, strtoq)
36541 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
36542 (strtod_l, strtof_l, strtold_l): Remove __wur.
36543 It is not necessarily an error to ignore strtol's return value.
36544 One can reliably look at the stored endptr to decide whether
36545 the number had valid syntax.
36547 2012-04-21 Andreas Jaeger <aj@suse.de>
36550 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
36552 2012-04-21 Joseph Myers <joseph@codesourcery.com>
36554 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
36555 * sysdeps/unix/sysv/Versions: Remove file.
36557 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
36560 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36562 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
36565 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
36566 version from __vm86.
36568 2012-04-20 Joseph Myers <joseph@codesourcery.com>
36570 * sysdeps/unix/common/lxstat.c: Remove file.
36571 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
36573 * sysdeps/unix/sysv/Makefile: Remove file.
36575 * sysdeps/unix/sysv/direct.h: Remove file.
36577 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
36578 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
36579 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
36580 * sysdeps/unix/sysv/bits/signum.h: Likewise.
36581 * sysdeps/unix/sysv/bits/stat.h: Likewise.
36582 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
36583 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
36585 * sysdeps/unix/sysv/setrlimit.c: Remove file.
36587 * sysdeps/unix/xmknod.c: Remove file.
36588 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
36590 * sysdeps/unix/sysv/settimeofday.c: Remove file.
36592 * sysdeps/unix/sysv/i386/time.S: Remove file.
36594 * sysdeps/unix/fxstat.c: Remove file.
36595 * sysdeps/unix/xstat.c: Likewise.
36596 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
36598 * sysdeps/unix/sysv/sigaction.c: Remove file.
36600 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
36601 (sysdep_headers): Remove variable.
36602 [termio.h not in sysdep_headers] (generated): Likewise.
36603 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
36604 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
36605 * sysdeps/unix/sysv/tcdrain.c: Likewise.
36606 * sysdeps/unix/sysv/tcflow.c: Likewise.
36607 * sysdeps/unix/sysv/tcflush.c: Likewise.
36608 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
36609 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
36610 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
36611 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
36612 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
36614 * sysdeps/unix/siglist.c: Remove file.
36616 * sysdeps/unix/getppid.S: Remove file.
36618 * sysdeps/unix/mkdir.c: Remove file.
36619 * sysdeps/unix/rmdir.c: Likewise.
36621 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
36623 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
36625 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
36626 errlist-compat value.
36628 2012-04-18 David S. Miller <davem@davemloft.net>
36630 * sysdeps/generic/memcopy.h (reg_char): Delete.
36631 * debug/strcat_chk.c: Use char, not reg_char.
36632 * debug/strcpy_chk.c: Likewise.
36633 * debug/strncat_chk.c: Likewise.
36634 * debug/strncpy_chk.c: Likewise.
36635 * string/memchr.c: Likewise.
36636 * string/memrchr.c: Likewise.
36637 * string/rawmemchr.c: Likewise.
36638 * string/strcat.c: Likewise.
36639 * string/strchr.c: Likewise.
36640 * string/strchrnul.c: Likewise.
36641 * string/strcmp.c: Likewise.
36642 * string/strcpy.c: Likewise.
36643 * string/strncat.c: Likewise.
36644 * string/strncmp.c: Likewise.
36645 * string/strncpy.c: Likewise.
36647 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
36649 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
36650 __builtin_memcopy is called when src and dest ranges are known to not
36653 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
36655 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
36656 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
36657 fwd_align_merge macro call.
36658 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
36659 bwd_align_merge macro call.
36660 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36662 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
36664 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
36665 bwd_align_merge macros.
36666 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
36667 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
36668 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36670 2012-04-18 David S. Miller <davem@davemloft.net>
36672 * sysdeps/sparc/sparc64/memcopy.h: Delete.
36674 2012-04-18 Andreas Jaeger <aj@suse.de>
36677 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
36678 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
36679 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36681 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
36682 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
36683 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36685 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
36686 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
36687 Adjust for changed ldbl-128 files.
36689 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
36690 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
36691 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36693 2012-04-17 David S. Miller <davem@davemloft.net>
36695 * sysdeps/sparc/sparc32/memcopy.h: Delete.
36697 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
36699 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
36700 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
36701 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
36702 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
36703 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
36704 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
36706 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36709 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
36710 * math/libm-test.inc: Add ilogb errno and exception tests.
36711 * math/w_ilogb.c: New file: ilogb wrapper.
36712 * math/w_ilogbf.c: New file: ilogbf wrapper.
36713 * math/w_ilogbl.c: New file: ilogbl wrapper.
36714 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
36715 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
36716 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
36717 exception being thrown with 0.0 as argument.
36718 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
36719 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
36720 exception being thrown with 0.0 as argument.
36721 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
36722 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
36723 exception being thrown with 0.0 as argument.
36724 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
36725 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
36726 exception being thrown with 0.0 as argument.
36727 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
36728 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
36729 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
36730 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
36731 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
36732 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
36733 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
36734 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
36735 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
36737 2012-04-17 Petr Baudis <pasky@ucw.cz>
36739 * include/sys/uio.h: Change __vector to __iovec to avoid clash
36742 2012-04-16 Marek Polacek <polacek@redhat.com>
36744 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
36746 2012-04-16 Marek Polacek <polacek@redhat.com>
36748 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
36749 operands of fdivp instruction.
36751 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
36753 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
36754 * elf/tst-auditmod3b.c: Likewise.
36755 * elf/tst-auditmod4b.c: Likewise.
36756 * elf/tst-auditmod5b.c: Likewise.
36757 * elf/tst-auditmod6b.c: Likewise.
36758 * elf/tst-auditmod6c.c: Likewise.
36759 * elf/tst-auditmod7b.c: Likewise.
36760 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
36761 * sysdeps/x86_64/preconfigure.in: Likewise.
36762 * sysdeps/x86_64/preconfigure: Regenerated.
36764 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
36766 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
36769 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
36771 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36772 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
36774 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
36777 * locale/iso-639.def: Fix gl language name. Spotted by
36780 2012-04-12 Roland McGrath <roland@hack.frob.com>
36783 * libio/libio.h (__io_write_fn): Update comment.
36785 2012-04-12 Petr Baudis <pasky@ucw.cz>
36788 * stdio.texi (Hook Functions): The user provided writer function
36789 is not allowed to return -1.
36791 2012-04-11 David S. Miller <davem@davemloft.net>
36793 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36795 2012-04-11 Mike Frysinger <vapier@gentoo.org>
36797 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
36798 Add a leading slash to rtkaio.
36800 2012-04-11 Jim Meyering <meyering@redhat.com>
36803 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
36804 It is not necessarily an error to ignore fwrite's return
36805 value. One can reliably use ferror to test for errors after
36808 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
36810 * bits/types.h (__snseconds_t): New type.
36811 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
36813 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
36814 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36815 (__SNSECONDS_T_TYPE): Likewise.
36816 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36817 (__SNSECONDS_T_TYPE): Likewise.
36818 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36819 (__SNSECONDS_T_TYPE): Likewise.
36821 2012-04-10 Andreas Jaeger <aj@suse.de>
36824 * manual/time.texi (Processor Time): Return type of times is
36825 elapsed real time since an arbitrary point in the past.
36826 (CPU Time): Move CLK_TCK from here...
36827 (Processor Time): ...to here. Correct description.
36828 * manual/conf.texi (Constants for Sysconf): Correct description of
36831 2012-04-10 David S. Miller <davem@davemloft.net>
36834 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
36835 where the is a gap between DT_REL(A) and DT_JMPREL.
36837 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
36839 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
36840 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
36841 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
36843 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
36845 * elf/dl-support.c (_dl_inhibit_cache): New variable.
36846 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
36847 (dl_main): Handle --inhibit-cache.
36848 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
36850 * elf/dl-load.c (_dl_map_object): Use it.
36851 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
36853 2012-04-09 Joseph Myers <joseph@codesourcery.com>
36856 * sysdeps/i386/fpu/e_powl.S (p78): New object.
36857 (__ieee754_powl): Saturate large exponents rather than testing for
36858 overflow of y*log2(x).
36859 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36860 * math/libm-test.inc (pow_test): Do not permit spurious overflow
36864 * math/s_ctan.c: Include <float.h>.
36865 (__ctan): Avoid internal overflow or cancellation in calculating
36867 * math/s_ctanf.c: Likewise.
36868 * math/s_ctanl.c: Likewise.
36869 * math/s_ctanh.c: Likewise.
36870 * math/s_ctanhf.c: Likewise.
36871 * math/s_ctanhl.c: Likewise.
36872 * math/libm-test.inc (ctan_test): Add more tests.
36873 (ctanh_test): Likewise.
36874 * sysdeps/i386/fpu/libm-test-ulps: Update.
36875 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36877 2012-04-09 Andreas Jaeger <aj@suse.de>
36880 * manual/filesys.texi (Directory Entries): Mention that d_namlen
36881 is an optional BSD extension.
36884 * manual/stdio.texi (Opening Streams): Document additional fopen
36887 2012-04-09 Roland McGrath <roland@hack.frob.com>
36889 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
36890 %eax without telling the compiler.
36892 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
36895 * manual/install.texi: Use sourceware.org.
36897 2012-04-09 Joseph Myers <joseph@codesourcery.com>
36900 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
36901 (__ieee754_pow): Generate overflow and underflow using huge*huge
36902 and tiny*tiny rather than just returning constant infinity or zero
36903 for large exponents.
36904 * math/libm-test.inc (pow_test): Require overflow exceptions for
36905 applicable cases of large exponents.
36908 * sysdeps/i386/fpu/e_pow.S (p10): New object.
36909 (__ieee754_pow): Use iterative multiplication algorithm only for
36910 integer exponents with absolute value below 1024. Check for odd
36911 integer exponents when using algorithm for real exponents.
36912 * math/libm-test.inc (pow_test): Add more tests.
36913 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36915 2012-04-08 Joseph Myers <joseph@codesourcery.com>
36918 * math/libm-test.inc (exp_test): Do not allow overflow exception
36921 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
36924 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
36925 instead of __kernel_standard_f.
36927 2012-04-08 Mike Frysinger <vapier@gentoo.org>
36929 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
36930 * sysdeps/x86_64/memset_chk.S: Likewise.
36932 2012-04-08 Andreas Jaeger <aj@suse.de>
36935 * manual/startup.texi (Environment Access): Describe return value
36936 for putenv and setenv.
36939 * manual/filesys.texi (Directory Entries): Add description for
36943 * manual/filesys.texi (Directory Entries): Clarify that it's file
36944 system not operating system in the description of DT_UNKNOWN.
36947 * manual/syslog.texi (closelog): Fix reference, it's openlog.
36949 2012-04-08 Stephen Compall <s11@member.fsf.org>
36952 * manual/llio.texi (Opening and Closing Files): Add cross
36953 reference to explain mode argument.
36955 2012-04-07 Mike Frysinger <vapier@gentoo.org>
36957 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
36958 * sysdeps/x86_64/memset_chk.S: Likewise.
36960 2012-04-07 David S. Miller <davem@davemloft.net>
36962 * elf/elf.h (R_SPARC_WDISP10): Define.
36963 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
36965 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
36966 R_SPARC_SIZE64 and R_SPARC_H34.
36968 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
36970 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
36971 conditions and remove no longer applicable assertion.
36973 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
36975 * bits/byteswap.h: Include <features.h>.
36976 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
36977 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
36979 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
36981 * bits/byteswap.h (__bswap_16): Removed.
36982 Include <bits/byteswap-16.h> to get __bswap_16.
36983 * sysdeps/i386/bits/byteswap.h: Likewise.
36984 * sysdeps/s390/bits/byteswap.h: Likewise.
36985 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36986 * bits/byteswap-16.h: New file.
36987 * sysdeps/i386/bits/byteswap-16.h: Likewise.
36988 * sysdeps/s390/bits/byteswap-16.h: Likewise.
36989 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
36990 * string/Makefile (headers): Add bits/byteswap-16.h.
36992 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
36995 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
36997 * nss/Makefile (tests-static, tests): Add tst-nss-static.
36998 * nss/tst-nss-static.c: New.
37000 2012-04-06 Robert Millan <rmh@gnu.org>
37003 * manual/llio.texi (File Position Primitive): lseek
37004 refers to WHENCE when it really means OFFSET.
37006 2012-04-06 Andreas Jaeger <aj@suse.de>
37008 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
37009 strncmp declarations.
37011 * abilist/libc.abilist: Add __poll and __ppoll.
37013 2012-04-05 David S. Miller <davem@davemloft.net>
37015 * scripts/check-local-headers.sh: Accept a host triplet in the
37016 path matched by the exclude regexp.
37018 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
37020 * sysdeps/powerpc/powerpc32/dl-machine.h
37021 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
37022 * sysdeps/s390/s390-32/dl-machine.h
37023 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37024 * sysdeps/sparc/sparc32/dl-machine.h
37025 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37026 * sysdeps/sparc/sparc64/dl-machine.h
37027 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37029 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
37031 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
37032 undefined symbol errors.
37034 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
37037 2012-04-05 Michael Matz <matz@suse.de>
37040 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
37042 2012-04-05 Andreas Jaeger <aj@suse.de>
37045 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
37048 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37050 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
37051 which ROUND is no valid rounding mode.
37053 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37055 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
37057 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
37059 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37061 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
37062 an exception using FPU order intentionally.
37064 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37066 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
37067 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
37068 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
37069 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
37071 2012-04-05 Simon Josefsson <simon@josefsson.org>
37074 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
37075 EINVAL when BUFLEN is too smal.
37077 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
37080 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
37081 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
37083 2012-04-03 Andreas Jaeger <aj@suse.de>
37086 * manual/setjmp.texi (System V contexts): Fix sentence.
37089 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
37090 New macro for this case.
37091 [!__GNUC__] (__bswap_64): New inline function for this case.
37092 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37093 * bits/byteswap.h: Likewise.
37094 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
37095 ull, guard with __GLIBC_HAVE_LONG_LONG.
37097 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
37098 __GLIBC_HAVE_LONG_LONG.
37100 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
37101 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
37103 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37106 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
37107 inptr and inend, rather than using last_ch.
37109 2012-04-02 David S. Miller <davem@davemloft.net>
37111 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
37112 * stdio-common/printf-parse.h (read_int): Change return type to
37113 'int', return -1 on INT_MAX overflow.
37114 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
37115 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
37116 overflows INT_MAX. Check for overflow of in-format-string precision
37117 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
37118 SIZE_MAX not INT_MAX for integer overflow test.
37119 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
37120 skip the construct in the format string but do not record anything.
37121 * stdio-common/bug22.c: Adjust to test both width/prevision
37122 INT_MAX overflow as well as total length INT_MAX overflow. Check
37123 explicitly for proper errno values.
37125 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
37127 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
37129 * string/test-strcmp.c [! WIDE]: Likewise.
37130 * time/tst-mktime2.c: Likewise for INT_MAX.
37131 * string/test-string.h: #include <sys/param.h> for MIN.
37133 * csu/init-first.c (__libc_init_first): Call __ctype_init.
37134 * sysdeps/i386/init-first.c (init): Likewise.
37135 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
37136 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
37137 * sysdeps/sh/init-first.c (init): Likewise.
37139 2012-04-01 Ulrich Drepper <drepper@gmail.com>
37141 * po/ru.po: Update from translation team.
37142 * po/vi.po: Likewise.
37144 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
37146 * resolv/nss_dns/dns-host.c: Merge copyright years.
37148 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37150 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37151 Optimize memcpy with prefetch if
37152 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
37153 src, dst pointers have unequal 16 byte alignments.
37155 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
37158 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
37159 from a CNAME entry and return the minimum ttl for the query.
37160 (gaih_getanswer_slice): Likewise.
37162 2012-03-30 Jeff Law <law@redhat.com>
37164 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
37166 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
37167 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
37169 * resolv/nss_dns/dns-host.c: Update copyright year.
37171 2012-03-30 Ulrich Drepper <drepper@gmail.com>
37173 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
37174 requests to save a system call. Fix check that all bytes are sent.
37176 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
37177 comments for sendmmsg.
37179 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37182 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
37183 with only 1 character between 0x0041 and 0x01b0.
37184 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
37185 * wcsmbs/tst-mbsnrtowcs.c: New file.
37187 2012-03-29 David S. Miller <davem@davemloft.net>
37189 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
37190 small copies by hand.
37192 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37195 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
37196 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
37199 2012-03-28 David S. Miller <davem@davemloft.net>
37201 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
37202 that branches into memcpy.
37203 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
37204 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
37205 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
37206 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
37207 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
37209 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
37210 implementation too.
37211 * sysdeps/sparc/mempcpy.S: New file.
37213 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
37214 the IFUNC routine in the libc case.
37215 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
37217 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
37218 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
37219 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
37220 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
37221 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
37222 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
37223 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
37224 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
37226 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
37227 loop to 256 bytes instead of 64 bytes and fix test signedness.
37229 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
37230 * sysdeps/sparc/sparc32/Makefile: rather than here...
37231 * sysdeps/sparc/sparc64/Makefile: and here.
37233 2012-03-28 Ulrich Drepper <drepper@gmail.com>
37235 * malloc/mallocbug.c: Avoid warnings about unused variables.
37237 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
37240 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
37241 in the right place. Discard and retry query if response is
37242 larger than input buffer size.
37244 2012-03-28 Joseph Myers <joseph@codesourcery.com>
37249 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
37250 x for large integer exponent.
37251 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
37252 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
37253 sign of result as needed afterwards.
37254 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
37255 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
37256 result for underflowing pow the same as for overflow.
37257 (__kernel_standard_l): Handle powl overflow and underflow here
37258 rather than calling __kernel_standard.
37259 * math/libm-test.inc (pow_test): Add more tests.
37274 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
37275 * sysdeps/ieee754/k_standard.c: Include <float.h>.
37276 (__kernel_standard_l): New function.
37277 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
37279 * math/w_acosl.c (__acosl): Likewise.
37280 * math/w_asinl.c (__asinl): Likewise.
37281 * math/w_atan2l.c (__atan2l): Likewise.
37282 * math/w_atanhl.c (__atanhl): Likewise.
37283 * math/w_coshl.c (__coshl): Likewise.
37284 * math/w_exp10l.c (__exp10l): Likewise.
37285 * math/w_exp2l.c (__exp2l): Likewise.
37286 * math/w_fmodl.c (__fmodl): Likewise.
37287 * math/w_hypotl.c (__hypotl): Likewise.
37288 * math/w_j0l.c (__j0l, __y0l): Likewise.
37289 * math/w_j1l.c (__j1l, __y1l): Likewise.
37290 * math/w_jnl.c (__jnl, __ynl): Likewise.
37291 * math/w_lgammal.c (__lgammal): Likewise.
37292 * math/w_log10l.c (__log10l): Likewise.
37293 * math/w_log2l.c (__log2l): Likewise.
37294 * math/w_logl.c (__logl): Likewise.
37295 * math/w_powl.c (__powl): Likewise.
37296 * math/w_remainderl.c (__remainderl): Likewise.
37297 * math/w_scalbl.c (sysv_scalbl): Likewise.
37298 * math/w_sinhl.c (__sinhl): Likewise.
37299 * math/w_sqrtl.c (__sqrtl): Likewise.
37300 * math/w_tgammal.c (__tgammal): Likewise.
37301 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
37302 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
37303 * math/libm-test.inc (acos_test): Add more tests.
37304 (acosh_test): Likewise.
37305 (asin_test): Likewise.
37306 (atanh_test): Likewise.
37307 (exp_test): Likewise.
37308 (exp10_test): Likewise.
37309 (exp2_test): Likewise.
37310 (expm1_test): Likewise.
37311 (lgamma_test): Likewise.
37312 (log_test): Likewise.
37313 (log10_test): Likewise.
37314 (log1p_test): Likewise.
37315 (log2_test): Likewise.
37316 (pow_test): Do not allow some spurious overflow exceptions.
37317 (sqrt_test): Add more tests.
37318 (tgamma_test): Likewise.
37319 (y0_test): Likewise.
37320 (y1_test): Likewise.
37321 (yn_test): Likewise.
37323 2012-03-27 Anton Blanchard <anton@samba.org>
37325 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
37327 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37328 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
37329 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37331 2012-03-27 David S. Miller <davem@davemloft.net>
37333 * conform/Makefile: Run run-conformtest.sh using $(BASH).
37335 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
37336 have-as-vis3 check.
37338 2012-03-27 Andreas Jaeger <aj@suse.de>
37340 * sysdeps/x86_64/elf/configure.in: Moved to ...
37341 * sysdeps/x86_64/configure.in: ... here.
37342 * sysdeps/x86_64/elf/start.S: Moved to ...
37343 * sysdeps/x86_64/start.S: ... here.
37344 * sysdeps/x86_64/elf/configure: Delete.
37346 * sysdeps/x86_64/configure.in: Merge contents from
37347 sysdeps/i386/configure.in (without i686 check).
37349 * sysdeps/i386/elf/Versions: Merge into ...
37350 * sysdeps/i386/Versions: ... this.
37351 * sysdeps/i386/elf/Versions: Delete file.
37352 * sysdeps/i386/elf/start.S: Moved to ...
37353 * sysdeps/i386/start.S: ...here.
37354 * sysdeps/i386/elf/configure.in: Merge into...
37355 * sysdeps/i386/configure.in: ...here.
37356 * sysdeps/i386/elf/configure.in: Delete file.
37357 * sysdeps/i386/elf/configure: Delete file.
37359 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
37360 * debug/backtracesyms.c: ... here.
37361 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
37362 * debug/backtracesymsfd.c: ... here.
37363 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
37364 * sysdeps/generic/ifunc-sel.h: ... here.
37366 * sysdeps/unix/i386/start.c: Delete file.
37367 * sysdeps/unix/sparc/start.c: Delete file.
37368 * sysdeps/unix/start.c: Delete file.
37370 * sysdeps/sh/elf/configure.in: Moved to ...
37371 * sysdeps/sh/configure.in: ... here.
37372 * sysdeps/sh/elf/start.S: Moved to ...
37373 * sysdeps/sh/start.S: ... here.
37374 * sysdeps/sh/elf/configure: Delete file.
37376 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
37377 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
37378 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
37379 * sysdeps/powerpc/powerpc64/entry.h: ... here.
37380 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
37381 * sysdeps/powerpc/powerpc64/start.S: here.
37382 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
37383 * sysdeps/powerpc/powerpc64/Makefile: ... this.
37384 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
37385 * sysdeps/powerpc/powerpc64/configure.in: ... this.
37386 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
37388 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
37389 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
37390 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
37391 * sysdeps/powerpc/powerpc32/start.S: ... here.
37392 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
37393 * sysdeps/powerpc/powerpc32/configure.in: ... this.
37394 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
37396 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
37397 * sysdeps/powerpc/ifunc-sel.h: ... here.
37398 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
37399 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
37401 * sysdeps/sparc/elf/configure.in: Moved to ...
37402 * sysdeps/sparc/configure.in: ... here.
37403 * sysdeps/sparc/elf/configure: Delete file.
37404 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
37405 * sysdeps/sparc/sparc32/start.S: ... here.
37406 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
37407 * sysdeps/sparc/sparc64/start.S: ... here.
37408 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
37409 * sysdeps/sparc/sparc32/Makefile: ... this.
37410 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
37411 * sysdeps/sparc/sparc64/Makefile: ... this.
37413 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
37414 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
37415 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
37416 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
37417 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
37418 * sysdeps/s390/s390-32/setjmp.S: ... here.
37419 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
37420 * sysdeps/s390/s390-32/configure.in: ... here.
37421 * sysdeps/s390/s390-32/elf/configure: Delete file.
37422 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
37423 * sysdeps/s390/s390-32/start.S: ... here.
37425 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
37426 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
37427 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
37428 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
37429 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
37430 * sysdeps/s390/s390-64/setjmp.S: ... here.
37431 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
37432 * sysdeps/s390/s390-64/configure.in: ... here
37433 * sysdeps/s390/s390-64/elf/configure: Delete file.
37434 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
37435 * sysdeps/s390/s390-64/start.S: ... here.
37436 * sysdeps/s390/s390-64/elf/configure: Delete.
37438 * configure.in: Remove support for elf directories in sysdeps.
37440 * configure: Regenerated.
37441 * sysdeps/i386/configure: Regenerated.
37442 * sysdeps/powerpc/powerpc32/configure: Regenerated.
37443 * sysdeps/powerpc/powerpc64/configure: Regenerated.
37444 * sysdeps/s390/s390-32/configure: Regenerated.
37445 * sysdeps/s390/s390-64/configure: Regenerated.
37446 * sysdeps/sh/configure: Regenerated.
37447 * sysdeps/sparc/configure: Regenerated.
37448 * sysdeps/x86_64/configure: Regenerated.
37450 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
37452 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37454 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
37455 denormal result into account.
37457 2012-03-25 Roland McGrath <roland@hack.frob.com>
37459 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
37460 Reported by Allan McRae <allan@archlinux.org>.
37462 2012-03-23 Jeff Law <law@redhat.com>
37464 * nss/getnssent.c (__nss_getent): Fix typo.
37466 2012-03-23 David S. Miller <davem@davemloft.net>
37468 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37470 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
37472 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
37473 to pad to uint64_t for each field.
37474 (dl_tls_index): Replace unsigned long with uint64_t.
37476 2012-03-23 Daniel Jacobowitz <dmj@google.com>
37477 Paul Pluzhnikov <ppluzhnikov@google.com>
37480 * grp/Makefile (otherlibs): Don't set it.
37481 * inet/Makefile (otherlibs): Likewise.
37482 * login/Makefile (otherlibs): Likewise.
37483 * nscd/Makefile (otherlibs): Likewise.
37484 * posix/Makefile (otherlibs): Likewise.
37485 * pwd/Makefile (otherlibs): Likewise.
37486 * rt/Makefile (otherlibs): Likewise.
37487 * sunrpc/Makefile (otherlibs): Likewise.
37488 * nss/Makefile (otherlibs): Likewise.
37489 Add libnss_files to routines and static-only-routines.
37490 ($(objpfx)getent): Remove rule.
37491 * resolv/Makefile: Add libnss_dns and libresolv to routines and
37492 static-only-routines.
37494 2012-03-22 Joseph Myers <joseph@codesourcery.com>
37497 * math/s_cexp.c: Include <float.h>.
37498 (__cexp): Handle exp result overflowing not necessarily
37499 overflowing both real and imaginary parts of result.
37500 * math/s_cexpf.c: Likewise.
37501 * math/s_cexpl.c: Likewise.
37502 * math/libm-test.inc (cexp_test): Add more tests.
37503 * sysdeps/i386/fpu/libm-test-ulps: Update.
37504 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37506 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37508 * include/link.h (ELFW): New macro.
37509 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
37510 Replace ELF64_R_TYPE with ELFW(R_TYPE).
37512 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37514 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
37517 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37519 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
37521 (struct La_x32_retval): Likewise.
37523 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37525 * sysdeps/x86_64/preconfigure.in: New file.
37526 * sysdeps/x86_64/preconfigure: New generated file.
37528 2012-03-22 Joseph Myers <joseph@codesourcery.com>
37531 * math/e_exp2l.c: Include <float.h>.
37532 (__ieee754_exp2l): Handle overflow and underflow cases
37533 separately. Only pass fractional part of argument to
37535 * math/libm-test.inc (exp2_test): Add more tests.
37537 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
37538 negating x to take absolute value.
37539 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
37541 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
37542 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
37544 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
37545 computing low part if x was negated.
37546 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
37548 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
37550 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
37551 la_x32_gnu_pltexit.
37552 (pltexit): Cast int_retval to ptrdiff_t.
37553 * elf/tst-auditmod3b.c: Likewise.
37554 * elf/tst-auditmod4b.c: Likewise.
37555 * elf/tst-auditmod5b.c: Likewise.
37556 * elf/tst-auditmod6b.c: Likewise.
37557 * elf/tst-auditmod6c.c: Likewise.
37558 * elf/tst-auditmod7b.c: Likewise.
37560 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
37561 and x32_gnu_pltexit.
37563 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
37564 __ELF_NATIVE_CLASS.
37565 (La_x32_regs): New macro.
37566 (La_x32_retval): Likewise.
37567 (la_x32_gnu_pltenter): New function prototype.
37568 (la_x32_gnu_pltexit): Likewise.
37570 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
37572 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
37575 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37577 * configure.in (libc_cv_cc_nofma): Check for option to disable
37578 generation of FMA instructions.
37579 * configure: Regenerate.
37580 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
37581 * sysdeps/ieee754/dbl-64/Makefile: New file.
37582 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
37583 Remove brandred-fma4.
37584 (CFLAGS-brandred-fma4.c): Remove.
37585 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
37586 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
37588 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
37591 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
37593 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
37594 LLONG_MAX != LONG_MAX.
37595 (_itoa_word): Use _ITOA_WORD_TYPE on value.
37596 (_fitoa_word): Likewise.
37597 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
37598 LLONG_MAX != LONG_MAX.
37599 * stdio-common/_itowa.h: Include <_itoa.h>.
37600 (_itowa_word): Use _ITOA_WORD_TYPE on value.
37601 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
37602 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
37603 only if not defined.
37604 (_ITOA_WORD_TYPE): Likewise.
37605 (_itoa_word): Use _ITOA_WORD_TYPE on value.
37606 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
37608 2012-03-21 David S. Miller <davem@davemloft.net>
37610 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37612 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
37614 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
37615 of x86_64 when setting libc_cv_slibdir, libdir and
37617 * sysdeps/unix/sysv/linux/configure: Regenerated.
37619 2012-03-21 Joseph Myers <joseph@codesourcery.com>
37621 * manual/lang.texi (Old Varargs): Remove section.
37622 (How Variadic): Update menu.
37623 (va_start): Do not mention varargs.h.
37625 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
37626 Joseph Myers <joseph@codesourcery.com>
37628 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
37630 * configure: Regenerated.
37632 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
37634 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
37635 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
37638 2012-03-21 Joseph Myers <joseph@codesourcery.com>
37641 * Makefile (files-for-dist): Remove NOTES.
37642 (NOTES): Remove rule.
37643 * README: Don't refer to NOTES.
37644 * manual/creature.texi: Don't include macros.texi.
37645 * manual/intro.texi (creature.texi): Remove comment referring to
37648 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
37649 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
37650 * configure: Regenerated.
37651 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
37652 LIBC_TRY_CC_OPTION.
37653 (libc_cv_as_i686): Likewise.
37654 (libc_cv_cc_avx): Likewise.
37655 (libc_cv_cc_sse2avx): Likewise.
37656 (libc_cv_cc_fma4): Likewise.
37657 (libc_cv_cc_novzeroupper): Likewise.
37658 * sysdeps/i386/configure: Regenerated.
37661 * sysdeps/i386/fpu/s_cexp.S: Remove.
37662 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
37663 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
37664 * math/libm-test.inc (cexp_test): Add more tests.
37665 * sysdeps/i386/fpu/libm-test-ulps: Update.
37666 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37668 2012-03-21 Allan McRae <allan@archlinux.org>
37670 * timezone/Makefile: Do not install iso3166.tab and zone.tab
37672 2012-03-21 Joseph Myers <joseph@codesourcery.com>
37675 * math/w_exp2.c: Do not include <float.h>.
37676 (o_threshold, u_threshold): Remove.
37677 (__exp2): Calculate result before checking finiteness and calling
37679 * math/w_exp2f.c: Likewise.
37680 * math/w_exp2l.c: Likewise.
37681 * math/libm-test.inc (exp2_test): Require overflow exception for
37685 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
37686 range of signed 64-bit integers before using fistpll. Remove
37687 checks for whether integers fit in mantissa bits.
37688 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
37689 the range of signed 32-bit integers before using fistpl. Remove
37690 checks for whether integers fit in mantissa bits.
37691 * sysdeps/i386/fpu/e_powl.S (p64): New object.
37692 (__ieee754_powl): Test for y outside the range of signed 64-bit
37693 integers before using fistpll. Reduce 64-bit values to 63-bit
37695 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
37696 divide-by-zero is raised for zero to large negative powers.
37697 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
37698 (__ieee754_powl): Test for y outside the range of signed 64-bit
37699 integers before using fistpll. Reduce 64-bit values to 63-bit
37701 * math/libm-test.inc (pow_test): Add more tests.
37703 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
37705 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
37706 <stdio-common/_itoa.h>.
37707 * debug/segfault.c: Likewise.
37708 * elf/dl-cache.c: Likewise.
37709 * elf/dl-minimal.c: Likewise.
37710 * elf/dl-misc.c: Likewise.
37711 * elf/dl-sysdep.c: Likewise.
37712 * elf/dl-version.c: Likewise.
37713 * elf/rtld.c: Likewise.
37714 * hurd/hurdsock.c: Likewise.
37715 * hurd/lookup-retry.c: Likewise.
37716 * malloc/malloc.c: Likewise.
37717 * malloc/mtrace.c: Likewise.
37718 * nscd/nscd_getgr_r.c: Likewise.
37719 * nscd/nscd_getpw_r.c: Likewise.
37720 * nscd/nscd_getserv_r.c: Likewise.
37721 * posix/getopt_init.c: Likewise.
37722 * posix/wordexp.c: Likewise.
37723 * stdio-common/_itoa.c: Likewise.
37724 * stdio-common/printf_fphex.c: Likewise.
37725 * stdio-common/vfprintf.c: Likewise.
37726 * string/_strerror.c: Likewise.
37727 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
37728 * sysdeps/i386/i686/hp-timing.h: Likewise.
37729 * sysdeps/mach/_strerror.c: Likewise.
37730 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
37731 * sysdeps/mach/hurd/sethostid.c: Likewise.
37732 * sysdeps/mach/hurd/xmknodat.c: Likewise.
37733 * sysdeps/mach/xpg-strerror.c: Likewise.
37734 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
37735 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
37736 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
37737 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
37738 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
37739 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
37740 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
37741 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
37742 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
37743 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
37744 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
37745 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
37746 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
37747 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
37748 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
37749 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
37750 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
37751 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
37752 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
37753 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
37754 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
37756 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
37758 * stdio-common/_itoa.h: Moved to ...
37759 * sysdeps/generic/_itoa.h: Here.
37761 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
37763 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
37764 instead of "_itoa.h" and "_itowa.h".
37765 * stdio-common/vfprintf.: Likewise.
37767 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
37769 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
37771 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
37772 (__signbit): Likwise.
37773 (llrintf): Likwise.
37776 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
37778 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
37781 2012-03-20 Joseph Myers <joseph@codesourcery.com>
37783 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
37784 OVERFLOW_EXCEPTION_OK.
37785 * math/libm-test.inc ("Philosophy"): Update comment about
37787 (OVERFLOW_EXCEPTION): Define.
37788 (OVERFLOW_EXCEPTION_OK): Likewise.
37789 (INVALID_EXCEPTION_OK): Renumber.
37790 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
37791 (IGNORE_ZERO_INF_SIGN): Likewise.
37792 (test_exceptions): Handle FE_OVERFLOW.
37793 (exp10_test): Expect overflow exceptions.
37794 (exp2_test): Likewise.
37795 (expm1_test): Likewise.
37796 (nextafter_test): Likewise.
37797 (pow_test): Likewise.
37798 (scalbn_test): Likewise.
37799 (scalbln_test): Likewise.
37801 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37803 * sysdeps/x86_64/bits/atomic.h
37804 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
37806 (atomic_exchange_acq): Likewise.
37807 (__arch_exchange_and_add_body): Likewise.
37808 (__arch_add_body): Likewise.
37809 (atomic_add_negative): Likewise.
37810 (atomic_add_zero): Likewise.
37812 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37814 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
37815 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
37817 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37819 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
37820 Check __x86_64__ instead of __WORDSIZE.
37822 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37824 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
37826 2012-03-19 David S. Miller <davem@davemloft.net>
37828 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37830 * sysdeps/sparc/fpu/fenv_private.h: New file.
37831 * sysdeps/sparc/fpu/math_private.h: Use it.
37832 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
37834 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
37835 (libc_feholdexcept_setroundl): Remove.
37836 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
37838 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
37839 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
37841 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37843 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
37844 int64_t instead of long int.
37845 (INSERT_WORDS64): Likwise.
37847 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37849 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
37850 _Unwind_GetCFA return to _Unwind_Ptr first.
37852 2012-03-19 Joseph Myers <joseph@codesourcery.com>
37855 * math/s_clog.c: Include <float.h>.
37856 (__clog): Scale large or subnormal inputs.
37857 * math/s_clogf.c: Likewise.
37858 * math/s_clogl.c: Likewise.
37859 * math/s_clog10.c: Include <float.h>.
37860 (M_LOG10_2): Define.
37861 (__clog10): Scale large or subnormal inputs.
37862 * math/s_clog10f.c: Likewise.
37863 * math/s_clog10l.c: Likewise.
37864 * math/libm-test.inc (clog_test): Add more tests.
37865 (clog10_test): Likewise.
37866 * sysdeps/i386/fpu/libm-test-ulps: Update.
37867 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37870 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
37872 * math/libm-test.inc (atan2_test): Add another test.
37874 * Makerules (common-objdir-compile): Remove.
37875 * sysdeps/unix/Makefile (config-generated): Do not add
37876 $(unix-generated) to variable.
37877 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
37878 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
37880 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
37882 [generic bits/local_lim.h] (before-compile): Do not append to
37884 [generic bits/local_lim.h] (common-generated): Likewise.
37885 [generic sys/param.h] (before-compile): Do not append to variable.
37886 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
37887 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
37888 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
37889 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
37891 [generic sys/param.h] (sys/param.h-includes): Remove variable.
37892 [generic sys/param.h] (sys/param.h-includes): Remove rule.
37893 [generic sys/param.h] ($(addprefix
37894 $(common-objpfx),$(sys/param.h-includes))): Likewise.
37895 [generic sys/param.h] (common-generated): Do not append to
37897 [generic sys/param.h] (sysdep_headers): Likewise.
37898 [generic bits/errno.h] (before-compile): Do not append to
37900 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
37902 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
37903 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
37904 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
37905 [generic bits/errno.h] (common-generated): Do not append to
37907 [generic bits/ioctls.h] (before-compile): Do not append to
37909 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
37911 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
37912 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
37913 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
37915 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
37916 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
37917 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
37918 [generic bits/ioctls.h] (common-generated): Do not append to
37920 [generic sys/syscall.h] (syscall.h): Remove variable.
37921 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
37923 [generic sys/syscall.h] (before-compile): Do not append to
37925 [generic sys/syscall.h] (common-generated): Likewise.
37926 * sysdeps/unix/errnos-tmpl.c: Remove file.
37927 * sysdeps/unix/errnos.awk: Likewise.
37928 * sysdeps/unix/ioctls-tmpl.c: Likewise.
37929 * sysdeps/unix/ioctls.awk: Likewise.
37930 * sysdeps/unix/mk-local_lim.c: Likewise.
37931 * sysdeps/unix/snarf-ioctls: Likewise.
37933 2012-03-19 Richard Henderson <rth@twiddle.net>
37935 * sysdeps/i386/fpu/fenv_private.h: New file.
37936 * sysdeps/i386/fpu/math_private.h: Use it.
37937 (math_opt_barrier, math_force_eval): Remove.
37938 (libc_feholdexcept_setround_53bit): Remove.
37939 (libc_feupdateenv_53bit): Remove.
37940 * sysdeps/x86_64/fpu/math_private.h: Likewise.
37941 (math_opt_barrier, math_force_eval): Remove.
37942 (libc_feholdexcept): Remove.
37943 (libc_feholdexcept_setround): Remove.
37944 (libc_fetestexcept, libc_fesetenv): Remove.
37945 (libc_feupdateenv_test): Remove.
37946 (libc_feupdateenv, libc_feholdsetround): Remove.
37947 (libc_feresetround): Remove.
37949 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
37950 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
37952 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
37953 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
37954 (libc_feupdateenv_testl): New.
37955 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
37956 (libc_feupdateenv_testf): New.
37957 (libc_feupdateenv): Use libc_feupdateenv_test.
37958 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
37959 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
37961 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
37962 (libc_feholdsetroundf, libc_feholdsetroundl): New.
37963 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
37964 (libc_feresetround_noex): New.
37965 (libc_feresetround_noexf): New.
37966 (libc_feresetround_noexl): New.
37967 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
37968 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
37969 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
37970 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
37972 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
37973 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
37975 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
37976 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
37977 SET_RESTORE_ROUND_NOEX.
37978 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
37979 SET_RESTORE_ROUND_NOEXF.
37980 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
37981 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
37982 (libc_feholdsetroundf): New.
37983 (libc_feresetround, libc_feresetroundf): New.
37985 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
37986 (libc_feholdexcept_setround_53bit): Convert from macro to function.
37987 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
37989 * sysdeps/generic/math_private.h: Include <fenv.h>.
37990 (default_libc_feholdexcept): New.
37991 (default_libc_feholdexcept_setround): New.
37992 (default_libc_fesetenv, default_libc_feupdateenv): New.
37993 (libc_feholdexcept): Only define if undefined.
37994 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
37995 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
37996 (libc_feholdexcept_setroundl): Likewise.
37997 (libc_feholdexcept_setround_53bit): Likewise.
37998 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
37999 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
38000 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
38001 (libc_feupdateenv_53bit): Likewise.
38002 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
38003 (libc_feholdexcept): Convert from macro to inline function.
38004 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
38005 (libc_fesetenv, libc_feupdateenv): Likewise.
38007 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
38008 not previously defined.
38009 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
38010 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
38011 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
38012 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
38013 * sysdeps/ieee754/flt-32/math_private.h: New file.
38014 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
38015 math_private.h below SET_FLOAT_WORD.
38016 (__isnan, __isinf_ns, __finite): Remove.
38017 (__isnanf, __isinf_nsf, __finitef): Remove.
38019 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
38021 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38023 2012-03-17 David S. Miller <davem@davemloft.net>
38026 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
38029 2012-03-16 David S. Miller <davem@davemloft.net>
38031 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
38035 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
38037 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
38038 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
38039 sysdep_routines when subdir is sysvipc.
38040 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
38041 __getshmlba helper.
38043 * sysdeps/sparc/fpu/libm-test/ulps: Update.
38045 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38047 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
38050 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38052 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
38053 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
38054 (__lround): Renamed to ...
38055 (__llround): This. Replace long int with long long int.
38056 Define lround functions as aliases of llround functions.
38057 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
38059 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38061 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
38062 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
38063 adresses to uintptr_t. Replace "long int" and "unsigned long
38064 int" with "greg_t" on va_arg.
38066 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38068 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
38069 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
38071 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
38072 Move e_machine check before EI_CLASS check. Handle x32
38073 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
38074 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
38075 SKIP_EM_IA_64 and include
38076 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
38078 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
38079 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
38080 (add_system_dir): New macro.
38082 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
38083 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
38085 2012-03-16 Joseph Myers <joseph@codesourcery.com>
38096 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
38098 * math/w_j0f.c (j0f): Likewise.
38100 * math/w_j0l.c (__j0l): Likewise.
38102 * math/w_j1.c (j1): Likewise.
38104 * math/w_j1f.c (j1f): Likewise.
38106 * math/w_j1l.c (__j1l): Likewise.
38108 * math/w_jn.c (jn): Likewise.
38110 * math/w_jnf.c (jnf): Likewise.
38112 * math/w_jnl.c (__jnl): Likewise.
38114 * math/libm-test.inc (j0_test): Add more tests.
38115 (j1_test): Likewise.
38116 (jn_test): Likewise. Add trailing semicolon to existing test.
38117 (y0_test): Likewise.
38118 (y1_test): Likewise.
38119 * sysdeps/i386/fpu/libm-test-ulps: Update.
38120 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38124 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
38125 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
38126 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
38127 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
38128 (__tanl): Set errno for infinite argument.
38129 * sysdeps/i386/fpu/mptan.c: Remove.
38130 * sysdeps/i386/fpu/s_tan.S: Likewise.
38131 * sysdeps/i386/fpu/s_tanl.S: Likewise.
38132 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
38133 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
38134 * math/libm-test.inc (tan_test): Add more tests and enable more
38135 tests for double and long double.
38136 * sysdeps/i386/fpu/libm-test-ulps: Update.
38137 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38139 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
38141 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
38142 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
38144 2012-03-16 Roland McGrath <roland@hack.frob.com>
38146 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
38147 * configure.in: Use it for both main tree and add-ons.
38148 * configure: Regenerated.
38150 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38152 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
38154 2012-03-16 Joseph Myers <joseph@codesourcery.com>
38156 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
38160 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
38161 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
38162 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
38163 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
38164 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
38166 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
38167 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
38168 != 0 for prec == 2.
38169 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
38170 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
38171 * sysdeps/i386/fpu/s_cosl.S: Likewise.
38172 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
38173 * sysdeps/i386/fpu/s_sinl.S: Likewise.
38174 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
38175 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
38176 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
38177 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
38178 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
38179 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
38180 * math/libm-test.inc (cos_test): Add more tests and enable more
38181 tests for long double.
38182 (sin_test): Likewise.
38183 (sincos_test): Likewise.
38184 * sysdeps/i386/fpu/libm-test-ulps: Update.
38185 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38187 2012-03-16 David S. Miller <davem@davemloft.net>
38189 * sysdeps/sparc/fpu/math_private.h: New file.
38191 2012-03-15 David S. Miller <davem@davemloft.net>
38193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
38195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
38196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
38198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
38199 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
38200 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
38201 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
38202 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
38203 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
38205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38207 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
38208 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
38210 * sysdeps/sparc/sparc-ifunc.h: New file.
38211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
38213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
38214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
38216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
38218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
38219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
38220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
38223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
38224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
38225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
38226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
38227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
38229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
38231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
38232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
38233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
38234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
38235 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
38236 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
38237 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
38238 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
38239 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
38240 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
38241 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
38242 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
38243 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
38244 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
38245 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
38246 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
38247 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
38248 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
38249 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
38250 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
38251 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
38252 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
38253 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
38254 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
38256 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
38258 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
38260 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38262 2012-03-15 Andreas Jaeger <aj@suse.de>
38265 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
38266 ieee754/flt-32 implementation for sin, cos and sincos.
38267 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
38268 * sysdeps/i386/fpu/s_cosf.S: Likewise.
38269 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
38270 * sysdeps/i386/fpu/s_sinf.S: Likewise.
38271 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
38272 ieee754/flt-32 implementation for tan.
38274 * math/libm-test.inc (cos_test): Enable some large input tests for
38276 (sin_test): Likewise.
38277 (sincos_test): Likewise.
38278 (tan_test): Add tests for large input.
38280 * sysdeps/i386/fpu/libm-test-ulps: Update.
38282 2012-03-15 Andreas Jaeger <aj@suse.de>
38285 * math/libm-test.inc (cos_test): Add more test cases.
38286 (sin_test): Likewise.
38287 (sincos_test): Likewise.
38289 2012-03-15 Andreas Jaeger <aj@suse.de>
38292 * math/libm-test.inc (cos_test): Add a test case for large input
38294 (sin_test): Likewise.
38295 (sincos_test): Likewise.
38297 2012-03-15 Andreas Jaeger <aj@suse.de>
38298 Joseph Myers <joseph@codesourcery.com>
38301 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
38302 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
38303 * sysdeps/i386/fpu/branred.c: Likewise.
38304 * sysdeps/i386/fpu/dosincos.c: Likewise.
38305 * sysdeps/i386/fpu/mpa.c: Likewise.
38306 * sysdeps/i386/fpu/s_cos.S: Likewise.
38307 * sysdeps/i386/fpu/s_sin.S: Likewise.
38308 * sysdeps/i386/fpu/s_sincos.S: Likewise.
38309 * sysdeps/i386/fpu/sincos32.c: Likewise.
38311 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
38313 (libc_feupdateenv_53bit): Define.
38314 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
38316 (libc_feupdateenv_53bit): Define.
38318 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
38319 53 bit (without extend i386 double precision).
38321 * math/libm-test.inc (sincos_test): Add tests for large input.
38325 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
38327 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
38329 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38331 2012-03-15 David S. Miller <davem@davemloft.net>
38333 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
38334 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
38335 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
38336 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
38337 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
38338 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
38339 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
38340 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
38341 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
38342 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
38343 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
38344 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
38345 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
38346 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
38347 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
38348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
38350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
38351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
38353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
38354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
38356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
38357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
38359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
38360 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
38361 fmin/fmax sysdep routines.
38362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38364 2012-03-14 David S. Miller <davem@davemloft.net>
38366 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
38367 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
38368 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
38369 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
38370 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
38371 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
38372 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
38373 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
38374 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
38375 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
38376 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
38377 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
38378 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
38379 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
38380 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
38381 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
38382 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
38383 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
38384 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
38385 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
38386 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
38387 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
38388 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
38389 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
38390 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
38391 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
38392 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
38393 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
38394 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
38396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
38398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
38399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
38401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
38402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
38404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
38405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
38407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
38408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
38410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
38411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
38413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
38415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
38417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
38419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
38421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
38423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
38425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
38426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
38428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
38429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
38431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
38432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
38434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
38435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
38438 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
38441 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38443 * sysdeps/sparc/configure.in: New file.
38444 * sysdeps/sparc/configure: Generate.
38445 * configure.in (libc_cv_sparc_as_vis3): Substitute.
38446 * configure: Regenerate.
38447 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
38448 * config.make.in (have-as-vis3): New.
38449 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
38450 available use -Av9d instead of -Av9a.
38451 * sysdeps/sparc/sparc64/Makefile: Likewise.
38452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
38453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
38455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
38457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
38459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
38461 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
38462 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
38463 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
38464 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
38465 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
38467 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
38468 fzeros/fnegs to load 0x80000000 into a float register instead of
38470 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
38472 2012-03-14 Joseph Myers <joseph@codesourcery.com>
38474 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38476 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
38477 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
38478 ($(inst_includedir)/bits/syscall.h): Remove rule.
38479 ($(objpfx)bits/syscall.d): Include instead of
38480 $(objpfx)syscall-list.d.
38481 (generated): Change syscall-list.h and syscall-list.d to
38482 bits/syscall.h and bits/syscall.d.
38484 2012-03-14 Roland McGrath <roland@hack.frob.com>
38487 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
38489 2012-03-14 Joseph Myers <joseph@codesourcery.com>
38492 * math/s_csqrt.c: Include <float.h>.
38493 (__csqrt): Scale large or subnormal inputs.
38494 * math/s_csqrtf.c: Likewise.
38495 * math/s_csqrtl.c: Likewise.
38496 * math/libm-test.inc (csqrt_test): Add more tests.
38497 * sysdeps/i386/fpu/libm-test-ulps: Update.
38498 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38501 * math/libm-test.inc (hypot_test): Add more tests.
38503 2012-03-13 David S. Miller <davem@davemloft.net>
38506 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
38507 double-precision for the calculation instead of scaling.
38509 2012-03-13 Joseph Myers <joseph@codesourcery.com>
38511 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
38512 manipulate bits before adding and subtracting TWO52[sx].
38513 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
38514 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
38516 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
38518 2012-03-13 David S. Miller <davem@davemloft.net>
38520 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
38521 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
38522 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
38523 rtld-global-offsets.h
38524 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38526 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
38529 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
38531 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
38532 'err' in the ifdef scope in which it is actually used.
38534 * nss/nss_db/db-init.c: Include string.h
38536 2012-03-12 David S. Miller <davem@davemloft.net>
38538 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
38539 masking out of the most significant byte of random value used.
38540 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38541 Fix coding style in previous change.
38543 * sysdeps/unix/sysv/linux/kernel-features.h
38544 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
38545 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
38547 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
38550 2012-03-11 David S. Miller <davem@davemloft.net>
38552 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
38553 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
38554 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
38555 for 'resultvar' otherwise things get truncated on 64-bit.
38557 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38558 Fix masking out of the most significant byte of random value used.
38560 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38562 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
38564 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38566 2012-03-09 David S. Miller <davem@davemloft.net>
38568 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
38569 variables with appropriate CPP guards.
38570 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
38571 from the frame pointer, not the stack pointer. Correct layout
38572 comments. Fix test on resulting framesize and the management of
38573 the outregs buffer for pltexit. Preserve floating point return
38574 values across _dl_call_pltexit call.
38575 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
38576 framesize and the management of the outregs buffer for pltexit.
38577 Preserve floating point return values across _dl_call_pltexit
38579 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
38580 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
38581 (la_sparc64_gnu_pltexit): New functions.
38582 (print_exit): Fix format string for return register value.
38584 2012-03-10 Joseph Myers <joseph@codesourcery.com>
38586 * sunrpc/Makefile (others): Add rpcgen.
38587 ($(objpfx)rpcgen): Remove special build rule and dependency on
38589 * sunrpc/rpcgen.c: New file.
38591 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
38594 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
38595 * stdio-common/bug-vfprintf-nargs.c: Likewise.
38596 * sysdeps/i386/crti.S: Likewise.
38597 * sysdeps/i386/crtn.S: Likewise.
38598 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
38599 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
38600 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
38601 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
38602 * sysdeps/sh/crti.S: Likewise.
38603 * sysdeps/sh/crtn.S: Likewise.
38604 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
38607 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
38609 * locale/programs/locfile-kw.gperf: Likewise.
38610 * locale/programs/charmap-kw.h: Regenerated.
38611 * locale/programs/locfile-kw.h: Likewise.
38614 * intl/plural.y: Replace FSF snail mail address with URL.
38615 * intl/plural.c: Regenerated.
38617 2012-03-09 Richard Henderson <rth@twiddle.net>
38619 * include/math_private.h: Remove file.
38620 * math/math_private.h: Move file ...
38621 * sysdeps/generic/math_private.h: ... here.
38623 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
38624 * sysdeps/powerpc/fpu/math_private.h: Likewise.
38625 * sysdeps/x86_64/fpu/math_private.h: Likewise.
38627 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
38628 and <math_private.h>.
38629 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
38630 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
38631 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
38632 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
38633 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
38634 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
38635 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38636 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38637 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38638 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38639 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38640 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38641 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38642 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38643 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38644 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38645 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38646 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38647 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38648 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38649 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38650 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38651 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38652 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38653 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
38654 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38655 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38656 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38657 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38658 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38659 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38660 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38661 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
38662 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38663 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38664 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38665 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38666 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38667 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
38668 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38669 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
38670 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
38671 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
38672 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
38673 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
38674 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
38675 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
38676 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
38677 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38678 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
38679 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
38680 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
38681 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
38682 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
38683 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
38684 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
38685 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38686 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
38687 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
38688 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
38689 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38690 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
38691 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38692 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
38693 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
38694 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38695 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38696 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38697 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
38698 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
38699 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
38700 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38701 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
38702 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38703 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
38704 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
38705 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
38706 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
38707 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
38708 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
38709 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
38710 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
38711 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
38712 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
38713 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
38714 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
38715 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
38716 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
38717 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38718 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38719 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38720 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38721 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38722 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38723 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38724 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38725 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38726 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38727 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38728 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38729 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38730 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38731 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38732 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38733 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
38734 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38735 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38736 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38737 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
38738 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
38739 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
38740 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
38741 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38742 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
38743 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
38744 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38745 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
38746 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
38747 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
38748 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
38749 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
38750 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
38751 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38752 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
38753 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
38754 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
38755 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38756 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
38757 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
38758 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
38759 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
38760 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
38761 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
38762 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
38763 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
38764 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
38765 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
38766 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
38767 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
38768 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
38769 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38770 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
38771 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
38772 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
38773 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
38774 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
38775 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
38776 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
38777 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
38778 * sysdeps/ieee754/k_standard.c: Likewise.
38779 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38780 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38781 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38782 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38783 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38784 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38785 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38786 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38787 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38788 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38789 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38790 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38791 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38792 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38793 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38794 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38795 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
38796 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38797 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38798 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
38799 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
38800 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
38801 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
38802 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
38803 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
38804 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
38805 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
38806 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
38807 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
38808 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
38809 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
38810 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
38811 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
38812 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
38813 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
38814 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
38815 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
38816 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
38817 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
38818 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
38819 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
38820 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
38821 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
38822 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
38823 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
38824 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
38825 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
38826 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
38827 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
38828 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
38829 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
38830 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
38831 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
38832 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
38833 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
38834 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
38835 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
38836 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
38837 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
38838 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
38839 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
38840 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
38841 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
38842 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38843 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38844 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38845 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38846 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38847 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38848 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38849 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38850 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38851 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38852 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38853 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38854 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38855 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
38856 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38857 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38858 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
38859 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
38860 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
38861 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
38862 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
38863 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
38864 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
38865 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
38866 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
38867 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
38868 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
38869 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
38870 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
38871 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
38872 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
38873 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
38874 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
38875 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
38876 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
38877 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
38878 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
38879 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
38880 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
38881 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
38882 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
38883 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
38884 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
38885 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
38886 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
38887 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
38888 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
38889 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
38890 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
38891 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38892 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38893 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38894 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38895 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
38896 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38897 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38898 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
38899 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38900 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
38901 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38902 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
38903 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38904 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
38905 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
38906 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
38907 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
38908 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
38909 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
38910 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
38911 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
38912 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
38913 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
38914 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
38915 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
38916 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
38917 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
38918 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
38919 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
38920 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
38921 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
38922 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
38923 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
38924 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
38925 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
38926 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
38927 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
38928 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
38929 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
38930 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
38931 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
38932 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
38933 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
38934 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
38935 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
38936 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
38937 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
38938 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
38939 * sysdeps/ieee754/s_lib_version.c: Likewise.
38940 * sysdeps/ieee754/s_matherr.c: Likewise.
38941 * sysdeps/ieee754/s_signgam.c: Likewise.
38942 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38943 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38944 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
38945 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
38946 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
38947 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
38948 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
38949 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
38950 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
38951 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
38952 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
38953 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
38954 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
38955 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
38956 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
38957 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
38958 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
38959 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
38960 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
38961 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
38962 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
38964 2012-03-09 Joseph Myers <joseph@codesourcery.com>
38966 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
38967 * sunrpc/rpc_main.c: Likewise.
38968 * sunrpc/rpc_svcout.c: Likewise.
38970 2012-03-09 David S. Miller <davem@davemloft.net>
38972 * include/math_private.h: New file.
38974 2012-03-09 Joseph Myers <joseph@codesourcery.com>
38976 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
38977 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
38978 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
38979 from <bits/socket_type.h>.
38980 (enum __socket_type): Don't define here.
38981 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
38982 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38983 bits/socket_type.h.
38986 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
38987 checking __USE_GNU.
38989 * Makerules ($(inst_includedir)/%.h): New rule.
38990 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
38991 (install-others): Remove variable setting.
38992 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
38994 2012-03-08 Richard Henderson <rth@twiddle.net>
38996 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
38997 from macro to inline function; merge with the
38998 !__LIBC_INTERNAL_MATH_INLINES version.
38999 (__ieee754_sqrtf): Likewise.
39001 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
39002 to inline function.
39003 (__rintf, __floor, __floorf): Likewise.
39005 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
39006 macro to inline function.
39007 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
39009 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
39010 not <math/math_private.h>.
39012 2012-03-08 David S. Miller <davem@davemloft.net>
39014 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
39016 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
39018 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
39020 * resolv/gai_misc.c (handle_requests): Fix struct timespec
39022 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
39023 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
39025 2012-03-08 Ulrich Drepper <drepper@gmail.com>
39027 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
39028 be defined individually, they must be defined as a block. Define
39029 S for printing a string instead of hidint the different by using a
39030 macro for adding the 'l'.
39031 * stdio-common/tst-fphex-wide.c: Adjust.
39033 2012-03-07 Marek Polacek <polacek@redhat.com>
39035 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
39037 2012-03-08 Marek Polacek <polacek@redhat.com>
39040 * stdio-common/Makefile (tests): Add tst-fphex-wide.
39041 * stdio-common/tst-fphex.c: Define a few macros to make the
39042 test reusable. Use them.
39043 * stdio-common/tst-fphex-wide.c: New file.
39045 2012-03-08 Joseph Myers <joseph@codesourcery.com>
39048 * manual/macros.texi (gnusystems): New macro.
39049 (nongnusystems): Likewise.
39050 (gnulinuxhurdsystems): Likewise.
39051 (gnuhurdsystems): Likewise..
39052 (gnulinuxsystems): Likewise.
39053 * manual/charset.texi: Use new macros or @theglibc{} to refer to
39054 variants of the GNU system, not "GNU system".
39055 * manual/conf.texi: Likewise.
39056 * manual/errno.texi: Likewise. Update example of errno macro
39058 * manual/filesys.texi: Likewise.
39059 (getumask): Document as specific to GNU/Hurd.
39060 * manual/install.texi: Likewise. Reword some references to
39062 * manual/intro.texi: Likewise.
39063 * manual/io.texi: Likewise.
39064 (File Name Portability): Detail which constraints are inapplicable
39065 to all GNU systems and which are only inapplicable to GNU/Hurd.
39066 * manual/job.texi: Likewise.
39067 * manual/llio.texi: Likewise.
39068 (O_NOCTTY): Document as present on GNU/Linux.
39069 * manual/maint.texi: Likewise.
39070 * manual/memory.texi: Likewise.
39071 * manual/pattern.texi: Likewise.
39072 * manual/pipe.texi: Likewise.
39073 * manual/process.texi: Likewise.
39074 * manual/resource.texi: Likewise.
39075 (RUSAGE_CHILDREN): Remove statement about specifying a particular
39077 * manual/setjmp.texi: Likewise.
39078 * manual/signal.texi: Likewise.
39079 * manual/startup.texi: Likewise.
39080 * manual/stdio.texi: Likewise.
39081 * manual/terminal.texi: Likewise.
39082 (ONLCR): Document as POSIX.
39083 (OXTABS): Document availability on GNU/Linux as XTABS.
39084 (ONOEOT): Document availability separately from other bits.
39085 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
39086 * manual/time.texi: Likewise.
39087 * manual/users.texi: Likewise.
39088 * INSTALL: Regenerated.
39089 * sysdeps/gnu/errlist.c: Regenerated.
39091 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
39092 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
39093 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
39095 * configure: Regenerated.
39097 2012-03-07 Joseph Myers <joseph@codesourcery.com>
39099 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
39100 default includes instead of AC_HEADER_CHECK.
39101 * sysdeps/i386/configure: Regenerated.
39104 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
39105 * math/s_cacoshf.c (__cacoshf): Likewise.
39106 * math/s_cacoshl.c (__cacoshl): Likewise.
39107 * math/s_casinh.c (__casinh): Set signs of result from argument.
39108 * math/s_casinhf.c (__casinhf): Likewise.
39109 * math/s_casinhl.c (__casinhl): Likewise.
39110 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
39111 (casinh_test): Add more tests.
39112 * sysdeps/i386/fpu/libm-test-ulps: Update.
39113 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39115 2012-03-07 Ulrich Drepper <drepper@gmail.com>
39117 * po/zh_TW.po: Update from translation team.
39119 * login/Makefile (distribute): Remove variable.
39120 * catgets/Makefile: Likewise.
39121 * mach/Makefile: Likewise.
39122 * malloc/Makefile: Likewise.
39123 * misc/Makefile: Likewise.
39124 * iconv/Makefile: Likewise.
39125 * nscd/Makefile: Likewise.
39126 * hurd/Makefile: Likewise.
39127 * manual/Makefile: Likewise.
39128 * locale/Makefile: Likewise.
39129 * intl/Makefile: Likewise.
39130 * conform/Makefile: Likewise.
39131 * nss/Makefile: Likewise.
39132 * time/Makefile: Likewise.
39133 * soft-fp/Makefile: Likewise.
39134 * dirent/Makefile: Likewise.
39135 * gmon/Makefile: Likewise.
39136 * po/Makefile: Likewise.
39137 * rt/Makefile: Likewise.
39138 * socket/Makefile: Likewise.
39139 * math/Makefile: Likewise.
39140 * signal/Makefile: Likewise.
39141 * debug/Makefile: Likewise.
39142 * elf/Makefile: Likewise.
39143 * timezone/Makefile: Likewise.
39144 * stdlib/Makefile: Likewise.
39145 * iconvdata/Makefile: Likewise.
39146 * sunrpc/Makefile: Likewise.
39147 * io/Makefile: Likewise.
39148 * argp/Makefile: Likewise.
39149 * inet/Makefile: Likewise.
39150 * hesiod/Makefile: Likewise.
39151 * grp/Makefile: Likewise.
39152 * csu/Makefile: Likewise.
39153 * wctype/Makefile: Likewise.
39154 * crypt/Makefile: Likewise.
39155 * libio/Makefile: Likewise.
39156 * string/Makefile: Likewise.
39157 * nis/Makefile: Likewise.
39158 * resolv/Makefile: Likewise.
39159 * stdio-common/Makefile: Likewise.
39160 * wcsmbs/Makefile: Likewise.
39161 * dlfcn/Makefile: Likewise.
39162 * posix/Makefile: Likewise.
39165 * timezone/Makefile: Don't install timezone files, just the programs
39168 2012-03-06 Ulrich Drepper <drepper@gmail.com>
39170 * nss/databases.def: Add missing gshadow entry.
39172 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
39174 2012-03-06 Marek Polacek <polacek@redhat.com>
39177 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
39178 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
39179 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
39180 * stdio-common/tst-long-dbl-fphex.c: New file.
39182 2012-03-06 David S. Miller <davem@davemloft.net>
39184 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39185 (set_obp_int): New function.
39186 (get_obp_int): New function.
39187 (__get_clockfreq_via_dev_openprom): Likewise.
39188 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
39189 Avoid unused variable warnings on 'val' and use builtin_expect.
39190 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
39192 (INLINE_CLONE_SYSCALL): Likewise.
39194 2012-03-05 David S. Miller <davem@davemloft.net>
39196 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39198 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
39200 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39202 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
39203 only for |x| >= 40.
39204 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39206 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
39208 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
39209 Replace gettimeofday with __vdso_gettimeofday.
39211 * sysdeps/unix/sysv/linux/x86_64/init-first.c
39212 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
39213 __vdso_clock_gettime and __vdso_getcpu.
39215 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
39216 time with __vdso_time.
39218 2012-03-05 Joseph Myers <joseph@codesourcery.com>
39220 * manual/lang.texi (size_t): Note types to which size_t may be
39221 equivalent with the GNU C Library, but do not describe when
39222 differences between them are significant.
39224 2012-03-05 Andreas Jaeger <aj@suse.de>
39226 * sysdeps/i386/fpu/libm-test-ulps: Update.
39228 2012-03-05 Joseph Myers <joseph@codesourcery.com>
39231 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
39232 (__ieee754_pow): Save and restore rounding mode and use
39233 round-to-nearest for main computations.
39234 * math/libm-test.inc (pow_test_tonearest): New function.
39235 (pow_test_towardzero): Likewise.
39236 (pow_test_downward): Likewise.
39237 (pow_test_upward): Likewise.
39238 (main): Call the new functions.
39239 * sysdeps/i386/fpu/libm-test-ulps: Update.
39240 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39243 * math/libm-test.inc (cosh_test_tonearest): New function.
39244 (cosh_test_towardzero): Likewise.
39245 (cosh_test_downward): Likewise.
39246 (cosh_test_upward): Likewise.
39247 (sinh_test_tonearest): Likewise.
39248 (sinh_test_towardzero): Likewise.
39249 (sinh_test_downward): Likewise.
39250 (sinh_test_upward): Likewise.
39251 (main): Call the new functions.
39252 * sysdeps/i386/fpu/libm-test-ulps: Update.
39253 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39255 2012-03-05 Tom de Vries <tom@codesourcery.com>
39257 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
39258 default stack guard is set in last bytes.
39259 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
39261 2012-03-05 Kees Cook <keescook@chromium.org>
39263 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
39266 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
39267 possibly allocate from heap instead of stack.
39268 * stdio-common/bug-vfprintf-nargs.c: New file.
39269 * stdio-common/Makefile (tests): Add nargs overflow test.
39271 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
39273 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39275 2012-03-03 Marek Polacek <polacek@redhat.com>
39277 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
39278 * math/math_private.h: Likewise.
39279 * stdlib/tst-strtod.c: Likewise.
39280 * sysdeps/i386/i486/bits/atomic.h: Likewise.
39281 * sysdeps/x86_64/bits/atomic.h: Likewise.
39283 2012-03-02 David S. Miller <davem@davemloft.net>
39285 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
39286 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
39287 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
39288 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
39289 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
39290 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
39291 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
39292 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
39294 2012-03-02 Roland McGrath <roland@hack.frob.com>
39297 * manual/examples/README: New file, says the example source files
39298 can be used under GPL>=2.
39299 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
39300 line containing just "*/".
39301 * manual/examples/add.c: Add copyright header (GPL>=2).
39302 * manual/examples/argp-ex1.c: Likewise.
39303 * manual/examples/argp-ex2.c: Likewise.
39304 * manual/examples/argp-ex3.c: Likewise.
39305 * manual/examples/argp-ex4.c: Likewise.
39306 * manual/examples/atexit.c: Likewise.
39307 * manual/examples/db.c: Likewise.
39308 * manual/examples/dir.c: Likewise.
39309 * manual/examples/dir2.c: Likewise.
39310 * manual/examples/execinfo.c: Likewise.
39311 * manual/examples/filecli.c: Likewise.
39312 * manual/examples/filesrv.c: Likewise.
39313 * manual/examples/fmtmsgexpl.c: Likewise.
39314 * manual/examples/genpass.c: Likewise.
39315 * manual/examples/inetcli.c: Likewise.
39316 * manual/examples/inetsrv.c: Likewise.
39317 * manual/examples/isockad.c: Likewise.
39318 * manual/examples/longopt.c: Likewise.
39319 * manual/examples/memopen.c: Likewise.
39320 * manual/examples/memstrm.c: Likewise.
39321 * manual/examples/mkfsock.c: Likewise.
39322 * manual/examples/mkisock.c: Likewise.
39323 * manual/examples/mygetpass.c: Likewise.
39324 * manual/examples/pipe.c: Likewise.
39325 * manual/examples/popen.c: Likewise.
39326 * manual/examples/rprintf.c: Likewise.
39327 * manual/examples/search.c: Likewise.
39328 * manual/examples/select.c: Likewise.
39329 * manual/examples/setjmp.c: Likewise.
39330 * manual/examples/sigh1.c: Likewise.
39331 * manual/examples/sigusr.c: Likewise.
39332 * manual/examples/stpcpy.c: Likewise.
39333 * manual/examples/strdupa.c: Likewise.
39334 * manual/examples/strftim.c: Likewise.
39335 * manual/examples/strncat.c: Likewise.
39336 * manual/examples/subopt.c: Likewise.
39337 * manual/examples/swapcontext.c: Likewise.
39338 * manual/examples/termios.c: Likewise.
39339 * manual/examples/testopt.c: Likewise.
39340 * manual/examples/testpass.c: Likewise.
39341 * manual/examples/timeval_subtract.c: Likewise.
39344 * manual/time.texi (Elapsed Time): Move timeval_subtract example
39346 * manual/timeval_subtract.c.texi: ... here, new file.
39348 2012-03-02 David S. Miller <davem@davemloft.net>
39350 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
39352 2012-03-02 Joseph Myers <joseph@codesourcery.com>
39355 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
39356 (__sin): Save and restore rounding mode and use round-to-nearest
39357 for all computations.
39358 (__cos): Save and restore rounding mode and use round-to-nearest
39359 for all computations.
39360 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
39362 (tan): Save and restore rounding mode and use round-to-nearest for
39364 * math/libm-test.inc (cos_test_tonearest): New function.
39365 (cos_test_towardzero): Likewise.
39366 (cos_test_downward): Likewise.
39367 (cos_test_upward): Likewise.
39368 (sin_test_tonearest): Likewise.
39369 (sin_test_towardzero): Likewise.
39370 (sin_test_downward): Likewise.
39371 (sin_test_upward): Likewise.
39372 (tan_test_tonearest): Likewise.
39373 (tan_test_towardzero): Likewise.
39374 (tan_test_downward): Likewise.
39375 (tan_test_upward): Likewise.
39376 (main): Call the new functions.
39377 * sysdeps/i386/fpu/libm-test-ulps: Update.
39378 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39381 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
39382 small n, then large n, before computing and testing k+n.
39383 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
39384 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
39386 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
39388 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
39389 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
39390 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
39391 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
39392 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
39393 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
39394 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
39395 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
39396 * math/libm-test.inc (scalbn_test): Add more tests.
39397 (scalbln_test): Likewise.
39399 * manual/filesys.texi (mode_t): Describe constraints on size and
39400 signedness, not exact equivalence to a particular type.
39402 (ino64_t): Likewise.
39404 (nlink_t): Likewise.
39405 (blkcnt_t): Likewise.
39406 (blkcnt64_t): Likewise.
39407 * manual/llio.texi (off_t): Likewise.
39410 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
39411 (__ieee754_exp): Save and restore rounding mode and use
39412 round-to-nearest for all computations.
39413 * math/libm-test.inc (exp_test_tonearest): New function.
39414 (exp_test_towardzero): Likewise.
39415 (exp_test_downward): Likewise.
39416 (exp_test_upward): Likewise.
39417 (main): Call the new functions.
39418 * sysdeps/i386/fpu/libm-test-ulps: Update.
39419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39421 2012-03-01 Chris Demetriou <cgd@google.com>
39423 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
39424 have predictable order.
39426 2012-03-01 David S. Miller <davem@davemloft.net>
39428 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
39430 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
39431 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
39432 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
39433 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
39435 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
39436 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
39437 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
39438 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
39439 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
39440 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
39441 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
39442 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
39443 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
39445 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39447 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
39448 * sysdeps/sparc/fpu/libm-test-ulps: to here.
39449 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
39451 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
39452 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
39453 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
39454 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
39455 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
39456 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
39457 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
39458 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
39459 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
39460 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
39461 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
39462 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39463 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39464 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
39465 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39466 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39467 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
39468 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
39469 * sysdeps/sparc/elf/configure: Regenerated.
39471 2012-03-01 Joseph Myers <joseph@codesourcery.com>
39473 * configure.in (AS, LD): Require binutils 2.20 or later.
39474 * configure: Regenerated.
39475 * manual/install.texi (Tools for Compilation): Give binutils 2.20
39476 as required minimum version.
39477 * INSTALL: Regenerated.
39481 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
39482 before squaring exponent.
39483 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
39484 bottom long double and 27 bits of top long double before squaring
39486 * math/libm-test.inc (erfc_test): Add more tests.
39487 * sysdeps/i386/fpu/libm-test-ulps: Update.
39488 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39489 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39491 2012-03-01 Kai Tietz <ktietz@redhat.com>
39493 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
39494 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
39495 containing bit-fields.
39496 * soft-fp/extended.h (_FP_UNION_E): Likewise.
39497 * soft-fp/single.h (_FP_UNION_S): Likewise.
39498 * soft-fp/double.h (_FP_UNION_D): Likewise.
39500 2012-02-29 Joseph Myers <joseph@codesourcery.com>
39503 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
39504 not include ../strcmp.S.
39505 [USE_AS_STRNCASECMP_L]: Likewise.
39506 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
39507 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
39508 * sysdeps/i386/i686/multiarch/strncase_l-c.c
39509 (__strncasecmp_l_ia32): Define as alias to
39510 __strncasecmp_l_nonascii.
39513 * math/libm-test.inc (expm1_test): Add test for bug 5794.
39514 * sysdeps/i386/fpu/libm-test-ulps: Update.
39515 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39517 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
39518 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39520 2012-02-29 Jeff Law <law@redhat.com>
39522 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
39523 out of bounds read.
39525 2012-02-29 Marek Polacek <polacek@redhat.com>
39528 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
39529 * elf/Makefile: Add rules to run tst-unused-dep.out.
39531 2012-02-28 David S. Miller <davem@davemloft.net>
39533 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
39534 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
39535 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
39536 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
39537 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
39538 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
39540 2012-02-29 Joseph Myers <joseph@codesourcery.com>
39542 * math/libm-test.inc (llround_test): Move one test from
39543 lround_test. Use TEST_f_L in moved test.
39544 (lround_test): Move misplaced test to llround_test. Add testcase
39547 2012-02-28 Ulrich Drepper <drepper@gmail.com>
39549 * sysdeps/x86_64/fpu/e_expf.S: New file.
39550 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
39552 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
39555 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
39556 of remain_len that may cause incomplete multi-byte character and
39558 * posix/bug-regex33.c: New file.
39559 * posix/Makefile (tests): Add bug-regex33.
39561 2012-02-28 Joseph Myers <joseph@codesourcery.com>
39563 * manual/macros.texi: New file.
39564 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
39565 * manual/libc.texinfo: Include macros.texi.
39566 * manual/creatute.texi: Likewise.
39567 * manual/install.texi: Likewise.
39568 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
39569 @glibcadj{} in references to the GNU C Library.
39570 * manual/charset.texi: Likewise.
39571 * manual/conf.texi: Likewise.
39572 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
39573 when not using those macros.
39574 * manual/creature.texi: Likewise.
39575 * manual/crypt.texi: Likewise.
39576 * manual/errno.texi: Likewise.
39577 * manual/filesys.texi: Likewise.
39578 * manual/header.texi: Likewise.
39579 * manual/install.texi: Likewise.
39580 * manual/intro.texi: Likewise.
39581 * manual/io.texi: Likewise.
39582 * manual/job.texi: Likewise.
39583 * manual/lang.texi: Likewise.
39584 * manual/libc.texiinfo: Likewise.
39585 * manual/llio.texi: Likewise.
39586 * manual/locale.texi: Likewise.
39587 * manual/maint.texi: Likewise.
39588 * manual/math.texi: Likewise.
39589 * manual/memory.texi: Likewise.
39590 * manual/message.texi: Likewise.
39591 * manual/nss.texi: Likewise.
39592 * manual/pattern.texi: Likewise.
39593 * manual/process.texi: Likewise.
39594 * manual/resource.texi: Likewise.
39595 * manual/search.texi: Likewise.
39596 * manual/setjmp.texi: Likewise.
39597 * manual/signal.texi: Likewise.
39598 * manual/socket.texi: Likewise.
39599 * manual/startup.texi: Likewise.
39600 * manual/stdio.texi: Likewise.
39601 * manual/string.texi: Likewise.
39602 * manual/sysinfo.texi: Likewise.
39603 * manual/syslog.texi: Likewise.
39604 * manual/terminal.texi: Likewise.
39605 * manual/time.texi: Likewise.
39606 * manual/users.texi: Likewise.
39607 * INSTALL: Regenerated.
39608 * NOTES: Regenerated.
39609 * sysdeps/gnu/errlist.c: Regenerated.
39611 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
39613 * include/dirent.h: Include <dirstream.h> before
39616 2012-02-28 David S. Miller <davem@davemloft.net>
39618 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
39619 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
39620 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
39621 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
39623 2012-02-27 David S. Miller <davem@davemloft.net>
39625 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
39626 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
39627 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
39628 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
39630 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
39631 frame pointer instead of stack pointer relative arg slot.
39632 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39633 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39634 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39636 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
39639 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
39641 2012-02-27 David S. Miller <davem@davemloft.net>
39643 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
39644 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39645 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
39646 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
39647 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39648 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39649 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
39650 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
39652 2012-02-27 Joseph Myers <joseph@codesourcery.com>
39654 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
39655 later. Allow versions 5-9.
39656 * configure: Regenerated.
39657 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
39658 required minimum version and 4.6 as recommended version. Do not
39659 mention bugs in GCC 2.7 and 2.8.
39660 * INSTALL: Regenerated.
39662 2012-02-27 David S. Miller <davem@davemloft.net>
39664 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
39665 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
39666 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
39667 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
39668 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
39669 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
39670 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
39671 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
39673 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
39674 manipulate bits before adding and subtracting TWO112[sx].
39675 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
39677 2012-02-27 Roland McGrath <roland@hack.frob.com>
39680 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
39681 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
39682 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
39683 being in POSIX, because they are in 1003.1-2008.
39685 * rt/tst-aio.c: Include <fcntl.h>.
39686 * rt/tst-aio7.c: Likewise.
39687 * rt/tst-aio64.c: Likewise.
39689 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
39691 2012-02-27 Joseph Myers <joseph@codesourcery.com>
39693 * manual/install.texi (--with-headers): Describe headers as
39694 interface headers, not private headers.
39695 (Specific advice for GNU/Linux systems): Describe use of headers
39696 from "make headers_install", not private headers from older
39698 * INSTALL: Regenerated.
39699 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
39701 * sysdeps/unix/sysv/linux/configure: Regenerated.
39703 * manual/llio.texi (fclean): Remove documentation.
39705 * manual/Makefile (libc-texi-generated): New variable. Include
39707 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
39708 $(libc-texi-generated), not duplicated list of files.
39709 (version.texi, stamp-version): New rules.
39710 (realclean): Remove $(libc-texi-generated), not individual files
39711 from that list. Do not remove dir-add.texinfo.
39712 * manual/libc.texinfo: Comment out uses of edition numbers and
39713 references to printed manual. Remove last-updated dates.
39714 (EDITION): Comment out.
39716 (VERSION, UPDATED): Remove.
39717 (version.texi): Include.
39719 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
39721 * sysdeps/posix/spawni.c: Include <signal.h>.
39722 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
39723 * sysdeps/pthread/aio_fsync.c: Likewise.
39725 2012-02-26 Ulrich Drepper <drepper@gmail.com>
39727 * conform/Makefile (tests): Run only when not cross-compiling and
39728 when fast-check is not defined.
39730 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
39731 * conform/data/limits.h-data: Fixes for POSIX2008.
39732 * conform/run-conformtest.sh: Run all tests.
39733 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
39735 * include/bits/dlfcn.h: Likewise.
39736 * include/langinfo.h: Likewise.
39737 * include/monetary.h: Likewise.
39738 * include/sys/poll.h: Likewise.
39740 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
39742 * posix/spawn.h: Define __need_sigset_t.
39743 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
39744 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
39745 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
39746 to get sigevent_t only.
39747 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
39748 only for __USE_GNU.
39749 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39750 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
39751 process_vm_writev only for __USE_GNU.
39752 * termios/termios.h: Declare tcgetsid also for POSIX2008.
39754 * conform/Makefile: For now ignore errors from run-conformtest.
39755 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
39756 POSIX to avoid namespace pollution. Don't prepend headers.
39757 * conform/data/aio.h-data: Fixes for POSIX testing.
39758 * conform/data/fcntl.h-data: Likewise.
39759 * conform/data/glob.h-data: Likewise.
39760 * conform/data/grp.h-data: Likewise.
39761 * conform/data/pthread.h-data: Likewise.
39762 * conform/data/pwd.h-data: Likewise.
39763 * conform/data/signal.h-data: Likewise.
39764 * conform/data/spawn.h-data: Likewise.
39765 * conform/data/stdio.h-data: Likewise.
39766 * conform/data/stdlib.h-data: Likewise.
39767 * conform/data/stropts.h-data: Likewise.
39768 * conform/data/sys/mman.h-data: Likewise.
39769 * conform/data/sys/stat.h-data: Likewise.
39770 * conform/data/sys/types.h-data: Likewise.
39771 * conform/data/sys/wait.h-data: Likewise.
39772 * conform/data/time.h-data: Likewise.
39773 * conform/data/unistd.h-data: Likewise.
39774 * conform/data/utime.h-data: Likewise.
39776 * io/sys/stat.h: fchmod was always in POSIX.
39777 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
39778 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
39779 * rt/aio.h: Define __need_timespec before including <time.h>.
39780 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
39781 struct. Add forward declaration of pthread_attr_t and use it in
39783 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
39784 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
39785 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
39786 always remove CLK_TCK definition.
39788 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
39790 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
39792 2012-02-25 Ulrich Drepper <drepper@gmail.com>
39794 * conform/run-conformtest.sh: New file.
39795 * conform/Makefile: Run run-conformtest for tests.
39796 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
39799 * conform/data/uchar.h-data: New file.
39800 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
39801 * conform/data/arpa/inet.h-data: Likewise.
39802 * conform/data/assert.h-data: Likewise.
39803 * conform/data/complex.h-data: Likewise.
39804 * conform/data/cpio.h-data: Likewise.
39805 * conform/data/ctype.h-data: Likewise.
39806 * conform/data/dirent.h-data: Likewise.
39807 * conform/data/dlfcn.h-data: Likewise.
39808 * conform/data/errno.h-data: Likewise.
39809 * conform/data/fcntl.h-data: Likewise.
39810 * conform/data/float.h-data: Likewise.
39811 * conform/data/fmtmsg.h-data: Likewise.
39812 * conform/data/fnmatch.h-data: Likewise.
39813 * conform/data/ftw.h-data: Likewise.
39814 * conform/data/glob.h-data: Likewise.
39815 * conform/data/grp.h-data: Likewise.
39816 * conform/data/iconv.h-data: Likewise.
39817 * conform/data/inttypes.h-data: Likewise.
39818 * conform/data/langinfo.h-data: Likewise.
39819 * conform/data/libgen.h-data: Likewise.
39820 * conform/data/limits.h-data: Likewise.
39821 * conform/data/locale.h-data: Likewise.
39822 * conform/data/math.h-data: Likewise.
39823 * conform/data/monetary.h-data: Likewise.
39824 * conform/data/mqueue.h-data: Likewise.
39825 * conform/data/ndbm.h-data: Likewise.
39826 * conform/data/net/if.h-data: Likewise.
39827 * conform/data/netdb.h-data: Likewise.
39828 * conform/data/netinet/in.h-data: Likewise.
39829 * conform/data/nl_types.h-data: Likewise.
39830 * conform/data/poll.h-data: Likewise.
39831 * conform/data/pthread.h-data: Likewise.
39832 * conform/data/pwd.h-data: Likewise.
39833 * conform/data/regex.h-data: Likewise.
39834 * conform/data/sched.h-data: Likewise.
39835 * conform/data/search.h-data: Likewise.
39836 * conform/data/semaphore.h-data: Likewise.
39837 * conform/data/setjmp.h-data: Likewise.
39838 * conform/data/signal.h-data: Likewise.
39839 * conform/data/spawn.h-data: Likewise.
39840 * conform/data/stdarg.h-data: Likewise.
39841 * conform/data/stdio.h-data: Likewise.
39842 * conform/data/stdlib.h-data: Likewise.
39843 * conform/data/string.h-data: Likewise.
39844 * conform/data/strings.h-data: Likewise.
39845 * conform/data/stropts.h-data: Likewise.
39846 * conform/data/sys/ipc.h-data: Likewise.
39847 * conform/data/sys/mman.h-data: Likewise.
39848 * conform/data/sys/msg.h-data: Likewise.
39849 * conform/data/sys/resource.h-data: Likewise.
39850 * conform/data/sys/select.h-data: Likewise.
39851 * conform/data/sys/sem.h-data: Likewise.
39852 * conform/data/sys/shm.h-data: Likewise.
39853 * conform/data/sys/socket.h-data: Likewise.
39854 * conform/data/sys/stat.h-data: Likewise.
39855 * conform/data/sys/statvfs.h-data: Likewise.
39856 * conform/data/sys/time.h-data: Likewise.
39857 * conform/data/sys/timeb.h-data: Likewise.
39858 * conform/data/sys/times.h-data: Likewise.
39859 * conform/data/sys/types.h-data: Likewise.
39860 * conform/data/sys/uio.h-data: Likewise.
39861 * conform/data/sys/un.h-data: Likewise.
39862 * conform/data/sys/utsname.h-data: Likewise.
39863 * conform/data/sys/wait.h-data: Likewise.
39864 * conform/data/syslog.h-data: Likewise.
39865 * conform/data/tar.h-data: Likewise.
39866 * conform/data/termios.h-data: Likewise.
39867 * conform/data/utime.h-data: Likewise.
39868 * conform/data/utmpx.h-data: Likewise.
39869 * conform/data/varargs.h-data: Likewise.
39870 * conform/data/wchar.h-data: Likewise.
39871 * conform/data/wctype.h-data: Likewise.
39872 * conform/data/wordexp.h-data: Likewise.
39874 * include/stropts.h: New file.
39875 * include/uchar.h: New file.
39876 * include/aio.h: Changes to allow conformtest.pl to use the headers.
39877 * include/assert.h: Likewise.
39878 * include/ctype.h: Likewise.
39879 * include/dirent.h: Likewise.
39880 * include/dlfcn.h: Likewise.
39881 * include/fcntl.h: Likewise.
39882 * include/fnmatch.h: Likewise.
39883 * include/glob.h: Likewise.
39884 * include/grp.h: Likewise.
39885 * include/libio.h: Likewise.
39886 * include/locale.h: Likewise.
39887 * include/math.h: Likewise.
39888 * include/net/if.h: Likewise.
39889 * include/netdb.h: Likewise.
39890 * include/netinet/in.h: Likewise.
39891 * include/pthread.h: Likewise.
39892 * include/pwd.h: Likewise.
39893 * include/regex.h: Likewise.
39894 * include/sched.h: Likewise.
39895 * include/search.h: Likewise.
39896 * include/setjmp.h: Likewise.
39897 * include/signal.h: Likewise.
39898 * include/stdio.h: Likewise.
39899 * include/stdlib.h: Likewise.
39900 * include/string.h: Likewise.
39901 * include/sys/cdefs.h: Likewise.
39902 * include/sys/mman.h: Likewise.
39903 * include/sys/msg.h: Likewise.
39904 * include/sys/resource.h: Likewise.
39905 * include/sys/select.h: Likewise.
39906 * include/sys/socket.h: Likewise.
39907 * include/sys/stat.h: Likewise.
39908 * include/sys/statvfs.h: Likewise.
39909 * include/sys/time.h: Likewise.
39910 * include/sys/times.h: Likewise.
39911 * include/sys/uio.h: Likewise.
39912 * include/sys/utsname.h: Likewise.
39913 * include/sys/wait.h: Likewise.
39914 * include/termios.h: Likewise.
39915 * include/time.h: Likewise.
39916 * include/ulimit.h: Likewise.
39917 * include/unistd.h: Likewise.
39918 * include/utime.h: Likewise.
39919 * include/wchar.h: Likewise.
39920 * include/wctype.h: Likewise.
39921 * include/wordexp.h: Likewise.
39923 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
39925 * time/time.h: TIME_UTC must be a macro.
39926 Make timespec_get available for ISO C11 only as well.
39928 2012-02-24 Ulrich Drepper <drepper@gmail.com>
39930 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
39931 Reported by Peng Haitao <penght@cn.fujitsu.com>.
39933 2012-02-24 Joseph Myers <joseph@codesourcery.com>
39935 * configure.in: Use -o not -a in test for unsupported multi-arch.
39937 2012-02-24 Joseph Myers <joseph@codesourcery.com>
39939 * manual/texinfo.tex: Update to version 2012-01-19.16.
39941 2012-02-24 Joseph Myers <joseph@codesourcery.com>
39943 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
39945 2012-02-24 Roland McGrath <roland@hack.frob.com>
39948 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
39949 * manual/fdl-1.3.texi: New file.
39950 * manual/fdl-1.1.texi: File removed.
39953 * manual/libc.texinfo (FDL_VERSION): New @set.
39954 Use it for mention of FDL in cover text.
39955 (Documentation License): Use it in @include file name.
39957 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39958 Roland McGrath <roland@hack.frob.com>
39961 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
39962 (not LONG_LONG_MAX and LONG_LONG_MIN.
39963 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
39964 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
39966 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
39968 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39972 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
39973 manipulate bits before adding and subtracting TWO23[sx].
39974 * math/libm-test.inc (nearbyint_test): Add more tests.
39976 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39979 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
39980 bits before adding and subtracting TWO23[sx].
39981 * math/libm-test.inc (rint_test): Add more tests.
39982 (rint_test_tonearest): Likewise.
39983 (rint_test_towardzero): Likewise.
39984 (rint_test_downward): Likewise.
39985 (rint_test_upward: Likewise.
39987 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39990 * include/stdc-predef.h: New file. Extracted from features.h.
39991 * include/features.h: Include stdc-predef.h.
39992 * Makefile (headers): Add stdc-predef.h.
39993 * CONFORMANCE (Compiler limitations): Update.
39995 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39997 * manual/libc.texinfo (VERSION, UPDATED): Revert.
39999 2012-02-21 David S. Miller <davem@davemloft.net>
40001 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
40002 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40004 2012-02-20 David S. Miller <davem@davemloft.net>
40006 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
40007 using a normal save/restore sequence, rather than allocating a
40008 dummy stack frame just to store a frame pointer and restore.
40009 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40011 2012-02-21 Joseph Myers <joseph@codesourcery.com>
40013 * manual/install.texi: Fix stray word in line-wrapped comment.
40015 2012-02-20 David S. Miller <davem@davemloft.net>
40017 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
40018 both binutils and gcc support GOTDATA.
40020 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
40021 "rd %pc" in the PIC register setup sequences.
40023 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
40024 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
40025 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40026 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
40027 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40028 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
40029 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40030 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40031 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
40032 (SYSCALL_ERROR_HANDLER): Likewise.
40033 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40034 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40035 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
40036 (SYSCALL_ERROR_HANDLER): Likewise.
40038 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
40039 (HAVE_GCC_GOTDATA): New.
40040 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
40041 relocation support in both binutils and gcc.
40042 * sysdeps/sparc/elf/configure: Regenerate.
40044 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
40045 * sysdeps/sparc/sparc32/elf/configure: Delete.
40046 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
40047 * sysdeps/sparc/sparc64/elf/configure: Delete.
40048 * sysdeps/sparc/elf/configure.in: New file.
40049 * sysdeps/sparc/elf/configure: Generate.
40051 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
40052 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
40053 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40054 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
40055 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
40057 2012-02-21 Joseph Myers <joseph@codesourcery.com>
40059 * manual/install.texi: Do not mention specific glibc version
40061 * manual/libc.texinfo (VERSION, UPDATED): Update.
40062 (@copying): Use @copyright{} and range of years.
40064 2012-02-21 Joseph Myers <joseph@codesourcery.com>
40067 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
40068 [crti.S not in sysdirs] (generated): Do not append.
40069 [crti.S not in sysdirs] (omit-deps): Likewise.
40070 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
40071 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
40072 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
40073 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
40074 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
40076 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
40077 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
40078 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
40079 * csu/defs.awk: Remove file.
40080 * sysdeps/generic/initfini.c: Likewise.
40081 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
40083 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
40086 2012-02-20 Joseph Myers <joseph@codesourcery.com>
40088 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
40089 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
40090 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
40091 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
40092 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40093 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
40095 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
40096 (__EPOLL_PACKED): Define to empty if not defined by
40098 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
40099 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40102 2012-02-20 Joseph Myers <joseph@codesourcery.com>
40104 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
40105 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
40106 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
40107 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
40109 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
40110 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40113 2012-02-20 Joseph Myers <joseph@codesourcery.com>
40115 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
40117 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40118 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
40119 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
40120 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40122 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
40124 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40125 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40127 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
40129 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
40130 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
40132 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
40134 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
40137 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
40139 * math/w_acos.c: Use non-signaling floating-point comparisons.
40140 * math/w_acosf.c: Likewise.
40141 * math/w_acosh.c: Likewise.
40142 * math/w_acoshf.c: Likewise.
40143 * math/w_acoshl.c: Likewise.
40144 * math/w_acosl.c: Likewise.
40145 * math/w_asin.c: Likewise.
40146 * math/w_asinf.c: Likewise.
40147 * math/w_asinl.c: Likewise.
40148 * math/w_atanh.c: Likewise.
40149 * math/w_atanhf.c: Likewise.
40150 * math/w_atanhl.c: Likewise.
40151 * math/w_exp2.c: Likewise.
40152 * math/w_exp2f.c: Likewise.
40153 * math/w_exp2l.c: Likewise.
40154 * math/w_j0.c: Likewise.
40155 * math/w_j0f.c: Likewise.
40156 * math/w_j0l.c: Likewise.
40157 * math/w_j1.c: Likewise.
40158 * math/w_j1f.c: Likewise.
40159 * math/w_j1l.c: Likewise.
40160 * math/w_jn.c: Likewise.
40161 * math/w_jnf.c: Likewise.
40162 * math/w_log.c: Likewise.
40163 * math/w_log10.c: Likewise.
40164 * math/w_log10f.c: Likewise.
40165 * math/w_log10l.c: Likewise.
40166 * math/w_log2.c: Likewise.
40167 * math/w_log2f.c: Likewise.
40168 * math/w_log2l.c: Likewise.
40169 * math/w_logf.c: Likewise.
40170 * math/w_logl.c: Likewise.
40171 * math/w_sqrt.c: Likewise.
40172 * math/w_sqrtf.c: Likewise.
40173 * math/w_sqrtl.c: Likewise.
40174 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40175 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
40176 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40177 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
40178 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
40180 2012-02-19 Joseph Myers <joseph@codesourcery.com>
40183 * manual/string.texi (strnlen): Use correct parameter name in
40184 equivalent expression.
40186 2012-02-19 Joseph Myers <joseph@codesourcery.com>
40189 * manual/users.texi (seteuid): Consistently use neweuid for
40192 2012-02-19 Joseph Myers <joseph@codesourcery.com>
40195 * manual/nss.texi (Services in the NSS configuration): Correct
40196 list of services in example configuration file.
40198 2012-02-19 Nick Bowler <nbowler@draconx.ca>
40201 * manual/arith.texi: Remove statements about negative zero
40202 behaving identically to zero.
40204 2012-02-18 Joseph Myers <joseph@codesourcery.com>
40207 * manual/install.texi: Do not document upgrading from libc5.
40209 2012-02-18 Joseph Myers <joseph@codesourcery.com>
40212 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
40214 2012-02-18 David S. Miller <davem@davemloft.net>
40216 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
40217 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
40218 %o7 across the call.
40219 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
40221 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
40222 SETUP_PIC_REG_LEAF.
40223 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40224 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
40225 * sysdeps/sparc/crtn.S: Likewise.
40227 2012-02-17 Ulrich Drepper <drepper@gmail.com>
40229 * aout/Makefile: Remove.
40231 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
40234 * manual/examples/argp-ex1.c (main): Format definition in GNU
40236 * manual/examples/argp-ex2.c (main): Likewise.
40237 * manual/examples/argp-ex3.c (main): Likewise.
40238 * manual/examples/argp-ex4.c (main): Likewise.
40239 * manual/examples/longopt.c (main): Use new-style prototype
40241 * manual/examples/strncat.c (main): Specify return type and use
40242 (void) for arguments.
40243 * manual/examples/subopt.c (main): Use char **argv argument.
40245 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40248 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
40251 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
40254 * manual/string.texi (strchr): Change when strchrnul is
40257 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
40260 * manual/locale.texi (setlocale): Document LOCPATH.
40262 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40265 * manual/process.texi (execle): Move @dots{} before last argument.
40267 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
40270 * manual/charset.texi (Generic Charset Conversion): Fix typo
40271 (LC_TYPE -> LC_CTYPE).
40273 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
40276 * manual/arith.texi (scalbn): Use @var{} on parameter names.
40277 (scalbnf): Likewise.
40278 (scalbnl): Likewise.
40279 (scalbln): Likewise.
40280 (scalblnf): Likewise.
40281 (scalblnl): Likewise.
40282 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
40283 (vwarnx): Likewise.
40286 * manual/filesys.texi (telldir): Use braces around return type.
40287 * manual/llio.texi (mmap): Add space after comma.
40288 (mmap64): Likewise.
40289 * manual/math.texi (jn): Use @var{} on parameter names.
40295 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
40297 * manual/resource.texi (ulimit): Use @dots{} instead of literal
40299 (sched_get_priority_min): Remove semicolon on @deftypefun line.
40300 (sched_get_priority_max): Likewise.
40301 * manual/signal.texi (sigvec): Add space after comma.
40302 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
40304 (if_indextoname): Likewise.
40305 (if_freenameindex): Likewise.
40306 (sendto): Use ',' instead of '.' in prototype.
40307 * manual/startup.texi (syscall): Use @dots{} instead of literal
40309 * manual/stdio.texi (__fpending): Separate initial words of
40310 paragraph from @deftypefun line.
40311 * manual/syslog.texi (syslog): Use @dots{} instead of literal
40313 (vsyslog): Use @var{} on parameter names.
40314 * manual/terminal.texi (stty): Use @var{} on parameter names.
40315 * manual/users.texi (getutmp): Use @var{} on parameter names.
40316 (getutmpx): Likewise.
40318 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40321 * manual/stdio.texi (fopen): Fix typos in description of
40324 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
40327 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
40328 get clock_id definition.
40330 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
40333 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
40334 (madvise): Cast every argument to void on its own.
40336 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40339 * manual/startup.texi (Exit Status): Fix typo.
40341 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40344 * manual/examples/argp-ex1.c: Include <stdlib.h>.
40345 * manual/examples/argp-ex2.c: Likewise.
40346 * manual/examples/argp-ex3.c: Likewise.
40348 2012-02-16 Richard Henderson <rth@redhat.com>
40350 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
40351 * sysdeps/s390/s390-32/initfini.c: Remove.
40352 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
40353 * sysdeps/s390/s390-64/initfini.c: Remove.
40355 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40357 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
40358 compiler output for sysdeps/generic/initfini.c.
40359 * sysdeps/sh/elf/initfini.c: Remove file.
40361 2012-02-16 David S. Miller <davem@davemloft.net>
40364 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
40366 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
40367 * sysdeps/sparc/crti.S: New file.
40368 * sysdeps/sparc/crtn.S: New file.
40369 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
40370 * sysdeps/sparc/sparc64/Makefile: Likewise.
40372 2012-02-15 Mike Frysinger <vapier@gentoo.org>
40375 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
40377 2012-02-15 Roland McGrath <roland@hack.frob.com>
40380 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
40382 * mach/devstream.c (cookie_io_functions_t): Macro removed.
40383 (write, read, close): Likewise.
40384 Patch by Aurelien Jarno <aurelien@aurel32.net>.
40386 2012-02-15 Joseph Myers <joseph@codesourcery.com>
40388 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
40389 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
40390 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
40391 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
40393 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
40394 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40397 2012-02-14 Marek Polacek <polacek@redhat.com>
40399 * sysdeps/x86_64/crti.S: New file.
40400 * sysdeps/x86_64/crtn.S: New file.
40401 * sysdeps/x86_64/elf/initfini.c: Remove file.
40403 2012-02-13 Joseph Myers <joseph@codesourcery.com>
40405 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
40406 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
40407 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
40408 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
40410 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
40411 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40414 2012-02-13 Joseph Myers <joseph@codesourcery.com>
40416 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
40417 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
40418 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
40419 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
40421 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
40422 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40425 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
40427 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
40428 __feraiseexcept instead of feraiseexcept.
40430 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
40431 nanosleep invocations.
40432 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
40433 strings, and add error checking for a nanosleep invocations.
40435 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
40437 Replace FSF snail mail address with URLs, as per GNU coding standards.
40438 Most of the snail mail addresses were wrong anyway, and omitting
40439 them makes the source code easier to maintain. Almost all of the
40440 changes are to license notices and to locale LC_IDENTIFICATION
40441 addresses, except for this one:
40442 * manual/libc.texinfo: In "Published by", give the FSF's URL,
40443 not its snail mail address.
40445 2012-02-09 Richard Henderson <rth@twiddle.net>
40447 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
40448 of kernel-features.h.
40450 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
40452 2012-02-08 Marek Polacek <polacek@redhat.com>
40454 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
40455 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
40456 * sysdeps/gnu/_G_config.h: Likewise.
40457 * sysdeps/generic/_G_config.h: Likewise.
40459 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
40461 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
40463 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40465 * sysdeps/powerpc/powerpc32/crti.S: New file.
40466 * sysdeps/powerpc/powerpc32/crtn.S: New file.
40467 * sysdeps/powerpc/powerpc64/crti.S: New file.
40468 * sysdeps/powerpc/powerpc64/crtn.S: New file.
40470 * Makeconfig (have-initfini): Don't set.
40471 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
40472 * configure.in (nopic_initfini): Don't substitute.
40473 * config.h.in (HAVE_INITFINI): Don't #undef.
40474 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
40475 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
40477 2012-02-08 Joseph Myers <joseph@codesourcery.com>
40479 Support crti.S and crtn.S provided directly by architectures.
40480 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
40481 [crti.S in sysdirs] (omit-deps): Likewise.
40482 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
40483 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
40484 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
40485 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
40486 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
40487 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
40488 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
40489 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
40490 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
40491 compiler output for sysdeps/generic/initfini.c.
40492 * sysdeps/i386/elf/Makefile: Remove file.
40493 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
40495 2012-02-07 Marek Polacek <polacek@redhat.com>
40497 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
40498 * sysdeps/gnu/_G_config.h: Likewise.
40499 * sysdeps/mach/hurd/_G_config.h: Likewise.
40501 2012-02-07 Marek Polacek <polacek@redhat.com>
40503 * math/Makefile (tests): Add tst-CMPLX2.
40504 * math/tst-CMPLX2.c: New file.
40506 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
40508 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40510 * math/libm-test.inc (jn_test): Add missing L suffix.
40512 2012-02-06 Marek Polacek <polacek@redhat.com>
40514 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
40515 * sysdeps/i386/fpu/e_powf.S: Likewise.
40516 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40517 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
40518 * sysdeps/i386/fpu/e_acosh.S: Likewise.
40519 * sysdeps/i386/fpu/e_pow.S: Likewise.
40520 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
40521 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40522 * sysdeps/i386/fpu/s_expm1.S: Likewise.
40523 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
40524 * sysdeps/i386/fpu/e_log2.S: Likewise.
40525 * sysdeps/i386/fpu/e_log2l.S: Likewise.
40526 * sysdeps/i386/fpu/e_scalb.S: Likewise.
40527 * sysdeps/i386/fpu/e_powl.S: Likewise.
40528 * sysdeps/i386/fpu/s_log1p.S: Likewise.
40529 * sysdeps/i386/fpu/e_log10f.S: Likewise.
40530 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
40531 * sysdeps/i386/fpu/e_logl.S: Likewise.
40532 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
40533 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
40534 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
40535 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
40536 * sysdeps/i386/fpu/e_log2f.S: Likewise.
40537 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40538 * sysdeps/i386/fpu/e_log.S: Likewise.
40539 * sysdeps/i386/fpu/s_cexp.S: Likewise.
40540 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40541 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
40542 * sysdeps/i386/fpu/e_logf.S: Likewise.
40543 * sysdeps/i386/fpu/e_log10l.S: Likewise.
40544 * sysdeps/i386/fpu/e_atanh.S: Likewise.
40545 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
40546 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
40547 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
40548 * sysdeps/i386/fpu/e_log10.S: Likewise.
40549 * sysdeps/i386/fpu/s_frexp.S: Likewise.
40550 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40551 * sysdeps/i386/fpu/s_asinh.S: Likewise.
40552 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
40553 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40554 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
40555 * sysdeps/i386/asm-syntax.h: Likewise.
40556 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40557 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40558 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40559 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
40560 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
40561 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40562 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
40563 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
40564 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40565 * sysdeps/powerpc/sysdep.h: Likewise.
40566 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
40567 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40569 2012-02-06 Joseph Myers <joseph@codesourcery.com>
40572 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
40574 2012-02-06 Joseph Myers <joseph@codesourcery.com>
40576 * sysdeps/i386/sysdep.h: Include <features.h>.
40577 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
40580 2012-02-05 Joseph Myers <joseph@codesourcery.com>
40582 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
40584 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
40587 2012-02-03 Joseph Myers <joseph@codesourcery.com>
40589 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
40590 (SETUP_PIC_REG): Use GET_PC_THUNK.
40591 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
40594 2012-02-03 Joseph Myers <joseph@codesourcery.com>
40596 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
40597 for non-PIC compilation.
40598 (SETUP_PIC_REG): Add .p2align directive.
40599 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
40600 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
40601 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
40602 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
40603 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
40604 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
40605 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
40606 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
40607 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
40608 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
40609 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
40610 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
40611 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
40612 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
40613 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
40614 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
40615 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
40616 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
40617 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
40618 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
40619 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
40620 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
40621 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
40622 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
40623 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
40624 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
40625 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40626 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
40627 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
40628 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
40629 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
40630 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40631 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
40632 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
40633 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
40634 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
40635 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
40636 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
40637 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
40638 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
40639 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
40641 2012-02-03 Joseph Myers <joseph@codesourcery.com>
40643 * math/tst-CMPLX.c: Include <stdio.h>.
40645 2012-01-31 Joseph Myers <joseph@codesourcery.com>
40647 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
40649 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
40650 * sysdeps/sparc/bits/mathdef.h: Likewise.
40652 2012-01-31 Marek Polacek <polacek@redhat.com>
40654 * libio/libio.h: Don't define _PARAMS.
40655 * locale/programs/config.h: Don't define PARAMS.
40656 * stdlib/strtol_l.c: Likewise.
40657 (__strtol_l): Remove PARAMS from the prototype.
40659 2012-01-31 Ulrich Drepper <drepper@gmail.com>
40661 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
40662 names. Just use the correct names. Remove unnecessary wrapper
40664 * malloc/arena.c: Likewise.
40665 * malloc/hooks.c: Likewise.
40667 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
40668 ARENA_TEST says not to. Simplify test for creation of a new arena.
40669 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
40671 2012-01-30 Ulrich Drepper <drepper@gmail.com>
40673 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
40675 (update_get_addr): New function.
40676 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
40677 GET_ADDR_MODULE parameter.
40679 2012-01-30 Joseph Myers <joseph@codesourcery.com>
40681 * crypt/cert.c: Remove __STDC__ conditionals.
40682 * crypt/crypt-entry.c: Likewise.
40683 * crypt/crypt_util.c: Likewise.
40684 * libio/filedoalloc.c: Likewise.
40685 * libio/fileops.c: Likewise.
40686 * libio/genops.c: Likewise.
40687 * libio/iofclose.c: Likewise.
40688 * libio/iofdopen.c: Likewise.
40689 * libio/iofopen.c: Likewise.
40690 * libio/iofopen64.c: Likewise.
40691 * libio/iogetdelim.c: Likewise.
40692 * libio/iopopen.c: Likewise.
40693 * libio/obprintf.c: Likewise.
40694 * libio/oldfileops.c: Likewise.
40695 * libio/oldiofclose.c: Likewise.
40696 * libio/oldiofdopen.c: Likewise.
40697 * libio/oldiofopen.c: Likewise.
40698 * libio/oldiopopen.c: Likewise.
40699 * libio/wfiledoalloc.c: Likewise.
40700 * libio/wgenops.c: Likewise.
40701 * locale/programs/xmalloc.c: Likewise.
40702 * misc/syslog.c: Likewise.
40703 * stdio-common/xbug.c: Likewise.
40704 * string/memchr.c: Likewise.
40705 * string/memcmp.c: Likewise.
40706 * string/memrchr.c: Likewise.
40707 * string/rawmemchr.c: Likewise.
40708 * sysdeps/posix/getcwd.c: Likewise.
40709 * time/strftime_l.c: Likewise.
40711 2012-01-30 Joseph Myers <joseph@codesourcery.com>
40713 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
40714 * config.make.in (config-cflags-sse2avx): Define.
40715 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
40718 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
40720 * scripts/config.guess: Update from upstream config git repository.
40721 * scripts/config.sub: Likewise.
40723 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
40725 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
40727 (R_TILEPRO_*, R_TILEGX_*): New macros.
40729 * scripts/firstversions.awk: Fix bug in version range handling.
40731 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
40733 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
40735 * include/sys/epoll.h: New file.
40736 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
40739 2012-01-28 Ulrich Drepper <drepper@gmail.com>
40741 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
40742 Avoid unnecessary __WORDSIZE == 64 test.
40743 (fmaxf): Use VEX format if possible.
40748 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
40749 * math/math_private.h: Remove libc_fegetround* and
40751 * sysdeps/i386/configure.in: Check for -msse2avx.
40752 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
40753 also if SSE2AVX is defined.
40754 Remove libc_fegetround* and libc_fesetround*.
40755 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
40756 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
40757 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
40759 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40760 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40761 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40762 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40763 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40765 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
40767 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40769 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
40771 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
40773 2012-01-27 Ulrich Drepper <drepper@gmail.com>
40776 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
40778 * Makeconfig (libm): Define.
40779 * elf/Makefile: Add rules to build and run tst-relsort1.
40780 * elf/tst-relsort1.c: New file.
40781 * elf/tst-relsort1mod1.c: New file.
40782 * elf/tst-relsort1mod2.c: New file.
40784 2012-01-27 Joseph Myers <joseph@codesourcery.com>
40786 * math/s_ldexp.c: Remove __STDC__ conditionals.
40787 * math/s_ldexpf.c: Likewise.
40788 * math/s_ldexpl.c: Likewise.
40789 * math/s_nextafter.c: Likewise.
40790 * math/s_nexttowardf.c: Likewise.
40791 * math/s_significand.c: Likewise.
40792 * math/s_significandf.c: Likewise.
40793 * math/s_significandl.c: Likewise.
40794 * math/w_jnl.c: Likewise.
40795 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40796 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40797 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40798 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40799 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40800 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40801 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
40802 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40803 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40804 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40805 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40806 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40807 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40808 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40809 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40810 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40811 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40812 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40813 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40814 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40815 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40816 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40817 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40818 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40819 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40820 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40821 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40822 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40823 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40824 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40825 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40826 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
40827 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40828 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40829 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
40830 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40831 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
40832 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
40833 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
40834 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
40835 * sysdeps/ieee754/k_standard.c: Likewise.
40836 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40837 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40838 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40839 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40840 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40841 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40842 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40843 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40844 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40845 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40846 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40847 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40848 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40849 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40850 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40851 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40852 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40853 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40854 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40855 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40856 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40857 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40858 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40859 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40860 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40861 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
40862 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40863 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40864 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40865 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
40866 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
40867 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
40868 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40869 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
40870 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
40871 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
40872 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
40873 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40874 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
40875 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
40876 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
40877 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
40878 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
40879 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
40880 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40881 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
40882 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
40883 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40884 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
40885 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
40886 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
40887 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40888 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40889 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
40890 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
40891 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
40892 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
40893 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40894 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40895 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40896 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40897 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
40898 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
40899 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40900 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40901 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40902 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40903 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
40904 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
40905 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40906 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40907 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40908 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40909 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
40910 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
40911 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40912 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
40913 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
40914 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
40915 * sysdeps/ieee754/s_matherr.c: Likewise.
40916 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
40917 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40918 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40919 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40921 2012-01-26 Joseph Myers <joseph@codesourcery.com>
40923 * crypt/md5.h: Remove __STDC__ conditionals.
40924 * libio/libioP.h: Likewise.
40925 * locale/programs/config.h: Likewise.
40926 * sysdeps/generic/sysdep.h: Likewise.
40927 * sysdeps/i386/asm-syntax.h: Likewise.
40928 * sysdeps/s390/asm-syntax.h: Likewise.
40929 * sysdeps/unix/sysdep.h: Likewise.
40930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
40931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40933 2012-01-26 Joseph Myers <joseph@codesourcery.com>
40935 * libio/libio.h: Remove __STDC__ conditionals.
40936 * malloc/obstack.h: Likewise.
40937 * math/complex.h: Likewise.
40938 * math/math.h: Likewise.
40939 * sysdeps/generic/_G_config.h: Likewise.
40940 * sysdeps/gnu/_G_config.h: Likewise.
40941 * sysdeps/mach/hurd/_G_config.h: Likewise.
40942 * sysdeps/powerpc/bits/mathdef.h: Likewise.
40943 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
40944 * sysdeps/sparc/bits/mathdef.h: Likewise.
40946 2012-01-26 Ulrich Drepper <drepper@gmail.com>
40949 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
40950 Clean up HAS_* macros.
40951 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
40952 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
40954 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
40956 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40957 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40958 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40959 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40960 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40962 2012-01-25 Joseph Myers <joseph@codesourcery.com>
40964 * elf/tst-unique3.cc (gets): Remove declaration.
40965 * elf/tst-unique3lib.cc (gets): Likewise.
40966 * elf/tst-unique3lib2.cc (gets): Likewise.
40967 * elf/tst-unique4.cc (gets): Likewise.
40969 2012-01-24 Ulrich Drepper <drepper@gmail.com>
40971 * include/stdio.h: Add C++ protection. Add gets declarations and
40973 * debug/tst-chk1.c: Don't declare gets here.
40974 * stdio-common/tst-gets.c: Likewise.
40976 2012-01-24 Joseph Myers <joseph@codesourcery.com>
40978 * posix/glob: Remove directory.
40980 2012-01-24 Joseph Myers <joseph@codesourcery.com>
40982 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
40984 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
40986 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
40987 of the non-standard EPFNOSUPPORT.
40989 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
40991 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
40992 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
40993 ANYWHERE set to 1 only on KERN_NO_SPACE error.
40995 2012-01-21 Ulrich Drepper <drepper@gmail.com>
40997 * wcsmbs/uchar.h: Test __STDC_VERSION__.
40999 2012-01-20 Ulrich Drepper <drepper@gmail.com>
41001 * nscd/aicache.c (addhstaiX): Do not cache negative results of
41003 * nscd/grpcache.c (cache_addgr): Likewise.
41004 * nscd/hstcache.c (cache_addhst): Likewise.
41005 * nscd/initgrcache.c (addinitgroupsX): Likewise.
41006 * nscd/pwdcache.c (cache_addpw): Likewise.
41007 * nscd/servicescache.c (cache_addserv): Likewise.
41009 2012-01-16 Ulrich Drepper <drepper@gmail.com>
41011 * malloc/malloc.c: Various cleanups.
41012 * malloc/hooks.c: Likewise.
41014 * stdlib/Makefile (tests): Add bug-fmtmsg1.
41015 * stdlib/bug-fmtmsg1.c: New file.
41017 * stdlib/fmtmsg.c (init): Add missing unlock.
41018 Patch by Peng Haitao <penght@cn.fujitsu.com>.
41020 2012-01-12 Marek Polacek <polacek@redhat.com>
41022 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
41025 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
41027 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
41028 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
41029 macro to ensure uniqueness of label name.
41030 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41031 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41033 2012-01-11 Ulrich Drepper <drepper@gmail.com>
41035 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
41037 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
41038 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
41039 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
41040 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
41042 2012-01-10 Ulrich Drepper <drepper@gmail.com>
41044 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
41046 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
41047 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
41048 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
41050 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
41052 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
41053 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
41054 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41055 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
41057 * math/bits/math-finite.h: Add ldexp support.
41059 2012-01-10 Marek Polacek <polacek@redhat.com>
41061 * locale/programs/localedef.h (show_archive_content): Add noreturn
41064 2012-01-09 Ulrich Drepper <drepper@gmail.com>
41066 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
41068 2012-01-08 Ulrich Drepper <drepper@gmail.com>
41070 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
41072 * io/Makefile (headers): Add bits/poll2.h.
41074 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
41076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
41077 typo #include statement.
41079 2012-01-08 Ulrich Drepper <drepper@gmail.com>
41081 * include/sys/cdefs.h: Define __attribute_alloc_size.
41082 * catgets/gencat.c: Add alloc_size attribute and apply consistently
41083 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
41084 * elf/pldd.c: Likewise.
41085 * iconv/iconv_charmap.c: Likewise.
41086 * iconv/iconvconfig.c: Likewise.
41087 * iconv/strtab.c: Likewise.
41088 * locale/programs/locale.c: Likewise.
41089 * locale/programs/localedef.h: Likewise.
41090 * locale/programs/simple-hash.c: Likewise.
41091 * nscd/nscd.h: Likewise.
41092 * nss/makedb.c: Likewise.
41093 * sysdeps/generic/ldconfig.h: Likewise.
41094 * locale/programs/localedef.c: Remove xmalloc prototype.
41095 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
41097 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
41099 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
41102 2012-01-08 Ulrich Drepper <drepper@gmail.com>
41104 * math/Makefile (tests): Add tst-CMPLX.
41105 * math/tst-CMPLX.c: New file.
41107 * math/complex.h (CMPLXL): Fix typo.
41109 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
41110 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
41112 * debug/tst-chk1.c: Add poll and ppoll tests.
41113 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
41114 * include/sys/poll.h: Add hidden proto for ppoll.
41115 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
41116 * sysdeps/mach/hurd/ppoll.c: Likewise.
41117 * io/ppoll.c: Likewise.
41118 * debug/poll_chk.c: New file.
41119 * debug/ppoll_chk.c: New file.
41120 * include/bits/poll2.h: New file.
41121 * io/bits/poll2.h: New file.
41124 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
41126 * configure.in: static is always set to yes. Remove.
41127 * config.make.in: Don't set build-static.
41128 * Makeconfig: Remove use of build-static.
41129 * dlfcn/Makefile: Likewise.
41130 * elf/Makefile: Likewise.
41131 * math/Makefile: Likewise.
41132 * misc/Makefile: Likewise.
41133 * nptl/Makefile: Likewise.
41134 * sysdeps/mach/hurd/Makefile: Likewise.
41136 * configure.in: PWD_P is not used anymore.
41137 * config.make.in: Remove PWD_P entry.
41139 * configure.in: Remove last remnants of RANLIB.
41140 No need to check for signed size_t anymore.
41141 Don't set libc_commonpagesize and libc_relro_required here for Alpha
41143 Remove __builtin_expect test because we require at least gcc 3.4.
41144 * aclocal.m4: Likewise.
41146 * wcsmbs/mbrtoc16.c: Implement using towc function.
41147 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
41148 * wcsmbs/wcsmbsload.c: Likewise.
41149 * iconv/gconv_simple.c: Likewise.
41150 * iconv/gconv_int.h: Likewise.
41151 * iconv/gconv_builtin.h: Likewise.
41152 * iconv/iconv_prog.c: Remove CHAR16 handling.
41154 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
41156 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
41158 * configure.in: Remove --with-elf and --enable-bounded options.
41159 Dont set base_machine for ia64. More non-ELF conditions removed.
41160 Remove testing and setting of leading underscore information.
41161 * config.make.in (build-bounded): Set to no.
41162 * config.h.in: Remove NO_UNDERSCORES entry.
41163 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
41165 * csu/start.c: Remove !NO_UNDERSCORE code.
41166 * locale/localeinfo.h: Likewise.
41167 * sysdeps/generic/machine-gmon.h: Likewise.
41168 * sysdeps/generic/sysdep.h: Likewise.
41169 * sysdeps/i386/sysdep.h: Likewise.
41170 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41171 * sysdeps/mach/sysdep.h: Likewise.
41172 * sysdeps/s390/s390-32/sysdep.h: Likewise.
41173 * sysdeps/s390/s390-64/sysdep.h: Likewise.
41174 * sysdeps/sh/sysdep.h: Likewise.
41175 * sysdeps/sparc/sparc32/alloca.S: Likewise.
41176 * sysdeps/unix/i386/sysdep.S: Likewise.
41177 * sysdeps/unix/sparc/start.c: Likewise.
41178 * sysdeps/unix/sparc/sysdep.S: Likewise.
41179 * sysdeps/unix/sparc/sysdep.h: Likewise.
41180 * sysdeps/unix/start.c: Likewise.
41181 * sysdeps/unix/x86_64/sysdep.S: Likewise.
41182 * sysdeps/x86_64/sysdep.h: Likewise.
41184 2012-01-07 Ulrich Drepper <drepper@gmail.com>
41187 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
41189 * argp/argp-fmtstream.h: Use const instead __const.
41190 * argp/argp.h: Likewise.
41191 * assert/assert.h: Likewise.
41192 * bits/fenv.h: Likewise.
41193 * bits/sched.h: Likewise.
41194 * bits/sigset.h: Likewise.
41195 * bits/sigthread.h: Likewise.
41196 * catgets/nl_types.h: Likewise.
41197 * conform/data/pthread.h-data: Likewise.
41198 * crypt/crypt-private.h: Likewise.
41199 * crypt/crypt.h: Likewise.
41200 * crypt/crypt_util.c: Likewise.
41201 * ctype/ctype.h: Likewise.
41202 * debug/execinfo.h: Likewise.
41203 * debug/mbsnrtowcs_chk.c: Likewise.
41204 * debug/mbsrtowcs_chk.c: Likewise.
41205 * debug/wcsnrtombs_chk.c: Likewise.
41206 * debug/wcsrtombs_chk.c: Likewise.
41207 * debug/wcstombs_chk.c: Likewise.
41208 * dirent/dirent.h: Likewise.
41209 * dlfcn/dlfcn.h: Likewise.
41210 * elf/neededtest4.c: Likewise.
41211 * grp/grp.h: Likewise.
41212 * gshadow/gshadow.h: Likewise.
41213 * iconv/gconv.h: Likewise.
41214 * iconv/gconv_int.h: Likewise.
41215 * iconv/gconv_simple.c: Likewise.
41216 * iconv/iconv.h: Likewise.
41217 * iconv/loop.c: Likewise.
41218 * iconv/skeleton.c: Likewise.
41219 * include/aio.h: Likewise.
41220 * include/aliases.h: Likewise.
41221 * include/argz.h: Likewise.
41222 * include/arpa/inet.h: Likewise.
41223 * include/assert.h: Likewise.
41224 * include/dirent.h: Likewise.
41225 * include/dlfcn.h: Likewise.
41226 * include/execinfo.h: Likewise.
41227 * include/fcntl.h: Likewise.
41228 * include/fenv.h: Likewise.
41229 * include/glob.h: Likewise.
41230 * include/grp.h: Likewise.
41231 * include/libintl.h: Likewise.
41232 * include/mntent.h: Likewise.
41233 * include/netdb.h: Likewise.
41234 * include/pwd.h: Likewise.
41235 * include/rpc/netdb.h: Likewise.
41236 * include/sched.h: Likewise.
41237 * include/search.h: Likewise.
41238 * include/shadow.h: Likewise.
41239 * include/signal.h: Likewise.
41240 * include/stdio.h: Likewise.
41241 * include/stdlib.h: Likewise.
41242 * include/string.h: Likewise.
41243 * include/sys/socket.h: Likewise.
41244 * include/sys/stat.h: Likewise.
41245 * include/sys/statfs.h: Likewise.
41246 * include/sys/statvfs.h: Likewise.
41247 * include/sys/syslog.h: Likewise.
41248 * include/sys/time.h: Likewise.
41249 * include/sys/uio.h: Likewise.
41250 * include/time.h: Likewise.
41251 * include/unistd.h: Likewise.
41252 * include/utmp.h: Likewise.
41253 * include/wchar.h: Likewise.
41254 * include/wctype.h: Likewise.
41255 * inet/aliases.h: Likewise.
41256 * inet/arpa/inet.h: Likewise.
41257 * inet/netinet/ether.h: Likewise.
41258 * inet/netinet/in.h: Likewise.
41259 * intl/libintl.h: Likewise.
41260 * io/bits/fcntl2.h: Likewise.
41261 * io/fcntl.h: Likewise.
41262 * io/ftw.h: Likewise.
41263 * io/sys/poll.h: Likewise.
41264 * io/sys/stat.h: Likewise.
41265 * io/sys/statfs.h: Likewise.
41266 * io/sys/statvfs.h: Likewise.
41267 * io/utime.h: Likewise.
41268 * libio/bits/stdio.h: Likewise.
41269 * libio/bits/stdio2.h: Likewise.
41270 * libio/libio.h: Likewise.
41271 * libio/libioP.h: Likewise.
41272 * libio/stdio.h: Likewise.
41273 * locale/lc-ctype.c: Likewise.
41274 * locale/locale.h: Likewise.
41275 * login/utmp.h: Likewise.
41276 * malloc/arena.c: Likewise.
41277 * malloc/malloc.c: Likewise.
41278 * malloc/malloc.h: Likewise.
41279 * malloc/mcheck.c: Likewise.
41280 * malloc/mtrace.c: Likewise.
41281 * math/bits/mathcalls.h: Likewise.
41282 * math/fenv.h: Likewise.
41283 * math/math_private.h: Likewise.
41284 * misc/bits/error.h: Likewise.
41285 * misc/bits/syslog.h: Likewise.
41286 * misc/err.h: Likewise.
41287 * misc/error.h: Likewise.
41288 * misc/fstab.h: Likewise.
41289 * misc/mntent.h: Likewise.
41290 * misc/regexp.h: Likewise.
41291 * misc/search.h: Likewise.
41292 * misc/sgtty.h: Likewise.
41293 * misc/sys/mman.h: Likewise.
41294 * misc/sys/syslog.h: Likewise.
41295 * misc/sys/uio.h: Likewise.
41296 * misc/sys/xattr.h: Likewise.
41297 * misc/ttyent.h: Likewise.
41298 * nis/rpcsvc/ypclnt.h: Likewise.
41299 * nss/nss.h: Likewise.
41300 * posix/bits/unistd.h: Likewise.
41301 * posix/fnmatch.h: Likewise.
41302 * posix/glob.h: Likewise.
41303 * posix/sched.h: Likewise.
41304 * posix/spawn.h: Likewise.
41305 * posix/sys/wait.h: Likewise.
41306 * posix/unistd.h: Likewise.
41307 * posix/wordexp.h: Likewise.
41308 * pwd/pwd.h: Likewise.
41309 * resolv/netdb.h: Likewise.
41310 * resource/sys/resource.h: Likewise.
41311 * rt/aio.h: Likewise.
41312 * rt/bits/mqueue2.h: Likewise.
41313 * rt/mqueue.h: Likewise.
41314 * shadow/shadow.h: Likewise.
41315 * signal/signal.h: Likewise.
41316 * socket/send.c: Likewise.
41317 * socket/sendto.c: Likewise.
41318 * socket/sys/socket.h: Likewise.
41319 * stdio-common/printf.h: Likewise.
41320 * stdlib/bits/stdlib.h: Likewise.
41321 * stdlib/fmtmsg.h: Likewise.
41322 * stdlib/monetary.h: Likewise.
41323 * stdlib/stdlib.h: Likewise.
41324 * stdlib/ucontext.h: Likewise.
41325 * streams/stropts.h: Likewise.
41326 * string/argz.h: Likewise.
41327 * string/bits/string2.h: Likewise.
41328 * string/string.h: Likewise.
41329 * string/strings.h: Likewise.
41330 * sunrpc/rpc/auth.h: Likewise.
41331 * sunrpc/rpc/auth_des.h: Likewise.
41332 * sunrpc/rpc/clnt.h: Likewise.
41333 * sunrpc/rpc/netdb.h: Likewise.
41334 * sunrpc/rpc/pmap_clnt.h: Likewise.
41335 * sunrpc/rpc/xdr.h: Likewise.
41336 * sysdeps/generic/inttypes.h: Likewise.
41337 * sysdeps/generic/net/if.h: Likewise.
41338 * sysdeps/generic/sys/swap.h: Likewise.
41339 * sysdeps/gnu/net/if.h: Likewise.
41340 * sysdeps/gnu/utmpx.h: Likewise.
41341 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
41342 * sysdeps/i386/i486/bits/string.h: Likewise.
41343 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
41344 * sysdeps/s390/bits/string.h: Likewise.
41345 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
41346 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
41347 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
41348 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
41349 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
41350 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
41351 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
41352 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
41353 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
41354 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
41355 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
41356 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
41357 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
41358 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
41359 * sysdeps/unix/sysv/linux/readv.c: Likewise.
41360 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
41361 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
41362 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41363 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
41364 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
41365 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
41366 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
41367 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
41368 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
41369 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
41370 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
41371 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
41372 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41373 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
41374 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
41375 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
41376 * sysvipc/sys/ipc.h: Likewise.
41377 * sysvipc/sys/msg.h: Likewise.
41378 * sysvipc/sys/sem.h: Likewise.
41379 * sysvipc/sys/shm.h: Likewise.
41380 * termios/termios.h: Likewise.
41381 * time/sys/time.h: Likewise.
41382 * time/time.h: Likewise.
41383 * wcsmbs/bits/wchar2.h: Likewise.
41384 * wcsmbs/uchar.h: Likewise.
41385 * wcsmbs/wchar.h: Likewise.
41386 * wctype/wctype.h: Likewise.
41389 * Makeconfig: Remove all but ELF support including AIX support.
41390 * Makerules: Likewise.
41391 * config.h.in: Likewise.
41392 * config.make.in: Likewise.
41393 * configure: Likewise.
41394 * configure.in: Likewise.
41395 * csu/Makefile: Likewise.
41396 * csu/version.c: Likewise.
41397 * debug/Makefile: Likewise.
41398 * dlfcn/Makefile: Likewise.
41399 * elf/Makefile: Likewise.
41400 * extra-lib.mk: Likewise.
41401 * iconv/Makefile: Likewise.
41402 * include/libc-symbols.h: Likewise.
41403 * include/shlib-compat.h: Likewise.
41404 * resolv/Makefile: Likewise.
41405 * resolv/res_libc.c: Likewise.
41406 * rt/Makefile: Likewise.
41407 * sysdeps/i386/asm-syntax.h: Likewise.
41408 * sysdeps/i386/sysdep.h: Likewise.
41409 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41410 * sysdeps/mach/sysdep.h: Likewise.
41411 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
41412 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
41413 * sysdeps/s390/asm-syntax.h: Likewise.
41414 * sysdeps/s390/s390-32/sysdep.h: Likewise.
41415 * sysdeps/s390/s390-64/sysdep.h: Likewise.
41416 * sysdeps/sh/sysdep.h: Likewise.
41417 * sysdeps/unix/sparc/sysdep.h: Likewise.
41418 * sysdeps/wordsize-32/divdi3.c: Likewise.
41419 * sysdeps/x86_64/sysdep.h: Likewise.
41421 * argp/Versions: Remove _argp_unlock_xxx.
41424 * abilist/ld.abilist: Update. Adjust for removal of tls option.
41425 * abilist/libBrokenLocale.abilist: Likewise.
41426 * abilist/libanl.abilist: Likewise.
41427 * abilist/libc.abilist: Likewise.
41428 * abilist/libcrypt.abilist: Likewise.
41429 * abilist/libdl.abilist: Likewise.
41430 * abilist/libm.abilist: Likewise.
41431 * abilist/libnsl.abilist: Likewise.
41432 * abilist/libpthread.abilist: Likewise.
41433 * abilist/libresolv.abilist: Likewise.
41434 * abilist/librt.abilist: Likewise.
41435 * abilist/libthread_db.abilist: Likewise.
41436 * abilist/libutil.abilist: Likewise.
41437 * abilist/libnss_db.abilist: New file.
41439 * scripts/abilist.awk: Add support for indirect functions.
41441 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
41443 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
41445 * shlib-versions: Remove entries for ports architectures.
41447 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
41449 * elf/stackguard-macros.h: Remove support for IA-64.
41450 * elf/tst-auditmod1.c: Likewise.
41451 * sysdeps/generic/ldsodefs.h: Likewise.
41453 * sysdeps/unix/sysv/linux/configure.in: Ports should define
41454 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
41458 * configure.in: Remove --enable-omitfp support.
41460 * config.make.in: Likewise.
41461 * Makeconfig: Likewise.
41462 * manual/install.texi: Likewise.
41464 In case anyone cares, the IA-64 architecture could move to ports.
41465 * sysdeps/ia64/*: Removed.
41466 * sysdeps/unix/sysv/linux/ia64/*: Removed.
41467 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
41470 * configure.in: Remove entries for unsupported architectures.
41473 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
41474 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
41476 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
41477 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
41478 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
41479 fall back to using wcrtomb.
41480 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
41481 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
41483 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
41484 * wcsmbs/tst-c16c32-1.c: New file.
41486 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
41489 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
41491 * elf/tst-unique3.cc: Add explicit declaration of gets.
41492 * elf/tst-unique3lib.cc: Likewise.
41493 * elf/tst-unique3lib2.cc: Likewise.
41494 * elf/tst-unique4.cc: Likewise.
41496 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
41498 2012-01-06 Joseph Myers <joseph@codesourcery.com>
41501 * assert/assert.h (static_assert): Don't define for C++.
41502 * libio/stdio.h (gets): Do declare for C++ <= C++11.
41503 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
41505 2012-01-03 Ulrich Drepper <drepper@gmail.com>
41507 * iconv/loop.c (single loop): Fix assertion in storing of
41510 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
41512 2012-01-01 Ulrich Drepper <drepper@gmail.com>
41514 * posix/getconf.c: Update copyright year.
41515 * nss/getent.c: Likewise.
41516 * nss/makedb.c: Likewise.
41517 * iconv/iconvconfig.c: Likewise.
41518 * iconv/iconv_prog.c: Likewise.
41519 * elf/ldconfig.c: Likewise.
41520 * elf/pldd.c: Likewise.
41521 * elf/sotruss.ksh: Likewise.
41522 * catgets/gencat.c: Likewise.
41523 * csu/version.c: Likewise.
41524 * elf/ldd.bash.in: Likewise.
41525 * elf/sprof.c (print_version): Likewise.
41526 * locale/programs/locale.c: Likewise.
41527 * locale/programs/localedef.c: Likewise.
41528 * login/programs/pt_chown.c: Likewise.
41529 * nscd/nscd.c (print_version): Likewise.
41530 * debug/xtrace.sh: Likewise.
41531 * malloc/memusage.sh: Likewise.
41532 * malloc/mtrace.pl: Likewise.
41533 * debug/catchsegv.sh: Likewise.
41535 2011-12-30 Jakub Jelinek <jakub@redhat.com>
41537 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
41540 2011-12-24 Ulrich Drepper <drepper@gmail.com>
41543 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
41544 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
41546 * iconv/gconv_int.h: Likewise.
41547 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
41548 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
41549 from libc for GLIBC_2.16.
41550 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
41551 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
41552 * wcsmbs/uchar.h: Really define mbstate_t.
41553 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
41554 * wcsmbs/c16rtomb.c: New file.
41555 * wcsmbs/mbrtoc16.c: New file.
41556 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
41557 for C/POSIX locale.
41558 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
41559 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
41561 * wcsmbs/wchar.h: Add missing __restrict.
41563 2011-12-23 Ulrich Drepper <drepper@gmail.com>
41566 * time/Makefile (routines): Add timespec_get.
41567 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
41568 * time/time.h: Define TIME_UTC and declare timespec_get. Define
41569 timespec for ISO C11.
41570 * time/timespec_get.c: New file.
41571 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
41572 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
41575 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
41576 * stdlib/stdlib.h: Declare aligned_alloc.
41577 * Versions.def: Add GLIBC_2.16 for libc.
41578 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
41581 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
41584 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
41588 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
41591 * assert/assert.h (static_assert): Define.
41593 * version.h: Update for 2.16 development version.
41596 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
41599 * version.h (RELEASE): Bump for 2.15 release.
41600 * include/features.h (__GLIBC_MINOR__): Bump to 15.
41602 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
41603 Patch by Marek Polacek <mpolacek@redhat.com>.
41605 * bits/byteswap.h: Protect long long constants with __extension__.
41606 * sysdeps/i386/bits/byteswap.h: Likewise.
41607 * sysdeps/ia64/bits/byteswap.h: Likewise.
41608 * sysdeps/s390/bits/byteswap.h: Likewise.
41609 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41611 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41614 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
41615 destination buffer.
41616 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
41618 2011-12-23 Marek Polacek <polacek@redhat.com>
41620 * elf/dl-addr.c (determine_info): Add inline keyword.
41621 * elf/tst-auditmod4b.c (check_avx): Likewise.
41622 * elf/tst-auditmod6b.c (check_avx): Likewise.
41623 * elf/tst-auditmod6c.c (check_avx): Likewise.
41624 * elf/tst-auditmod7b.c (check_avx): Likewise.
41626 2011-12-23 Ulrich Drepper <drepper@gmail.com>
41628 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
41631 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41634 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
41635 processing for last bytes.
41637 2011-08-06 Bruno Haible <bruno@clisp.org>
41640 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
41641 U+0385, not to U+1FEE.
41644 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
41645 entry for U+00A5 U+0301.
41647 2011-12-22 Ulrich Drepper <drepper@gmail.com>
41650 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
41651 buffer for the output is too small.
41653 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
41657 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
41658 SSE flags if possible.
41660 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41663 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
41664 processing for last bytes.
41666 2011-12-22 Joseph Myers <joseph@codesourcery.com>
41668 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
41669 (syscall-list-default-options, syscall-list-default-condition)
41670 (syscall-list-includes): Define.
41671 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
41672 list of ABIs and options and #if conditions for each ABI. Do not
41673 handle common syscalls between ABIs specially.
41674 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
41676 (syscall-list-variants, syscall-list-32bit-options)
41677 (syscall-list-32bit-condition, syscall-list-64bit-options)
41678 (syscall-list-64bit-condition): Define.
41679 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
41680 (syscall-list-variants, syscall-list-32bit-options)
41681 (syscall-list-32bit-condition, syscall-list-64bit-options)
41682 (syscall-list-64bit-condition): Define.
41683 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
41685 (syscall-list-variants, syscall-list-32bit-options)
41686 (syscall-list-32bit-condition, syscall-list-64bit-options)
41687 (syscall-list-64bit-condition): Define.
41688 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
41690 (syscall-list-variants, syscall-list-32bit-options)
41691 (syscall-list-32bit-condition, syscall-list-64bit-options)
41692 (syscall-list-64bit-condition): Define.
41694 2011-12-22 Ulrich Drepper <drepper@gmail.com>
41696 * locale/iso-639.def: Add brx entry.
41699 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
41700 Proposed by Mariusz_Cukr <marcukr@op.pl>.
41702 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
41703 __feraiseexcept_renamed.
41705 2011-12-21 Ulrich Drepper <drepper@gmail.com>
41708 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
41709 EPOLLET with unsigned values.
41710 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41711 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
41713 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
41714 to large cancellation.
41715 * math/s_cacoshf.c: Likewise.
41716 * math/s_cacoshl.c: Likewise.
41718 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
41722 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
41723 * math/s_cacoshf.c: Likewise.
41724 * math/s_cacoshl.c: Likewise.
41726 2011-12-21 Ulrich Drepper <drepper@gmail.com>
41729 * iconv/gconv.h: Define __GCONV_SWAP.
41730 * iconvdata/unicode.c: The swap bit must be stored in __flags.
41731 * iconvdata/utf-16.c: Likewise.
41732 * iconvdata/utf-32.c: Likewise.
41734 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
41737 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
41738 numerator after shifting it by one limb.
41740 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
41742 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
41743 under [__USE_EXTERN_INLINES].
41745 2011-12-17 Ulrich Drepper <drepper@gmail.com>
41748 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
41750 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41752 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
41753 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
41755 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
41756 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
41757 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
41758 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
41759 for strncasecmp/strncasecmp_l compilation.
41760 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
41761 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
41763 2011-12-08 Marek Polacek <mpolacek@redhat.com>
41766 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
41769 2011-12-17 Ulrich Drepper <drepper@gmail.com>
41772 * time/tzfile.c (__tzfile_read): Check values from file header.
41774 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
41776 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
41777 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
41778 * powerpc/powerpc32/dl-start.S: Likewise.
41779 * powerpc/powerpc32/elf/start.S: Likewise.
41780 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
41781 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
41782 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
41783 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
41784 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
41785 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
41786 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
41787 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
41788 * powerpc/powerpc32/fpu/s_round.S: Likewise.
41789 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
41790 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
41791 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
41792 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
41793 * powerpc/powerpc32/memset.S: Likewise.
41794 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
41795 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
41796 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
41797 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
41798 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
41799 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
41800 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
41801 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
41802 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
41803 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
41804 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
41805 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41806 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41808 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41810 * math/libm-test.inc: Added more nearbyint tests.
41811 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
41812 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
41813 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
41814 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
41816 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
41818 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
41821 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41823 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
41824 Add wcscpy-ssse3 wcscpy-c.
41825 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
41826 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
41827 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
41828 * sysdeps/x86_64/wcschr.S: New file.
41829 * sysdeps/x86_64/wcsrchr.S: New file.
41830 * string/test-strcmp.c: Remove checking of wcscmp function for
41832 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
41833 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
41834 wcsrchr-sse2 wcsrchr-c.
41835 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
41836 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
41837 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
41838 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
41839 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
41840 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
41841 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
41842 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
41843 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
41844 * wcsmbc/wcschr.c (WCSCHR): New macro.
41846 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41848 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
41849 * wcsmbs/test-wcsrchr.c: New file.
41850 * string/test-strrchr.c: Add wcsrchr support.
41852 * wcsmbs/test-wcscpy.c: New file.
41853 * string/test-strcpy.c: Add wcscpy support.
41856 2011-12-10 Ulrich Drepper <drepper@gmail.com>
41858 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
41861 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
41864 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
41866 2011-12-04 Ulrich Drepper <drepper@gmail.com>
41868 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
41869 Minor optimizations.
41871 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
41872 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
41873 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
41875 2011-12-03 Ulrich Drepper <drepper@gmail.com>
41877 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
41878 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
41879 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
41880 for gcc to avoid warnings.
41881 * inet/Makefile (tests): Add tst-checks.
41882 * inet/tst-checks.c: New file.
41884 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
41887 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
41890 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
41891 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
41893 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
41895 2011-12-02 Ulrich Drepper <drepper@gmail.com>
41897 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
41900 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
41902 2011-11-29 Joseph Myers <joseph@codesourcery.com>
41904 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
41905 conditional on GCC version.
41906 (__arch_compare_and_exchange_val_8_acq)
41907 (__arch_compare_and_exchange_val_16_acq)
41908 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
41909 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
41910 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
41912 2011-12-02 Joseph Myers <joseph@codesourcery.com>
41914 * sysdeps/sh/backtrace.c: New file.
41916 2011-12-02 Andreas Schwab <schwab@redhat.com>
41918 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
41921 2011-12-01 Andreas Schwab <schwab@redhat.com>
41923 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
41924 falling back to utime.
41926 2011-11-30 Andreas Schwab <schwab@redhat.com>
41928 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
41929 expectations for float.
41931 2011-11-29 Andreas Schwab <schwab@redhat.com>
41933 * locale/weight.h (findidx): Add parameter len.
41934 * locale/weightwc.h (findidx): Likewise.
41935 * posix/fnmatch_loop.c (FCT): Adjust caller.
41936 * posix/regcomp.c (build_equiv_class): Likewise.
41937 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
41938 * posix/regexec.c (check_node_accept_bytes): Likewise.
41939 * string/strcoll_l.c (STRCOLL): Likewise.
41940 * string/strxfrm_l.c (STRXFRM): Likewise.
41942 2011-11-17 Ulrich Drepper <drepper@gmail.com>
41944 * Makefile.in: Remove CVSOPT handling.
41945 * configure.in: Remove use of AC_REVISION.
41946 * iconvdata/Makefile (distribute): No need to filter out CVS.
41947 * scripts/list-sources.sh: Remove CVS, subversion and monotone
41950 2011-11-16 Andreas Schwab <schwab@redhat.com>
41952 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
41953 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
41954 [USE_AS_STRNCASECMP_L]: Likewise.
41955 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
41956 NO_TLS_DIRECT_SEG_REFS.
41957 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
41958 Fix argument offsets for non-PIC.
41959 [USE_AS_STRNCASECMP_L]: Likewise.
41960 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
41961 NO_TLS_DIRECT_SEG_REFS.
41963 2011-11-15 Ulrich Drepper <drepper@gmail.com>
41965 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
41967 * locale/loadlocale.c (_nl_load_locale): Likewise.
41969 2011-11-15 Andreas Schwab <schwab@redhat.com>
41971 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
41972 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
41973 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
41974 (SYSCALL_GETTIME): Set errno on error.
41976 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
41977 count references to noai6ai_cached.
41979 2011-11-15 Ulrich Drepper <drepper@gmail.com>
41981 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
41983 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
41984 FD_CLOEXEC for /proc/self/maps.
41986 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
41987 FD_CLOEXEC for /proc/meminfo.
41989 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
41992 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
41993 FD_CLOEXEC for given file.
41995 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
41997 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
41998 FD_CLOEXEC for /etc/hosts.
41999 (_gethtent): Likewise.
42001 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
42003 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
42004 cancellation and set FD_CLOEXEC for /etc/netgroup.
42006 * nss/nss_files/files-key.c (search): Don't allow cancellation when
42007 reading /etc/publickey.
42009 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
42010 allow cancellation when reading /etc/group.
42012 * nss/nss_files/files-alias.c (internal_setent): Don't allow
42014 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
42016 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
42017 when using data file.
42019 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
42021 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
42022 (write_nis_obj): Use "c" and "e" in fopen.
42024 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
42026 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
42028 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
42030 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
42032 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
42035 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
42037 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
42039 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
42041 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
42042 file parsing and set FD_CLOEXEC.
42044 2011-11-14 Ulrich Drepper <drepper@gmail.com>
42046 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
42048 2011-11-14 Andreas Schwab <schwab@redhat.com>
42050 * malloc/arena.c (arena_get2): Don't call reused_arena when
42051 _int_new_arena failed.
42053 2011-11-14 Ulrich Drepper <drepper@gmail.com>
42055 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
42056 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
42057 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
42058 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42059 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42060 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
42061 to compile strcasecmp and strncasecmp.
42062 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
42063 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
42065 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
42067 2011-11-13 Ulrich Drepper <drepper@gmail.com>
42069 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
42070 locale-defines.sym to gen-as-const-headers.
42071 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
42072 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
42073 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
42074 to compile strcasecmp and strncasecmp.
42075 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
42076 strcasecmp_l and strncasecmp_l.
42077 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
42078 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
42079 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
42080 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
42081 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
42082 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
42083 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
42084 * sysdeps/i386/i686/multiarch/strncase.S: New file.
42085 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
42086 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
42087 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
42089 2011-11-12 Ulrich Drepper <drepper@gmail.com>
42091 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
42092 result of SYSDEP_GETTIME_CPU to retval.
42093 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
42094 parameter list to macro. Remove trailing semicolon. Adjust users.
42096 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
42099 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
42101 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
42103 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
42104 from unused variable.
42106 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
42108 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
42111 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
42114 * sunrpc/rpc_prot.c (rejected): Fix case value.
42116 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
42117 unsigned long long int to avoid warnings in shift.
42119 * posix/regex_internal.c (re_string_reconstruct): Actually use result
42121 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
42124 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
42125 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
42126 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
42128 * nis/nis_table.c (nis_list): Use variable of correct type for
42129 result of __follow_path call.
42131 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42133 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
42134 of math functions ceil, trunc, floor, round, and sqrt, when
42135 avaliable on the platform.
42136 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
42138 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42139 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
42140 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
42142 2011-10-30 Marek Polacek <mpolacek@redhat.com>
42144 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
42145 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
42147 2011-11-11 Roland McGrath <roland@hack.frob.com>
42149 * include/unistd.h: Fix __readlink return type.
42150 Reported by Chris Metcalf <cmetcalf@tilera.com>.
42152 2011-11-11 Ulrich Drepper <drepper@gmail.com>
42154 * stdlib/ucontext.h: Undo last change for makecontext.
42156 2011-11-11 Andreas Schwab <schwab@redhat.com>
42158 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
42160 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
42161 * setjmp/setjmp.h: Mark functions as non-leaf.
42162 * setjmp/bits/setjmp2.h: Likewise.
42163 * stdlib/ucontext.h: Likewise.
42165 2011-11-10 Andreas Schwab <schwab@redhat.com>
42167 * malloc/arena.c (_int_new_arena): Don't increment narenas.
42168 (reused_arena): Don't check arena limit.
42169 (arena_get2): Atomically check arena limit.
42171 2011-11-08 Ulrich Drepper <drepper@gmail.com>
42173 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
42174 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
42176 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
42179 2011-11-07 Andreas Schwab <schwab@redhat.com>
42181 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
42182 handler when locking.
42184 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
42185 Fix size of allocated buffer.
42187 2011-11-04 Andreas Schwab <schwab@redhat.com>
42190 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
42191 declarations for long double functions.
42192 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
42194 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
42196 2011-11-03 Andreas Schwab <schwab@redhat.com>
42198 * nscd/nscd.c (main): Don't start AVC thread until credentials are
42201 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
42204 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
42206 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
42208 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
42210 * include/alloca.h (stackinfo_alloca_round): Define.
42211 (extend_alloca): Use it.
42212 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
42213 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
42216 * scripts/check-local-headers.sh: Ignore libaudit.h.
42218 * nscd/Makefile (extra-objs): Make recursively expanded.
42220 2011-11-01 Ulrich Drepper <drepper@gmail.com>
42222 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
42223 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
42225 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
42226 * posix/tst-rfc3484-2.c: Likewise.
42227 * posix/tst-rfc3484-3.c: Likewise.
42229 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
42231 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
42233 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
42234 process_vm_writev from libc using GLIBC_2.15 version.
42236 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
42238 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
42240 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
42243 2011-10-31 Ulrich Drepper <drepper@gmail.com>
42246 * nss/getent.c (initgroups_keys): Show error message in case no group
42249 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
42250 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
42251 __bump_nl_timestamp.
42252 * nscd/connections (nscd_init): When host database is served open
42253 netlink socket and request notification about configuration changes.
42254 (main_loop_poll): Track netlink file descriptor and bump timestamp
42255 in case data becomes available.
42256 (main_loop_epoll): Likewise.
42257 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
42258 (database_pers_head): Add extra_data fileds.
42259 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
42260 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
42261 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
42263 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
42264 in6ai data, call __free_in6ai.
42265 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
42266 Add -DHAVE_NETLINK.
42267 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
42268 interface information. Reuse previous data if netlink timestamp
42270 (__bump_nl_timestamp): New function.
42271 (__free_in6ai): New function.
42273 2011-10-30 Ulrich Drepper <drepper@gmail.com>
42275 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
42276 close_not_cancel_no_status here.
42277 (__check_pf): Reorganize code a bit to not call close twice if OOM.
42279 2011-10-29 Ulrich Drepper <drepper@gmail.com>
42282 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
42285 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
42286 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
42287 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
42289 2011-07-03 Andreas Jaeger <aj@suse.de>
42292 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
42293 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
42294 * math/libm-test.inc (sin_test): Add test case.
42296 2011-10-29 Ulrich Drepper <drepper@gmail.com>
42299 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
42300 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
42302 * elf/chroot_canon.c (chroot_canon): Cleanups.
42304 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
42307 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
42308 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
42310 * string/test-strchr.c: Make usable for strchrnul testing.
42311 * string/test-strchrnul.c: New file.
42312 * string/Makefile (strop-tests): Add strchrnul.
42314 * po/it.po: Update from translation team.
42315 * po/es.po: Likewise.
42317 2011-10-28 Ulrich Drepper <drepper@gmail.com>
42319 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
42320 the three constants needed as parameters. Drop the others.
42321 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
42322 __m128i_strloadu_tolower.
42323 Create and initialize variable zero and use it in all the places
42324 where _mm_setzero_si128 was used.
42326 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
42327 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
42328 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
42329 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
42331 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
42332 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
42333 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
42334 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
42335 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
42336 __mpranred, __mptan.
42337 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
42338 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
42339 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
42340 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
42341 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
42342 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
42343 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
42344 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
42345 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
42347 2011-10-28 Andreas Schwab <schwab@redhat.com>
42349 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
42350 redefine if SHARED.
42351 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
42353 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
42354 wide char related routines to wcsmbs subdir.
42356 2011-10-27 Andreas Schwab <schwab@redhat.com>
42359 * misc/sys/cdefs.h (__THROWNL): Define.
42360 * posix/unistd.h: Use __THREADNL instead of __THREAD
42361 for memory synchronization functions.
42363 2011-10-26 Roland McGrath <roland@hack.frob.com>
42366 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
42368 * manual/stdio.texi (Obstack Streams): Node removed.
42370 2011-10-26 Andreas Schwab <schwab@redhat.com>
42372 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
42373 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42374 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42376 * math/math_private.h (math_force_eval): Allow non-addressable
42378 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
42380 2011-10-25 Ulrich Drepper <drepper@gmail.com>
42382 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
42383 file is not needed.
42385 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
42386 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
42387 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42388 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42389 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42390 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42391 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42392 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
42394 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
42395 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
42396 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
42397 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
42398 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
42399 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
42400 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
42401 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
42402 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
42403 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
42404 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
42405 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
42406 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
42407 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
42408 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
42409 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
42410 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
42411 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
42412 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
42414 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
42415 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
42417 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
42418 place. Use VEX encoding when compiling for AVX.
42420 2011-10-25 Andreas Schwab <schwab@redhat.com>
42422 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
42423 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
42425 * string/test-strchr.c (do_test): Don't generate NUL bytes.
42427 2011-10-25 Ulrich Drepper <drepper@gmail.com>
42429 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
42430 useless if() expression.
42431 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42432 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42433 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42434 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42435 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42436 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42437 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42438 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42439 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
42440 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42441 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42442 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42443 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
42444 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42445 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
42446 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42447 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42448 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42449 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
42451 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
42453 2011-10-25 Andreas Schwab <schwab@redhat.com>
42455 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
42457 * elf/dl-fini.c (_dl_sort_fini): Likewise.
42459 2011-10-25 Ulrich Drepper <drepper@gmail.com>
42461 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
42462 .text section. Avoid duplicate constants.
42463 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
42464 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42465 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42466 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42467 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42468 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42469 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42470 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42471 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
42472 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
42473 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
42474 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
42475 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
42476 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
42477 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
42478 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
42479 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
42480 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
42481 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42482 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42483 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
42484 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
42485 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
42486 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
42487 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
42488 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
42489 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
42490 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
42491 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
42492 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
42493 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
42494 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
42495 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
42496 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
42497 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
42498 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
42499 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
42500 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
42501 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
42502 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
42503 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
42504 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
42505 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
42506 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
42507 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
42509 2011-10-24 Ulrich Drepper <drepper@gmail.com>
42511 * sysdeps/x86_64/dla.h: Move to ...
42512 * sysdeps/x86_64/fpu/dla.h: ...here.
42513 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
42514 situations. Use __builtin_fma only for gcc 4.6 and up.
42516 * config.make.in: Add have-mfma4 entry.
42517 * configure.in: Substitute libc_cv_cc_fma4.
42518 * math/Makefile (dbl-only-routines): Add sincostab.
42519 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
42520 Use __sincostab not sincos.
42521 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
42523 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42524 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42525 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42526 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
42528 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
42529 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
42530 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
42531 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
42533 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
42534 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
42536 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
42537 define aliases when function name is a macro.
42538 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
42539 sysdeps/ieee754/dbl-64/sincos.tbl.
42540 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
42541 fma4-enabled routines.
42542 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
42543 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
42544 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
42545 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
42546 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
42547 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
42548 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
42549 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
42550 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
42551 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
42552 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
42553 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
42554 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
42555 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
42556 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
42557 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
42558 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
42559 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
42560 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
42561 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
42562 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
42563 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
42564 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
42565 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
42566 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
42567 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
42568 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
42569 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
42570 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
42571 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
42573 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
42575 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42576 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42577 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42578 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42579 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42580 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42581 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42582 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42584 2011-10-24 Andreas Schwab <schwab@redhat.com>
42586 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
42588 2011-10-23 Ulrich Drepper <drepper@gmail.com>
42590 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
42592 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
42594 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
42596 * string/strnlen.c: Don't define STRNLEN, reverse logic.
42597 Remove unused variable magic_bits.
42598 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
42600 * string/strnlen.c: Define and use STRNLEN macro.
42601 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
42602 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
42603 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
42604 * wcsmbs/wcslen.c: Define and use WCSLEN.
42605 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
42606 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
42607 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
42608 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
42609 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
42610 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
42611 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
42613 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42615 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42616 strnlen-sse2-no-bsf.
42617 Rename strlen-no-bsf to strlen-sse2-no-bsf.
42618 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
42619 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
42620 Add strnlen support.
42621 (USE_AS_STRNLEN): New macro.
42622 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
42623 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
42624 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
42625 * sysdeps/x86_64/wcslen.S: New file.
42627 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
42629 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
42630 XMM-moves are used for copying on small sizes.
42632 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42634 * wcsmbs/Makefile (strop-tests): Add wcschr.
42635 * wcsmbs/test-wcschr.c: New file.
42636 * string/test-strchr.c: Update.
42637 Add wcschr support.
42640 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42642 * wcsmbs/Makefile (strop-tests): Add wcslen.
42643 * wcsmbs/test-wcslen.c: New file.
42644 * string/test-strlen.c: Update.
42645 Add wcslen support.
42648 2011-10-23 Ulrich Drepper <drepper@gmail.com>
42650 * po/it.po: Update from translation team.
42652 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42654 * sysdeps/x86_64/wcscmp.S: Update.
42655 Fix wrong comparison semantics.
42656 wcscmp shall use signed comparison not unsigned.
42657 Don't use substraction to avoid overflow bug.
42658 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
42659 * wcsmbc/wcscmp.c: Likewise.
42660 * string/test-strcmp.c: Likewise.
42661 Add new tests to check cases with negative values.
42663 2011-10-23 Ulrich Drepper <drepper@gmail.com>
42665 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
42666 * sysdeps/x86_64/dla.h: ...here. New file.
42667 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
42668 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42669 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42670 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42671 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42672 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42673 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42674 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42675 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42677 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
42679 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
42680 __ynl_finite aliases.
42682 2011-10-22 Ulrich Drepper <drepper@gmail.com>
42684 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42686 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
42688 [DLA_FMA] (EMULV): Use DLA_FMA.
42689 [DLA_FMA] (MUL12): Use EMULV.
42690 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
42691 that are not needed.
42692 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42693 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42694 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42695 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42696 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42697 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42698 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42700 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
42702 * math/s_nan.c: Undef __nan.
42703 * math/s_nanf.c: Undef __nanf.
42704 * math/s_nanl.c: Undef __nanl.
42705 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
42708 2011-10-22 Ulrich Drepper <drepper@gmail.com>
42710 * math/s_catan.c: Add branch predictions.
42711 * math/s_catanf.c: Likewise.
42712 * math/s_catanh.c: Likewise.
42713 * math/s_catanhf.c: Likewise.
42714 * math/s_catanhl.c: Likewise.
42715 * math/s_catanl.c: Likewise.
42716 * math/s_cexp.c: Likewise.
42717 * math/s_cexpf.c: Likewise.
42718 * math/s_cexpl.c: Likewise.
42719 * math/s_clog.c: Likewise.
42720 * math/s_clog10.c: Likewise.
42721 * math/s_clog10f.c: Likewise.
42722 * math/s_clog10l.c: Likewise.
42723 * math/s_clogf.c: Likewise.
42724 * math/s_clogl.c: Likewise.
42725 * math/s_csqrt.c: Likewise.
42726 * math/s_csqrtf.c: Likewise.
42727 * math/s_csqrtl.c: Likewise.
42728 * math/s_ctanf.c: Likewise.
42729 * math/s_ctanh.c: Likewise.
42730 * math/s_ctanhf.c: Likewise.
42731 * math/s_ctanhl.c: Likewise.
42732 * math/s_ctanl.c: Likewise.
42734 * math/math_private.h: Define __nan, __nanf, __nanl.
42735 * math/s_cacosh.c: Include <math_private.h>.
42736 * math/s_cacoshl.c: Likewise.
42737 * math/s_casinh.c: Likewise.
42738 * math/s_casinhf.c: Likewise.
42739 * math/s_casinhl.c: Likewise.
42740 * math/s_ccos.c: Rely entire on ccosh.
42741 * math/s_ccosf.c: Rely entire on ccoshf.
42742 * math/s_ccosl.c: Rely entirely on ccoshl.
42743 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
42744 Remove tests for FE_INVALID.
42745 * math/s_ccoshf.c: Likewise.
42746 * math/s_ccoshl.c: Likewise.
42747 * math/s_csin.c: Likewise.
42748 * math/s_csinf.c: Likewise.
42749 * math/s_csinh.c Likewise.
42750 * math/s_csinhf.c: Likewise.
42751 * math/s_csinhl.c: Likewise.
42752 * math/s_csinl.c: Likewise.
42753 * math/s_ctan.c: Likewise.
42754 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
42755 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
42756 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
42758 2011-10-21 Ulrich Drepper <drepper@gmail.com>
42760 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
42761 compilation problems.
42763 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
42766 2011-10-20 Ulrich Drepper <drepper@gmail.com>
42768 * sysdeps/i386/configure.in: Test for -mfma4 option.
42769 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
42770 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
42771 COMMON_CPUID_INDEX_80000001.
42772 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
42773 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
42774 use it if FMA3 is not supported.
42775 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
42777 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
42778 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42780 2011-10-20 Andreas Schwab <schwab@redhat.com>
42783 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
42784 it would create a cycle with a link time dependency.
42786 2011-10-19 Ulrich Drepper <drepper@gmail.com>
42788 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
42790 * string/Makefile (strop-tests): Add rawmemchr.
42791 * string/test-rawmemchr.c: New file.
42793 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
42794 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
42795 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
42796 when compiling str{,n}casecmp and when AVX is available. Hook up
42797 new optimized code in initializers.
42799 2011-10-19 Andreas Schwab <schwab@redhat.com>
42801 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
42802 __feraiseexcept instead of feraiseexcept.
42804 2011-10-18 Ulrich Drepper <drepper@gmail.com>
42806 * math/math_private.h: Define defaults for libc_fetestexcept and
42808 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
42809 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
42810 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
42811 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
42812 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
42813 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
42814 libc_fetestexcept and libc_feupdateenv.
42816 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
42817 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
42818 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
42819 * sysdeps/x86_64/fpu/math_private.h: Define special version of
42820 libc_feholdexcept_setround.
42822 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
42823 Add s_nearbyint-c and s_nearbyintf-c.
42824 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
42825 nearbyintf inlines.
42826 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
42827 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
42828 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
42829 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
42831 * math/math_private.h: Define defaults for libc_fegetround,
42832 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
42833 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
42834 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
42835 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
42836 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
42837 standard functions.
42838 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42839 Remove comments and hacks for old compiler versions.
42840 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
42841 libc_fegetround, libc_fesetround, libc_feholdexcept, and
42842 libc_feholdexceptl.
42844 2011-10-18 Andreas Schwab <schwab@redhat.com>
42846 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
42847 (__feraiseexcept_renamed): Add __NTH.
42848 (feraiseexcept): Add __NTH. Rename local variables to fix
42849 namespace violations.
42851 2011-10-17 Ulrich Drepper <drepper@gmail.com>
42853 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
42855 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
42857 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
42858 recently added interfaces.
42859 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
42861 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
42862 about macro parameter expansion.
42864 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
42865 __NO_MATH_INLINES is defined. Cleanups.
42867 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
42868 and __floorf is target has SSE4.1.
42869 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
42870 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
42871 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
42872 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
42874 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
42876 (floorf): Likewise.
42878 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
42880 2011-10-17 Andreas Schwab <schwab@redhat.com>
42882 * misc/sys/cdefs.h: Fix last change.
42884 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
42887 2011-10-16 Ulrich Drepper <drepper@gmail.com>
42889 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
42891 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
42892 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42893 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
42894 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42895 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42896 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
42897 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42898 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42899 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
42900 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
42901 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
42902 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
42903 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
42904 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
42905 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
42906 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
42907 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
42908 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
42909 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
42910 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
42911 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
42912 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
42914 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
42915 ceil, ceilf, floor, floorf.
42917 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
42918 Perform IRELATIVE relocations last.
42920 * elf/do-rel.h: Add another parameter nrelative, replacing the
42921 local variable with the same name. Change name of the function
42922 to end in Rel or Rela (uppercase).
42923 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
42924 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
42925 elf_dynamic_do_##reloc function.
42927 2011-10-15 Ulrich Drepper <drepper@gmail.com>
42929 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
42930 is sufficient, at least on modern CPUs.
42932 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
42934 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
42935 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
42937 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
42939 * math/bits/math-finite.h: Add entries for exp.
42940 * math/e_expl.c: Add __*_finite alias.
42941 * sysdeps/i386/fpu/e_exp.S: Likewise.
42942 * sysdeps/i386/fpu/e_expf.S: Likewise.
42943 * sysdeps/i386/fpu/e_expl.c: Likewise.
42944 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42945 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
42946 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
42947 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
42948 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
42949 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
42950 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
42952 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
42953 is sufficient, at least on modern CPUs.
42955 * ctype/ctype-info.c (__ctype_init): Define.
42956 * include/ctype.h (__ctype_init): Declare.
42957 (__ctype_b_loc): The variable is always initialized.
42958 (__ctype_toupper_loc): Likewise.
42959 (__ctype_tolower_loc): Likewise.
42960 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
42961 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
42963 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
42965 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
42967 * configure.in: Also look in $cxxmachine/include for C++ system
42970 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42972 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
42973 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
42974 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
42975 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
42976 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
42977 (USE_AS_WMEMCMP): New macro.
42979 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
42980 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
42981 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
42982 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
42983 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42984 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
42985 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
42986 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
42987 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
42988 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
42989 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
42990 (USE_AS_WMEMCMP): New macro.
42991 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
42992 * sysdeps/string/test-memcmp.c: Update.
42993 Fix simple_wmemcmp.
42995 * wcsmbs/wmemcmp.c: Update.
42996 (WMEMCMP): New macro.
42999 2011-10-12 Andreas Jaeger <aj@suse.de>
43002 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
43004 2011-10-15 Ulrich Drepper <drepper@gmail.com>
43006 * libio/iofwide.c (do_length): Avoid warning.
43008 * ctype/ctype.h (__isctype_f): Add missing __THROW.
43010 2011-10-14 Ulrich Drepper <drepper@gmail.com>
43012 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
43014 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
43015 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
43016 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
43017 * sysdeps/i386/i686/fpu/e_log.S: New file.
43018 * sysdeps/i386/i686/fpu/e_logf.S: New file.
43019 * sysdeps/i386/i686/fpu/e_logl.S: New file.
43021 * ctype/ctype.h: Add support for inlined isXXX functions when
43022 compiling C++ code.
43024 2011-10-14 Andreas Schwab <schwab@redhat.com>
43026 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43028 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
43030 2011-10-13 Roland McGrath <roland@hack.frob.com>
43033 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
43035 2011-10-13 Andreas Schwab <schwab@redhat.com>
43037 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
43038 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
43041 * sysdeps/x86_64/memrchr.S: Check for zero size.
43043 * string/stratcliff.c: Add memrchr tests.
43045 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43047 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43048 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
43049 rawmemchr-sse2 rawmemchr-sse2-bsf.
43050 * sysdeps/i386/i686/multiarch/memchr.S: New file.
43051 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
43052 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
43053 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
43054 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
43055 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
43056 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
43057 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
43058 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
43059 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
43060 * string/memrchr.c (MEMRCHR): New macro.
43062 2011-10-12 Ulrich Drepper <drepper@gmail.com>
43064 Add integration with gcc's -ffinite-math-only and optimize wrapper
43066 * Versions.def: Define GLIBC_2.15 version for libm.
43067 * math/Makefile (headers): Add bits/math-finite.h.
43068 * math/bits/math-finite.h: New file.
43069 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
43070 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
43071 * math/e_acoshl.c: Add __*_finite alias.
43072 * math/e_acosl.c: Likewise.
43073 * math/e_asinl.c: Likewise.
43074 * math/e_atan2l.c: Likewise.
43075 * math/e_atanhl.c: Likewise.
43076 * math/e_coshl.c: Likewise.
43077 * math/e_exp10.c: Likewise.
43078 * math/e_exp10f.c: Likewise.
43079 * math/e_exp10l.c: Likewise.
43080 * math/e_exp2l.c: Likewise.
43081 * math/e_fmodl.c: Likewise.
43082 * math/e_gammal_r.c: Likewise.
43083 * math/e_hypotl.c: Likewise.
43084 * math/e_j0l.c: Likewise.
43085 * math/e_j1l.c: Likewise.
43086 * math/e_jnl.c: Likewise.
43087 * math/e_lgammal_r.c: Likewise.
43088 * math/e_log10l.c: Likewise.
43089 * math/e_log2l.c: Likewise.
43090 * math/e_logl.c: Likewise.
43091 * math/e_powl.c: Likewise.
43092 * math/e_sinhl.c: Likewise.
43093 * math/e_sqrtl.c: Likewise.
43094 * math/e_scalb.c: Completely rewritten and optimized.
43095 * math/e_scalbf.c: Likewise.
43096 * math/e_scalbl.c: Likewise.
43097 * math/w_acos.c: Likewise.
43098 * math/w_acosf.c: Likewise.
43099 * math/w_acosl.c: Likewise.
43100 * math/w_acosh.c: Likewise.
43101 * math/w_acoshf.c: Likewise.
43102 * math/w_acoshl.c: Likewise.
43103 * math/w_asin.c: Likewise.
43104 * math/w_asinf.c: Likewise.
43105 * math/w_asinl.c: Likewise.
43106 * math/w_atan2.c: Likewise.
43107 * math/w_atan2f.c: Likewise.
43108 * math/w_atan2l.c: Likewise.
43109 * math/w_atanh.c: Likewise.
43110 * math/w_atanhf.c: Likewise.
43111 * math/w_atanhl.c: Likewise.
43112 * math/w_exp10.c: Likewise.
43113 * math/w_exp10f.c: Likewise.
43114 * math/w_exp10l.c: Likewise.
43115 * math/w_fmod.c: Likewise.
43116 * math/w_fmodf.c: Likewise.
43117 * math/w_fmodl.c: Likewise.
43118 * math/w_j0.c: Likewise.
43119 * math/w_j0f.c: Likewise.
43120 * math/w_j0l.c: Likewise.
43121 * math/w_j1.c: Likewise.
43122 * math/w_j1f.c: Likewise.
43123 * math/w_j1l.c: Likewise.
43124 * math/w_jn.c: Likewise.
43125 * math/w_jnf.c: Likewise.
43126 * math/w_log.c: Likewise.
43127 * math/w_logf.c: Likewise.
43128 * math/w_logl.c: Likewise.
43129 * math/w_log10.c: Likewise.
43130 * math/w_log10f.c: Likewise.
43131 * math/w_log10l.c: Likewise.
43132 * math/w_log2.c: Likewise.
43133 * math/w_log2f.c: Likewise.
43134 * math/w_log2l.c: Likewise.
43135 * math/w_pow.c: Likewise.
43136 * math/w_powf.c: Likewise.
43137 * math/w_powl.c: Likewise.
43138 * math/w_remainder.c: Likewise.
43139 * math/w_remainderf.c: Likewise.
43140 * math/w_remainderl.c: Likewise.
43141 * math/w_scalb.c: Likewise.
43142 * math/w_scalbf.c: Likewise.
43143 * math/w_scalbl.c: Likewise.
43144 * math/w_sqrt.c: Likewise.
43145 * math/w_sqrtf.c: Likewise.
43146 * math/w_sqrtl.c: Likewise.
43147 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
43148 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
43150 * math/math_private.h: Declare __kernel_standard_f.
43151 * math/w_cosh.c: Remove cruft and optimize a bit.
43152 * math/w_coshf.c: Likewise.
43153 * math/w_coshl.c: Likewise.
43154 * math/w_exp2.c: Likewise.
43155 * math/w_exp2f.c: Likewise.
43156 * math/w_exp2l.c: Likewise.
43157 * math/w_hypot.c: Likewise.
43158 * math/w_hypotf.c: Likewise.
43159 * math/w_hypotl.c: Likewise.
43160 * math/w_lgamma.c: Likewise.
43161 * math/w_lgamma_r.c: Likewise.
43162 * math/w_lgammaf.c: Likewise.
43163 * math/w_lgammaf_r.c: Likewise.
43164 * math/w_lgammal.c: Likewise.
43165 * math/w_lgammal_r.c: Likewise.
43166 * math/w_sinh.c: Likewise.
43167 * math/w_sinhf.c: Likewise.
43168 * math/w_sinhl.c: Likewise.
43169 * math/w_tgamma.c: Likewise.
43170 * math/w_tgammaf.c: Likewise.
43171 * math/w_tgammal.c: Likewise.
43172 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
43173 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43174 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
43175 Minor optimizations. Pretty printing. Remove cruft.
43176 * sysdeps/i386/fpu/e_acosf.S: Likewise.
43177 * sysdeps/i386/fpu/e_acosh.S: Likewise.
43178 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
43179 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
43180 * sysdeps/i386/fpu/e_acosl.c: Likewise.
43181 * sysdeps/i386/fpu/e_asin.S: Likewise.
43182 * sysdeps/i386/fpu/e_asinf.S: Likewise.
43183 * sysdeps/i386/fpu/e_atan2.S: Likewise.
43184 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
43185 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
43186 * sysdeps/i386/fpu/e_atanh.S: Likewise.
43187 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
43188 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
43189 * sysdeps/i386/fpu/e_exp10.S: Likewise.
43190 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
43191 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
43192 * sysdeps/i386/fpu/e_exp2.S: Likewise.
43193 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
43194 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
43195 * sysdeps/i386/fpu/e_fmod.S: Likewise.
43196 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
43197 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
43198 * sysdeps/i386/fpu/e_hypot.S: Likewise.
43199 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
43200 * sysdeps/i386/fpu/e_log.S: Likewise.
43201 * sysdeps/i386/fpu/e_log10.S: Likewise.
43202 * sysdeps/i386/fpu/e_log10f.S: Likewise.
43203 * sysdeps/i386/fpu/e_log10l.S: Likewise.
43204 * sysdeps/i386/fpu/e_log2.S: Likewise.
43205 * sysdeps/i386/fpu/e_log2f.S: Likewise.
43206 * sysdeps/i386/fpu/e_log2l.S: Likewise.
43207 * sysdeps/i386/fpu/e_logf.S: Likewise.
43208 * sysdeps/i386/fpu/e_logl.S: Likewise.
43209 * sysdeps/i386/fpu/e_pow.S: Likewise.
43210 * sysdeps/i386/fpu/e_powf.S: Likewise.
43211 * sysdeps/i386/fpu/e_powl.S: Likewise.
43212 * sysdeps/i386/fpu/e_remainder.S: Likewise.
43213 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
43214 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
43215 * sysdeps/i386/fpu/e_scalb.S: Likewise.
43216 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
43217 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
43218 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
43219 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
43220 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
43221 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
43222 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43223 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43224 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
43225 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43226 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
43227 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
43228 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
43229 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43230 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
43231 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
43232 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
43233 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43234 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
43235 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
43236 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43237 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
43238 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
43239 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43240 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43241 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
43242 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
43243 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
43244 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
43245 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
43246 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
43247 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
43248 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
43249 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
43250 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
43251 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43252 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
43253 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43254 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
43255 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
43256 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
43257 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
43258 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
43259 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
43260 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
43261 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
43262 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
43263 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
43264 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
43265 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
43266 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
43267 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
43268 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
43269 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
43270 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
43271 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
43272 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
43273 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
43274 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43275 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
43276 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
43277 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
43278 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
43279 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
43280 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
43281 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
43282 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
43283 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43284 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43285 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
43286 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
43287 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
43288 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
43289 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
43290 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
43291 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
43292 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
43293 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
43294 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
43295 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
43296 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43297 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
43298 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
43299 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43300 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
43301 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43302 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
43303 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
43304 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43305 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43306 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
43307 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43308 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
43309 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
43310 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
43311 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43312 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
43313 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
43314 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
43315 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43316 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43317 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43318 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
43319 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
43320 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
43321 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
43322 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
43323 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
43324 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
43325 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
43326 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
43327 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
43328 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43329 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
43330 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
43331 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
43332 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
43333 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
43334 (__isnanf): Likewise.
43335 (__isinf_ns): Likewise.
43336 (__isinf_nsf): Likewise.
43337 (__finite): Likewise.
43338 (__finitef): Likewise.
43339 (__ieee754_sqrt): Define as macro.
43340 (__ieee754_sqrtf): Define as macro.
43341 (__ieee754_sqrtl): Define as macro.
43342 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
43344 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
43345 __FINITE_MATH_ONLY__ consistent.
43346 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
43348 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
43350 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
43353 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
43355 2011-10-09 Ulrich Drepper <drepper@gmail.com>
43357 * po/ja.po: Update from translation team.
43359 2011-10-08 Roland McGrath <roland@hack.frob.com>
43361 * locale/programs/locarchive.c (prepare_address_space): New function.
43362 (create_archive, enlarge_archive, open_archive): Use it.
43364 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
43365 inside [SHARED], where it is used.
43367 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
43369 * nss/getent.c (netgroup_keys): Remove unused variable.
43370 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
43372 2011-10-08 Ulrich Drepper <drepper@gmail.com>
43374 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
43375 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
43376 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
43377 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
43378 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
43379 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
43380 * math/Makefile (libm-calls): Add s_isinf_ns.
43381 * math/divtc3.c: Use __isinf_nsl instead of isinf.
43382 * math/multc3.c: Likewise.
43383 * math/s_casin.c: Likewise.
43384 * math/s_casinf.c: Likewise.
43385 * math/s_casinl.c: Likewise.
43386 * math/s_ccos.c: Likewise.
43387 * math/s_ccosf.c: Likewise.
43388 * math/s_ccosl.c: Likewise.
43389 * math/s_ctan.c: Likewise.
43390 * math/s_ctanf.c: Likewise.
43391 * math/s_ctanh.c: Likewise.
43392 * math/s_ctanhf.c: Likewise.
43393 * math/s_ctanhl.c: Likewise.
43394 * math/s_ctanl.c: Likewise.
43395 * math/w_fmod.c: Likewise.
43396 * math/w_fmodf.c: Likewise.
43397 * math/w_fmodl.c: Likewise.
43398 * math/w_remainder.c: Likewise.
43399 * math/w_remainderf.c: Likewise.
43400 * math/w_remainderl.c: Likewise.
43401 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
43402 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
43403 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
43404 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
43405 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
43406 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
43407 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
43408 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
43410 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
43412 * stdio-common/printf_fphex.c: Likewise.
43413 * stdio-common/printf_size.c: Likewise.
43415 * math/e_exp10.c: Include math_private.h using <...> not "...".
43416 * math/e_exp10f.c: Likewise.
43417 * math/e_exp10l.c: Likewise.
43418 * math/e_exp2l.c: Likewise.
43419 * math/e_j0l.c: Likewise.
43420 * math/e_j1l.c: Likewise.
43421 * math/e_jnl.c: Likewise.
43422 * math/e_lgammal_r.c: Likewise.
43423 * math/e_rem_pio2l.c: Likewise.
43424 * math/e_scalb.c: Likewise.
43425 * math/e_scalbf.c: Likewise.
43426 * math/e_scalbl.c: Likewise.
43427 * math/k_cosl.c: Likewise.
43428 * math/k_sinl.c: Likewise.
43429 * math/k_tanl.c: Likewise.
43430 * math/s_cacoshf.c: Likewise.
43431 * math/s_catan.c: Likewise.
43432 * math/s_catanf.c: Likewise.
43433 * math/s_catanh.c: Likewise.
43434 * math/s_catanhf.c: Likewise.
43435 * math/s_catanhl.c: Likewise.
43436 * math/s_catanl.c: Likewise.
43437 * math/s_ccosh.c: Likewise.
43438 * math/s_ccoshf.c: Likewise.
43439 * math/s_ccoshl.c: Likewise.
43440 * math/s_cexp.c: Likewise.
43441 * math/s_cexpf.c: Likewise.
43442 * math/s_cexpl.c: Likewise.
43443 * math/s_clog.c: Likewise.
43444 * math/s_clog10.c: Likewise.
43445 * math/s_clog10f.c: Likewise.
43446 * math/s_clog10l.c: Likewise.
43447 * math/s_clogf.c: Likewise.
43448 * math/s_clogl.c: Likewise.
43449 * math/s_csin.c: Likewise.
43450 * math/s_csinf.c: Likewise.
43451 * math/s_csinh.c: Likewise.
43452 * math/s_csinhf.c: Likewise.
43453 * math/s_csinhl.c: Likewise.
43454 * math/s_csinl.c: Likewise.
43455 * math/s_csqrt.c: Likewise.
43456 * math/s_csqrtf.c: Likewise.
43457 * math/s_csqrtl.c: Likewise.
43458 * math/s_ctan.c: Likewise.
43459 * math/s_ctanf.c: Likewise.
43460 * math/s_ctanh.c: Likewise.
43461 * math/s_ctanhf.c: Likewise.
43462 * math/s_ctanhl.c: Likewise.
43463 * math/s_ctanl.c: Likewise.
43464 * math/s_ldexp.c: Likewise.
43465 * math/s_ldexpf.c: Likewise.
43466 * math/s_ldexpl.c: Likewise.
43467 * math/s_significand.c: Likewise.
43468 * math/s_significandf.c: Likewise.
43469 * math/s_significandl.c: Likewise.
43470 * math/w_acos.c: Likewise.
43471 * math/w_acosf.c: Likewise.
43472 * math/w_acosh.c: Likewise.
43473 * math/w_acoshf.c: Likewise.
43474 * math/w_acoshl.c: Likewise.
43475 * math/w_acosl.c: Likewise.
43476 * math/w_asin.c: Likewise.
43477 * math/w_asinf.c: Likewise.
43478 * math/w_asinl.c: Likewise.
43479 * math/w_atan2.c: Likewise.
43480 * math/w_atan2f.c: Likewise.
43481 * math/w_atan2l.c: Likewise.
43482 * math/w_atanh.c: Likewise.
43483 * math/w_atanhf.c: Likewise.
43484 * math/w_atanhl.c: Likewise.
43485 * math/w_cosh.c: Likewise.
43486 * math/w_coshf.c: Likewise.
43487 * math/w_coshl.c: Likewise.
43488 * math/w_dremf.c: Likewise.
43489 * math/w_exp10.c: Likewise.
43490 * math/w_exp10f.c: Likewise.
43491 * math/w_exp10l.c: Likewise.
43492 * math/w_exp2.c: Likewise.
43493 * math/w_exp2f.c: Likewise.
43494 * math/w_fmod.c: Likewise.
43495 * math/w_fmodf.c: Likewise.
43496 * math/w_fmodl.c: Likewise.
43497 * math/w_hypot.c: Likewise.
43498 * math/w_hypotf.c: Likewise.
43499 * math/w_hypotl.c: Likewise.
43500 * math/w_j0.c: Likewise.
43501 * math/w_j0f.c: Likewise.
43502 * math/w_j0l.c: Likewise.
43503 * math/w_j1.c: Likewise.
43504 * math/w_j1f.c: Likewise.
43505 * math/w_j1l.c: Likewise.
43506 * math/w_jn.c: Likewise.
43507 * math/w_jnf.c: Likewise.
43508 * math/w_jnl.c: Likewise.
43509 * math/w_lgamma.c: Likewise.
43510 * math/w_lgamma_r.c: Likewise.
43511 * math/w_lgammaf.c: Likewise.
43512 * math/w_lgammaf_r.c: Likewise.
43513 * math/w_lgammal.c: Likewise.
43514 * math/w_lgammal_r.c: Likewise.
43515 * math/w_log.c: Likewise.
43516 * math/w_log10.c: Likewise.
43517 * math/w_log10f.c: Likewise.
43518 * math/w_log10l.c: Likewise.
43519 * math/w_log2.c: Likewise.
43520 * math/w_log2f.c: Likewise.
43521 * math/w_log2l.c: Likewise.
43522 * math/w_logf.c: Likewise.
43523 * math/w_logl.c: Likewise.
43524 * math/w_pow.c: Likewise.
43525 * math/w_powf.c: Likewise.
43526 * math/w_powl.c: Likewise.
43527 * math/w_remainder.c: Likewise.
43528 * math/w_remainderf.c: Likewise.
43529 * math/w_remainderl.c: Likewise.
43530 * math/w_scalb.c: Likewise.
43531 * math/w_scalbf.c: Likewise.
43532 * math/w_scalbl.c: Likewise.
43533 * math/w_sinh.c: Likewise.
43534 * math/w_sinhf.c: Likewise.
43535 * math/w_sinhl.c: Likewise.
43536 * math/w_sqrt.c: Likewise.
43537 * math/w_sqrtf.c: Likewise.
43538 * math/w_sqrtl.c: Likewise.
43539 * math/w_tgamma.c: Likewise.
43540 * math/w_tgammaf.c: Likewise.
43541 * math/w_tgammal.c: Likewise.
43543 * po/ja.po: Update from translation team.
43545 2011-09-29 Andreas Jaeger <aj@suse.de>
43548 * sunrpc/netname.c (netname2host): Fix logic.
43552 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
43554 * math/w_remainder.c (__remainder): Likewise.
43555 * math/w_remainderf.c (__remainderf): Likewise.
43556 * math/libm-test.inc (remainder_test): Add test cases.
43558 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43560 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
43563 2011-10-07 Ulrich Drepper <drepper@gmail.com>
43565 * string/test-memcmp.c: Avoid unncessary #defines.
43566 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
43568 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43570 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
43571 Use new sse2 version for core i3 - i7 as it's faster
43572 than sse42 version.
43573 (bit_Prefer_PMINUB_for_stringop): New.
43574 * sysdeps/x86_64/rawmemchr.S: Update.
43575 Replace with faster SSE2 version.
43576 * sysdeps/x86_64/memrchr.S: New file.
43577 * sysdeps/x86_64/memchr.S: Update.
43578 Replace with faster SSE2 version.
43580 2011-09-12 Marek Polacek <mpolacek@redhat.com>
43582 * elf/dl-load.c (lose): Add cast to avoid warning.
43584 2011-10-07 Ulrich Drepper <drepper@gmail.com>
43586 * po/ca.po: Update from translation team.
43588 * inet/getnetgrent_r.c: Hook up nscd.
43589 * nscd/Makefile (routines): Add nscd_netgroup.
43590 (nscd-modules): Add netgroupcache.
43591 (CFLAGS-netgroupcache.c): Define.
43592 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
43593 (cache_search): Add const to second parameter.
43594 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
43596 (dbs): Add netgrdb entry.
43597 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
43598 (verify_persistent_db): Handle netgrdb.
43599 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
43600 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
43602 (netgroup_response_header): Define.
43603 (innetgroup_response_header): Define.
43604 (datahead): Add netgroup_response_header and innetgroup_response_header
43606 * nscd/nscd.conf: Add entries for netgroup cache.
43607 * nscd/nscd.h (dbtype): Add netgrdb.
43608 (_PATH_NSCD_NETGROUP_DB): Define.
43609 (netgroup_iov_disabled): Declare.
43610 (xmalloc, xcalloc, xrealloc): Move declarations here.
43611 (cache_search): Adjust prototype.
43612 Add netgroup-related prototypes.
43613 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
43614 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
43615 (__nscd_innetgr): Declare.
43616 * nscd/selinux.c (perms): Use access_vector_t as element type and
43617 add netgroup-related initializers.
43618 * nscd/netgroupcache.c: New file.
43619 * nscd/nscd_netgroup.c: New file.
43620 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
43621 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
43622 For four parameters use innetgr.
43623 * nss/nss_files/files-init.c: Add definition and callback for netgr.
43624 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
43625 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
43626 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
43628 * nscd/connections.c (register_traced_file): Don't register file
43629 for disabled databases.
43631 2011-10-06 Ulrich Drepper <drepper@gmail.com>
43633 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
43635 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
43636 from tree and freeing node.
43638 2011-09-25 Jiri Olsa <jolsa@redhat.com>
43640 * nss/nsswitch.c (__nss_database_lookup): Handle
43641 nss_parse_service_list out of memory case.
43643 2011-09-15 Jiri Olsa <jolsa@redhat.com>
43645 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
43646 out of memory case.
43648 2011-10-04 Andreas Schwab <schwab@redhat.com>
43650 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
43651 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
43653 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
43654 elf_machine_rela, elf_machine_lazy_rel.
43655 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
43656 (ELF_DYNAMIC_DO_REL): Likewise.
43657 (ELF_DYNAMIC_DO_RELA): Likewise.
43658 (ELF_DYNAMIC_RELOCATE): Likewise.
43659 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
43660 to ELF_DYNAMIC_DO_REL.
43661 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
43662 (dl_main): In trace mode always set __RTLD_NOIFUNC.
43663 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
43665 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
43666 skip_ifunc, don't call ifunc function if non-zero.
43667 (elf_machine_rela): Likewise.
43668 (elf_machine_lazy_rel): Likewise.
43669 (elf_machine_lazy_rela): Likewise.
43670 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
43671 (elf_machine_lazy_rel): Likewise.
43672 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
43674 (elf_machine_lazy_rel): Likewise.
43675 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43677 (elf_machine_lazy_rel): Likewise.
43678 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
43679 (elf_machine_lazy_rel): Likewise.
43680 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
43681 (elf_machine_lazy_rel): Likewise.
43682 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
43683 (elf_machine_lazy_rel): Likewise.
43684 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
43685 (elf_machine_lazy_rel): Likewise.
43686 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
43687 (elf_machine_lazy_rel): Likewise.
43688 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
43689 (elf_machine_lazy_rel): Likewise.
43691 2011-09-28 Ulrich Drepper <drepper@gmail.com>
43693 * nss/nss_files/files-init.c (_nss_files_init): Use static
43694 initialization for all the *_traced_file variables.
43696 2011-09-28 Andreas Schwab <schwab@redhat.com>
43698 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43700 2011-09-27 Roland McGrath <roland@hack.frob.com>
43703 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
43705 2011-09-27 Andreas Schwab <schwab@redhat.com>
43707 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43708 Reread the line before reparsing it.
43710 2011-09-26 Andreas Schwab <schwab@redhat.com>
43712 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
43714 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
43715 Maxim Kuvyrkov <maxim@codesourcery.com>
43716 Joseph Myers <joseph@codesourcery.com>
43718 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
43719 if needed for __stack_chk_guard.
43721 2011-09-19 Roland McGrath <roland@hack.frob.com>
43723 * sysdeps/posix/spawni.c (script_execute): Always define it.
43724 It will be optimized away if unused.
43725 (maybe_script_execute): New function.
43726 (__spawni): Call it.
43728 * Makerules: Don't include tls.make.
43729 (config-tls): Always set to thread.
43730 * tls.make.c: File removed.
43732 2011-09-19 Mike Frysinger <vapier@gentoo.org>
43734 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
43735 * config.make.in (CPPFLAGS-config): New substituted variable.
43737 2011-09-15 Ulrich Drepper <drepper@gmail.com>
43739 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
43742 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
43743 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
43745 2011-09-15 Roland McGrath <roland@hack.frob.com>
43747 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
43748 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
43749 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
43750 (CALL_FAIL): Likewise.
43751 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
43752 (CALL_FAIL): Macro removed.
43753 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
43755 2011-09-15 Ulrich Drepper <drepper@gmail.com>
43757 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
43758 for __FINITE_MATH_ONLY__ == 1.
43760 2011-09-15 Andreas Schwab <schwab@redhat.com>
43762 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
43763 __ieee754_sqrt instead of sqrt.
43764 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
43765 __ieee754_sqrtf instead of sqrtf.
43766 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
43767 __floorf instead of floorf.
43768 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
43769 __floorf, __truncf instead of floorf, truncf.
43771 2011-09-14 Ulrich Drepper <drepper@gmail.com>
43773 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
43775 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
43776 __extern_always_inline.
43777 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
43780 2011-09-14 Andreas Schwab <schwab@redhat.com>
43782 * elf/rtld.c (dl_main): Also relocate in dependency order when
43783 doing symbol dependency testing.
43785 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
43787 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43788 Always define `refsym'.
43790 2011-09-13 Andreas Schwab <schwab@redhat.com>
43792 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
43793 (__FD_ELT): Renamed from __FDELT.
43794 * misc/bits/select2.h (__FD_ELT): Likewise.
43795 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
43796 __FD_MASK instead of __FDELT, __FDMASK.
43797 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
43799 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
43802 * elf/Makefile (gen-ldd): Fix pattern.
43804 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
43805 (init_tls): Likewise.
43807 2011-09-12 Ulrich Drepper <drepper@gmail.com>
43809 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
43811 2011-09-12 Andreas Schwab <schwab@redhat.com>
43813 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
43814 `struct cmsghdr *' instead of `void *'.
43815 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
43818 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
43820 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
43822 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
43823 ldd_rewrite_script.
43825 2011-09-11 Ulrich Drepper <drepper@gmail.com>
43827 * configure.in: Remove --with-tls option.
43828 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
43829 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
43830 out in case it is missing.
43831 * sysdeps/ia64/elf/configure.in: Likewise.
43832 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
43833 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
43834 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
43835 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
43836 * sysdeps/sh/elf/configure.in: Likewise.
43837 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
43838 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
43839 * sysdeps/x86_64/elf/configure.in: Likewise.
43840 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
43841 * sysdeps/mach/hurd/tls.h: Likewise.
43844 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
43847 * configure.in: Fix use of AC_INIT.
43849 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
43851 2011-09-10 Ulrich Drepper <drepper@gmail.com>
43853 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
43855 * malloc/hooks.c: Likewise.
43858 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
43859 variables statically.
43860 (narenas): Initialize.
43861 (list_lock): Initialize.
43862 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
43863 initializtion of main_arena and list_lock. Small cleanups.
43864 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
43865 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
43866 Add initializers to main_arena and mp_.
43867 (malloc_state): Remove pagesize member. Change all users to use
43870 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
43871 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
43872 is always initialized.
43874 * malloc/malloc.c: Removed unused configurations and dead code.
43875 * malloc/arena.c: Likewise.
43876 * malloc/hooks.c: Likewise.
43877 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
43879 * include/tls.h: Removed. USE___THREAD must always be defined.
43880 * bits/libc-tsd.h: Don't handle !USE___THREAD.
43881 * elf/dl-libc.c: Likewise.
43882 * elf/dl-tsd.c: Likewise.
43883 * include/errno.h: Likewise.
43884 * include/netdb.h: Likewise.
43885 * include/resolv.h: Likewise.
43886 * inet/herrno-loc.c: Likewise.
43887 * inet/herrno.c: Likewise.
43888 * malloc/arena.c: Likewise.
43889 * malloc/hooks.c: Likewise.
43890 * malloc/malloc.c: Likewise.
43891 * resolv/res-state.c: Likewise.
43892 * resolv/res_libc.c: Likewise.
43893 * sysdeps/i386/dl-machine.h: Likewise.
43894 * sysdeps/ia64/dl-machine.h: Likewise.
43895 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
43896 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
43897 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
43898 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
43899 * sysdeps/sh/dl-machine.h: Likewise.
43900 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
43901 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
43902 * sysdeps/unix/i386/sysdep.S: Likewise.
43903 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43904 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
43905 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
43906 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
43907 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
43908 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
43909 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
43910 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43911 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43912 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
43913 * sysdeps/unix/x86_64/sysdep.S: Likewise.
43914 * sysdeps/x86_64/dl-machine.h: Likewise.
43915 * tls.make.c: Likewise.
43917 * configure.in: Remove --with-__thread option. Make tests for
43918 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
43919 tls_model attribute fail if no support is available. Remove
43921 * Makeconfig: Adjust for dropped configure option. All features are
43923 * Makerules: Likewise.
43924 * Versions.def: Likewise.
43925 * argp/argp-fmtstream.c: Likewise.
43926 * argp/argp-fmtstream.h: Likewise.
43927 * argp/argp-help.c: Likewise.
43928 * assert/assert.c: Likewise.
43929 * config.h.in: Likewise.
43930 * config.make.in: Likewise.
43931 * configure: Likewise.
43932 * configure.in: Likewise.
43933 * csu/Versions: Likewise.
43934 * csu/init.c: Likewise.
43935 * elf/tst-audit2.c: Likewise.
43936 * elf/tst-tls10.c: Likewise.
43937 * elf/tst-tls10.h: Likewise.
43938 * elf/tst-tls11.c: Likewise.
43939 * elf/tst-tls12.c: Likewise.
43940 * elf/tst-tls14.c: Likewise.
43941 * elf/tst-tlsmod11.c: Likewise.
43942 * elf/tst-tlsmod12.c: Likewise.
43943 * elf/tst-tlsmod13.c: Likewise.
43944 * elf/tst-tlsmod13a.c: Likewise.
43945 * elf/tst-tlsmod14a.c: Likewise.
43946 * elf/tst-tlsmod15b.c: Likewise.
43947 * elf/tst-tlsmod16a.c: Likewise.
43948 * elf/tst-tlsmod16b.c: Likewise.
43949 * elf/tst-tlsmod7.c: Likewise.
43950 * elf/tst-tlsmod8.c: Likewise.
43951 * elf/tst-tlsmod9.c: Likewise.
43952 * gmon/gmon.c: Likewise.
43953 * grp/fgetgrent_r.c: Likewise.
43954 * grp/putgrent.c: Likewise.
43955 * hurd/fopenport.c: Likewise.
43956 * include/libc-symbols.h: Likewise.
43957 * include/tls.h: Likewise.
43958 * intl/gettextP.h: Likewise.
43959 * intl/loadinfo.h: Likewise.
43960 * locale/global-locale.c: Likewise.
43961 * locale/localeinfo.h: Likewise.
43962 * mach/devstream.c: Likewise.
43963 * malloc/arena.c: Likewise.
43964 * malloc/set-freeres.c: Likewise.
43965 * misc/err.c: Likewise.
43966 * misc/getttyent.c: Likewise.
43967 * misc/mntent_r.c: Likewise.
43968 * posix/getopt.c: Likewise.
43969 * posix/wordexp.c: Likewise.
43970 * pwd/fgetpwent_r.c: Likewise.
43971 * resolv/Versions: Likewise.
43972 * resolv/res_hconf.c: Likewise.
43973 * shadow/fgetspent_r.c: Likewise.
43974 * shadow/putspent.c: Likewise.
43975 * stdio-common/printf_fphex.c: Likewise.
43976 * stdio-common/tmpfile.c: Likewise.
43977 * stdlib/abort.c: Likewise.
43978 * stdlib/fmtmsg.c: Likewise.
43979 * sunrpc/auth_unix.c: Likewise.
43980 * sunrpc/clnt_perr.c: Likewise.
43981 * sunrpc/clnt_tcp.c: Likewise.
43982 * sunrpc/clnt_udp.c: Likewise.
43983 * sunrpc/clnt_unix.c: Likewise.
43984 * sunrpc/openchild.c: Likewise.
43985 * sunrpc/svc_simple.c: Likewise.
43986 * sunrpc/svc_tcp.c: Likewise.
43987 * sunrpc/svc_udp.c: Likewise.
43988 * sunrpc/svc_unix.c: Likewise.
43989 * sunrpc/xdr.c: Likewise.
43990 * sunrpc/xdr_array.c: Likewise.
43991 * sunrpc/xdr_rec.c: Likewise.
43992 * sunrpc/xdr_ref.c: Likewise.
43993 * sunrpc/xdr_stdio.c: Likewise.
43995 2011-09-09 Ulrich Drepper <drepper@gmail.com>
43997 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43999 2011-07-03 Andreas Jaeger <aj@suse.de>
44001 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
44002 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
44003 regenerate with gen-libm-tests.pl.
44005 2010-05-12 Petr Baudis <pasky@suse.cz>
44008 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
44009 around j0() zero points by switching to j1().
44010 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44011 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44012 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44013 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44015 2011-09-09 Ulrich Drepper <drepper@gmail.com>
44017 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
44019 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
44021 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44022 Patch in part by Pavel Roskin <proski@gnu.org>.
44025 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
44027 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
44028 Free memory block if necessary.
44031 * libio/genops.c (INTDEF): For string streams the _lock pointer can
44032 be NULL. Don't lock in this case.
44034 2011-09-09 Roland McGrath <roland@hack.frob.com>
44036 * elf/elf.h (ELFOSABI_GNU): New macro.
44037 (ELFOSABI_LINUX): Define to that.
44039 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
44041 * string/strncat.c (strncat): Undef the symbol in case it has been
44042 defined in bits/string.h.
44044 2011-09-09 Ulrich Drepper <drepper@gmail.com>
44046 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
44048 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
44051 2011-08-17 Andreas Jaeger <aj@suse.de>
44053 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
44055 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
44056 Ian Lance Taylor <iant@google.com>
44058 * math/libm-test.inc (lround_test): New testcase.
44059 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
44061 2011-09-08 Ulrich Drepper <drepper@gmail.com>
44063 * Makefile: Remove support for automatic cvs check-ins.
44064 * Makerules: Likewise.
44065 * config.make.in: Likewise.
44066 * configure.in: Likewise.
44067 * intl/Makefile: Likewise.
44068 * locale/Makefile: Likewise.
44069 * po/Makefile: Likewise.
44070 * posix/Makefile: Likewise.
44071 * sysdeps/gnu/Makefile: Likewise.
44072 * sysdeps/mach/hurd/Makefile: Likewise.
44073 * sysdeps/sparc/sparc32/Makefile: Likewise.
44076 * posix/Makefile (bug-regex32-ENV): Define.
44077 Patch by John Stanley <jpsinthemix@verizon.net>.
44079 * misc/Makefile (headers): Add bits/select2.h.
44080 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
44081 * misc/bits/select2.h: New file.
44082 * include/bits/select2.h: New file.
44083 * debug/Makefile (routines): Add fdelt_chk.
44084 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
44085 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
44087 * debug/fdelt_chk.c: New file.
44089 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
44090 * wcsmbs/test-wmemcmp.c: Likewise.
44091 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
44092 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
44094 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44096 * string/Makefile (strop-tests): Add memcmp.
44097 * string/test-wmemcmp.c: New file.
44098 * string/test-memcmp.c: Add wmemcmp support.
44100 2011-09-08 Roland McGrath <roland@hack.frob.com>
44103 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
44106 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
44107 garbage value in a __mach_port_mod_refs call in the cases of the
44108 task-self and thread-self ports.
44110 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
44112 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
44114 2011-09-08 Andreas Schwab <schwab@redhat.com>
44116 * elf/dl-load.c (lose): Check for non-null L.
44118 2011-09-07 Ulrich Drepper <drepper@gmail.com>
44120 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
44122 * elf/dl-libc.c (dlerror_run): Pass back error code from
44126 * elf/dl-load.c (lose): Free l_origin if it is valid.
44128 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
44130 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
44131 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44132 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44133 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44134 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
44135 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
44137 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44139 * sysdeps/powerpc/fpu/e_hypot.c: New file.
44140 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
44141 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
44142 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
44143 * sysdeps/powerpc/fpu/k_cosf.c: New file.
44144 * sysdeps/powerpc/fpu/k_sinf.c: New file.
44145 * sysdeps/powerpc/fpu/s_cosf.c: New file.
44146 * sysdeps/powerpc/fpu/s_sinf.c: New file.
44147 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
44148 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
44150 2011-08-15 Alan Modra <amodra@gmail.com>
44153 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
44154 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
44155 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
44156 ppc_mcount to static-only-routines.
44157 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
44159 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
44160 __mcount_internal with usual JUMPTARGET. Remove useless nop.
44162 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
44164 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
44165 for finite and infinity parameters.
44167 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
44169 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
44170 and add nop instructions for throughput optimization.
44171 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44173 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
44175 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
44176 aligned copy for power7 with vector-scalar instructions.
44177 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
44179 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
44181 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
44184 2011-09-07 Andreas Schwab <schwab@redhat.com>
44187 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
44190 2011-09-07 Ulrich Drepper <drepper@gmail.com>
44192 * sysdeps/unix/sysv/linux/x86_64/init-first.c
44193 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
44194 syscall wrapper around clock_gettime in __vdso_clock_gettime.
44195 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
44198 2011-09-06 Ulrich Drepper <drepper@gmail.com>
44200 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
44201 Forgot to demangle the pointer.
44203 * sysdeps/i386/sysdep.h: Define atom_text_section.
44204 * sysdeps/x86_64/sysdep.h: Likewise.
44205 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
44206 section with atom_text_section.
44207 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44208 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44209 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
44210 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
44211 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
44213 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
44214 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
44215 already be defined. Change to take two parameters and don't assign
44216 result to variable. Adjust all users.
44217 Define INTERNAL_GETTIME if not already defined.
44218 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
44220 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
44221 HAVE_CLOCK_GETTIME_VSYSCALL.
44222 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
44224 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
44225 gettimeofday vsyscall, just use time.
44227 2011-09-06 Andreas Schwab <schwab@redhat.com>
44229 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
44232 2011-09-06 Ulrich Drepper <drepper@gmail.com>
44234 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
44236 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
44238 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
44239 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
44240 syscall if possible.
44242 2011-09-05 Ulrich Drepper <drepper@gmail.com>
44244 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
44245 e_ident. Don't pass to find_mapsXX.
44246 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
44248 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44250 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44251 strchr-sse2-no-bsf strrchr-sse2-no-bsf
44252 * sysdeps/x86_64/multiarch/strchr.S: Update.
44253 Check bit_slow_BSF bit.
44254 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
44255 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
44256 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
44258 2011-09-05 Ulrich Drepper <drepper@gmail.com>
44261 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
44263 (tryshell): Define.
44264 (__spawni): Change last parameter to be flag. Test
44265 SPAWN_XFLAGS_USE_PATH flag to use path or not.
44266 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
44267 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
44268 * posix/spawni.c: Likewise.
44269 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
44270 * posix/spawnp.c: Likewise. Change normal version to use
44271 SPAWN_XFLAGS_USE_PATH.
44272 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
44273 SPAWN_XFLAGS_TRY_SHELL.
44276 * posix/glob.h: Remove gcc 1.x support.
44279 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
44281 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44283 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44284 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
44286 * sysdeps/i386/i686/multiarch/strchr.S: New file.
44287 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
44288 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
44289 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
44290 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
44291 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
44293 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44295 * sysdeps/x86_64/wcscmp.S: New file.
44297 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
44298 wcscmp-c wcscmp-sse2
44299 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
44300 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
44301 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
44302 * wcsmbs/wcscmp.c: Allow renaming.
44304 2011-09-05 David S. Miller <davem@davemloft.net>
44306 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
44307 stack slot, rather than the struct return pointer slot.
44308 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
44309 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
44310 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
44311 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
44313 2011-09-05 Ulrich Drepper <drepper@gmail.com>
44315 * po/ja.po: Update from translation team.
44318 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
44319 kernel in 64-bit binaries.
44321 2011-09-01 David S. Miller <davem@davemloft.net>
44323 * elf/elf.h (HWCAP_SPARC_*): Move to..
44324 * sysdeps/sparc/sysdep.h: this new file and add new values.
44325 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
44326 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
44327 _DL_HWCAP_COUNT to 24.
44328 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
44330 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
44331 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
44332 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
44333 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
44334 instead of magic constants.
44335 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44337 2011-08-31 David S. Miller <davem@davemloft.net>
44339 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
44340 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
44341 Reimplement to do errno handling inline.
44342 (SYSCALL_ERROR_HANDLER): New macro.
44343 (__SYSCALL_STRING): Do not do errno handling in asm.
44344 (__CLONE_SYSCALL_STRING): Delete.
44345 (__INTERNAL_SYSCALL_STRING): Delete.
44346 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
44347 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
44348 (PSEUDO): Reimplement to do errno handling inline.
44349 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
44350 (SYSCALL_ERROR_HANDLER): New macro.
44351 (__SYSCALL_STRING): Do not do errno handling in asm.
44352 (__CLONE_SYSCALL_STRING): Delete.
44353 (__INTERNAL_SYSCALL_STRING): Delete.
44354 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
44355 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
44357 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
44358 (inline_syscall*): Add 'err' argument.
44359 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
44360 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
44361 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
44362 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
44364 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
44365 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
44367 2011-08-30 Andreas Schwab <schwab@redhat.com>
44369 * elf/rtld.c (dl_main): Relocate objects in dependency order.
44371 2011-08-29 Jiri Olsa <jolsa@redhat.com>
44373 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
44376 2011-08-24 David S. Miller <davem@davemloft.net>
44378 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
44380 2011-08-24 Andreas Schwab <schwab@redhat.com>
44382 * elf/Makefile: Add rules to build and run unload8 test.
44383 * elf/unload8.c: New file.
44384 * elf/unload8mod1.c: New file.
44385 * elf/unload8mod1x.c: New file.
44386 * elf/unload8mod2.c: New file.
44387 * elf/unload8mod3.c: New file.
44389 * elf/dl-close.c (_dl_close_worker): Reset private search list if
44392 2011-08-23 David S. Miller <davem@davemloft.net>
44394 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
44395 subtract stack bias.
44396 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
44397 %sp not %fp in calculations.
44398 (_JMPBUF_UNWINDS_ADJ): Likewise.
44400 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
44401 (aio_suspend): Call it to force an exception region around the
44402 AIO_MISC_WAIT() invocation.
44404 2011-08-23 Andreas Schwab <schwab@redhat.com>
44406 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
44409 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
44411 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
44413 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
44414 and <dl-machine.h>.
44415 (Elf64_FuncDesc): Remove.
44417 2011-08-22 David S. Miller <davem@davemloft.net>
44419 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
44420 sigaltstack check, add missing cfi directives.
44421 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
44422 missing cfi directives, and sigaltstack handling.
44424 2011-08-16 Andreas Schwab <schwab@redhat.com>
44427 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
44428 object is seen twice.
44429 * elf/dl-fini.c (_dl_sort_fini): Likewise.
44431 * elf/Makefile (distribute): Add tst-initorder2.c.
44432 (tests): Add tst-initorder2.
44433 (modules-names): Add tst-initorder2a tst-initorder2b
44434 tst-initorder2c tst-initorder2d. Add rules to build them.
44435 ($(objpfx)tst-initorder2.out): New rule.
44436 * elf/tst-initorder2.c: New file.
44437 * elf/tst-initorder2.exp: New file.
44439 2011-08-22 Andreas Schwab <schwab@redhat.com>
44441 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
44443 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
44444 dependencies back to end of function.
44446 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
44447 $(elfobjdir)/ld.so.
44449 2011-08-21 Ulrich Drepper <drepper@gmail.com>
44451 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
44452 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
44453 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
44454 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
44455 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
44456 of __vdso_gettimeofday.
44457 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
44458 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
44460 (_libc_vdso_platform_setup): Remove initialization of
44461 __vdso_gettimeofday and __vdso_time.
44463 2011-08-20 Ulrich Drepper <drepper@gmail.com>
44465 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
44466 and fgetc_unlocked.
44467 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
44470 * elf/dl-open.c (add_to_global): Report additions to the global scope
44471 for LD_DEBUG=scopes.
44472 (dl_open_worker): Also print scope of newly loaded dependencies.
44473 (_dl_show_scope): Indicate if there is no scope.
44476 * stdio-common/Makefile (tests): Add bug24.
44477 * stdio-common/bug24.c: New file.
44479 2011-08-19 Andreas Jaeger <aj@suse.de>
44482 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
44483 non-existant file when using close-on-exec mode.
44485 2011-08-20 Ulrich Drepper <drepper@gmail.com>
44487 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
44488 the very first instruction.
44490 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
44491 the CFI state in the end.
44492 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
44493 inclusion of dl-trampoline.h.
44494 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
44496 2011-08-19 Andreas Schwab <schwab@redhat.com>
44498 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
44499 expectations for long double.
44501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
44502 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
44504 2011-08-14 David S. Miller <davem@davemloft.net>
44506 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
44507 artificual limit depends upon the system page size.
44509 2011-08-17 Ulrich Drepper <drepper@gmail.com>
44511 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
44512 * resolv/Makefile: Define CFLAGS-libresolv.
44514 2011-08-17 Andreas Schwab <schwab@redhat.com>
44516 * nss/makedb.c (compute_tables): Make variables used in nested
44519 2011-08-17 Ulrich Drepper <drepper@gmail.com>
44521 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
44522 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
44523 if buffer was too small.
44525 * elf/pldd.c (main): Attach to all threads in the process.
44526 Rewrite /proc handling to use *at functions.
44528 2011-08-16 Ulrich Drepper <drepper@gmail.com>
44530 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
44531 specifies first scope to show.
44532 (dl_open_worker): Update callers. Move printing scope of new
44533 object to before the relocation.
44534 * elf/rtld.c (dl_main): Update _dl_show_scope call.
44535 * sysdeps/generic/ldsodefs.h: Update declaration.
44537 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
44538 string for the scope number.
44540 2011-08-14 Ulrich Drepper <drepper@gmail.com>
44542 * nscd/servicescache.c (cache_addserv): Make sure written is always
44545 2011-08-14 Roland McGrath <roland@hack.frob.com>
44547 * sysdeps/i386/i486/bits/atomic.h
44548 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
44549 statement expression, so as to suppress "set but not used" warning.
44550 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
44552 * string/strncat.c (STRNCAT): Use prototype definition.
44554 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
44555 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
44557 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
44558 (localedef-modules): Add localedef.
44559 (locale-modules): Add locale.
44561 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
44562 * elf/rtld.c (dl_main): Invert order of assignment in last change,
44563 to avoid a warning.
44565 2011-08-14 David S. Miller <davem@davemloft.net>
44567 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
44568 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
44570 2011-08-13 Ulrich Drepper <drepper@gmail.com>
44572 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
44573 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
44574 * elf/rtld.c (dl_main): Set l_name of vDSO.
44575 Call _dl_show_scope when DL_DEBUG_SCOPES.
44576 (process_dl_debug): Recognize scopes flag and also set it for all.
44577 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
44578 Declare _dl_show_scope.
44580 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
44581 (do_dlopen): Pass caller_dlopen to dl_open.
44582 (__libc_dlopen_mode): Initialize caller_dlopen.
44584 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
44585 of libc. Make tolower call locale-independent. Optimize a bit by
44586 using isdigit instead of isalnum.
44587 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
44589 2011-08-12 Ulrich Drepper <drepper@gmail.com>
44591 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
44592 was a dependency or dynamically loaded.
44594 2011-08-11 Ulrich Drepper <drepper@gmail.com>
44596 * intl/l10nflist.c: Allow architecture-specific pop function.
44597 * sysdeps/x86_64/l10nflist.c: New file.
44599 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
44602 2011-08-10 Andreas Schwab <schwab@redhat.com>
44604 * include/dirent.h: Add libc_hidden_proto for scandirat and
44605 scandirat64. Don't declare __scandirat64.
44606 * dirent/scandirat.c: Add libc_hidden_def.
44607 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
44608 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
44610 2011-08-10 David S. Miller <davem@davemloft.net>
44612 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
44614 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44615 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44616 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44618 2011-08-09 Ulrich Drepper <drepper@gmail.com>
44620 * Versions.def [libc]: Add GLIBC_2.15.
44621 * dirent/Makefile (routines): Add scandirat and scandirat64.
44622 * dirent/Versions [libc]: Export scandirat and scandirat64 for
44624 * dirent/dirent.h: Declare scandirat and scandirat64.
44625 * dirent/scandirat.c: New file.
44626 * dirent/scandirat64.c: New file.
44627 * sysdeps/wordsize-64/scandirat.c: New file.
44628 * sysdeps/wordsize-64/scandirat64.c: New file.
44629 * dirent/opendir.c: Define opendirat.
44630 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
44632 * dirent/scandir64.c: Adjust for scandir.c change.
44633 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
44634 __scandirat64, and __scandir_cancel_handler.
44635 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
44636 additional parameter and use openat instead of open (outside of ld.so).
44637 Add new __opendir as wrapper around __opendirat.
44638 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
44639 here without requiring old scandirat implementation.
44641 2011-08-08 Ulrich Drepper <drepper@gmail.com>
44643 * dirent/scandir.c (cancel_handler): Renamed to
44644 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
44645 defined. Adjust users.
44646 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
44647 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
44649 2011-08-04 Ulrich Drepper <drepper@gmail.com>
44651 * string/test-string.h (IMPL): Use __STRING to expand name and then
44654 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
44657 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44659 * string/Makefile: Update.
44660 (strop-tests): Append strncat.
44661 * string/test-wcscmp.c: New file.
44662 New comprehensive test for wcscmp.
44663 * string/test-strcmp.c: Update.
44664 (WIDE): New define.
44666 2011-07-22 Andreas Schwab <schwab@redhat.com>
44668 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
44671 2011-07-26 Andreas Schwab <schwab@redhat.com>
44673 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
44674 encoding to ACE if AI_IDN.
44676 2011-08-01 Jakub Jelinek <jakub@redhat.com>
44678 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
44679 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
44681 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44683 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
44684 Fix overflow bug in strncat.
44685 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
44687 * string/test-strncat.c: Update.
44688 Add new tests for checking overflow bugs.
44690 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44692 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44693 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
44694 * sysdeps/i386/i686/multiarch/strcat.S: New file.
44695 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
44696 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
44697 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
44698 * sysdeps/i386/i686/multiarch/strncat.S: New file.
44699 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
44700 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
44702 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
44703 (USE_AS_STRCAT): Define.
44704 Add strcat and strncat support.
44705 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44707 2011-07-25 Andreas Schwab <schwab@redhat.com>
44709 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
44710 __n bigger than INT_MAX+1.
44711 (__strncmp_g): Likewise.
44713 2011-07-23 Ulrich Drepper <drepper@gmail.com>
44715 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
44716 * libio/stido.h: Likewise.
44718 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
44720 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
44723 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
44724 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44725 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44726 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
44727 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44730 * scripts/test-installation.pl: Don't expect libnss_test1 to be
44733 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
44735 (_dl_x86_64_save_sse): Likewise.
44737 2011-07-22 Ulrich Drepper <drepper@gmail.com>
44739 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
44741 (_dl_x86_64_save_sse): Likewise.
44743 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
44745 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
44747 2011-07-21 Andreas Schwab <schwab@redhat.com>
44749 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
44751 (_dl_x86_64_save_sse): Use correct AVX check.
44753 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44755 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
44756 bug in strncpy/strncat.
44757 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
44759 2011-07-21 Ulrich Drepper <drepper@gmail.com>
44761 * string/tester.c (test_strcat): Add tests for different alignments
44762 of source and destination.
44763 (test_strncat): Likewise.
44765 2011-07-20 Ulrich Drepper <drepper@gmail.com>
44768 * posix/glob.c (glob): Check passed in values before using them in
44769 expressions to avoid some overflows.
44770 (glob_in_dir): Likewise.
44773 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
44774 check for AVX enablement so that we don't crash with old kernels and
44776 * elf/tst-audit4.c: Add same checks here.
44777 * elf/tst-audit6.c: Likewise.
44779 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
44781 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
44783 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
44785 2011-07-20 Ulrich Drepper <drepper@gmail.com>
44787 * po/cs.po: Update from translation team.
44788 * po/bg.po: Likewise.
44790 2011-07-12 Marek Polacek <mpolacek@redhat.com>
44792 * misc/sys/cdefs.h: Add support for const attribute.
44793 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
44794 to gnu_dev_{major,minor,makedev} functions.
44796 2011-07-20 Marek Polacek <mpolacek@redhat.com>
44798 * intl/dcigettext.c (get_output_charset): Add missing bracket.
44800 2011-07-20 Andreas Schwab <schwab@redhat.com>
44802 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
44805 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44807 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
44808 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
44809 register in order to avoid conflicts with the soft frame pointer
44810 being held in r11 when necessary.
44811 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
44812 (INTERNAL_VSYSCALL_NCS): Likewise.
44814 2011-07-14 Marek Polacek <mpolacek@redhat.com>
44816 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
44817 * elf/dl-fini.c (_dl_fini): Adjust caller.
44818 * elf/dl-close.c (_dl_close_worker): Likewise.
44819 * sysdeps/generic/ldsodefs.h: Adjust declaration.
44821 2011-07-15 Marek Polacek <mpolacek@redhat.com>
44823 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
44824 "aux_cache->nlibs < 0".
44826 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
44827 in the reload-count case.
44829 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44831 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44832 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
44833 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
44834 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
44835 * sysdeps/x86_64/multiarch/strcat.S: New file.
44836 * sysdeps/x86_64/multiarch/strncat.S: New file.
44837 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
44838 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
44839 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
44840 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
44841 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
44842 (USE_AS_STRCAT): Define.
44843 Add strcat and strncat support.
44844 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
44845 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
44846 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
44847 * string/strncat.c: Update.
44848 (USE_AS_STRNCAT): Define.
44849 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44850 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
44852 * sysdeps/x86_64/multiarch/init-arch.h
44853 (bit_Prefer_PMINUB_for_stringop): New.
44854 (index_Prefer_PMINUB_for_stringop): Likewise.
44855 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
44856 bit_Prefer_PMINUB_for_stringop.
44858 2011-07-19 Ulrich Drepper <drepper@gmail.com>
44860 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
44862 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
44863 of casting of buffer.
44864 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
44865 buffer32 and buffer64.
44866 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
44867 writes instead of casting of buffer.
44868 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
44870 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
44873 2011-07-19 Andreas Schwab <schwab@redhat.com>
44875 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
44877 2011-07-19 Ulrich Drepper <drepper@gmail.com>
44879 * nscd/nscd.c (termination_handler): Don't do anything for a database
44880 if it has not yet been initialized.
44882 2011-07-18 Ulrich Drepper <drepper@gmail.com>
44884 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
44886 2011-07-15 Marek Polacek <mpolacek@redhat.com>
44888 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
44890 2011-07-18 Ulrich Drepper <drepper@gmail.com>
44892 * po/nl.po: Update from translation team.
44893 * po/sv.po: Likewise.
44895 2011-07-16 Roland McGrath <roland@hack.frob.com>
44897 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
44898 now disallowed by GCC.
44900 * configure.in (use-default-link): Default to yes if a test -shared
44901 link meets our qualifications.
44902 * configure: Regenerated.
44904 * config.make.in (output-format): New variable.
44905 * configure.in: Check for ld --print-output-format support.
44906 * configure: Regenerated.
44907 * Makerules ($(common-objpfx)format.lds)
44908 [$(output-format) != unknown]: Just use $(output-format),
44909 instead of the linker-script munging.
44911 2011-07-14 Roland McGrath <roland@hack.frob.com>
44913 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
44914 of $(common-objpfx)shlib.lds.
44915 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
44917 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
44918 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
44920 * configure.in (-z relro check): Adjust test code to add a large
44921 writable data section after it.
44922 * configure: Regenerated.
44924 2011-07-11 Roland McGrath <roland@hack.frob.com>
44926 * configure.in (-z relro check): Fix test code to make the variable
44928 * configure: Regenerated.
44930 2011-07-11 Ulrich Drepper <drepper@gmail.com>
44932 * nscd/nscd.h (struct traced_file): Define.
44933 (struct database_dyn): Remove inotify_descr, reset_res, and filename
44934 elements. Add traced_files.
44935 (inotify_fd): Declare.
44936 (register_traced_file): Declare.
44937 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
44938 (inotify_fd): Export.
44939 (resolv_conf_descr): Remove.
44940 (nscd_init): Move inotify descriptor creation to main.
44941 Don't register files for notification here.
44942 (register_traced_file): New function.
44943 (invalidate_cache): Don't use reset_res to determine whether to call
44944 res_init, go through the list of registered files.
44945 (main_loop_poll): The inotify descriptors are now stored in the
44946 structures for the traced files.
44947 (main_loop_epoll): Likewise
44948 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
44949 to __nss_disable_nscd.
44950 * nscd/cache.c (prune_cache): There is no single inotify descriptor
44951 for a database anymore. Check the records for all the registered
44953 * nss/Makefile (libnss_files-routines): Add files-init.
44954 (libnss_db-routines): Add db-init.
44955 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
44956 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
44957 * nss/nss_db/db-init.c: New file.
44958 * nss/nss_files/files-init.c: New file.
44959 * nss/nsswitch.c (nss_load_library): New function. Broken out of
44960 __nss_lookup_function.
44961 (__nss_lookup_function): Call nss_load_library.
44962 (nss_load_all_libraries): New function.
44963 (__nss_disable_nscd): Take parameter with callback function for files
44964 to register. Set is_nscd. Load all the DSOs for the NSS modules
44965 used for the cached services.
44966 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
44967 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
44968 options for features to all the files in nscd.
44970 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
44972 2011-07-10 Roland McGrath <roland@hack.frob.com>
44974 * csu/elf-init.c (__libc_csu_init): Comment typo.
44976 2011-07-09 Ulrich Drepper <drepper@gmail.com>
44978 * po/pl.po: Update from translation team.
44979 * po/ja.po: Likewise.
44980 * po/ru.po: Likewise.
44981 * po/ko.po: Likewise.
44982 * po/fr.po: Likewise.
44984 2011-07-09 Roland McGrath <roland@hack.frob.com>
44986 * configure.in (.ctors/.dtors header and trailer check):
44987 Use an empirical test on a built program.
44988 * configure: Regenerated.
44990 * configure.in (-z relro check): Use an empirical test on a built DSO.
44991 Detect, but do not require, on ia64.
44992 * configure: Regenerated.
44994 * configure.in (READELF): Find it with AC_CHECK_TOOL.
44995 Update tests that use readelf to use $READELF instead.
44996 * configure: Regenerated.
44998 2011-07-08 Ulrich Drepper <drepper@gmail.com>
45000 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
45001 if the result is not used.
45003 2011-07-05 Andreas Jaeger <aj@suse.de>
45006 * stdlib/tst-strtod.c: Add testcase.
45008 2011-07-07 Ulrich Drepper <drepper@gmail.com>
45010 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
45011 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
45012 The latter has a higher limit. Take additional parameter to pass to
45014 (__pathconf): Pass file to __statfs_link_max.
45015 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
45017 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
45021 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
45022 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45024 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
45025 (__statfs_filesize_max): Likewise.
45026 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
45028 2011-07-05 Andreas Jaeger <aj@suse.de>
45030 * resolv/res_comp.c (dn_skipname): Remove unused variable.
45032 2011-07-06 Marek Polacek <mpolacek@redhat.com>
45034 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
45036 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
45039 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
45041 * Makefile (strop-tests): Add strncat.
45042 * string/test-strncat.c: New file.
45044 2011-06-30 Marek Polacek <mpolacek@redhat.com>
45046 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
45048 2011-06-21 Andreas Jaeger <aj@suse.de>
45050 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
45051 Copy rule from iconvdata/Makefile.
45053 2011-07-06 Ulrich Drepper <drepper@gmail.com>
45056 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
45057 but no long options are defined, just return 'W'.
45059 2011-06-22 Marek Polacek <mpolacek@redhat.com>
45062 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
45064 2011-07-06 Ulrich Drepper <drepper@gmail.com>
45066 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
45068 (innetgr): Likewise.
45070 2011-07-05 Roland McGrath <roland@hack.frob.com>
45072 * config.make.in (install_root): Default to $(DESTDIR).
45074 2011-07-05 Ulrich Drepper <drepper@gmail.com>
45076 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
45078 2011-07-02 Roland McGrath <roland@hack.frob.com>
45080 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
45082 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
45083 containing directory rather than embedding absolute directory names.
45085 * scripts/check-local-headers.sh: Rewritten using awk.
45086 Match by word, not by line. Print error messages for matches.
45087 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
45089 * Makerules [shlib-lds-flags empty]:
45090 ($(common-objpfx)libc_pic.opts): New target.
45091 ($(common-objpfx)libc_pic.os.clean): New target.
45092 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
45094 * config.make.in (OBJCOPY): New variable.
45095 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
45096 * configure: Regenerated.
45098 * config.make.in (use-default-link): New variable.
45099 * configure.in (use_default_link): Grok --with-default-link to set it.
45100 * configure: Regenerated.
45101 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
45102 (shlib-lds, shlib-lds-flags): Define to empty.
45104 * Makerules (shlib-lds): New variable.
45105 (shlib-lds-flags): New variable.
45106 (build-shlib, build-moduile, build-module-asneeded): Use it.
45107 ($(common-objpfx)libc.so): Use $(shlib-lds).
45108 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
45109 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
45111 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
45112 DT_FLAGS/DT_FLAGS_1 with zero flags.
45114 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
45115 linker script munging.
45117 2011-07-02 Ulrich Drepper <drepper@gmail.com>
45119 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
45121 * crypt/sha512.c (sha512_process_block): Perform total addition using
45122 128-bit if possible.
45123 (__sha512_finish_ctx): Likewise.
45124 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
45126 * crypt/sha256.c (SWAP64): Define.
45127 (sha256_process_block): Perform total addition using 64-bit if
45129 (__sha256_finish_ctx): Likewise.
45131 2011-07-01 Ulrich Drepper <drepper@gmail.com>
45133 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
45134 * nscd/initgrcache.c (addinitgroupsX): Likewise.
45135 * nscd/hstcache.c (cache_addhst): Likewise.
45136 * nscd/grpcache.c (cache_addgr): Likewise.
45137 * nscd/aicache.c (addhstaiX): Likewise
45138 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
45140 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
45142 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
45143 * nscd/initgrcache.c (addinitgroupsX): Likewise.
45144 * nscd/hstcache.c (cache_addhst): Likewise.
45145 * nscd/grpcache.c (cache_addgr): Likewise.
45146 * nscd/aicache.c (addhstaiX): Likewise
45148 2011-07-01 Andreas Schwab <schwab@redhat.com>
45150 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
45151 domain only when needed.
45153 2011-06-30 Andreas Schwab <schwab@redhat.com>
45155 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
45156 is always restored.
45158 2011-06-29 Ulrich Drepper <drepper@gmail.com>
45160 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
45161 are re-adding the entry.
45162 * nscd/servicescache.c (cache_addserv): Likewise.
45164 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
45166 * sysdeps/generic/dl-irel.h: fix protection against multiple
45168 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
45170 2011-06-28 Ulrich Drepper <drepper@gmail.com>
45173 * malloc/memusage.sh: Fix quoting in message.
45174 * debug/xtrace.sh: Likewise.
45176 * configure.in: Remove support for --experimental-malloc option, make
45178 * config.make.in: Likewise.
45179 * malloc/Makefile: Likewise.
45181 2011-06-27 Andreas Schwab <schwab@redhat.com>
45183 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
45184 two-byte characters.
45186 2011-06-27 Roland McGrath <roland@hack.frob.com>
45188 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
45189 AC_CACHE_CHECK invocation.
45190 * configure: Regenerated.
45192 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
45194 2011-06-27 Ulrich Drepper <drepper@gmail.com>
45197 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
45198 bit from old_res_options.
45200 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
45202 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
45203 value type for setfct.
45205 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
45207 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
45208 __gettimeofday instead of gettimeofday.
45210 2011-06-26 Ulrich Drepper <drepper@gmail.com>
45212 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
45214 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
45216 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
45218 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
45221 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
45223 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45224 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
45225 strcpy-sse2-unaligned strncpy-sse2-unaligned
45226 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
45227 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
45228 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
45229 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
45230 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
45231 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
45232 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
45233 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
45234 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
45235 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
45236 (STRCPY): Support SSE2 and SSSE3 versions.
45238 2011-06-24 Ulrich Drepper <drepper@gmail.com>
45241 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
45242 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
45243 kernels which artificially limit size of requests.
45245 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
45247 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45248 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
45249 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
45250 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
45251 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
45252 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
45253 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
45254 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
45255 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
45256 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
45257 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
45258 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
45259 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
45260 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
45261 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
45262 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45263 Enable unaligned load optimization for Intel Core i3, i5 and i7
45265 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
45267 (index_Fast_Unaligned_Load): Define.
45268 (HAS_FAST_UNALIGNED_LOAD): Define.
45270 2011-06-23 Marek Polacek <mpolacek@redhat.com>
45272 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
45274 2011-06-22 Ulrich Drepper <drepper@gmail.com>
45277 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
45278 until it is clear that the information is realy needed.
45279 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
45281 2011-06-22 Andreas Schwab <schwab@redhat.com>
45283 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
45285 2011-06-22 Ulrich Drepper <drepper@gmail.com>
45287 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
45288 /sys/devices/system/cpu/online if it is usable.
45290 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
45291 reading the information from the /proc filesystem to once a second.
45293 2011-06-21 Andreas Jaeger <aj@suse.de>
45295 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
45296 NULL after inclusion of kernel headers.
45298 2011-06-21 Ulrich Drepper <drepper@gmail.com>
45300 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
45301 calls to internal_setent.
45304 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
45305 addresses using gethostbyname4_r ignore IPv4 addresses.
45307 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
45308 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
45310 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
45312 2011-06-20 David S. Miller <davem@davemloft.net>
45314 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
45316 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
45318 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
45319 (elf_irel): Use it.
45320 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
45321 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
45322 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
45323 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
45324 * sysdeps/x86_64/dl-irel.h: Likewise.
45326 * elf/dl-runtime.c: Use elf_ifunc_invoke.
45327 * elf/dl-sym.c: Likewise.
45329 2011-06-15 Ulrich Drepper <drepper@gmail.com>
45331 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
45332 need to dereference resplen2.
45334 2011-06-14 Andreas Schwab <schwab@redhat.com>
45336 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
45338 2011-06-15 Ulrich Drepper <drepper@gmail.com>
45340 * Makeconfig: Define vardbdir and inst_vardbdir.
45341 * nss/Makefile: Add rules to install db-Makefile.
45343 * nss/nss_db/db-XXX.c: Cleanup.
45345 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
45346 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
45348 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
45349 * nss/makedb.c: Implement -g option to specify that value strings
45350 are generated and should not be added to table iterated over for
45352 * nss/nss_db/db-initgroups.c: New file.
45354 * nss/getent.c: Add support for initgroups lookups through getgrouplist
45357 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
45358 (internal_getgrouplist): Adjust to name change.
45359 Update use_initgroups_entry if this is not the first call.
45360 * nss/databases.def: Add initgroups entry.
45362 * nss/makedb.c (compute_tables): Check result of multiple hash table
45363 sizes to minimize maximum chain length.
45365 2011-06-14 Ulrich Drepper <drepper@gmail.com>
45367 * Versions.def: Add entry for libnss_db.
45368 * shlib-versions: Likewise.
45369 * nss/Makefile: Add rules to build libnss_db.
45370 * nss/Versions: Add libnss_db information. Organize libnss_files
45372 * nss/db-Makefile: Add gshadow support. Change rules for the new
45373 makedb progra. Some minor improvements to generate smaller files.
45374 * nss/nss_db/nss_db.h: Move NSS database header data structures to
45376 * nss/makedb.c: ...here.
45377 Improve database format to be smaller and require less memory at
45379 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
45381 * nss/nss_db/db-netgrp.c: Likewise.
45382 * nss/nss_db/db-open.c: Likewise.
45383 * nss/nss_files/flies-XXX.x: Adjust comments.
45384 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
45385 * nss/nss_files/files-grp.c: Likewise.
45386 * nss/nss_files/files-hosts.c: Likewise.
45387 * nss/nss_files/files-network.c: Likewise.
45388 * nss/nss_files/files-proto.c: Likewise.
45389 * nss/nss_files/files-pwd.c: Likewise.
45390 * nss/nss_files/files-rpc.c: Likewise.
45391 * nss/nss_files/files-service.c: Likewise.
45392 * nss/nss_files/files-sgrp.c: Likewise.
45393 * nss/nss_files/files-spwd.c: Likewise.
45394 * nss/nss_db/db-alias.c: Removed.
45395 * nss/nss_db/dummy-db.h: Removed.
45397 2011-06-02 Ulrich Drepper <drepper@gmail.com>
45399 * nss/makedb.c: Rewritten to not use database library.
45400 * nss/Makefile: Update to build new makedb program.
45402 2011-06-14 Andreas Jaeger <aj@suse.de>
45404 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
45405 memset declaration.
45407 2011-06-10 Andreas Schwab <schwab@redhat.com>
45409 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
45412 2011-06-10 Roland McGrath <roland@hack.frob.com>
45414 * Makerules (shlib.lds): Fail if the linker script comes out empty.
45415 * elf/Makefile ($(objpfx)ld.so): Likewise.
45417 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
45418 Don't list ld.so twice in dependencies.
45420 * posix/bug-regex31.c: Include <stdlib.h>.
45422 * nscd/hstcache.c (cache_addhst): Remove unused variable.
45424 * nis/nss_compat/compat-spwd.c
45425 (getspent_next_nss_netgr): Remove unused variable.
45426 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
45428 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
45429 nonmembers" output to use the right array.
45431 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
45433 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
45435 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
45436 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
45437 * catgets/gencat.c (read_input_file): Likewise.
45438 * locale/programs/locarchive.c (enlarge_archive): Likewise.
45440 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
45441 variable definition inside #if's controlling its use.
45443 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
45445 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
45447 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
45449 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
45452 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
45454 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
45455 * configure: Regenerated.
45457 * Makerules: Revert last change.
45458 * elf/Makefile: Likewise.
45460 2011-06-09 Roland McGrath <roland@hack.frob.com>
45462 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
45463 * elf/Makefile ($(objpfx)librtld.os): Likewise.
45464 (reloc-link): Likewise.
45466 2011-06-09 Ulrich Drepper <drepper@gmail.com>
45468 * elf/Makefile: Add rules to build pldd.
45469 * elf/pldd.c: New file.
45470 * elf/pldd-xx.c: New file.
45472 2011-06-07 Ulrich Drepper <drepper@gmail.com>
45474 * version.h: Update for 2.15 development version.
45476 2011-06-07 David S. Miller <davem@davemloft.net>
45478 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
45480 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
45481 elf_machine_lazy_rel): Likewise.
45482 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
45483 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
45484 elf_machine_lazy_rel): Likewise.
45485 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
45486 dl_hwcap via passed in argument.
45487 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
45490 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45492 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
45494 2011-06-06 Roland McGrath <roland@hack.frob.com>
45497 * manual/fdl-1.1.texi: New file, verbatim from:
45498 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
45499 * manual/lgpl-2.1.texi: New file, verbatim from:
45500 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
45501 * manual/Makefile (licenses): New variable, list those new file names.
45503 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
45505 * manual/fdl.texi: File removed.
45506 * manual/lesser.texi: File removed.
45507 * manual/libc.texinfo (Copying, Documentation License):
45508 Use new @include file names, put @appendix directive before @include.
45510 2011-06-04 Jakub Jelinek <jakub@redhat.com>
45513 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
45514 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
45515 (mq_open): Add __NTH.
45517 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
45519 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45520 Assume Intel Core i3/i5/i7 processor if AVX is available.
45522 2011-05-31 Ulrich Drepper <drepper@gmail.com>
45524 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
45527 2011-05-31 Andreas Schwab <schwab@redhat.com>
45529 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
45530 memory. Use alloca_account. Fix memory leak when retrying.
45532 2011-05-31 Ulrich Drepper <drepper@gmail.com>
45534 * version.h (RELEASE): Bump for 2.14 release.
45535 * include/features.h (__GLIBC_MINOR__): Bump to 14.
45537 * config.make.in (RANLIB): Remove entry.
45539 2011-05-30 Ulrich Drepper <drepper@gmail.com>
45541 * po/Makefile (po-sed-cmd): Add ksh to extensions.
45542 (libc.pot): Work around missing support for .ksh extension in xgettext.
45545 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
45546 if both request failed.
45547 (send_dg): In case of server errors clear resplen or *resplen2.
45550 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
45551 when there are multiple maps.
45552 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
45553 (_dl_fini): Remove test here.
45555 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
45557 2011-05-29 Ulrich Drepper <drepper@gmail.com>
45560 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
45561 bit from old_res_options.
45562 (gaih_inet): Likewise.
45565 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
45568 * resolv/res_init.c (res_setoptions): Make the code more compact.
45571 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
45575 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
45577 * malloc/malloc.h: Mark malloc hook variables as deprecated.
45580 * malloc/malloc.h: Declare malloc hook variables as volatile.
45582 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
45586 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
45587 raise in the comment.
45588 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
45589 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
45590 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
45592 2011-05-28 Ulrich Drepper <drepper@gmail.com>
45595 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
45596 grow the buffers more if it already has to be sufficient.
45597 (build_wcs_upper_buffer): Likewise.
45598 * posix/regexec.c (check_matching): Likewise.
45599 (clean_state_log_if_needed): Likewise.
45600 (extend_buffers): Don't enlarge buffers beyond size of the input
45602 Patches mostly by Emil Wojak <emil@wojak.eu>.
45603 * posix/bug-regex32.c: New file.
45604 * posix/Makefile (tests): Add bug-regex32.
45606 * locale/findlocale.c (_nl_find_locale): Return right away if
45607 _nl_explode_name failed.
45608 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
45610 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
45612 * debug/xtrace.sh: Unify messages.
45613 * malloc/memusage.sh: Likewise.
45616 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
45617 time symbol from vDSO. Substitute with vsyscall if not available.
45618 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
45621 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
45622 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
45623 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
45624 Add sendmmsg and internal_sendmmsg.
45625 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
45626 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
45627 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
45629 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
45630 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
45631 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
45633 2011-05-27 Ulrich Drepper <drepper@gmail.com>
45636 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
45637 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
45639 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
45643 * iconvdata/Makefile (tests): Add bug-iconv9.
45644 * iconvdata/bug-iconv9.c: New file.
45646 2011-05-27 Andreas Schwab <schwab@redhat.com>
45649 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
45651 2011-05-25 Jakub Jelinek <jakub@redhat.com>
45653 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45654 (struct user_regs_struct): Change intcs field back to cs.
45656 2011-05-25 Ulrich Drepper <drepper@gmail.com>
45658 * po/ja.po: Update from translation team.
45660 2011-05-23 Ulrich Drepper <drepper@gmail.com>
45663 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
45664 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
45666 2011-05-20 Andreas Schwab <schwab@redhat.com>
45668 * stdlib/longlong.h: Update from GCC.
45670 2011-05-23 Andreas Schwab <schwab@redhat.com>
45672 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
45674 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
45675 Add parameter name.
45676 (__sysconf): Pass it down.
45678 2011-05-22 Ulrich Drepper <drepper@gmail.com>
45681 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
45683 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
45684 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
45685 add in in __libc_use_alloca calls. Adjust callers.
45686 (glob): Use malloc in some situations.
45688 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
45689 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
45692 2011-05-21 Ulrich Drepper <drepper@gmail.com>
45694 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
45695 and CLOCK_BOOTTIME_ALARM.
45698 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
45701 * string/_strerror.c (__strerror_r): Print negative errors as signed
45705 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
45706 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
45707 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
45709 * configure.in: Fix typo in redirection and correct removal of test
45710 files in two cases.
45713 * locale/setlocale.c (new_composite_name): Fix test to check for
45714 identical name of all categories.
45717 * libio/filedoalloc.c (local_isatty): New function.
45718 (_IO_file_doallocate): Use local_isatty.
45719 * stdio-common/perror.c (perror): In case a new stream is used
45720 forward the stream error.
45721 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
45724 2011-05-20 Ulrich Drepper <drepper@gmail.com>
45727 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
45729 * include/alloca.h (extend_alloca_account): Define.
45732 * posix/regex.h: Fix comments with documentation of user-accessible
45733 fields after compilation and describe correct free'ing of pattern
45734 after re_compile_pattern.
45735 Patch by Reuben Thomas <rrt@sc3d.org>.
45737 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
45739 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
45740 and -mno-altivec to prevent the compiler from using Altivec and/or
45741 VSX instructions when the corresponding registers are not available.
45743 2011-05-19 Andreas Schwab <schwab@redhat.com>
45745 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
45747 2011-05-19 Ulrich Drepper <drepper@gmail.com>
45749 * libio/freopen.c (freopen): Use __dup2, not dup2.
45750 * libio/freopen64.c (freopen64): Likewise.
45752 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
45755 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
45756 * math/Makefile (tests): Add test-powl.
45757 (CFLAGS-test-powl.c): Define.
45758 * math/test-powl.c: New file.
45760 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
45762 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
45764 2011-05-17 Ulrich Drepper <drepper@gmail.com>
45767 * iconvdata/gb18030.c: Update to GB18020-2005.
45769 2011-05-16 Ulrich Drepper <drepper@gmail.com>
45771 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
45772 RE_SYNTAX_POSIX_AWK): Update to match recent development.
45773 Patch by Aharon Robbins <arnold@skeeve.com>.
45776 * stdlib/putenv.c (putenv): Don't always create copy of the variable
45780 * misc/pselect.c (__pselect): Handle timeout value errors hidden
45781 through underflows.
45784 * misc/error.c (error_at_line): Ensure file_name and old_file_name
45785 point to strings before performing equality test for error_one_per_line
45789 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
45792 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45793 (struct user_fpregs_struct): Avoid __uint*_t types.
45796 * malloc/mtrace.c (tr_where): Add additional parameter to point to
45797 symbol info. Use it instead of calling _dl_addr locally.
45798 (lock_and_info): New function.
45799 (tr_freehook): Call lock_and_info and pass symbol info as additional
45800 parameter to tr_where.
45801 (tr_mallochook): Likewise.
45802 (tr_reallochook): Likewise.
45803 (tr_memalignhook): Likewise.
45805 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
45806 used and couldn't be at all thread-safe.
45808 2011-05-15 Ulrich Drepper <drepper@gmail.com>
45810 * libio/freopen.c (freopen): Don't close old file descriptor
45811 before the new one is opened. Instead dup the new file descriptor
45812 to the old one after the new stream is created.
45813 * libio/freopen64.c (freopen64): Likewise.
45814 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
45815 * libio/fileops.c (_IO_new_file_close_it): Handle new
45816 _IO_FLAGS2_NOCLOSE flag.
45817 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
45818 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
45819 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
45820 _IO_FLAGS2_NOCLOSE flag.
45821 * include/unistd.h: Add hidden_proto for dup3.
45822 Define __have_dup3.
45823 * io/dup3.c: Define hidden symbol.
45824 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
45827 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
45828 when an incomplete long option is used.
45829 * posix/tst-getopt_long1.c: New file.
45830 * posix/Makefile (tests): Add tst-getopt_long1.
45833 * scripts/config.guess: Update from autoconf-2.68.
45834 * scripts/config.sub: Likewise.
45837 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
45839 (has_cpuclock): ...this. New function.
45840 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
45841 macro here based on has_cpuclock code.
45844 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45845 First byte (not low byte) is now always NUL.
45846 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
45848 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45849 Use non-cancelable interfaces.
45852 * locale/iso-639.def: Add entry for Sorani.
45855 * include/stdlib.h: Move include protection to the right place.
45856 Define abort_msg_s. Declare __abort_msg with it.
45857 * stdlib/abort.c (__abort_msg): Adjust type.
45858 * assert/assert.c (__assert_fail_base): New function. Majority
45859 of code from __assert_fail. Allocate memory for __abort_msg with
45861 (__assert_fail): Now call __assert_fail_base.
45862 * assert/assert-perr.c: Remove bulk of implementation. Use
45863 __assert_fail_base.
45864 * include/assert.hL Declare __assert_fail_base.
45865 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
45867 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
45869 2011-05-14 Ulrich Drepper <drepper@gmail.com>
45873 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
45874 until all modules are registered in the DTV.
45875 * elf/Makefile: Add rules to build and run tst-tls19.
45876 * elf/tst-tls19.c: New file.
45877 * elf/tst-tls19mod1.c: New file.
45878 * elf/tst-tls19mod2.c: New file.
45879 * elf/tst-tls19mod3.c: New file.
45880 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
45883 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
45887 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
45888 two-byte sequence errors.
45889 * iconvdata/Makefile (tests): Add bug-iconv8.
45890 * iconvdata/bug-iconv8.c: New file.
45893 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
45896 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
45899 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
45900 (dummy_getcfa): New function.
45901 (init): Get _Unwind_GetCFA address, use dummy if not found.
45902 (backtrace_helper): In recursion check, also check whether CFA changes.
45903 (__backtrace): Completely initialize arg.
45905 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
45906 storing incomplete byte sequence in state object. Avoid testing for
45907 guaranteed too small input if we know there is enough data available.
45909 2011-05-11 Andreas Schwab <schwab@redhat.com>
45911 * Makeconfig (+link-pie): Indent.
45912 * Rules (binaries-pie): Define if $(have-fpie) and
45914 (binaries-shared): Also filter out $(binaries-pie).
45915 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
45916 * nscd/Makefile (others-pie): Add nscd.
45917 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
45918 ($(objpfx)nscd): Remove command override.
45919 * login/Makefile (others-pie): Add pt_chown.
45920 ($(objpfx)pt_chown): Remove command override.
45921 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
45922 remove command overrides.
45924 2011-05-13 Ulrich Drepper <drepper@gmail.com>
45926 * libio/tst_putwc.c: Fix error messages.
45929 * libio/fileops.c (_IO_new_file_close_it): Always flush when
45930 currently writing and seek to current position when not.
45931 * libio/Makefile (tests): Add bug-fclose1.
45932 * libio/bug-fclose1.c: New file.
45934 2011-05-12 Ulrich Drepper <drepper@gmail.com>
45937 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
45938 don't set DF_1_NODELETE here.
45939 (do_lookup_x): When entering new entry test for copy relocation
45940 and if necessary set DF_1_NODELETE flag.
45941 * elf/tst-unique4.cc: New file.
45942 * elf/tst-unique4.h: New file.
45943 * elf/tst-unique4lib.cc: New file.
45944 * elf/Makefile: Add rules to build and run tst-unique4.
45945 Patch by Piotr Bury <pbury@goahead.com>.
45947 2011-05-11 Ulrich Drepper <drepper@gmail.com>
45950 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
45953 * misc/mntent_r.c (addmntent): Flush the stream after the output
45956 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
45957 (is_trusted_path_normalize): Skip initial colon. Append slash
45958 to empty buffer. Duplicate is_trusted_path code but allow
45959 constructed patch to be prefix.
45960 (is_dst): Allow $ORIGIN followed by /.
45961 (_dl_dst_substitute): Correct clearing of check_for_trusted.
45962 Correct testing of result of is_trusted_path_normalize
45963 (decompose_rpath): Fix warning.
45965 2011-05-10 Ulrich Drepper <drepper@gmail.com>
45968 * grp/initgroups.c (internal_getgrouplist): When we found the service
45969 list through the initgroups entry in nsswitch.conf do not always
45970 continue on a successful lookup. Don't always use the
45971 __nss_group_database value if it is set.
45972 * nss/nsswitch.conf (initgroups): Change action for successful db
45973 lookup to continue for compatibility.
45975 2011-05-09 Ulrich Drepper <drepper@gmail.com>
45978 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
45980 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
45982 * iconvdata/tst-tables.sh: Likewise.
45983 * iconvdata/cp770.c: New file.
45984 * iconvdata/cp771.c: New file.
45985 * iconvdata/cp772.c: New file.
45986 * iconvdata/cp773.c: New file.
45987 * iconvdata/cp774.c: New file.
45988 * iconvdata/testdata/CP770: New file.
45989 * iconvdata/testdata/CP770..UTF8: New file.
45990 * iconvdata/testdata/CP771: New file.
45991 * iconvdata/testdata/CP771..UTF8: New file.
45992 * iconvdata/testdata/CP772: New file.
45993 * iconvdata/testdata/CP772..UTF8: New file.
45994 * iconvdata/testdata/CP773: New file.
45995 * iconvdata/testdata/CP773..UTF8: New file.
45996 * iconvdata/testdata/CP774: New file.
45997 * iconvdata/testdata/CP774..UTF8: New file.
45999 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
46001 * iconvdata/gen-8bit-gap.sh: Likewise.
46002 * iconvdata/gen-8bit.sh: Likewise.
46004 * locale/iso-639.def: Add ary entry.
46007 * locale/C-translit.h.in: Add U20A1 transliteration.
46010 * locale/iso-639.def: Add wae entry.
46011 Patch by Kevin Bortis <bortis@translate-wae.ch>.
46014 * locale/programs/localedef.c (construct_output_path): Use ssize_t
46018 * locale/C-translit.h.in: Add entry for U20B9.
46019 Patch by pravin.d.s@gmail.com.
46021 2011-05-08 Ulrich Drepper <drepper@gmail.com>
46024 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
46025 ENAMETOOLONG use generic getcwd.
46026 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
46027 in rtld. Use *stat64.
46028 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
46029 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
46030 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
46031 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
46032 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
46033 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
46034 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
46035 __fstatat64 macros.
46036 * include/dirent.h: Add libc_hidden_proto for rewinddir.
46037 * dirent/rewinddir.c: Add libc_hidden_def.
46038 * sysdeps/mach/hurd/rewinddir.c: Likewise.
46039 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
46041 * include/dirent.h (__alloc_dir): Add flags parameter.
46042 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
46043 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
46045 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
46046 from fdopendir if O_CLOEXEC is already set.
46048 2011-03-15 Alan Modra <amodra@gmail.com>
46050 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
46051 l_tls_firstbyte_offset non-zero. Save padding offset in
46052 l_tls_firstbyte_offset for later use.
46053 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
46054 freeing static tls block.
46056 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
46058 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
46059 where #ifdef was intended. The intent is to prevent ARG_MAX from
46060 being defined by the kernel headers.
46062 2011-05-07 Ulrich Drepper <drepper@gmail.com>
46065 * resolv/resolv.h: Define RES_NOTLDQUERY.
46066 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
46067 no-tld-query and set RES_NOTLDQUERY.
46068 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
46069 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
46070 modern BIND to search name as TLD unless forbidden.
46072 2011-05-07 Petr Baudis <pasky@suse.cz>
46073 Ulrich Drepper <drepper@gmail.com>
46076 * elf/dl-load.c (fillin_rpath): Move trusted path check...
46077 (is_trusted_path): ...to here.
46078 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
46079 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
46080 using is_trusted_path_normalize() in setuid scripts.
46082 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
46084 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
46085 __BEGIN/__END_DECLS.
46087 2011-05-06 Ulrich Drepper <drepper@gmail.com>
46089 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
46090 NSS_STATUS_NOTFOUND if no record was found.
46092 2011-05-05 Andreas Schwab <schwab@redhat.com>
46094 * sunrpc/Makefile (headers): Add rpc/netdb.h.
46095 (headers-not-in-tirpc): Remove rpc/netdb.h
46096 * resolv/netdb.h: Revert last change.
46098 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
46100 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
46101 circular dependency between libgcc.a and libc.a.
46103 2011-05-05 Andreas Schwab <schwab@redhat.com>
46105 * resolv/netdb.h: Don't include <rpc/netdb.h>.
46106 * nis/Makefile: Don't install rpcsvc/*.
46107 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
46108 instead of <rpc/types.h>.
46109 (MAXHOSTNAMELEN): Define.
46111 2011-05-03 Andreas Schwab <schwab@redhat.com>
46113 * elf/ldconfig.c (add_dir): Don't crash on empty path.
46115 2011-04-28 Maciej Babinski <mbabinski@google.com>
46118 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
46119 gethostbyname4_r when IPv6 results are possible.
46121 2011-05-02 Ulrich Drepper <drepper@gmail.com>
46124 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
46125 _PC_PIPE_BUF handling.
46127 2011-04-30 Bruno Haible <bruno@clisp.org>
46130 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
46131 * resolv/netdb.h (getnameinfo): Change type of flags parameter
46133 * inet/getnameinfo.c (getnameinfo): Likewise.
46135 2011-04-29 Ulrich Drepper <drepper@gmail.com>
46137 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
46138 to groups setting in database lookup.
46139 * nss/nsswitch.conf: Add initgroups entry.
46141 2011-04-22 Ulrich Drepper <drepper@gmail.com>
46144 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
46146 Patch by Eric Blake <eblake@redhat.com>.
46148 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
46150 * sunrpc/Makefile (need-export-routines): Add svc_run.
46151 (routines): Remove svc_run.
46152 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
46153 * sunrpc/clnt_perr.c (clnt_perrno): Export.
46154 * sunrpc/svc_run.c (svc_run): Likewise.
46155 * sunrpc/svc_udp.c (svcudp_create): Likewise.
46157 2011-04-21 Ulrich Drepper <drepper@gmail.com>
46159 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
46160 problem in reallocation in last patch.
46162 2011-04-20 Ulrich Drepper <drepper@gmail.com>
46164 * sunrpc/Makefile: Move inclusion of Rules.
46166 2011-04-19 Ulrich Drepper <drepper@gmail.com>
46168 * nss/nss_files/files-initgroups.c: New file.
46169 * nss/Makefile (libnss_files-routines): Add files-initgroups.
46170 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
46171 _nss_files_initgroups_dyn.
46173 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
46175 * elf/elf.h (R_ARM_IRELATIVE): Define.
46177 2011-04-19 Ulrich Drepper <drepper@gmail.com>
46179 * po/ru.po: Update from translation team.
46181 2011-04-17 Ulrich Drepper <drepper@gmail.com>
46183 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
46186 2011-02-06 Mike Frysinger <vapier@gentoo.org>
46189 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
46190 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
46191 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
46192 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
46193 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
46195 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
46197 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
46199 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
46200 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
46201 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46203 2011-04-17 Ulrich Drepper <drepper@gmail.com>
46206 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
46208 * stdlib/bug-getcontext.c: New file.
46209 * stdlib/Makefile: Add rules to build and run bug-getcontext.
46211 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46213 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
46214 instructions into .machine "z9-109".
46215 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
46216 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
46218 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46220 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
46221 between environment variables and auxiliary vector.
46223 2011-04-16 Ulrich Drepper <drepper@gmail.com>
46225 * Makefile: Add rules to build linkobj/libc.so.
46226 * include/libc-symbols.h: Define libc_hidden_nolink.
46227 * include/rpc/auth.h: Mark functions which are to be hidden.
46228 * include/rpc/auth_des.h: Likewise.
46229 * include/rpc/auth_unix.h: Likewise.
46230 * include/rpc/clnt.h: Likewise.
46231 * include/rpc/des_crypt.h: Likewise.
46232 * include/rpc/key_prot.h: Likewise.
46233 * include/rpc/pmap_clnt.h: Likewise.
46234 * include/rpc/pmap_prot.h: Likewise.
46235 * include/rpc/pmap_rmt.h: Likewise.
46236 * include/rpc/rpc_msg.h: Likewise.
46237 * include/rpc/svc.h: Likewise.
46238 * include/rpc/svc_auth.h: Likewise.
46239 * include/rpc/xdr.h: Likewise.
46240 * nis/Makefile: Link all DSOs against linkobj/libc.so.
46241 * nss/Makefile: Likewise.
46242 * sunrpc/Makefile: Don't install headers. Build library with normal
46243 entry points. Don't build rpcinfo. Link RPC tests appropriately.
46244 * sunrpc/auth_des.c: Hide exported symbols by default, export some
46245 for the compat linking library. Remove use of INTDEF/INTUSE.
46246 * sunrpc/auth_none.c: Likewise.
46247 * sunrpc/auth_unix.c: Likewise.
46248 * sunrpc/authdes_prot.c: Likewise.
46249 * sunrpc/authuxprot.c: Likewise.
46250 * sunrpc/clnt_gen.c: Likewise.
46251 * sunrpc/clnt_perr.c: Likewise.
46252 * sunrpc/clnt_raw.c: Likewise.
46253 * sunrpc/clnt_simp.c: Likewise.
46254 * sunrpc/clnt_tcp.c: Likewise.
46255 * sunrpc/clnt_udp.c: Likewise.
46256 * sunrpc/clnt_unix.c: Likewise.
46257 * sunrpc/des_crypt.c: Likewise.
46258 * sunrpc/des_soft.c: Likewise.
46259 * sunrpc/get_myaddr.c: Likewise.
46260 * sunrpc/key_call.c: Likewise.
46261 * sunrpc/key_prot.c: Likewise.
46262 * sunrpc/netname.c: Likewise.
46263 * sunrpc/pm_getmaps.c: Likewise.
46264 * sunrpc/pm_getport.c: Likewise.
46265 * sunrpc/pmap_clnt.c: Likewise.
46266 * sunrpc/pmap_prot.c: Likewise.
46267 * sunrpc/pmap_prot2.c: Likewise.
46268 * sunrpc/pmap_rmt.c: Likewise.
46269 * sunrpc/publickey.c: Likewise.
46270 * sunrpc/rpc_cmsg.c: Likewise.
46271 * sunrpc/rpc_common.c: Likewise.
46272 * sunrpc/rpc_dtable.c: Likewise.
46273 * sunrpc/rpc_prot.c: Likewise.
46274 * sunrpc/rpc_thread.c: Likewise.
46275 * sunrpc/rtime.c: Likewise.
46276 * sunrpc/svc.c: Likewise.
46277 * sunrpc/svc_auth.c: Likewise.
46278 * sunrpc/svc_authux.c: Likewise.
46279 * sunrpc/svc_raw.c: Likewise.
46280 * sunrpc/svc_run.c: Likewise.
46281 * sunrpc/svc_simple.c: Likewise.
46282 * sunrpc/svc_tcp.c: Likewise.
46283 * sunrpc/svc_udp.c: Likewise.
46284 * sunrpc/svc_unix.c: Likewise.
46285 * sunrpc/svcauth_des.c: Likewise.
46286 * sunrpc/xcrypt.c: Likewise.
46287 * sunrpc/xdr.c: Likewise.
46288 * sunrpc/xdr_array.c: Likewise.
46289 * sunrpc/xdr_float.c: Likewise.
46290 * sunrpc/xdr_intXX_t.c: Likewise.
46291 * sunrpc/xdr_mem.c: Likewise.
46292 * sunrpc/xdr_rec.c: Likewise.
46293 * sunrpc/xdr_ref.c: Likewise.
46294 * sunrpc/xdr_sizeof.c: Likewise.
46295 * sunrpc/xdr_stdio.c: Likewise.
46297 2011-04-10 Ulrich Drepper <drepper@gmail.com>
46300 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
46301 * sysdeps/ia64/dl-tls.h: Likewise.
46302 * sysdeps/powerpc/dl-tls.h: Likewise.
46303 * sysdeps/s390/dl-tls.h: Likewise.
46304 * sysdeps/sh/dl-tls.h: Likewise.
46305 * sysdeps/sparc/dl-tls.h: Likewise.
46306 * sysdeps/x86_64/dl-tls.h: Likewise.
46307 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
46309 2011-03-14 Andreas Schwab <schwab@redhat.com>
46311 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
46312 rpath element also skip the following colon.
46313 (expand_dynamic_string_token): Add is_path parameter and pass
46314 down to DL_DST_REQUIRED and _dl_dst_substitute.
46315 (decompose_rpath): Call expand_dynamic_string_token with
46316 non-zero is_path. Ignore empty rpaths.
46317 (_dl_map_object_from_fd): Call expand_dynamic_string_token
46320 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
46322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
46325 2011-04-09 Ulrich Drepper <drepper@gmail.com>
46328 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
46329 Patch by Filipe David Manana <fdmanana@apache.org>.
46331 2011-04-07 Andreas Schwab <schwab@redhat.com>
46333 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
46334 Maintain aligned stack.
46335 (CHECK_RSP): Remove unused macro.
46337 2011-04-03 Ulrich Drepper <drepper@gmail.com>
46339 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
46340 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
46342 2011-04-02 Ulrich Drepper <drepper@gmail.com>
46344 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
46346 * include/features.h: Mention __USE_XOPEN2K8 in comment.
46348 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
46351 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
46352 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
46353 * sysdeps/x86_64/memmove.c: New file.
46354 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
46355 (memcpy): Renamed to ...
46356 (__new_memcpy): This.
46357 (memcpy): Provide GLIBC_2_14 memcpy.
46358 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
46359 (memcpy): Provide GLIBC_2_2_5 memcpy.
46361 2011-04-01 Ulrich Drepper <drepper@gmail.com>
46364 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
46366 2011-03-30 Andreas Schwab <schwab@redhat.com>
46368 * misc/syncfs.c: New file.
46369 * misc/Makefile (routines): Add syncfs.
46370 * posix/unistd.h: Declare syncfs.
46371 * sysdeps/unix/syscalls.list: Add syncfs.
46373 2011-04-01 Andreas Schwab <schwab@redhat.com>
46375 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
46377 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
46378 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46379 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46380 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46381 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46382 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
46383 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46385 2011-04-01 Ulrich Drepper <drepper@gmail.com>
46387 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
46388 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46389 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
46390 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46391 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46392 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46393 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46395 * io/Makefile: Compile fallocate.c, fallocate64.c, and
46396 sync_file_range.c with -fexceptions.
46397 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
46398 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
46399 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
46400 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
46401 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
46402 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
46403 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
46404 sync_file_range as cancellation point
46405 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
46406 now a wrapper around __call_sync_file_range with cancellation handling.
46407 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
46408 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
46409 function name to __call_sync_file_range.
46410 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
46411 Add call_sync_file_range.
46413 2011-04-01 Andreas Schwab <schwab@redhat.com>
46415 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46418 2011-04-01 Ulrich Drepper <drepper@gmail.com>
46420 * iconv/iconv.h: Fix typo in comment.
46421 * io/fcntl.h: Likewise.
46422 * libio/stdio.h: Likewise.
46423 * posix/spawn.h: Likewise.
46424 * posix/unistd.h: Likewise.
46425 * stdlib/stdlib.h: Likewise.
46426 * time/time.h: Likewise.
46427 * wcsmbs/wchar.h: Likewise.
46429 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
46430 open_by_handle): Add.
46431 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
46432 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
46433 Augment a few comments.
46434 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46435 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46436 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46437 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46438 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46439 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
46442 * io/fcntl.h (AT_EMPTY_PATH): Define.
46444 2011-03-30 Ulrich Drepper <drepper@gmail.com>
46446 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
46447 * sysdeps/unix/sysv/linux/bits/time.h: New file.
46448 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
46450 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
46451 * Versions.def: Add GLIBC_2.14.
46452 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
46455 2011-03-22 Ulrich Drepper <drepper@gmail.com>
46457 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
46459 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
46461 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
46464 * string/test-strncmp.c (do_page_test): New function.
46465 (check2): Likewise.
46466 (test_main): Call check2.
46467 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
46469 2011-03-20 Ulrich Drepper <drepper@gmail.com>
46472 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
46473 Handle cache information in CPU leaf 4.
46474 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
46476 2011-03-18 Ulrich Drepper <drepper@gmail.com>
46479 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
46480 character representation.
46481 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
46483 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
46485 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
46486 END(__isnan) to END(__isnanf) to match function entry point/label
46487 EALIGN(__isnanf,...).
46489 2011-03-10 Jakub Jelinek <jakub@redhat.com>
46491 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
46493 2011-03-10 Ulrich Drepper <drepper@gmail.com>
46496 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
46497 copy from the symbol referenced in the relocation to initialize the
46499 Patch by Piotr Bury <pbury@goahead.com>.
46500 * elf/Makefile: Add rules to build and tst-unique3.
46501 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
46502 * elf/tst-unique3.cc: New file.
46503 * elf/tst-unique3.h: New file.
46504 * elf/tst-unique3lib.cc: New file.
46505 * elf/tst-unique3lib2.cc: New file.
46507 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
46509 2011-03-10 Mike Frysinger <vapier@gentoo.org>
46511 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
46512 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
46515 2011-03-06 Ulrich Drepper <drepper@gmail.com>
46517 * elf/dl-load.c (_dl_map_object): If we are looking for the first
46518 to-be-loaded object along a path to loader is ld.so.
46520 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
46521 Ulrich Drepper <drepper@gmail.com>
46523 * sysdeps/x86_64/memset.S: After aligning destination, code
46524 branches to different locations depending on the value of
46525 misalignment, when multiarch is enabled. Fix this.
46527 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
46529 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
46530 Set _x86_64_preferred_memory_instruction for AMD processsors.
46531 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46532 Set bit_Prefer_SSE_for_memop for AMD processors.
46534 2011-03-04 Ulrich Drepper <drepper@gmail.com>
46536 * libio/fmemopen.c (fmemopen): Optimize a bit.
46538 2011-03-03 Andreas Schwab <schwab@redhat.com>
46540 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
46542 2011-03-03 Roland McGrath <roland@redhat.com>
46544 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
46546 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
46548 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
46549 __bzero_ultra1 instead of __memset_ultra1.
46551 2011-02-23 Andreas Schwab <schwab@redhat.com>
46552 Ulrich Drepper <drepper@gmail.com>
46555 * include/link.h (struct link_map): Add l_orig_initfini.
46556 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
46557 returning unsuccessfully.
46558 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
46559 close of a file loaded at startup, restore the original l_initfini
46561 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
46562 list, store the pointer.
46563 * elf/Makefile ($(objpfx)noload-mem): New rule.
46564 (noload-ENV): Define.
46565 (tests): Add $(objpfx)noload-mem.
46566 * elf/noload.c: Include <memcheck.h>.
46567 (main): Call mtrace. Close all opened handles.
46569 2011-02-17 Andreas Schwab <schwab@redhat.com>
46572 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
46573 dependencies are missing.
46575 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
46577 Fix __if_freereq crash: Unlike the generic version which uses free,
46579 * sysdeps/mach/hurd/ifreq.h: New file.
46581 2011-01-27 Petr Baudis <pasky@suse.cz>
46582 Ulrich Drepper <drepper@gmail.com>
46585 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
46586 to extend_alloca().
46587 * stdio-common/bug23.c: New file.
46588 * stdio-common/Makefile (tests): Add bug23.
46590 2010-09-28 Andreas Schwab <schwab@redhat.com>
46591 Ulrich Drepper <drepper@gmail.com>
46594 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
46595 before performing relro protection. At old place add assertion
46596 to make sure nothing changed.
46598 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
46599 Glauber de Oliveira Costa <glommer@gmail.com>
46601 * elf/elf.h: Add new ARM TLS relocs.
46603 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
46605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
46606 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
46608 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
46610 * sysdeps/wordsize-64/tst-writev.c: New file.
46612 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
46614 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
46615 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
46616 insns in _dl_start to prevent a TOC reference before relocs are
46619 2011-02-15 Ulrich Drepper <drepper@gmail.com>
46622 * Makeconfig: Remove RANLIB definition.
46623 * Makerules: Don't use RANLIB.
46624 * aclocal.m4: Remove ranlib test.
46625 * configure.in: No need to check for ranlib.
46626 * elf/rtld-Rules: Don't use RANLIB.
46628 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
46630 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
46632 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
46633 inclusion protection macro.
46635 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
46636 SIGRTMIN and SIGRTMAX and print information in that case only when
46637 SIGRTMIN is defined.
46639 2011-02-11 Jakub Jelinek <jakub@redhat.com>
46641 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
46642 arginfo fn returning -1.
46644 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
46645 and thousands string is zero terminated.
46647 2011-02-03 Andreas Schwab <schwab@redhat.com>
46649 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
46650 sysdeps/unix/sysv/linux/bits/socket.h.
46652 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
46654 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
46655 (__CPU_COUNT): Remove old macros.
46656 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
46657 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
46658 (__CPU_ALLOC, __CPU_FREE): Add macros.
46659 (__sched_cpualloc, __sched_cpufree): Add declarations.
46661 2011-02-05 Ulrich Drepper <drepper@gmail.com>
46663 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
46664 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
46665 * nscd/aicache.c (addhstaiX): Return timeout of added value.
46666 (readdhstai): Return value of addhstaiX call.
46667 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
46668 (addgrbyX): Return value returned by cache_addgr.
46669 (readdgrbyname): Return value returned by addgrbyX.
46670 (readdgrbygid): Likewise.
46671 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
46672 (addpwbyX): Return value returned by cache_addpw.
46673 (readdpwbyname): Return value returned by addhstbyX.
46674 (readdpwbyuid): Likewise.
46675 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
46676 (addservbyX): Return value returned by cache_addserv.
46677 (readdservbyname): Return value returned by addservbyX:
46678 (readdservbyport): Likewise.
46679 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
46680 (addhstbyX): Return value returned by cache_addhst.
46681 (readdhstbyname): Return value returned by addhstbyX.
46682 (readdhstbyaddr): Likewise.
46683 (readdhstbynamev6): Likewise.
46684 (readdhstbyaddrv6): Likewise.
46685 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
46686 (readdinitgroups): Return value returned by addinitgroupsX.
46687 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
46688 (prune_cache): Keep track of timeout value of re-added entries.
46689 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
46690 * nscd/nscd.h: Adjust prototypes of readd* functions.
46692 2011-02-04 Roland McGrath <roland@redhat.com>
46694 * nis/nis_server.c (nis_servstate): Use the right name for 0.
46695 (nis_stats): Likewise.
46696 * nis/nis_modify.c (nis_modify): Likewise.
46697 * nis/nis_remove.c (nis_remove): Likewise.
46698 * nis/nis_add.c (nis_add): Likewise.
46700 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
46702 * posix/fnmatch_loop.c: Add some consts.
46704 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
46706 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
46709 * config.make.in (config-cflags-novzeroupper): Define.
46710 * configure.in: Substitute libc_cv_cc_novzeroupper.
46711 * elf/Makefile (AVX-CFLAGS): Define.
46712 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
46713 (CFLAGS-tst-auditmod4a.c): Likewise.
46714 (CFLAGS-tst-auditmod4b.c): Likewise.
46715 (CFLAGS-tst-auditmod6b.c): Likewise.
46716 (CFLAGS-tst-auditmod6c.c): Likewise.
46717 (CFLAGS-tst-auditmod7b.c): Likewise.
46718 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
46720 2011-02-02 Ulrich Drepper <drepper@gmail.com>
46722 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
46723 function to the callback.
46724 Patch partly by Jiri Olsa <jolsa@redhat.com>.
46726 2011-02-02 Andreas Schwab <schwab@redhat.com>
46728 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
46731 2011-01-19 Ulrich Drepper <drepper@gmail.com>
46734 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
46736 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
46738 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
46741 * elf/Makefile: Add rules to build and run new test.
46742 * elf/tst-initorder.c: New file.
46743 * elf/tst-initorder.exp: New file.
46744 * elf/tst-initordera1.c: New file.
46745 * elf/tst-initordera2.c: New file.
46746 * elf/tst-initordera3.c: New file.
46747 * elf/tst-initordera4.c: New file.
46748 * elf/tst-initorderb1.c: New file.
46749 * elf/tst-initorderb2.c: New file.
46750 * elf/tst-order-a1.c: New file.
46751 * elf/tst-order-a2.c: New file.
46752 * elf/tst-order-a3.c: New file.
46753 * elf/tst-order-a4.c: New file.
46754 * elf/tst-order-b1.c: New file.
46755 * elf/tst-order-b2.c: New file.
46756 * elf/tst-order-main.c: New file.
46757 New test case by George Gensure <werkt0@gmail.com>.
46759 2010-10-01 Andreas Schwab <schwab@redhat.com>
46761 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46762 decoding ACE if AI_CANONIDN.
46764 2011-01-18 Ulrich Drepper <drepper@gmail.com>
46766 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
46768 2011-01-17 Ulrich Drepper <drepper@gmail.com>
46770 * version.h (RELEASE): Bump for 2.13 release.
46771 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
46773 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
46775 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
46777 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
46778 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
46779 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
46780 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
46781 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
46782 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
46784 * posix/getconf.c: Update copyright year.
46785 * catgets/gencat.c: Likewise.
46786 * csu/version.c: Likewise.
46787 * debug/catchsegv.sh: Likewise.
46788 * debug/xtrace.sh: Likewise.
46789 * elf/ldconfig.c: Likewise.
46790 * elf/ldd.bash.in: Likewise.
46791 * elf/sprof.c (print_version): Likewise.
46792 * iconv/iconv_prog.c: Likewise.
46793 * iconv/iconvconfig.c: Likewise.
46794 * locale/programs/locale.c: Likewise.
46795 * locale/programs/localedef.c: Likewise.
46796 * malloc/memusage.sh: Likewise.
46797 * malloc/mtrace.pl: Likewise.
46798 * nscd/nscd.c (print_version): Likewise.
46799 * nss/getent.c: Likewise.
46801 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
46802 PF_CAIF, and PF_ALG.
46803 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46805 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
46807 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
46808 (modules-names): Use them.
46809 (ifunc-test-modules, ifunc-pie-tests): Define.
46810 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
46811 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
46812 (test-extras): Likewise.
46813 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
46814 $(compile-command.c).
46815 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
46816 (all-built-dso): Define.
46817 (check-textrel.out, check-execstack.out): Depend on it.
46819 * configure.in: Don't override --enable-multi-arch.
46821 2011-01-15 Ulrich Drepper <drepper@gmail.com>
46824 * nscd/hstcache.c (tryagain): Define.
46825 (cache_addhst): Return tryagain not notfound for temporary errors.
46826 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
46829 2011-01-14 Ulrich Drepper <drepper@gmail.com>
46832 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
46833 to make the syscall.
46834 * sysdeps/unix/sysv/linux/setgroups.c: New file.
46837 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
46838 and fall back to matching as normal character if the string ends before
46839 the matching ']' is found. This is what POSIX requires.
46840 * posix/testfnm.c: Adjust test result.
46841 * posix/globtest.sh: Adjust test result. Add new test.
46842 * posix/tst-fnmatch.input: Likewise.
46843 * posix/tst-fnmatch2.c: Add new test.
46845 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
46847 * elf/Makefile (check-execstack): Revert last change. Depend on
46849 (check-execstack.h): New target.
46850 (generated): Add check-execstack.h.
46851 * elf/check-execstack.c: Include "check-execstack.h".
46852 (main): Revert last change.
46853 (handle_file): Return zero if GNU_STACK is absent and
46854 DEFAULT_STACK_PERMS doesn't include PF_X.
46856 2011-01-13 Ulrich Drepper <drepper@gmail.com>
46858 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
46859 in child fails because the descriptor is already closed.
46860 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
46861 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
46862 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
46865 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
46869 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
46870 temporary buffer used to handle multi lookups locally.
46871 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
46873 2011-01-12 Ulrich Drepper <drepper@gmail.com>
46875 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
46878 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
46880 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
46881 alignment for SSE2.
46883 2011-01-12 Ulrich Drepper <drepper@gmail.com>
46886 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
46887 characters. When rounding increased number of integer digits recompute
46889 * stdio-common/tst-grouping.c: New file.
46890 * stdio-common/Makefile: Add rules to build and run tst-grouping.
46892 2011-01-09 Ulrich Drepper <drepper@gmail.com>
46894 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
46895 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
46897 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
46899 * bits/select.h: Likewise.
46901 2011-01-08 Ulrich Drepper <drepper@gmail.com>
46903 * po/ja.po: Update from translation team.
46905 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
46908 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
46909 implementation just like for lxstat, fxstatat, et al.
46911 2010-12-27 Jim Meyering <meyering@redhat.com>
46914 * posix/regexec.c (build_trtable): Return failure indication upon
46915 calloc failure. Otherwise, re_search_internal could infloop on OOM.
46917 2010-12-25 Ulrich Drepper <drepper@gmail.com>
46920 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
46921 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
46922 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
46923 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
46926 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
46929 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
46930 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
46932 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
46934 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
46935 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
46936 script has SORT_BY_INIT_PRIORITY.
46937 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
46938 NO_CTORS_DTORS_SECTIONS is defined.
46939 * elf/soinit.c: Likewise.
46940 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
46941 NO_CTORS_DTORS_SECTIONS is defined.
46942 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
46943 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
46944 * sysdeps/sh/init-first.c: Likewise.
46945 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
46947 2010-12-24 Ulrich Drepper <drepper@gmail.com>
46949 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
46950 always use the slow path.
46952 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
46954 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
46955 similar rule which adds the sysdep directories to the header search in
46956 order to pick up the correct platform stackinfo.h.
46957 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
46958 perform test if it is, otherwise return successfully without testing.
46959 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
46960 DEFAULT_STACK_PERMS define in stackinfo.h.
46961 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
46962 defined in stackinfo.h.
46963 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
46964 DEFAULT_STACK_PERMS defined in stackinfo.h.
46965 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
46966 * sysdeps/ia64/stackinfo.h: Likewise.
46967 * sysdeps/s390/stackinfo.h: Likewise.
46968 * sysdeps/sh/stackinfo.h: Likewise.
46969 * sysdeps/sparc/stackinfo.h: Likewise.
46970 * sysdeps/x86_64/stackinfo.h: Likewise.
46971 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
46972 PF_X for powerpc64. Retain PF_X for powerpc32.
46974 2010-12-19 Ulrich Drepper <drepper@gmail.com>
46976 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
46978 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
46979 GETDENTS_64BIT_ALIGNED.
46981 2010-12-14 Ulrich Drepper <dreper@gmail.com>
46983 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
46985 2010-12-10 Andreas Schwab <schwab@redhat.com>
46987 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
46990 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
46991 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
46993 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
46994 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
46996 2010-12-09 Ulrich Drepper <drepper@gmail.com>
46999 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
47002 2010-12-09 Jakub Jelinek <jakub@redhat.com>
47004 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
47006 2010-12-03 Ulrich Drepper <drepper@gmail.com>
47008 * po/it.po: Update from translation team.
47010 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
47012 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
47015 2010-11-30 Ulrich Drepper <drepper@gmail.com>
47017 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
47019 2010-11-24 Andreas Schwab <schwab@redhat.com>
47021 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
47023 (gaih_getanswer_slice): Likewise.
47025 2010-10-20 Jakub Jelinek <jakub@redhat.com>
47027 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
47029 2010-05-31 Petr Baudis <pasky@suse.cz>
47032 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
47033 silently even in the chroot mode.
47035 2010-11-22 Ulrich Drepper <drepper@gmail.com>
47037 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
47038 last patch a bit. Pretty printing
47040 2010-05-31 Petr Baudis <pasky@suse.cz>
47043 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
47044 initialization of skip_initgroups_dyn.
47046 2010-11-19 Ulrich Drepper <drepper@gmail.com>
47048 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
47049 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
47051 2010-11-16 Ulrich Drepper <drepper@gmail.com>
47053 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
47055 2010-11-11 Andreas Schwab <schwab@redhat.com>
47057 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
47058 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
47059 (tst-fnmatch-ENV): Set MALLOC_TRACE.
47060 ($(objpfx)tst-fnmatch-mem): New rule.
47061 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
47062 * posix/tst-fnmatch.c (main): Call mtrace.
47064 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
47066 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47067 Support Intel processor model 6 and model 0x2c.
47069 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
47071 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
47074 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
47077 * string/test-strncasecmp.c (check_result): New function.
47078 (do_one_test): Use it.
47079 (check1): New function.
47080 (test_main): Use it.
47081 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
47082 Support strcasecmp and strncasecmp.
47084 2010-11-08 Ulrich Drepper <drepper@gmail.com>
47087 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
47088 * sysdeps/x86_64/bits/byteswap.h: Likewise.
47090 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
47092 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
47094 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47096 * sysdeps/x86_64/multiarch/bzero.S: New file.
47097 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
47098 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
47099 * sysdeps/x86_64/multiarch/memset.S: New file.
47100 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
47101 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47102 Set bit_Prefer_SSE_for_memop for Intel processors.
47103 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
47105 (index_Prefer_SSE_for_memop): Define.
47106 (HAS_PREFER_SSE_FOR_MEMOP): Define.
47108 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
47110 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
47111 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
47113 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
47116 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47117 (__x86_64_raw_data_cache_size_half): Likewise.
47118 (__x86_64_raw_shared_cache_size): Likewise.
47119 (__x86_64_raw_shared_cache_size_half): Likewise.
47121 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47122 (__x86_64_raw_data_cache_size_half): Likewise.
47123 (__x86_64_raw_shared_cache_size): Likewise.
47124 (__x86_64_raw_shared_cache_size_half): Likewise.
47125 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
47126 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
47127 and __x86_64_raw_shared_cache_size_half. Round
47128 __x86_64_data_cache_size_half, __x86_64_data_cache_size
47129 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
47130 to multiple of 256 bytes.
47132 2010-11-03 Ulrich Drepper <drepper@gmail.com>
47135 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
47136 of inacessible symlinks. Verify result of symlink before returning it.
47137 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
47138 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
47140 2010-10-28 Erich Ritz <erichritz@gmail.com>
47142 * math/math.h (isinf): Fix typo in comment.
47144 2010-11-01 Ulrich Drepper <drepper@gmail.com>
47146 * po/da.po: Update from translation team.
47148 2010-10-26 Ulrich Drepper <drepper@gmail.com>
47150 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
47151 is added to the list.
47153 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47154 Ulrich Drepper <drepper@gmail.com>
47156 * elf/dl-object.c (_dl_new_object): Don't append the new object to
47157 the global list here. Move code to...
47158 (_dl_add_to_namespace_list): ...here. New function.
47159 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
47160 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
47161 * elf/dl-load.c (lose): Don't remove the element from the list.
47162 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
47163 (_dl_map_object): Likewise.
47165 2010-10-25 Ulrich Drepper <drepper@gmail.com>
47168 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
47169 into all bytes of SSE register.
47170 Patch by Richard Li <richardpku@gmail.com>.
47172 2010-10-24 Ulrich Drepper <drepper@gmail.com>
47175 * malloc/malloc.c (_int_free): Fill correct number of bytes when
47178 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
47180 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
47181 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
47182 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
47183 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
47184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
47186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
47188 2010-10-22 Andreas Schwab <schwab@redhat.com>
47190 * include/dlfcn.h (__RTLD_SECURE): Define.
47191 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
47192 mode & __RTLD_SECURE instead.
47193 (open_path): Rename preloaded parameter to secure.
47194 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
47195 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
47196 * elf/dl-deps.c (openaux): Likewise.
47197 * elf/rtld.c (struct map_args): Remove is_preloaded.
47198 (map_doit): Don't use it.
47199 (dl_main): Likewise.
47200 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
47201 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
47203 2010-09-09 Andreas Schwab <schwab@redhat.com>
47205 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
47206 (sysd-rules-targets): Remove duplicates.
47207 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
47208 rtld-%.$o dependency.
47210 2010-10-18 Andreas Schwab <schwab@redhat.com>
47212 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
47213 _dl_map_object do it.
47215 2010-10-19 Ulrich Drepper <drepper@gmail.com>
47217 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
47218 fast fma builtins, define the macros in the C99 standard.
47219 (FP_FAST_FMAF): Likewise.
47220 (FP_FAST_FMAL): Likewise.
47221 * sysdeps/x86_64/bits/mathdef.h: Likewise.
47223 * bits/mathdef.h: Update copyright year.
47224 * sysdeps/powerpc/bits/mathdef.h: Likewise.
47226 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
47228 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
47229 builtins, define the macros in the C99 standard.
47230 (FP_FAST_FMAF): Likewise.
47231 (FP_FAST_FMAL): Likewise.
47232 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
47234 (FP_FAST_FMAF): Likewise.
47236 2010-10-15 Jakub Jelinek <jakub@redhat.com>
47239 * math/libm-test.inc (fma_test): Some new testcases.
47240 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
47241 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
47242 y and infinite z. Do multiplication by C already in long double.
47243 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
47244 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
47245 y and infinite z. Do bitwise or of inexact bit into u.d.
47246 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
47247 * sysdeps/i386/fpu/s_fmaf.S: Removed.
47248 * sysdeps/i386/fpu/s_fma.S: Removed.
47249 * sysdeps/i386/fpu/s_fmal.S: Removed.
47251 2010-10-16 Jakub Jelinek <jakub@redhat.com>
47254 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
47255 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
47256 computation is not scheduled after fetestexcept. Fix value
47257 of minimum denormal long double.
47259 2010-10-14 Jakub Jelinek <jakub@redhat.com>
47262 * math/libm-test.inc (fma_test): Add some more tests.
47263 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
47266 2010-10-15 Andreas Schwab <schwab@redhat.com>
47268 * scripts/data/localplt-s390-linux-gnu.data: New file.
47269 * scripts/data/localplt-s390x-linux-gnu.data: New file.
47271 2010-10-13 Jakub Jelinek <jakub@redhat.com>
47274 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
47275 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
47277 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
47279 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
47280 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
47281 if one of x and y is very large and the other is subnormal.
47282 * sysdeps/s390/fpu/s_fmaf.c: New file.
47283 * sysdeps/s390/fpu/s_fma.c: New file.
47284 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
47285 * sysdeps/powerpc/fpu/s_fma.S: New file.
47286 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
47287 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
47288 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
47290 2010-10-12 Jakub Jelinek <jakub@redhat.com>
47293 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
47295 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
47296 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
47297 * sysdeps/i386/i686/multiarch/s_fma.c: Include
47298 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
47299 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
47300 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
47301 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
47303 2010-10-12 Ulrich Drepper <drepper@redhat.com>
47306 * posix/regcomp.c (parse_branch): One more memory leak plugged.
47307 * posix/bug-regex31.input: Add test case.
47309 2010-10-11 Ulrich Drepper <drepper@gmail.com>
47311 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
47312 * posix/bug-regex31.input: New file.
47315 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
47316 (parse_sub_exp): Fix last change, use postorder.
47318 * posix/bug-regex31.c: New file.
47319 * posix/Makefile: Add rules to build and run bug-regex31.
47321 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
47324 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
47327 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
47328 to have entries in sys_siglist.
47331 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
47334 2010-10-07 Jakub Jelinek <jakub@redhat.com>
47337 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
47338 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
47339 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
47340 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
47341 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
47342 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
47343 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
47344 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
47345 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
47346 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
47347 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
47348 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
47349 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
47350 * math/ftestexcept.c (fetestexcept): Likewise.
47351 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
47352 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
47353 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
47354 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
47355 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
47356 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
47357 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
47359 2010-10-11 Ulrich Drepper <drepper@gmail.com>
47362 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
47365 2010-10-06 Ulrich Drepper <drepper@gmail.com>
47367 * string/bug-strstr1.c: New file.
47368 * string/Makefile: Add rules to build and run bug-strstr1.
47370 2010-10-05 Eric Blake <eblake@redhat.com>
47373 * string/str-two-way.h (two_way_long_needle): Always clear memory
47374 when skipping input due to the shift table.
47376 2010-10-03 Ulrich Drepper <drepper@gmail.com>
47379 * malloc/mcheck.c: Handle large requests.
47382 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
47383 for strncmp and strncasecmp.
47384 * string/stratcliff.c: Add tests for strcmp and strncmp.
47385 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
47387 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
47389 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
47392 2010-09-30 Andreas Jaeger <aj@suse.de>
47394 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
47395 (CGROUP_SUPER_MAGIC): Define.
47396 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47397 Handle btrfs and cgroup file systems.
47398 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
47401 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
47403 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
47404 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
47406 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47409 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
47410 trying to locate the ELF header.
47412 2010-09-27 Andreas Schwab <schwab@redhat.com>
47415 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
47416 Mask out sign-bit copies when constructing f_fsid.
47418 2010-09-24 Petr Baudis <pasky@suse.cz>
47420 * debug/stack_chk_fail_local.c: Add missing licence exception.
47421 * debug/warning-nop.c: Likewise.
47423 2010-09-15 Joseph Myers <joseph@codesourcery.com>
47425 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
47426 implementing getdents64 using getdents syscall, set d_type if
47427 __ASSUME_GETDENTS32_D_TYPE.
47429 2010-09-16 Andreas Schwab <schwab@redhat.com>
47431 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
47432 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
47434 2010-09-21 Ulrich Drepper <drepper@redhat.com>
47437 * posix/unistd.h: Undo change of feature selection for ftruncate from
47440 2010-09-20 Ulrich Drepper <drepper@redhat.com>
47442 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
47445 2010-09-20 Andreas Schwab <schwab@redhat.com>
47447 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
47449 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
47451 2010-09-14 Andreas Schwab <schwab@redhat.com>
47453 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
47454 variables after CHECK_SP call.
47455 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
47457 2010-09-13 Andreas Schwab <schwab@redhat.com>
47458 Ulrich Drepper <drepper@redhat.com>
47460 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
47461 re-relocationg ld.so.
47462 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
47463 _dl_init_paths call.
47464 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
47467 2010-09-14 Ulrich Drepper <drepper@redhat.com>
47469 * resolv/res_init.c (__res_vinit): Count the default server we added.
47471 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
47472 Ulrich Drepper <drepper@redhat.com>
47475 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
47476 (____longjmp_chk): Use %ebx for saving value across system call.
47479 2010-09-06 Andreas Schwab <schwab@redhat.com>
47481 * manual/Makefile: Don't mix pattern rules with normal rules.
47483 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
47485 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
47487 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
47488 * libio/iofopncook.c (_IO_cookie_init): Likewise.
47489 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
47490 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
47491 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47494 2010-09-04 Ulrich Drepper <drepper@redhat.com>
47497 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
47498 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
47500 2010-09-02 Ulrich Drepper <drepper@redhat.com>
47502 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
47503 * sysdeps/x86_64/addmul_1.S: Likewise.
47504 * sysdeps/x86_64/lshift.S: Likewise.
47505 * sysdeps/x86_64/mul_1.S: Likewise.
47506 * sysdeps/x86_64/rshift.S: Likewise.
47507 * sysdeps/x86_64/sub_n.S: Likewise.
47508 * sysdeps/x86_64/submul_1.S: Likewise.
47510 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
47512 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
47513 Define __sched_param instead of SCHED_* and sched_param when
47514 <bits/sched.h> is included with __need_schedparam defined.
47515 * bits/sched.h [__need_schedparam]
47516 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
47517 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
47518 (__defined_schedparam): Define to 1.
47519 (__sched_param): New structure, identical to sched_param.
47520 (__need_schedparam): Undefine.
47522 2010-08-31 Mike Frysinger <vapier@gentoo.org>
47524 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
47525 (epoll_create1): Declare.
47527 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
47529 2010-08-31 Andreas Schwab <schwab@redhat.com>
47532 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
47533 shifting retval into place.
47535 2010-09-01 Ulrich Drepper <drepper@redhat.com>
47537 * nis/rpcsvc/nis.h: Update copyright notice.
47538 * nis/rpcsvc/nis.x: Likewise.
47539 * nis/rpcsvc/nis_callback.h: Likewise.
47540 * nis/rpcsvc/nis_callback.x: Likewise.
47541 * nis/rpcsvc/nis_object.x: Likewise.
47542 * nis/rpcsvc/nis_tags.h: Likewise.
47543 * nis/rpcsvc/yp.h: Likewise.
47544 * nis/rpcsvc/yp.x: Likewise.
47545 * nis/rpcsvc/ypupd.h: Likewise.
47546 * nis/yp_xdr.c: Likewise.
47547 * nis/ypupdate_xdr.c: Likewise.
47549 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
47550 mainly the body of pmap_getport. Add parameters to specify timeouts.
47551 (pmap_getport): Use __libc_rpc_getport.
47552 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
47553 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
47554 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
47556 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
47558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
47561 2010-08-27 Roland McGrath <roland@redhat.com>
47563 * sysdeps/i386/i686/multiarch/Makefile
47564 (CFLAGS-varshift.c): New variable.
47566 2010-08-27 Ulrich Drepper <drepper@redhat.com>
47568 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
47569 * sysdeps/i386/i686/multiarch/varshift.c: New file.
47571 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
47573 * sysdeps/x86_64/strlen.S: Minimal code improvement.
47575 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
47577 * sysdeps/x86_64/strlen.S: Unroll the loop.
47578 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47579 strlen-sse2 strlen-sse2-bsf.
47580 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
47581 __strlen_no_bsf if bit_Slow_BSF is set.
47582 (__strlen_sse42): Removed.
47583 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
47584 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
47586 2010-08-25 Roland McGrath <roland@redhat.com>
47588 * sysdeps/x86_64/multiarch/varshift.S: File removed.
47589 * sysdeps/x86_64/multiarch/varshift.c: New file.
47590 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
47591 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
47592 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
47593 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
47595 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
47597 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47598 strlen-sse2 strlen-sse2-bsf.
47599 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
47600 __strlen_sse2_bsf if bit_Slow_BSF is unset.
47601 (__strlen_sse2): Removed.
47602 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
47603 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
47604 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
47605 bit_Slow_BSF for Atom.
47606 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
47607 (index_Slow_BSF): Define.
47608 (HAS_SLOW_BSF): Define.
47610 2010-08-25 Ulrich Drepper <drepper@redhat.com>
47613 * resolv/res_init.c (__res_vinit): When no server address at all
47614 is given default to loopback.
47616 2010-08-24 Roland McGrath <roland@redhat.com>
47618 * configure.in: Remove config-name.h generation.
47619 * configure: Regenerated.
47620 * config-name.in: File removed.
47621 * scripts/config-uname.sh: New file.
47622 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
47623 ($(objdir)config-name.h): New target.
47625 * sunrpc/rpc_parse.h: Avoid nested comment.
47627 2010-08-24 Richard Henderson <rth@redhat.com>
47628 Ulrich Drepper <drepper@redhat.com>
47629 H.J. Lu <hongjiu.lu@intel.com>
47631 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
47632 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
47633 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
47634 Replace _mm_srli_si128 with __m128i_shift_right. Replace
47635 _mm_alignr_epi8 with _mm_loadu_si128.
47636 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
47637 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
47638 (__m128i_shift_right): Removed.
47639 * sysdeps/i386/i686/multiarch/varshift.h: New file.
47640 * sysdeps/i386/i686/multiarch/varshift.S: New file.
47641 * sysdeps/x86_64/multiarch/varshift.h: New file.
47642 * sysdeps/x86_64/multiarch/varshift.S: New file.
47644 2010-08-21 Mike Frysinger <vapier@gentoo.org>
47646 * configure.in: Move assembler checks to before sysdep dir checking.
47648 2010-08-20 Petr Baudis <pasky@suse.cz>
47650 * LICENSES: Sync the sunrpc license.
47652 2010-08-19 Ulrich Drepper <drepper@redhat.com>
47654 * sunrpc/auth_des.c: Update copyright notice once again.
47655 * sunrpc/auth_none.c: Likewise.
47656 * sunrpc/auth_unix.c: Likewise.
47657 * sunrpc/authdes_prot.c: Likewise.
47658 * sunrpc/authuxprot.c: Likewise.
47659 * sunrpc/bindrsvprt.c: Likewise.
47660 * sunrpc/clnt_gen.c: Likewise.
47661 * sunrpc/clnt_perr.c: Likewise.
47662 * sunrpc/clnt_raw.c: Likewise.
47663 * sunrpc/clnt_simp.c: Likewise.
47664 * sunrpc/clnt_tcp.c: Likewise.
47665 * sunrpc/clnt_udp.c: Likewise.
47666 * sunrpc/clnt_unix.c: Likewise.
47667 * sunrpc/des_crypt.c: Likewise.
47668 * sunrpc/des_soft.c: Likewise.
47669 * sunrpc/get_myaddr.c: Likewise.
47670 * sunrpc/getrpcport.c: Likewise.
47671 * sunrpc/key_call.c: Likewise.
47672 * sunrpc/key_prot.c: Likewise.
47673 * sunrpc/openchild.c: Likewise.
47674 * sunrpc/pm_getmaps.c: Likewise.
47675 * sunrpc/pm_getport.c: Likewise.
47676 * sunrpc/pmap_clnt.c: Likewise.
47677 * sunrpc/pmap_prot.c: Likewise.
47678 * sunrpc/pmap_prot2.c: Likewise.
47679 * sunrpc/pmap_rmt.c: Likewise.
47680 * sunrpc/rpc/auth.h: Likewise.
47681 * sunrpc/rpc/auth_unix.h: Likewise.
47682 * sunrpc/rpc/clnt.h: Likewise.
47683 * sunrpc/rpc/des_crypt.h: Likewise.
47684 * sunrpc/rpc/key_prot.h: Likewise.
47685 * sunrpc/rpc/netdb.h: Likewise.
47686 * sunrpc/rpc/pmap_clnt.h: Likewise.
47687 * sunrpc/rpc/pmap_prot.h: Likewise.
47688 * sunrpc/rpc/pmap_rmt.h: Likewise.
47689 * sunrpc/rpc/rpc.h: Likewise.
47690 * sunrpc/rpc/rpc_des.h: Likewise.
47691 * sunrpc/rpc/rpc_msg.h: Likewise.
47692 * sunrpc/rpc/svc.h: Likewise.
47693 * sunrpc/rpc/svc_auth.h: Likewise.
47694 * sunrpc/rpc/types.h: Likewise.
47695 * sunrpc/rpc/xdr.h: Likewise.
47696 * sunrpc/rpc_clntout.c: Likewise.
47697 * sunrpc/rpc_cmsg.c: Likewise.
47698 * sunrpc/rpc_common.c: Likewise.
47699 * sunrpc/rpc_cout.c: Likewise.
47700 * sunrpc/rpc_dtable.c: Likewise.
47701 * sunrpc/rpc_hout.c: Likewise.
47702 * sunrpc/rpc_main.c: Likewise.
47703 * sunrpc/rpc_parse.c: Likewise.
47704 * sunrpc/rpc_parse.h: Likewise.
47705 * sunrpc/rpc_prot.c: Likewise.
47706 * sunrpc/rpc_sample.c: Likewise.
47707 * sunrpc/rpc_scan.c: Likewise.
47708 * sunrpc/rpc_scan.h: Likewise.
47709 * sunrpc/rpc_svcout.c: Likewise.
47710 * sunrpc/rpc_tblout.c: Likewise.
47711 * sunrpc/rpc_util.c: Likewise.
47712 * sunrpc/rpc_util.h: Likewise.
47713 * sunrpc/rpcinfo.c: Likewise.
47714 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
47715 * sunrpc/rpcsvc/key_prot.x: Likewise.
47716 * sunrpc/rpcsvc/klm_prot.x: Likewise.
47717 * sunrpc/rpcsvc/mount.x: Likewise.
47718 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
47719 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
47720 * sunrpc/rpcsvc/rex.x: Likewise.
47721 * sunrpc/rpcsvc/rstat.x: Likewise.
47722 * sunrpc/rpcsvc/rusers.x: Likewise.
47723 * sunrpc/rpcsvc/sm_inter.x: Likewise.
47724 * sunrpc/rpcsvc/spray.x: Likewise.
47725 * sunrpc/rpcsvc/yppasswd.x: Likewise.
47726 * sunrpc/rtime.c: Likewise.
47727 * sunrpc/svc.c: Likewise.
47728 * sunrpc/svc_auth.c: Likewise.
47729 * sunrpc/svc_authux.c: Likewise.
47730 * sunrpc/svc_raw.c: Likewise.
47731 * sunrpc/svc_run.c: Likewise.
47732 * sunrpc/svc_simple.c: Likewise.
47733 * sunrpc/svc_tcp.c: Likewise.
47734 * sunrpc/svc_udp.c: Likewise.
47735 * sunrpc/svc_unix.c: Likewise.
47736 * sunrpc/svcauth_des.c: Likewise.
47737 * sunrpc/xcrypt.c: Likewise.
47738 * sunrpc/xdr.c: Likewise.
47739 * sunrpc/xdr_array.c: Likewise.
47740 * sunrpc/xdr_float.c: Likewise.
47741 * sunrpc/xdr_mem.c: Likewise.
47742 * sunrpc/xdr_rec.c: Likewise.
47743 * sunrpc/xdr_ref.c: Likewise.
47744 * sunrpc/xdr_sizeof.c: Likewise.
47745 * sunrpc/xdr_stdio.c: Likewise.
47747 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
47750 2010-08-19 Andreas Schwab <schwab@redhat.com>
47752 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
47754 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
47756 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
47757 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
47758 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
47759 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
47760 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
47761 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
47762 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
47763 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
47764 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
47765 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
47766 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
47767 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
47768 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
47769 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
47771 2010-07-26 Anton Blanchard <anton@samba.org>
47773 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
47774 * malloc/arena.c (heap_trim): Likewise.
47776 2010-08-16 Ulrich Drepper <drepper@redhat.com>
47778 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
47780 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
47781 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
47783 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
47785 * sysdeps/i386/elf/Makefile: New file.
47787 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
47789 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
47790 from fanotify_init.
47791 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
47792 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
47794 2010-08-15 Ulrich Drepper <drepper@redhat.com>
47796 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
47798 * sysdeps/multiarch/strcmp.S: Likewise.
47800 2010-08-14 Ulrich Drepper <drepper@redhat.com>
47802 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
47803 strncase_l-nonascii.
47804 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
47805 Add strncase_l-ssse3.
47806 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
47807 * sysdeps/x86_64/strcmp.S: Likewise.
47808 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
47809 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
47810 * sysdeps/x86_64/strncase.S: New file.
47811 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
47812 * sysdeps/x86_64/strncase_l.S: New file.
47813 * string/Makefile (strop-tests): Add strncasecmp.
47814 * string/test-strncasecmp.c: New file.
47816 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
47819 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
47820 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
47822 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
47824 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
47826 2010-08-12 Ulrich Drepper <drepper@redhat.com>
47828 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
47829 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
47830 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
47832 2010-05-01 Alan Modra <amodra@gmail.com>
47834 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
47835 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
47836 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
47837 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
47838 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
47839 tidying. Don't tail-call __sigjmp_save for static lib.
47840 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
47842 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
47843 (CALL_MCOUNT): Add eh info, and nop after bl.
47844 (TAIL_CALL_SYSCALL_ERROR): New macro.
47845 (PSEUDO_RET): Use it.
47846 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
47847 Correct save location of integer regs and cr.
47848 (_dl_profile_resolve): Correct cr save location. Delete nops
47849 after bl when SHARED. Reduce cfi size a little by better
47850 placement of cfi directives.
47851 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
47852 make a stack frame. Instead use parm save area as a temp.
47853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
47854 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
47855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
47856 Don't make a stack frame for parent, use parm save area.
47857 Increase child stack frame to 112 bytes. Don't save unused reg,
47858 and adjust reg usage. Set up cfi on error recovery and
47859 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
47860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
47861 (__makecontext): Add dummy nop after jump to exit.
47862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
47863 Use correct parm save area and cr save, reduce stack frame.
47864 Correct cfi for possible PSEUDO_RET frame setup.
47865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
47866 Branch to local label emitted by PSEUDO_RET rather than
47869 2010-08-12 Andreas Schwab <schwab@redhat.com>
47872 * locale/programs/locale.c (print_assignment): New function.
47873 (show_locale_vars): Use it.
47875 2010-08-11 Ulrich Drepper <drepper@redhat.com>
47877 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
47879 (struct statfs64): Likewise.
47880 (_STATFS_F_FLAGS): Define.
47881 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
47882 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47883 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
47884 (ST_VALID): Define locally.
47885 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
47886 __statvfs_getflags, use the provided value.
47887 * sysdeps/unix/sysv/linux/kernel-features.h: Define
47888 __ASSUME_STATFS_F_FLAGS.
47890 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
47892 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
47893 Add sys/fanotify.h.
47894 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
47895 fanotify_mask for GLIBC_2.13.
47896 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
47897 fanotify_init and fanotify_mark.
47898 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
47899 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
47901 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
47903 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
47904 prlimit64 for GLIBC_2.13.
47905 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
47907 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
47909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
47910 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
47911 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
47912 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
47913 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
47915 * sysdeps/unix/sysv/linux/prlimit.c: New file.
47918 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
47919 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
47921 * nss/Makefile: Add rules to build and run tst-nss-test1.
47922 * shlib-versions: Add entry for libnss_test1.
47923 * nss/nss_test1.c: New file.
47924 * nss/tst-nss-test1.c: New file.
47926 * nss/nsswitch.c (__nss_database_custom): Define new variable.
47927 (__nss_configure_lookup): Set appropriate entry in
47928 __nss_configure_lookup to true.
47929 * nss/nsswitch.h: Define enum with indeces of databases in
47930 databases and __nss_database_custom arrays. Declare
47931 __nss_database_custom.
47932 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
47933 to avoid using nscd when custom rules are installed.
47934 * nss/getXXbyYY_r.c: Likewise.
47935 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
47937 * nss/nss_files/files-parse.c: Whitespace fixes.
47939 2010-08-09 Ulrich Drepper <drepper@redhat.com>
47942 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
47943 * posix/fnmatch_loop.c: Likewise.
47945 2010-07-17 Andi Kleen <ak@linux.intel.com>
47947 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
47948 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
47949 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
47950 * Versions.def [GLIBC_2.13]: Add.
47952 2010-08-06 Ulrich Drepper <drepper@redhat.com>
47954 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
47955 Also fail if tpwd after pwuid call is NULL.
47957 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
47959 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
47960 when converting to ms.
47962 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
47964 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
47965 EOPNOTSUPP errors with ENOTTY.
47966 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
47967 EOPNOTSUPP errors with ENOTTY.
47969 2010-07-31 Ulrich Drepper <drepper@redhat.com>
47971 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
47972 Add strcasecmp_l-ssse3.
47973 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
47975 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
47976 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
47977 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
47979 2010-07-30 Ulrich Drepper <drepper@redhat.com>
47981 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
47983 * string/Makefile (strop-tests): Add strcasecmp.
47984 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
47985 strcasecmp_l-nonascii.
47986 (gen-as-const-headers): Add locale-defines.sym.
47987 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
47988 * sysdeps/x86_64/strcasecmp.S: New file.
47989 * sysdeps/x86_64/strcasecmp_l.S: New file.
47990 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
47991 * sysdeps/x86_64/locale-defines.sym: New file.
47992 * string/test-strcasecmp.c: New file.
47994 * string/test-strcasestr.c: Test both ends of the range of characters.
47995 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
47997 2010-07-29 Roland McGrath <roland@redhat.com>
48000 * manual/locale.texi (Yes-or-No Questions): Fix example code.
48002 2010-07-27 Ulrich Drepper <drepper@redhat.com>
48004 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
48007 2010-07-27 Andreas Schwab <schwab@redhat.com>
48009 * manual/memory.texi (Malloc Tunable Parameters): Document
48012 2010-07-26 Roland McGrath <roland@redhat.com>
48015 * configure.in (-fgnu89-inline check): Set and substitute
48016 gnu89_inline, not libc_cv_gnu89_inline.
48017 * configure: Regenerated.
48018 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
48020 2010-07-26 Ulrich Drepper <drepper@redhat.com>
48022 * string/test-strnlen.c: New file.
48023 * string/Makefile (strop-tests): Add strnlen.
48024 * string/tester.c (test_strnlen): Add a few more test cases.
48025 * string/tst-strlen.c: Better error reporting.
48027 * sysdeps/x86_64/strnlen.S: New file.
48029 2010-07-24 Ulrich Drepper <drepper@redhat.com>
48031 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
48032 lower-latency instructions.
48034 2010-07-23 Ulrich Drepper <drepper@redhat.com>
48036 * string/test-strcasestr.c: New file.
48037 * string/test-strstr.c: New file.
48038 * string/Makefile (strop-tests): Add strstr and strcasestr.
48039 * string/str-two-way.h: Don't undefine MAX.
48040 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
48042 2010-07-21 Andreas Schwab <schwab@redhat.com>
48044 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48045 strcasestr-nonascii.
48046 (CFLAGS-strcasestr-nonascii.c): Define.
48047 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
48048 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
48049 Remove unused attribute.
48051 2010-07-20 Roland McGrath <roland@redhat.com>
48053 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
48054 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
48055 ld.so.cache was broken. With it, there is no way to disable dsocaps
48056 like LD_HWCAP_MASK can disable hwcaps.
48058 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
48060 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
48062 2010-07-16 Ulrich Drepper <drepper@redhat.com>
48064 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
48065 call in strcasestr.
48066 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
48067 __strcasestr_sse42_nonascii.
48068 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
48069 strcasestr-nonascii.c.
48070 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
48072 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
48074 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
48075 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
48076 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
48077 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
48079 2010-07-09 Ulrich Drepper <drepper@redhat.com>
48081 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
48084 2010-07-06 Andreas Schwab <schwab@redhat.com>
48087 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
48090 2010-07-06 Ulrich Drepper <drepper@redhat.com>
48092 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
48093 _PC_PIPE_BUF using F_GETPIPE_SZ.
48095 2010-07-05 Roland McGrath <roland@redhat.com>
48097 * manual/arith.texi (Rounding Functions): Fix rint description
48098 implicit in round description.
48100 2010-07-02 Ulrich Drepper <drepper@redhat.com>
48102 * elf/Makefile: Fix linking for a few tests to make recent linker
48105 2010-06-30 Andreas Schwab <schwab@redhat.com>
48107 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
48108 $(common-objpfx)libc_nonshared.a.
48110 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
48112 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
48113 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
48114 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48115 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48116 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
48117 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
48118 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48119 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
48121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
48122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
48123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
48125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
48127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
48128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
48129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
48130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
48132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
48134 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
48135 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
48136 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
48137 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
48138 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
48139 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
48140 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
48141 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
48142 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
48143 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
48144 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
48145 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
48146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
48147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
48148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
48149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
48150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
48151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
48152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
48153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
48154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
48155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
48156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
48157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
48158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
48159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
48161 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
48163 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
48164 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
48165 * string/memmove.c (memmove): Renamed to ...
48166 (MEMMOVE): ...this. Default to memmove.
48167 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
48168 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
48170 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48171 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
48172 mempcpy-ssse3-back memmove-ssse3-back.
48173 * sysdeps/x86_64/multiarch/bcopy.S: New file .
48174 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
48175 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
48176 * sysdeps/x86_64/multiarch/memcpy.S: New file.
48177 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
48178 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
48179 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
48180 * sysdeps/x86_64/multiarch/memmove.c: New file.
48181 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
48182 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
48183 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
48184 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
48185 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
48186 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
48188 (index_Fast_Copy_Backward): Define.
48189 (HAS_ARCH_FEATURE): Define.
48190 (HAS_FAST_REP_STRING): Define.
48191 (HAS_FAST_COPY_BACKWARD): Define.
48193 2010-06-21 Andreas Schwab <schwab@redhat.com>
48195 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48196 Restore proper fallback handling.
48198 2010-06-19 Ulrich Drepper <drepper@redhat.com>
48201 * posix/group_member.c (__group_member): Correct checking loop.
48203 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
48204 OOM in getpwuid_r correctly. Return error number when the caller
48205 should return, otherwise -1.
48206 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
48207 call returning > 0 value.
48208 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
48210 2010-06-07 Andreas Schwab <schwab@redhat.com>
48212 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
48213 libc_nonshared.a from targets in modules-names.
48215 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
48217 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
48220 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
48222 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
48223 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
48224 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
48225 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
48227 2010-06-02 Andreas Schwab <schwab@redhat.com>
48229 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
48231 2010-06-14 Ulrich Drepper <drepper@redhat.com>
48233 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
48235 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
48236 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48237 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48238 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48239 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48240 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
48242 2010-06-14 Roland McGrath <roland@redhat.com>
48244 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
48246 2010-06-07 Jakub Jelinek <jakub@redhat.com>
48248 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
48249 __REDIRECT followed by __THROW.
48250 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
48251 * posix/getopt.h (getopt): Likewise.
48253 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
48255 * hurd/lookup-at.c (__file_name_lookup_at): Accept
48256 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
48257 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
48259 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
48260 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
48262 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
48264 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
48266 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
48269 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48270 Properly check family and model.
48272 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
48274 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
48276 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
48278 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
48280 2010-05-21 Ulrich Drepper <drepper@redhat.com>
48282 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
48285 2010-05-19 Andreas Schwab <schwab@redhat.com>
48287 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
48290 2010-05-21 Andreas Schwab <schwab@redhat.com>
48292 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
48293 and internal_recvmmsg.
48294 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
48295 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
48296 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
48297 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
48299 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
48300 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
48301 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
48303 2010-05-20 Andreas Schwab <schwab@redhat.com>
48305 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
48307 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
48309 POWER7 optimizations.
48310 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
48311 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
48313 2010-05-19 Ulrich Drepper <drepper@redhat.com>
48315 * version.h: Update for 2.13 development version.
48317 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
48319 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
48320 exceptions. Return 0.
48322 2010-05-07 Roland McGrath <roland@redhat.com>
48324 * elf/ldconfig.c (main): Add a const.
48326 2010-05-06 Ulrich Drepper <drepper@redhat.com>
48328 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
48329 (args_options): Add no-idn option.
48330 (ahosts_keys_int): Add idn_flags to ai_flags.
48331 (parse_option): Handle 'i' option to clear idn_flags.
48333 * malloc/malloc.c (_int_free): Possible race in the most recently
48334 added check. Only act on the data if no current modification
48337 See ChangeLog.17 for earlier changes.