1 2014-06-30 Joseph Myers <joseph@codesourcery.com>
4 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
5 (__expm1l): Return argument unchanged when small but not
8 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
10 (_FP_UNPACK_RAW_1_P): Likewise.
11 (_FP_PACK_RAW_1): Likewise.
12 (_FP_PACK_RAW_1_P): Likewise.
13 (_FP_MUL_MEAT_1_wide): Likewise.
14 (_FP_MUL_MEAT_DW_1_hard): Likewise.
15 (_FP_MUL_MEAT_1_hard): Likewise.
16 (_FP_DIV_MEAT_1_imm): Likewise.
17 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
18 (_FP_DIV_MEAT_1_udiv): Likewise.
19 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
20 (_FP_UNPACK_RAW_2): Likewise.
21 (_FP_UNPACK_RAW_2_P): Likewise.
22 (_FP_PACK_RAW_2): Likewise.
23 (_FP_PACK_RAW_2_P): Likewise.
24 (_FP_MUL_MEAT_DW_2_wide): Likewise.
25 (_FP_MUL_MEAT_2_wide): Likewise.
26 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
27 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
28 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
29 (_FP_MUL_MEAT_2_gmp): Likewise.
30 (_FP_DIV_MEAT_2_udiv): Likewise.
31 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
32 (_FP_FRAC_SRL_4): Likewise.
33 (_FP_FRAC_SRST_4): Likewise.
34 (_FP_FRAC_SRS_4): Likewise.
35 (_FP_UNPACK_RAW_4): Likewise.
36 (_FP_UNPACK_RAW_4_P): Likewise.
37 (_FP_PACK_RAW_4): Likewise.
38 (_FP_PACK_RAW_4_P): Likewise.
39 (_FP_MUL_MEAT_DW_4_wide): Likewise.
40 (_FP_MUL_MEAT_4_wide): Likewise.
41 (_FP_MUL_MEAT_4_gmp): Likewise.
42 (umul_ppppmnnn): Likewise.
43 (_FP_DIV_MEAT_4_udiv): Likewise.
44 (__FP_FRAC_ADD_4): Likewise.
45 (__FP_FRAC_SUB_3): Likewise.
46 (__FP_FRAC_SUB_4): Likewise.
47 (__FP_FRAC_DEC_3): Likewise.
48 (__FP_FRAC_DEC_4): Likewise.
49 (__FP_FRAC_ADDI_4): Likewise.
50 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
51 (_FP_FRAC_SRL_8): Likewise.
52 (_FP_FRAC_SRS_8): Likewise.
54 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
56 (FP_UNPACK_RAW_EP): Likewise.
57 (FP_PACK_RAW_E): Likewise.
58 (FP_PACK_RAW_EP): Likewise.
59 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
60 (_FP_ISSIGNAN): Likewise.
61 (_FP_ADD_INTERNAL): Likewise.
65 (_FP_TO_INT): Likewise.
66 (_FP_FROM_INT): Likewise.
67 (FP_EXTEND): Likewise.
68 (_FP_DIV_MEAT_N_loop): Likewise.
70 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
72 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
75 2014-06-29 Joseph Myers <joseph@codesourcery.com>
78 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
79 result with correct sign in case of exponents that produce
80 overflow except for X very close to 1.
82 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
84 mktime: merge #if/#ifdef usage from glibc
85 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
86 as that works with both Glibc's and Gnulib's style.
87 See thread starting at Siddhesh Poyarekar's bug report at:
88 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
90 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
92 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
93 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
94 * sysdeps/tile/tilegx/memmove.c: Remove file.
96 2014-06-27 Joseph Myers <joseph@codesourcery.com>
98 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
100 * scripts/soversions.awk: Do not handle or generate ABI lines.
101 * shlib-versions: Remove ABI entries.
102 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
103 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
105 2014-06-27 Roland McGrath <roland@hack.frob.com>
107 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
108 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
109 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
110 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
111 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
112 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
113 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
115 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
117 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
118 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
119 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
120 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
121 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
122 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
123 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
124 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
125 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
126 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
127 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
128 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
129 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
131 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
132 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
133 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
134 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
135 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
136 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
138 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
139 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
141 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
142 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
143 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
144 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
146 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
147 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
148 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
149 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
150 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
151 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
152 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
153 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
155 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
156 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
157 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
158 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
160 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
161 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
163 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
164 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
165 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
166 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
168 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
170 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
171 Identical file removed.
172 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
174 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
175 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
176 Identical file removed.
177 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
178 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
179 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
181 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
182 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
183 Identical file removed.
184 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
185 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
186 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
187 Identical file removed.
188 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
189 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
190 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
191 Identical file removed.
192 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
193 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
194 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
195 Identical file removed.
196 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
198 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
199 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
200 Identical file removed.
201 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
203 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
204 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
205 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
206 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
207 Identical file removed.
208 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
210 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
212 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
213 Identical file removed.
214 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
216 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
217 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
218 Identical file removed.
219 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
221 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
222 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
223 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
224 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
225 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
226 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
228 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
229 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
230 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
232 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
233 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
234 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
235 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
236 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
238 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
241 * nscd/nscd.c (monitor_child): Return exit status of child
242 instead of return value from wait syscall.
244 2014-06-27 Joseph Myers <joseph@codesourcery.com>
246 * configure.ac (libc_commonpagesize): Remove variable.
247 (libc_relro_required): Likewise.
248 (libc_cv_z_relro): Remove configure test.
249 * configure: Regenerated.
250 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
252 (libc_relro_required): Likewise.
253 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
254 (libc_relro_required): Likewise.
255 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
256 (libc_relro_required): Likewise.
257 * sysdeps/arm/preconfigure: Regenerated.
258 * sysdeps/ia64/preconfigure: Remove file.
259 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
261 (libc_relro_required): Likewise.
265 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
266 (__ieee754_yn): Set FE_TONEAREST mode internally and then
267 recompute overflowing results in original rounding mode.
268 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
269 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
270 recompute overflowing results in original rounding mode.
271 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
272 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
273 recompute overflowing results in original rounding mode.
274 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
275 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
276 recompute overflowing results in original rounding mode.
277 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
278 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
279 recompute overflowing results in original rounding mode.
280 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
281 (libc_feholdsetround_ctx): New macro.
282 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
283 * sysdeps/i386/fpu/libm-test-ulps: Update.
284 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
286 2014-06-26 Joseph Myers <joseph@codesourcery.com>
288 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
289 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
290 corresponding .cpsetup call.
292 2014-06-26 Roland McGrath <roland@hack.frob.com>
294 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
295 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
296 * sysdeps/arm/Makefile [$(subdir) = csu]
297 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
298 (static-only-routines): Add aeabi_read_tp here.
299 (shared-only-routines): Add libc-aeabi_read_tp here.
300 (CFLAGS-libc-start.c): Add -fexceptions here.
301 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
302 (sysdep_routines, static-only-routines, shared-only-routines):
303 Don't add to these here.
304 (CFLAGS-libc-start.c): Likewise.
306 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
307 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
308 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
309 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
310 * sysdeps/arm/Makefile [$(subdir) = rt]
311 (librt-sysdep_routines, librt-shared-only-routines):
312 Append rt-aeabi_unwind_cpp_pr1 here.
313 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
314 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
315 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
316 (libpthread-sysdep_routines, libpthread-shared-only-routines):
317 Append nptl-aeabi_unwind_cpp_pr1 here.
318 (tests): Filter out tst-cleanupx4 here.
319 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
320 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
323 2014-06-26 Joseph Myers <joseph@codesourcery.com>
325 * scripts/list-sources.sh: Do not handle ports specially.
327 2014-06-26 Roland McGrath <roland@hack.frob.com>
329 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
330 * sysdeps/arm/feupdateenv.c: Likewise.
332 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
334 2014-06-26 Joseph Myers <joseph@codesourcery.com>
336 * manual/texinfo.tex: Update to version 2014-05-05.10 with
337 trailing whitespace removed.
338 * scripts/config.guess: Update to version 2014-03-23.
339 * scripts/config.sub: Update to version 2014-05-01
340 * scripts/install-sh: Update to version 2013-12-25.23.
341 * scripts/move-if-change: Update from gnulib.
343 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
345 * debug/memmove_chk.c: Remove pagecopy.h include.
347 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
349 * time/mktime.c (leapyear): Remove inline keyword. The code is now
350 identical to gnulib mktime.
352 2014-06-26 Joseph Myers <joseph@codesourcery.com>
354 * configure.ac: Do not test for machine being rs6000. Do not test
356 * configure: Regenerated.
358 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
360 * configure: Regenerated.
361 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
362 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
363 Remove configure test.
364 * sysdeps/arm/configure: Regenerated.
365 * sysdeps/nptl/configure.ac: Do not check
366 libc_cv_asm_cfi_directives.
367 * sysdeps/nptl/configure: Regenerated.
368 * sysdeps/x86_64/nptl/configure.ac: Remove file.
369 * sysdeps/x86_64/nptl/configure: Remove generated file.
370 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
372 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
374 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
376 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
377 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
378 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
381 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
382 instead of whether it is defined.
383 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
384 * sysdeps/hppa/dl-machine.h: Likewise.
385 * sysdeps/ia64/dl-machine.h: Likewise.
386 * sysdeps/m68k/dl-machine.h: Likewise.
387 * sysdeps/microblaze/dl-machine.h: Likewise.
388 * sysdeps/mips/dl-machine.: Likewise.
389 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
390 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
391 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
392 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
393 * sysdeps/sh/dl-machine.h: Likewise.
394 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
395 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
396 * sysdeps/tile/dl-machine.h: Likewise.
397 * sysdeps/x86_64/dl-machine.h: Likewise.
399 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
401 (verify_persistent_db): Likewise.
403 2014-06-26 Roland McGrath <roland@hack.frob.com>
405 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
406 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
407 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
408 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
409 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
411 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
413 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
414 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
415 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
416 Identical file removed.
417 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
418 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
419 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
420 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
421 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
422 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
423 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
424 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
425 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
426 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
427 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
429 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
430 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
431 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
432 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
433 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
434 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
436 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
437 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
438 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
439 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
440 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
441 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
442 Identical file removed.
443 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
444 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
445 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
446 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
447 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
449 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
451 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
452 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
453 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
454 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
455 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
456 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
457 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
458 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
459 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
460 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
461 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
463 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
464 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
466 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
467 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
468 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
469 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
471 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
472 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
473 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
475 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
477 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
478 * sysdeps/unix/sysv/linux/s390/Versions
479 (libpthread: GLIBC_2.19): New version set.
480 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
481 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
482 (librt: GLIBC_2.3.3): New version set.
483 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
484 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
485 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
486 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
487 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
488 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
489 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
490 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
491 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
492 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
493 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
494 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
495 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
496 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
497 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
498 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
499 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
500 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
501 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
502 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
503 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
504 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
505 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
506 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
507 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
508 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
509 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
510 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
511 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
512 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
513 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
514 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
515 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
516 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
517 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
518 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
519 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
520 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
521 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
522 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
523 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
524 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
525 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
526 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
527 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
529 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
530 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
531 (__libc_vfork): Define the function under this name.
532 [!NOT_IN_libc] (__vfork): Make this an alias.
533 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
534 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
535 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
536 (__libc_vfork): Define the function under this name.
537 [!NOT_IN_libc] (__vfork): Make this an alias.
538 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
539 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
540 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
541 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
542 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
543 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
545 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
546 code that was previously under [RESET_PID].
547 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
548 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
549 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
551 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
552 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
553 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
554 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
555 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
556 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
557 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
558 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
559 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
560 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
561 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
563 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
564 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
565 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
566 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
567 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
568 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
569 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
570 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
571 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
572 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
573 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
574 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
575 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
576 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
577 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
578 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
579 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
580 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
581 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
582 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
583 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
584 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
585 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
586 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
587 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
588 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
589 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
590 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
591 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
593 2014-06-25 Roland McGrath <roland@hack.frob.com>
595 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
596 that was previously under [RESET_PID].
597 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
599 2014-06-25 Joseph Myers <joseph@codesourcery.com>
601 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
602 not undefine and redefine.
603 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
604 [O_CLOEXEC]: Make code unconditional.
605 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
606 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
608 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
609 conditional variable definition.
610 (shm_open) [O_CLOEXEC]: Make code unconditional.
611 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
614 * configure.ac (USE_REGPARMS): Don't define here.
615 * configure: Regenerated.
616 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
617 * sysdeps/i386/configure: Regenerated.
619 * nptl/createthread.c: Don't include kernel-features.h.
620 * nptl/pthread_cancel.c: Likewise.
621 * nptl/pthread_condattr_setclock.c: Likewise.
622 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
623 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
624 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
625 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
626 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
627 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
628 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
629 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
630 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
631 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
632 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
633 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
634 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
635 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
636 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
637 * nscd/gai.c: Likewise.
638 * nss/nss_db/db-open.c: Likewise.
639 * sysdeps/generic/ldsodefs.h: Likewise.
640 * sysdeps/sh/nptl/tls.h: Likewise.
641 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
642 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
643 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
644 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
645 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
646 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
647 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
648 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
649 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
650 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
651 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
652 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
653 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
654 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
655 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
656 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
657 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
658 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
659 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
660 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
661 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
662 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
663 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
664 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
665 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
666 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
667 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
668 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
669 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
670 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
671 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
672 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
673 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
674 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
675 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
676 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
677 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
678 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
679 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
680 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
681 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
682 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
683 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
684 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
685 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
686 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
687 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
688 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
689 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
690 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
691 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
692 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
693 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
694 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
695 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
696 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
697 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
698 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
721 * sysdeps/unix/sysv/linux/pread.c: Likewise.
722 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
723 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
724 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
725 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
726 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
727 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
728 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
729 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
730 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
731 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
732 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
733 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
734 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
735 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
736 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
737 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
738 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
739 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
740 * sysdeps/unix/sysv/linux/system.c: Likewise.
741 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
742 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
743 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
744 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
745 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
746 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
747 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
749 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
750 * configure: Regenerated.
751 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
753 * configure.ac (base_machine): Do not set specially for particular
755 * configure: Regenerated.
756 * sysdeps/powerpc/preconfigure: Move machine and base_machine
757 settings from configure.ac.
758 * sysdeps/i386/preconfigure: New file.
759 * sysdeps/s390/preconfigure: Likewise.
760 * sysdeps/sh/preconfigure: Likewise.
761 * sysdeps/sparc/preconfigure: Likewise.
763 2014-06-25 Roland McGrath <roland@hack.frob.com>
765 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
766 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
767 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
768 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
769 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
770 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
771 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
772 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
773 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
774 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
775 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
776 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
777 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
778 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
779 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
780 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
781 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
782 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
783 * sysdeps/sparc/sparc64/Makefile: ... appended here.
785 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
786 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
787 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
788 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
789 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
790 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
791 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
792 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
793 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
794 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
795 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
796 * sysdeps/sparc/sparc32/sem_post.c: ... here.
797 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
798 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
799 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
800 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
801 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
802 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
803 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
804 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
805 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
806 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
807 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
808 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
809 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
810 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
811 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
812 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
813 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
814 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
815 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
816 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
817 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
818 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
819 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
820 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
821 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
822 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
824 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
825 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
826 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
827 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
828 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
830 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
832 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
833 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
834 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
835 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
836 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
838 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
839 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
840 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
841 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
842 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
843 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
844 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
845 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
847 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
848 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
850 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
851 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
852 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
853 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
855 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
856 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
857 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
858 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
859 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
860 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
861 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
862 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
863 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
864 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
866 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
868 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
869 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
870 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
871 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
872 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
874 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
875 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
876 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
877 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
878 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
879 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
880 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
881 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
883 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
884 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
886 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
887 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
888 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
889 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
891 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
892 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
893 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
894 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
895 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
897 2014-06-25 Joseph Myers <joseph@codesourcery.com>
899 * timezone/checktab.awk: Update from tzcode 2014e.
900 * timezone/private.h: Likewise.
901 * timezone/tzfile.h: Likewise.
902 * timezone/zdump.c: Likewise.
903 * timezone/zic.c: Likewise.
905 * sysdeps/unix/sysv/linux/kernel-features.h
906 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
907 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
908 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
909 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
910 Remove conditional code.
912 2014-06-25 Will Newton <will.newton@linaro.org>
914 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
915 (_dl_arm_cap_flags): Add HWCAP2 values.
916 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
917 (_DL_HWCAP_COUNT): Increase to 37.
918 (_DL_HWCAP_LAST): New define.
919 (_DL_HWCAP2_LAST): New define.
920 (_dl_procinfo): Add support for printing
922 (_dl_string_hwcap): Use _dl_hwcap_string.
924 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
926 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
928 2014-06-25 Joseph Myers <joseph@codesourcery.com>
930 * README: Do not mention ports directory.
932 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
934 * sysdeps/unix/sysv/linux/futimes.c: Do not include
936 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
937 conditional variable definition.
938 (__futimes): Update comment.
939 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
940 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
943 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
944 arguments close to 0.
945 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
947 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
949 * math/auto-libm-test-in: Add more tests of exp10.
950 * math/auto-libm-test-out: Regenerated.
951 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
953 * sysdeps/unix/sysv/linux/kernel-features.h
954 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
955 * sysdeps/unix/sysv/linux/readv.c: Do not include
957 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
958 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
959 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
961 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
963 * sysdeps/unix/sysv/linux/writev.c: Do not include
965 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
966 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
967 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
969 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
972 2014-06-25 Will Newton <will.newton@linaro.org>
974 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
975 comment changes throughout the file. Remove checks
976 for HAVE_*_H definitions that are not required.
977 (__gen_tempname): Call abort if an unknown kind value is
980 2014-06-25 Andreas Schwab <schwab@suse.de>
983 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
984 scalbln, scalblnf, scalblnl in libc.
986 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
989 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
990 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
991 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
993 2014-06-24 Roland McGrath <roland@hack.frob.com>
995 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
996 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
997 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
998 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
1000 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
1001 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
1003 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
1004 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
1005 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
1006 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
1007 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
1008 * sysdeps/x86/bits/pthreadtypes.h: ... here.
1009 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
1010 * sysdeps/x86/bits/semaphore.h: ... here.
1011 * sysdeps/x86/nptl/elide.h: Moved ...
1012 * sysdeps/x86/elide.h: ... here.
1013 * sysdeps/x86_64/nptl/Implies: File removed.
1014 * sysdeps/i386/nptl/Implies: File removed.
1016 2014-06-24 Joseph Myers <joseph@codesourcery.com>
1019 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
1020 return the argument for normal arguments with exponent below -64.
1021 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1023 * math/auto-libm-test-in: Add another test of expm1.
1024 * math/auto-libm-test-out: Regenerated.
1027 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
1028 calling __erfcl for arguments at least 16.
1029 * math/auto-libm-test-in: Add more tests of erf.
1030 * math/auto-libm-test-out: Regenerated.
1032 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
1033 individual architectures.
1034 * sysdeps/unix/sysv/linux/configure: Regenerated.
1035 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
1036 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
1037 * sysdeps/unix/sysv/linux/powerpc/configure.ac
1038 (ldd_rewrite_script): Define variable.
1039 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
1040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
1042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
1044 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
1045 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
1046 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
1047 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
1048 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
1049 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
1050 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
1051 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
1053 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1056 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
1057 Rename member __data.d to __data.__elision_data.
1059 2014-06-24 Wilco <wdijkstr@arm.com>
1061 * NEWS: Add 16918 to fixed bug list.
1063 2014-06-24 Wilco <wdijkstr@arm.com>
1065 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
1067 2014-06-24 Wilco <wdijkstr@arm.com>
1069 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
1070 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
1071 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
1072 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
1073 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
1074 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
1075 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
1078 2014-06-24 Wilco <wdijkstr@arm.com>
1080 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
1082 2014-06-24 Wilco <wdijkstr@arm.com>
1084 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
1085 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
1086 * sysdeps/arm/fesetround.c (fesetround): Remove space.
1087 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
1089 2014-06-24 Wilco <wdijkstr@arm.com>
1092 * sysdeps/arm/feupdateenv.c (feupdateenv):
1093 Rewrite to reduce FPSCR accesses and fix return value.
1095 2014-06-24 Wilco <wdijkstr@arm.com>
1097 * sysdeps/arm/fclrexcpt.c (feclearexcept):
1098 Optimize to avoid unnecessary FPSCR writes.
1099 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
1100 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
1101 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
1102 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
1104 2014-06-24 Wilco <wdijkstr@arm.com>
1106 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
1107 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
1108 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
1109 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
1110 Call libc_fetestexcept_vfp.
1111 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
1112 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
1113 __SOFTFP__ ifdef so that they can be built for softfp.
1115 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1117 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
1118 argument type signed char.
1120 * Makerules (check-abi): Dump diff of symlist if the test
1123 2014-06-23 Roland McGrath <roland@hack.frob.com>
1125 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
1128 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
1129 Remove unused variable ST.
1131 2014-06-23 Joseph Myers <joseph@codesourcery.com>
1135 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
1136 small arguments before calling __expm1.
1137 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
1138 small arguments before calling __expm1f.
1139 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
1140 small arguments before calling __expm1l.
1141 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
1143 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
1144 * math/auto-libm-test-in: Add more cosh tests. Do not allow
1145 spurious underflow for some cosh tests.
1146 * math/auto-libm-test-out: Regenerated.
1147 * sysdeps/i386/fpu/libm-test-ulps: Update.
1150 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
1151 (__ieee754_y1): Set errno if return value overflows.
1152 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
1153 (__ieee754_y1f): Set errno if return value overflows.
1154 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
1155 (__ieee754_y1l): Set errno if return value overflows.
1156 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
1157 (__ieee754_y1l): Set errno if return value overflows.
1158 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
1159 * math/auto-libm-test-out: Regenerated.
1161 * math/gen-auto-libm-tests.c: Document use of
1162 ignore-zero-inf-sign.
1163 (input_flag_type): Add value flag_ignore_zero_inf_sign.
1164 (input_flags): Add ignore-zero-inf-sign.
1165 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
1166 * math/gen-libm-test.pl (generate_testfile): Handle
1167 ignore-zero-inf-sign.
1168 * math/auto-libm-test-in: Mark some cpow tests with
1169 ignore-zero-inf-sign and some with xfail-rounding.
1170 * math/auto-libm-test-out: Regenerated.
1171 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
1172 * sysdeps/i386/fpu/libm-test-ulps: Update.
1173 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1176 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
1177 overflowing or underflowing operations take place with sign of
1179 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1180 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
1181 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
1182 (__ieee754_pow): Recompute overflowing and underflowing results in
1183 original rounding mode.
1184 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
1185 (__powl_helper): Allow negative argument X and scale negated value
1186 as needed. Avoid passing value outside [-1, 1] to f2xm1.
1187 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
1188 overflowing or underflowing operations take place with sign of
1190 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
1192 * math/auto-libm-test-in: Add more tests of pow.
1193 * math/auto-libm-test-out: Regenerated.
1194 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
1195 (pow_tonearest_test_data): Remove.
1196 (pow_test_tonearest): Likewise.
1197 (pow_towardzero_test_data): Likewise.
1198 (pow_test_towardzero): Likewise.
1199 (pow_downward_test_data): Likewise.
1200 (pow_test_downward): Likewise.
1201 (pow_upward_test_data): Likewise.
1202 (pow_test_upward): Likewise.
1203 (main): Don't call removed functions.
1204 * sysdeps/i386/fpu/libm-test-ulps: Update.
1205 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1207 2014-06-23 Roland McGrath <roland@hack.frob.com>
1209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
1211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
1212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
1215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
1218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
1220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
1221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
1223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
1227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
1229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
1231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
1233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
1235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
1239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
1243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
1245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
1247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
1248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
1250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
1252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
1254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
1255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
1257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
1258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
1260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
1261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
1263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
1264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
1266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
1267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
1269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
1270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
1272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
1273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
1274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
1276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
1278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
1279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
1281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
1285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
1291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
1293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
1294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
1296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
1297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
1298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
1299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
1301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
1303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
1305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
1307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
1309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
1310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
1313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
1315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
1316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
1319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
1321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
1323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
1325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
1326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
1328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
1329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
1332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
1334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
1335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
1336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
1337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
1339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
1340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
1343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
1345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
1347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
1351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
1353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
1355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
1358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
1360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
1361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
1363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
1364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
1366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
1368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
1370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
1372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
1374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
1376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
1378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
1379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
1383 2014-06-23 Will Newton <will.newton@linaro.org>
1384 Wilco <wdijkstr@arm.com>
1386 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
1387 implementation. Include get-rounding-mode.h.
1388 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
1389 [!libc_feholdsetround_noex_ctx]: Define
1390 libc_feholdsetround_noex_ctx.
1391 [!libc_feholdsetround_noexf_ctx]: Define
1392 libc_feholdsetround_noexf_ctx.
1393 [!libc_feholdsetround_noexl_ctx]: Define
1394 libc_feholdsetround_noexl_ctx.
1395 (libc_feholdsetround_ctx): New function.
1396 (libc_feresetround_ctx): New function.
1397 (libc_feholdsetround_noex_ctx): New function.
1398 (libc_feresetround_noex_ctx): New function.
1400 2014-06-23 Roland McGrath <roland@hack.frob.com>
1402 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
1403 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
1404 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
1405 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
1406 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
1407 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
1409 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
1410 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
1411 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
1412 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
1413 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
1414 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
1415 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
1416 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
1417 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
1418 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
1419 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
1421 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
1423 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
1424 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
1425 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
1426 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
1427 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
1429 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
1430 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
1431 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
1432 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
1433 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
1434 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
1435 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
1436 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
1438 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
1439 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
1441 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
1442 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
1443 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
1444 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
1446 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
1447 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
1448 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
1449 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
1450 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
1451 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
1452 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
1453 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
1454 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
1455 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
1457 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
1459 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
1460 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
1461 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
1462 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
1463 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
1464 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
1465 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
1466 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
1467 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
1468 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
1469 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
1470 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
1471 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
1473 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
1474 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
1475 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
1476 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
1477 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
1478 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
1480 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
1481 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
1482 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
1483 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
1484 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
1486 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
1487 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
1488 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
1489 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
1490 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
1491 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
1492 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
1493 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
1494 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
1495 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
1496 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
1497 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
1498 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
1499 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
1500 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
1501 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
1502 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
1503 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
1504 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
1505 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
1506 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
1507 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
1508 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
1509 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
1510 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
1511 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
1512 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
1513 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
1515 2014-06-23 Joseph Myers <joseph@codesourcery.com>
1517 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
1518 (FALLOC_FL_COLLAPSE_RANGE): New macro.
1519 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
1520 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
1521 (IPV6_PMTUDISC_INTERFACE): Likewise.
1522 (IPV6_PMTUDISC_OMIT): Likewise.
1524 2014-06-23 Andreas Schwab <schwab@suse.de>
1526 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
1527 Remove unused errout label.
1529 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1531 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
1532 macro: hardware supports Vector Crypto instructions.
1534 2014-06-23 Will Newton <will.newton@linaro.org>
1536 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
1537 rather than __builtin_expect.
1539 * elf/dl-lookup.c (undefined_msg): Remove variable.
1540 (_dl_lookup_symbol_x): Replace undefined_msg with string
1543 * elf/dl-lookup.c (do_lookup_unique): New function.
1544 (do_lookup_x): Move STB_GNU_UNIQUE handling code
1545 to a separate function.
1547 2014-06-23 Andreas Schwab <schwab@suse.de>
1550 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
1551 before reading the next line.
1553 2014-06-23 Will Newton <will.newton@linaro.org>
1555 * test-skeleton.c (signal_handler): Use printf and %m
1556 rather than perror. Use printf rather than fprintf to
1557 stderr. Use puts rather than fputs to stderr.
1560 2014-06-22 Ludovic Courtès <ludo@gnu.org>
1562 * nscd/nscd.c (thread_info_t): Remove typedef.
1563 (thread_info): Remove variable.
1565 2014-06-21 Allan McRae <allan@archlinux.org>
1567 * NEWS: Mention CVE-2014-4043.
1569 2014-06-20 Roland McGrath <roland@hack.frob.com>
1571 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
1572 * nptl/smp.h: ... here.
1574 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
1576 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
1577 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
1578 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
1579 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
1581 * nptl/allocatestack.c: Include <stack-aliasing.h>.
1582 * nptl/stack-aliasing.h: New file.
1583 * sysdeps/i386/i686/stack-aliasing.h: New file.
1584 * sysdeps/i386/i686/nptl/Makefile: File removed.
1585 * sysdeps/x86_64/stack-aliasing.h: New file.
1586 * sysdeps/x86_64/nptl/Makefile
1587 (CFLAGS-pthread_create.c): Variable removed.
1589 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
1590 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
1592 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
1593 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
1596 2014-06-21 Joseph Myers <joseph@codesourcery.com>
1598 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1599 (__ASSUME_SIGFRAME_V2): Remove macro.
1600 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
1601 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
1602 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
1603 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
1604 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
1605 Declare as function. Remove conditional macro definitions.
1606 (__default_rt_sa_restorer): Likewise.
1607 (__default_sa_restorer_v1): Remove declaration.
1608 (__default_sa_restorer_v2): Likewise.
1609 (__default_rt_sa_restorer_v1): Likewise.
1610 (__default_rt_sa_restorer_v2): Likewise.
1611 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
1612 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
1613 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
1615 2014-06-20 Roland McGrath <roland@hack.frob.com>
1617 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
1618 (libpthread-routines): Add sysdep.
1619 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
1620 * sysdeps/unix/sysv/linux/sparc/Versions
1621 (libpthread: GLIBC_2.3.3): New version set.
1622 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
1623 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
1624 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
1625 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
1626 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
1627 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
1629 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
1630 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
1631 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
1632 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
1633 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
1634 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
1635 * sysdeps/sparc/nptl/sem_init.c: ... here.
1636 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
1637 * sysdeps/sparc/nptl/sem_post.c: ... here.
1638 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
1639 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
1640 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
1641 * sysdeps/sparc/nptl/sem_wait.c: ... here.
1642 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
1643 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
1644 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
1645 (libpthread-routines): Add cpu_relax.
1646 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
1648 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
1649 (librt: GLIBC_2.3.3): New version set.
1650 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
1651 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
1652 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
1653 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
1654 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
1655 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
1656 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
1657 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
1659 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
1660 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
1661 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
1662 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
1663 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
1664 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
1665 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
1666 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
1667 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
1668 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
1670 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
1672 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
1674 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
1676 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
1678 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
1680 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
1682 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
1684 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
1686 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
1688 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
1690 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
1692 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
1693 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
1694 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
1695 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
1696 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
1697 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
1698 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
1699 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
1700 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
1701 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
1702 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
1704 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
1705 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
1706 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
1707 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
1708 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
1710 2014-06-20 Joseph Myers <joseph@codesourcery.com>
1712 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
1713 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
1714 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
1715 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
1716 * nscd/nscd.c: Likewise.
1717 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
1718 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
1719 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
1720 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
1722 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
1723 <kernel-features.h>.
1724 (init_mq_netlink): Remove conditional have_sock_cloexec
1725 definitions. Remove code conditional on have_sock_cloexec < 0.
1726 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
1727 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
1728 * sysdeps/unix/sysv/linux/opensock.c: Do not include
1729 <kernel-features.h>.
1730 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
1731 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
1733 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
1735 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1736 Add tests for memset_chk and memset.
1738 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
1741 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
1744 * elf/tst-dl-iter-static.c: New file.
1745 * elf/Makefile (tests-static): Add tst-dl-iter-static.
1747 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
1750 2014-06-20 Joseph Myers <joseph@codesourcery.com>
1752 * sysdeps/unix/sysv/linux/kernel-features.h
1753 (__ASSUME_F_GETOWN_EX): Remove macro.
1754 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
1755 <kernel-features.h>.
1756 (miss_F_GETOWN_EX): Remove variable or macro.
1757 (do_fcntl): Do not check miss_F_GETOWN_EX.
1758 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
1760 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
1762 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
1763 [!__ASSUME_AT_RANDOM]: Remove conditional code.
1764 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
1766 * sysdeps/unix/sysv/linux/kernel-features.h
1767 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
1768 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
1769 [ADJ_OFFSET_SS_READ]: Make code unconditional.
1770 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
1772 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
1775 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
1776 Fix calculation of the symbol's value.
1777 * sysdeps/arm/tst-armtlsdescloc.c: New file.
1778 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
1779 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
1780 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
1781 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
1782 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
1783 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
1784 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
1785 (modules-names): Add `tst-armtlsdescmod',
1786 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
1787 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
1788 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
1789 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
1790 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
1791 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
1792 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
1793 ($(objpfx)tst-armtlsdescloc): New dependency.
1794 ($(objpfx)tst-armtlsdescextnow): Likewise.
1795 ($(objpfx)tst-armtlsdescextlazy): Likewise.
1796 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
1798 * sysdeps/arm/configure: Regenerate.
1800 2014-06-20 Joseph Myers <joseph@codesourcery.com>
1802 * include/fcntl.h (__atfct_seterrno): Remove prototype.
1803 (__atfct_seterrno_2): Likewise.
1804 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
1805 <kernel-features.h>.
1806 (__ASSUME_ATFCTS): Do not undefine and redefine.
1807 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
1808 (__have_atfcts): Remove conditional definition.
1809 (__fxstatat([__NR_fstatat64]: Make code unconditional.
1810 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
1811 unreachable if [__ASSUME_ATFCTS].
1812 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
1813 not undefine and redefine.
1814 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
1815 <kernel-features.h>.
1816 (faccessat) [__NR_faccessat]: Make code unconditional.
1817 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
1818 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
1819 <kernel-features.h>.
1820 (fchmodat) [__NR_fchmodat]: Make code unconditional.
1821 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
1822 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
1823 <kernel-features.h>.
1824 (fchownat) [__NR_fchownat]: Make code unconditional.
1825 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
1826 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
1827 <kernel-features.h>.
1828 (futimesat) [__NR_futimesat]: Make code unconditional.
1829 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
1830 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
1831 <kernel-features.h>.
1832 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
1833 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1834 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
1835 <kernel-features.h>.
1836 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
1837 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
1838 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
1839 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
1840 <kernel-features.h>.
1841 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
1842 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1843 * sysdeps/unix/sysv/linux/linkat.c: Do not include
1844 <kernel-features.h>.
1845 (linkat) [__NR_linkat]: Make code unconditional.
1846 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1847 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
1848 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
1849 <kernel-features.h>.
1850 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
1851 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
1852 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
1853 <kernel-features.h>.
1854 (mkdirat) [__NR_mkdirat]: Make code unconditional.
1855 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
1856 * sysdeps/unix/sysv/linux/openat.c: Do not include
1857 <kernel-features.h>.
1858 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
1859 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
1860 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
1861 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
1862 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
1863 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
1864 <kernel-features.h>.
1865 (readlinkat) [__NR_readlinkat]: Make code unconditional.
1866 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
1867 result of INLINE_SYSCALL directly, not via int variable.
1868 * sysdeps/unix/sysv/linux/renameat.c: Do not include
1869 <kernel-features.h>.
1870 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
1871 (renameat) [__NR_renameat]: Make code unconditional.
1872 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
1873 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
1874 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
1875 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
1876 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
1877 (__ASSUME_ATFCTS): Do not undefine and redefine.
1878 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
1879 <kernel-features.h>.
1880 (symlinkat) [__NR_symlinkat]: Make code unconditional.
1881 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1882 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
1883 <kernel-features.h>.
1884 (unlinkat) [__NR_unlinkat]: Make code unconditional.
1885 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1886 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
1887 (__ASSUME_ATFCTS): Do not undefine and redefine.
1888 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
1889 <kernel-features.h>.
1890 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
1891 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1892 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
1893 <kernel-features.h>.
1894 (__xmknodat) [__NR_mknodat]: Make code unconditional.
1895 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
1897 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
1899 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
1901 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
1904 * posix/regcomp.c (parse_reg_exp): Deallocate partially
1905 constructed tree before returning error.
1906 * posix/bug-regexp36.c: Expand test case.
1908 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
1911 * math/libm-test.inc (scalbln_test_date):
1912 Add errno expectations.
1913 * math/w_scalblnf.c: New File.
1914 Add wrapper which checks for setting errno to ERANGE.
1915 Add weak_alias for corresponding scalbln function.
1916 * math/w_scalbln.c: Likewise.
1917 * math/w_scalblnl.c: Likewise.
1918 * math/Makefile (libm-calls): Add w_scalbln.
1919 * sysdeps/ieee754/flt-32/s_scalblnf.c:
1920 Remove weak_alias for corresponding scalbln function.
1921 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1922 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
1923 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
1924 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1925 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
1926 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
1927 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
1928 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
1929 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
1930 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
1931 Remove long_double_symbol for scalblnl function in libm, libc.
1932 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
1933 Add wrapper which checks for setting errno to ERANGE.
1934 Add long_double_symbol for scalblnl function in libm, libc.
1935 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
1936 Remove long_double_symbol for scalblnl in libm.
1937 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
1938 Add wrapper which checks for setting errno to ERANGE.
1939 Add long_double_symbol for scalblnl function in libm.
1940 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
1941 Do not use wrapper because of own implementation.
1943 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
1945 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
1946 3 bytes for __pad1 for x32.
1947 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
1949 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
1950 H.J. Lu <hongjiu.lu@intel.com>
1952 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
1953 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
1954 * sysdeps/x86_64/multiarch/memset.S: Likewise.
1955 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1956 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
1958 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
1961 * posix/regcomp.c (parse_expression): Deallocate partially
1962 constructed tree before returning error.
1963 * posix/Makefile.c (tests): Add bug-regex36.
1964 (generated): Add bug-regex36.mtrace.
1965 (tests-special): Add $(objpfx)bug-regex36-mem.out
1966 (bug-regex36-ENV): New variable.
1967 ($(objpfx)bug-regex36-mem.out): New rule.
1968 * posix/bug-regex36.c: New file.
1970 2014-06-19 Will Newton <will.newton@linaro.org>
1972 * malloc/malloc.c (systrim): If extra is zero then return
1975 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1977 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
1979 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
1981 * sysdeps/aarch64/strchr.S: New file.
1983 2014-06-18 Joseph Myers <joseph@codesourcery.com>
1986 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
1987 from arguments -2 or below.
1988 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
1989 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
1991 2014-06-18 Andreas Schwab <schwab@suse.de>
1994 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
1995 of a bracket expr not to run off the end of the string.
1996 * posix/Makefile (tests): Add tst-fnmatch3.
1997 * posix/tst-fnmatch3.c: New file.
1999 2014-06-18 Joseph Myers <joseph@codesourcery.com>
2001 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
2002 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2003 [$(cross-compiling) = no]: Likewise.
2004 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2005 [$(cross-compiling) = no]: Likewise.
2007 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2010 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
2011 double, adjusted for any remainder from the high double.
2012 * math/libm-test.inc (nearbyint): Add tests.
2015 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2017 * nptl/sysdeps/powerpc/Makefile: Moved ...
2018 * sysdeps/powerpc/nptl/Makefile: ... here.
2019 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
2020 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
2021 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
2022 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
2023 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
2024 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
2025 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
2026 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
2027 * nptl/sysdeps/powerpc/tls.h: Moved ...
2028 * sysdeps/powerpc/nptl/tls.h: ... here.
2030 2014-06-16 Joseph Myers <joseph@codesourcery.com>
2033 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
2034 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
2035 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
2036 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
2037 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
2038 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
2039 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
2040 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
2041 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
2043 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
2045 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
2047 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
2049 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
2052 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
2055 2014-06-16 Florian Weimer <fweimer@redhat.com>
2058 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
2059 non-executed part of the test.
2061 2014-06-16 Andreas Schwab <schwab@suse.de>
2063 * string/bits/string2.h (strdup, strndup): Update feature guard.
2065 2014-06-14 David S. Miller <davem@davemloft.net>
2067 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2069 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
2071 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
2072 that was previously under [RESET_PID].
2073 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
2075 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
2076 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
2077 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
2078 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2079 (__libc_vfork): New strong alias.
2080 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
2082 2014-06-14 Andi Kleen <ak@linux.intel.com>
2084 * sysdeps/generic/elide.h: New file.
2086 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2088 * Makefile (installed-headers): Adjust path of pthread.h header.
2090 2014-06-13 Roland McGrath <roland@hack.frob.com>
2092 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
2093 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
2094 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
2095 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
2097 * nptl/sysdeps/s390/Makefile: Moved ...
2098 * sysdeps/s390/nptl/Makefile: ... here.
2099 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
2100 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
2101 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
2102 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
2103 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
2104 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
2105 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
2106 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
2107 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
2108 * sysdeps/s390/nptl/pthreaddef.h: ... here.
2109 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
2110 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
2111 * nptl/sysdeps/s390/tls.h: Moved ...
2112 * sysdeps/s390/nptl/tls.h: ... here.
2114 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
2115 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
2117 2014-06-13 David S. Miller <davem@davemloft.net>
2119 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
2120 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
2121 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
2122 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
2123 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
2124 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
2125 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
2126 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
2127 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
2128 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
2129 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
2130 Remove RESET_PID cpp guards.
2131 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
2132 Remove RESET_PID cpp guards.
2133 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
2135 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
2137 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
2140 2014-06-13 Andi Kleen <ak@linux.intel.com>
2142 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
2143 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
2144 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
2145 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
2146 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
2147 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
2148 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
2149 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
2150 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
2151 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
2152 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
2153 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
2154 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
2155 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
2156 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
2157 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
2158 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
2159 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
2160 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
2161 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
2163 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
2164 (pthread_rwlock_rdlock): Add elision.
2165 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
2166 (pthread_rwlock_wrlock): Add elision.
2167 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
2168 (pthread_rwlock_trywrlock): Add elision.
2169 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
2170 (pthread_rwlock_tryrdlock): Add elision.
2171 * nptl/pthread_rwlock_unlock.c: Include elide.h.
2172 (pthread_rwlock_tryrdlock): Add elision unlock.
2173 * nptl/sysdeps/pthread/pthread.h:
2174 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
2175 (PTHREAD_RWLOCK_INITIALIZER,
2176 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
2177 Handle new elision field.
2178 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
2179 * sysdeps/arm/nptl/bits/pthreadtypes.h
2180 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2181 * sysdeps/sh/nptl/bits/pthreadtypes.h
2182 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2183 * sysdeps/tile/nptl/bits/pthreadtypes.h
2184 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2185 * sysdeps/a/nptl/bits/pthreadtypes.h
2186 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2187 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
2188 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2189 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
2190 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2191 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
2192 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2193 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
2194 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2195 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
2196 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2197 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
2198 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2199 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
2200 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2201 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
2202 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2203 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
2204 (elision_init): Set try_xbegin to zero when no RTM.
2205 * sysdeps/x86/nptl/bits/pthreadtypes.h
2206 (pthread_rwlock_t): Change __pad1 to __rwelision.
2207 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2209 2014-06-13 Andi Kleen <ak@linux.intel.com>
2211 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
2212 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
2213 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
2214 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
2216 2014-06-13 Meador Inge <meadori@codesourcery.com>
2219 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
2220 that the cached result has been set before returning it.
2222 2014-06-12 Roland McGrath <roland@hack.frob.com>
2224 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
2225 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
2226 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
2227 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
2228 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
2229 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
2231 * nptl/sysdeps/sparc/Makefile: Moved ...
2232 * sysdeps/sparc/nptl/Makefile: ... here.
2233 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
2234 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
2235 * nptl/sysdeps/sparc/tls.h: Moved ...
2236 * sysdeps/sparc/nptl/tls.h: ... here.
2237 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
2238 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
2239 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
2240 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
2241 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
2242 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
2243 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
2244 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
2245 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
2246 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
2247 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
2248 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
2249 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
2250 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
2251 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
2252 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
2253 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
2254 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
2256 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
2257 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
2259 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
2260 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
2262 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
2263 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
2266 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2268 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
2269 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
2271 * sysdeps/pthread/posix-timer.h: Include <list.h>.
2272 (struct list_links): Type removed.
2273 (struct thread_node, struct timer_node): Replace struct list_links
2274 with struct list_head.
2275 (list_unlink_ip): Likewise.
2276 * sysdeps/pthread/timer_routines.c
2277 (timer_free_list, thread_free_list, thread_active_list): Likewise.
2278 (list_append, list_insbefore): Likewise.
2279 (list_init): Function removed.
2280 (thread_init, init_module): Use INIT_LIST_HEAD instead.
2281 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
2282 * sysdeps/pthread/Makefile: ... here, new file.
2284 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
2285 * sysdeps/nptl/Implies: ... here.
2286 * sysdeps/unix/sysv/linux/Implies: Add nptl.
2287 * nptl/sysdeps/pthread/list.h: Moved ...
2288 * include/list.h: ... here.
2289 * nptl/sysdeps/pthread/createthread.c: Moved ...
2290 * nptl/createthread.c: ... here.
2291 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
2292 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
2293 * nptl/pt-longjmp.c: ... here.
2294 * nptl/sysdeps/pthread/Makefile: Moved ...
2295 * sysdeps/nptl/Makefile: ... here.
2296 * nptl/sysdeps/pthread/Subdirs: Moved ...
2297 * sysdeps/nptl/Subdirs: ... here.
2298 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
2299 * sysdeps/nptl/aio_misc.h: ... here.
2300 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
2301 * sysdeps/nptl/bits/libc-lock.h: ... here.
2302 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
2303 * sysdeps/nptl/bits/libc-lockP.h: ... here.
2304 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
2305 * sysdeps/nptl/bits/stdio-lock.h: ... here.
2306 * nptl/sysdeps/pthread/configure: Moved ...
2307 * sysdeps/nptl/configure: ... here.
2308 * nptl/sysdeps/pthread/configure.ac: Moved ...
2309 * sysdeps/nptl/configure.ac: ... here.
2310 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
2311 * sysdeps/nptl/gai_misc.h: ... here.
2312 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
2313 * sysdeps/nptl/librt-cancellation.c: ... here.
2314 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
2315 * sysdeps/nptl/malloc-machine.h: ... here.
2316 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
2317 * sysdeps/nptl/pthread-functions.h: ... here.
2318 * nptl/sysdeps/pthread/pthread.h: Moved ...
2319 * sysdeps/nptl/pthread.h: ... here.
2320 * nptl/sysdeps/pthread/setxid.h: Moved ...
2321 * sysdeps/nptl/setxid.h: ... here.
2322 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
2323 * sysdeps/nptl/sigfillset.c: ... here.
2324 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
2325 * sysdeps/nptl/tcb-offsets.h: ... here.
2326 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
2327 * sysdeps/nptl/tst-mqueue8x.c: ... here.
2328 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
2329 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
2330 * nptl/sysdeps/pthread/allocalim.h: Moved ...
2331 * sysdeps/pthread/allocalim.h: ... here.
2332 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
2333 * sysdeps/pthread/bits/sigthread.h: ... here.
2334 * nptl/sysdeps/pthread/flockfile.c: Moved ...
2335 * sysdeps/pthread/flockfile.c: ... here.
2336 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
2337 * sysdeps/pthread/ftrylockfile.c: ... here.
2338 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
2339 * sysdeps/pthread/funlockfile.c: ... here.
2340 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
2341 * sysdeps/pthread/posix-timer.h: ... here.
2342 * nptl/sysdeps/pthread/timer_create.c: Moved ...
2343 * sysdeps/pthread/timer_create.c: ... here.
2344 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
2345 * sysdeps/pthread/timer_delete.c: ... here.
2346 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
2347 * sysdeps/pthread/timer_getoverr.c: ... here.
2348 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
2349 * sysdeps/pthread/timer_gettime.c: ... here.
2350 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
2351 * sysdeps/pthread/timer_routines.c: ... here.
2352 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
2353 * sysdeps/pthread/timer_settime.c: ... here.
2354 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
2355 * sysdeps/pthread/tst-timer.c: ... here.
2356 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
2357 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
2359 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
2360 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
2362 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
2363 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
2364 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
2365 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
2366 Update #include target.
2367 * nptl/sysdeps/i386/i686/Makefile: Moved ...
2368 * sysdeps/i386/i686/nptl/Makefile: ... here.
2369 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
2370 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
2371 Update #include target.
2372 * nptl/sysdeps/i386/i686/tls.h: Moved ...
2373 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
2374 * nptl/sysdeps/i386/Makefile: Moved ...
2375 * sysdeps/i386/nptl/Makefile: ... here.
2376 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
2377 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
2378 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
2379 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
2380 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
2381 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
2382 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
2383 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
2384 * sysdeps/i386/nptl/pthreaddef.h: ... here.
2385 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
2386 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
2387 * nptl/sysdeps/i386/tls.h: Moved ...
2388 * sysdeps/i386/nptl/tls.h: ... here.
2390 * sysdeps/sh/Makefile [$(subdir) = csu]
2391 (gen-as-const-headers): Add tcb-offsets.sym.
2392 * nptl/sysdeps/sh/Makefile: File removed.
2393 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
2394 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
2395 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
2396 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
2397 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
2398 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
2399 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
2400 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
2401 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
2402 * sysdeps/sh/nptl/pthreaddef.h: ... here.
2403 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
2404 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
2405 * nptl/sysdeps/sh/tls.h: Moved ...
2406 * sysdeps/sh/nptl/tls.h: ... here.
2407 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
2408 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
2409 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
2410 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
2411 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
2412 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
2413 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
2414 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
2415 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
2416 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
2417 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
2418 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
2419 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
2420 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
2421 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
2422 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
2423 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
2424 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
2425 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
2426 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
2427 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
2428 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
2429 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
2430 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
2431 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
2433 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
2434 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
2436 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
2437 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
2438 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
2439 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
2440 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
2441 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
2442 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
2443 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
2444 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
2445 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
2446 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
2447 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
2448 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
2449 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
2450 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
2451 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
2452 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
2453 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
2454 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
2456 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
2458 * posix/spawn_faction_addopen.c: Include string.h.
2460 2014-06-11 Roland McGrath <roland@hack.frob.com>
2462 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
2463 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
2464 * nptl/sysdeps/x86_64/Makefile: Moved ...
2465 * sysdeps/x86_64/nptl/Makefile: ... here.
2466 * nptl/sysdeps/x86_64/configure: Moved ...
2467 * sysdeps/x86_64/nptl/configure: ... here.
2468 * nptl/sysdeps/x86_64/configure.ac: Moved ...
2469 * sysdeps/x86_64/nptl/configure.ac: ... here.
2470 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
2471 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
2472 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
2473 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
2474 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
2475 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
2476 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
2477 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
2478 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
2479 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
2480 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
2481 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
2482 * nptl/sysdeps/x86_64/tls.h: Moved ...
2483 * sysdeps/x86_64/nptl/tls.h: ... here.
2484 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
2485 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
2486 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
2487 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
2489 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
2491 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2493 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2495 2014-06-11 Joseph Myers <joseph@codesourcery.com>
2497 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
2499 [POSIX] (off_t): Likewise.
2500 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
2501 [POSIX] (S_ISBLK): Require macro.
2502 [POSIX] (S_ISCHR): Likewise.
2503 [POSIX] (S_ISDIR): Likewise.
2504 [POSIX] (S_ISFIFO): Likewise.
2505 [POSIX] (S_ISREG): Likewise.
2506 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
2508 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
2510 [POSIX] (time_t): Likewise.
2511 [POSIX] (timer_t): Likewise.
2513 2014-06-11 Florian Weimer <fweimer@redhat.com>
2516 * posix/spawn_int.h (struct __spawn_action): Make the path string
2517 non-const to support deallocation.
2518 * posix/spawn_faction_addopen.c
2519 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
2520 * posix/spawn_faction_destroy.c
2521 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
2522 path in all spawn_do_open actions.
2523 * posix/tst-spawn.c (do_test): Exercise the copy operation in
2524 posix_spawn_file_actions_addopen.
2526 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
2528 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
2529 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
2530 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
2531 conditional code always true.
2532 (__libc_vfork): New alias.
2534 2014-06-11 Roland McGrath <roland@hack.frob.com>
2536 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2537 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
2539 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
2541 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2542 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
2544 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2545 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
2547 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2548 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
2550 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2552 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
2553 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
2554 multiarch strcmp for PPC64.
2555 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
2556 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
2557 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
2558 multiarch optimizations.
2559 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2560 (__libc_ifunc_impl_list): Likewise.
2562 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2564 * benchtests/scripts/validate_benchout.py: New script.
2565 * benchtests/Makefile (bench-func): Call it.
2566 * benchtests/scripts/benchout.schema.json: New file.
2568 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
2570 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
2571 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
2572 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
2573 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
2574 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
2575 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
2576 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
2577 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
2578 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
2579 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
2580 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
2581 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
2582 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
2583 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
2584 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
2585 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
2586 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2588 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2590 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2592 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
2593 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2595 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2597 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2599 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2601 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2603 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
2604 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2606 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2608 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2610 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2612 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2614 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
2615 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2617 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2619 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2621 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2623 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2625 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2627 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2629 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
2630 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2632 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2634 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2636 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2638 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2640 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2642 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2644 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
2645 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2647 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2649 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2651 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2653 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2655 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
2656 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2658 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2660 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2662 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
2663 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2665 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
2666 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2668 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2670 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2672 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2674 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2676 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2678 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2680 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
2681 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2683 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2685 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2687 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2689 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
2690 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
2691 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
2692 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
2693 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2695 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2697 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
2698 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
2699 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
2700 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
2701 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
2702 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
2703 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
2704 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
2705 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
2706 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
2707 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
2708 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
2709 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2711 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
2712 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2714 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
2715 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
2716 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
2717 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2719 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
2720 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
2721 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
2722 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
2723 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
2724 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
2725 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2727 2014-06-10 Wilco <wdijkstr@arm.com>
2729 * math/test-fenv-return.c: New file.
2730 * math/Makefile: Add new test test-fenv-return.
2732 2014-06-10 Joseph Myers <joseph@codesourcery.com>
2735 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
2737 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
2738 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
2739 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
2740 0.0L for an argument of 1.0L.
2741 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
2743 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
2744 value when x - 1 is zero.
2745 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
2746 * sysdeps/i386/fpu/libm-test-ulps: Update.
2747 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2749 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
2752 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
2754 2014-06-09 Roland McGrath <roland@hack.frob.com>
2756 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
2757 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
2759 2014-06-09 Roland McGrath <roland@hack.frob.com>
2761 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2762 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
2764 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2765 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
2767 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2768 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
2770 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2771 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
2773 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
2774 if not already defined.
2775 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
2776 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
2777 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
2778 (TLS_INIT_TP): Use it.
2779 (TLS_DEFINE_INIT_TP): New macro.
2780 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
2782 2014-06-09 Joseph Myers <joseph@codesourcery.com>
2784 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
2786 [POSIX] (IXANY): Likewise.
2787 [POSIX] (OLCUC): Likewise.
2788 [POSIX || POSIX2008] (CBAUD): Do not allow.
2789 [POSIX || POSIX2008] (DEFECHO): Likewise.
2790 [POSIX || POSIX2008] (ECHOCTL): Likewise.
2791 [POSIX || POSIX2008] (ECHOKE): Likewise.
2792 [POSIX || POSIX2008] (ECHOPRT): Likewise.
2793 [POSIX || POSIX2008] (EXTA): Likewise.
2794 [POSIX || POSIX2008] (EXTB): Likewise.
2795 [POSIX || POSIX2008] (FLUSHO): Likewise.
2796 [POSIX || POSIX2008] (LOBLK): Likewise.
2797 [POSIX || POSIX2008] (PENDIN): Likewise.
2798 [POSIX || POSIX2008] (SWTCH): Likewise.
2799 [POSIX || POSIX2008] (VDISCARD): Likewise.
2800 [POSIX || POSIX2008] (VDSUSP): Likewise.
2801 [POSIX || POSIX2008] (VLNEXT): Likewise.
2802 [POSIX || POSIX2008] (VREPRINT): Likewise.
2803 [POSIX || POSIX2008] (VSTATUS): Likewise.
2804 [POSIX || POSIX2008] (VWERASE): Likewise.
2805 (B*): Change to B[0123456789]*.
2806 * conform/data/time.h-data [POSIX || UNIX98]
2807 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
2808 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
2809 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
2810 [POSIX] (tm_*): Do not allow.
2812 2014-06-07 Joseph Myers <joseph@codesourcery.com>
2814 * Makefile (install): Don't set LANGUAGE.
2815 * Makefile.in (install): Likewise.
2816 * assert/Makefile (test-assert-ENV): Remove variable.
2817 (test-assert-perr-ENV): Likewise.
2818 * elf/Makefile (neededtest4-ENV): Likewise.
2819 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2820 [$(cross-compiling) = no]: Don't set LANGUAGE.
2821 * io/ftwtest-sh (LANG): Remove variable.
2822 * libio/Makefile (tst-widetext-ENV): Likewise.
2823 * manual/install.texi (Running make install): Don't refer to
2824 environment settings for make install.
2825 * INSTALL: Regenerated.
2826 * nptl/tst-tls6.sh: Don't set LANG.
2827 * posix/globtest.sh (LANG): Remove variable.
2828 * string/Makefile (tester-ENV): Likewise.
2829 (inl-tester-ENV): Likewise.
2830 (noinl-tester-ENV): Likewise.
2831 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2832 [$(cross-compiling) = no]: Don't set LANGUAGE.
2833 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
2834 without explicit environment settings.
2836 2014-06-06 Roland McGrath <roland@hack.frob.com>
2838 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
2839 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
2840 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
2841 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
2843 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
2845 * crypt/crypt-private.h [DOS]: Add some includes taken from the
2846 other files in the crypt directory.
2847 * crypt/crypt.c: Remove duplicate includes.
2848 * crypt/crypt-entry.c: Likewise.
2849 * crypt/crypt_util.c: Likewise.
2851 2014-06-06 Joseph Myers <joseph@codesourcery.com>
2853 * Makeconfig (run-program-env): New variable.
2854 (run-program-prefix-before-env): Likewise.
2855 (run-program-prefix-after-env): Likewise.
2856 (run-program-prefix): Define in terms of new variables.
2857 (built-program-cmd-before-env): New variable.
2858 (built-program-cmd-after-env): Likewise.
2859 (built-program-cmd): Define in terms of new variables.
2860 (test-program-prefix-before-env): New variable.
2861 (test-program-prefix-after-env): Likewise.
2862 (test-program-prefix): Define in terms of new variables.
2863 (test-program-cmd-before-env): New variable.
2864 (test-program-cmd-after-env): Likewise.
2865 (test-program-cmd): Define in terms of new variables.
2866 * Rules (make-test-out): Use $(run-program-env).
2867 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
2868 (help): Do not mention environment variables. Mention
2869 --timeoutfactor option.
2870 (timeoutfactor): New variable.
2871 (blacklist_exports): Remove function.
2872 (exports): Remove variable.
2873 (command): Do not include ${exports}.
2874 * manual/install.texi (Configuring and compiling): Do not mention
2875 test wrappers preserving environment variables. Mention that last
2876 assignment to a variable must take precedence.
2877 * INSTALL: Regenerated.
2878 * benchtests/Makefile (run-bench): Use $(run-program-env).
2879 * catgets/Makefile ($(objpfx)test1.cat): Use
2880 $(built-program-cmd-before-env), $(run-program-env) and
2881 $(built-program-cmd-after-env).
2882 ($(objpfx)test2.cat): Do not specify environment variables
2884 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
2885 $(run-program-env) and $(built-program-cmd-after-env).
2886 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
2887 $(run-program-env) and $(test-program-cmd-after-env).
2888 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
2890 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
2891 run_program_env and test_program_cmd_after_env arguments.
2892 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
2893 * elf/tst-pathopt.sh: Use run_program_env argument.
2894 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
2895 $(test-wrapper-env) and $(run-program-env).
2896 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
2897 run_program_env arguments.
2898 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
2899 * intl/Makefile ($(objpfx)tst-gettext.out): Use
2900 $(test-program-prefix-before-env), $(run-program-env) and
2901 $(test-program-prefix-after-env).
2902 ($(objpfx)tst-gettext2.out): Likewise.
2903 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
2904 run_program_env and test_program_prefix_after_env arguments.
2905 * intl/tst-gettext2.sh: Likewise.
2906 * intl/tst-gettext4.sh: Do not set environment variables
2908 * intl/tst-gettext6.sh: Likewise.
2909 * intl/tst-translit.sh: Likewise.
2910 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
2911 $(test-program-prefix-before-env), $(run-program-env) and
2912 $(test-program-prefix-after-env).
2913 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
2914 run_program_env and test_program_prefix_after_env arguments.
2915 * math/Makefile (run-regen-ulps): Use $(run-program-env).
2916 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
2917 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
2918 explicitly with each use of ${test_wrapper_env}.
2919 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
2920 $(test-program-prefix-before-env), $(run-program-env) and
2921 $(test-program-prefix-after-env).
2922 * posix/tst-getconf.sh: Do not set environment variables
2924 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
2925 run_program_env and test_program_prefix_after_env arguments.
2926 * stdio-common/tst-printf.sh: Do not set environment variables
2928 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
2929 $(test-program-prefix-before-env), $(run-program-env) and
2930 $(test-program-prefix-after-env).
2931 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
2932 run_program_env and test_program_prefix_after_env arguments.
2933 Split $test calls into $test_pre and $test.
2934 * timezone/Makefile (build-testdata): Use
2935 $(built-program-cmd-before-env), $(run-program-env) and
2936 $(built-program-cmd-after-env).
2938 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2940 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
2941 strlen for non SHARED builds.
2943 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2945 * nptl/allocatestack.c (check_list): Inlined function...
2946 (__reclaim_stacks): ... here.
2948 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
2951 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
2954 2014-06-05 Joseph Myers <joseph@codesourcery.com>
2956 * Rules (make-test-out): Include
2957 LOCPATH=$(common-objpfx)localedata in default environment.
2958 * debug/Makefile (tst-chk1-ENV): Remove variable.
2959 (tst-chk2-ENV): Likewise.
2960 (tst-chk3-ENV): Likewise.
2961 (tst-chk4-ENV): Likewise.
2962 (tst-chk5-ENV): Likewise.
2963 (tst-chk6-ENV): Likewise.
2964 (tst-lfschk1-ENV): Likewise.
2965 (tst-lfschk2-ENV): Likewise.
2966 (tst-lfschk3-ENV): Likewise.
2967 (tst-lfschk4-ENV): Likewise.
2968 (tst-lfschk5-ENV): Likewise.
2969 (tst-lfschk6-ENV): Likewise.
2970 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
2971 (tst-iconv7-ENV): Likewise.
2972 * intl/Makefile (LOCPATH-ENV): Likewise.
2973 (tst-codeset-ENV): Likewise.
2974 (tst-gettext3-ENV): Likewise.
2975 (tst-gettext5-ENV): Likewise.
2976 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
2977 (tst-fopenloc-ENV): Likewise.
2978 (tst-fgetws-ENV): Remove variable.
2979 (tst-ungetwc1-ENV): Likewise.
2980 (tst-ungetwc2-ENV): Likewise.
2981 (bug-ungetwc2-ENV): Likewise.
2982 (tst-swscanf-ENV): Likewise.
2983 (bug-ftell-ENV): Likewise.
2984 (tst-fgetwc-ENV): Likewise.
2985 (tst-fseek-ENV): Likewise.
2986 (tst-ftell-partial-wide-ENV): Likewise.
2987 (tst-ftell-active-handler-ENV): Likewise.
2988 (tst-ftell-append-ENV): Likewise.
2989 * posix/Makefile (tst-fnmatch-ENV): Likewise.
2990 (tst-regexloc-ENV): Likewise.
2991 (bug-regex1-ENV): Likewise.
2992 (tst-regex-ENV): Likewise.
2993 (tst-regex2-ENV): Likewise.
2994 (bug-regex5-ENV): Likewise.
2995 (bug-regex6-ENV): Likewise.
2996 (bug-regex17-ENV): Likewise.
2997 (bug-regex18-ENV): Likewise.
2998 (bug-regex19-ENV): Likewise.
2999 (bug-regex20-ENV): Likewise.
3000 (bug-regex22-ENV): Likewise.
3001 (bug-regex23-ENV): Likewise.
3002 (bug-regex25-ENV): Likewise.
3003 (bug-regex26-ENV): Likewise.
3004 (bug-regex30-ENV): Likewise.
3005 (bug-regex32-ENV): Likewise.
3006 (bug-regex33-ENV): Likewise.
3007 (bug-regex34-ENV): Likewise.
3008 (bug-regex35-ENV): Likewise.
3009 (tst-rxspencer-ENV): Likewise.
3010 (tst-rxspencer-no-utf8-ENV): Likewise.
3011 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
3012 (tst-sscanf-ENV): Likewise.
3013 (tst-swprintf-ENV): Likewise.
3014 (tst-swscanf-ENV): Likewise.
3015 (test-vfprintf-ENV): Likewise.
3016 (scanf13-ENV): Likewise.
3017 (bug14-ENV): Likewise.
3018 (tst-grouping-ENV): Likewise.
3019 * stdlib/Makefile (tst-strtod-ENV): Likewise.
3020 (tst-strtod3-ENV): Likewise.
3021 (tst-strtod4-ENV): Likewise.
3022 (tst-strtod5-ENV): Likewise.
3023 (testmb2-ENV): Likewise./
3024 * string/Makefile (tst-strxfrm-ENV): Likewise.
3025 (tst-strxfrm2-ENV): Likewise.
3026 (bug-strcoll1-ENV): Likewise.
3027 (test-strcasecmp-ENV): Likewise.
3028 (test-strncasecmp-ENV): Likewise.
3029 * time/Makefile (tst-strptime-ENV): Likewise.
3030 (tst-ftime_l-ENV): Likewise.
3031 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
3032 (tst-mbrtowc-ENV): Likewise.
3033 (tst-wcrtomb-ENV): Likewise.
3034 (tst-mbrtowc2-ENV): Likewise.
3035 (tst-c16c32-1-ENV): Likewise.
3036 (tst-mbsnrtowcs-ENV): Likewise.
3038 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
3040 * manual/resource.texi (How to get information about the memory
3041 subsystem?): Fix typo.
3042 Reported by Peon de la Parra Ivan <peon@keba.com>
3044 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
3047 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
3048 (pthread_spin_lock): Branch out of spin loop to proper location.
3049 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
3050 (pthread_spin_lock): Likewise.
3052 * nptl/tst-spin4.c: New test.
3053 * nptl/Makefile (tests): Add tst-spin4.
3055 2014-06-03 Andreas Schwab <schwab@suse.de>
3058 * resolv/res_send.c (send_dg): Reload file descriptor after
3061 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
3063 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3065 2014-06-03 Richard Henderson <rth@redhat.com>
3067 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
3068 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
3069 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
3070 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
3071 in the SAVE_PID block.
3072 (__libc_vfork): New alias.
3073 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
3075 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
3076 child in registers, not on the stack. Remove RESET_PID conditionals.
3077 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
3079 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
3081 * sysdeps/aarch64/libm-test-ulps: Regenerate.
3083 2014-06-03 Wilco <wdijkstr@arm.com>
3085 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
3086 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
3087 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3088 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
3089 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
3092 2014-06-03 Wilco <wdijkstr@arm.com>
3094 * sysdeps/aarch64/fpu/math_private.h
3095 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
3096 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
3097 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
3098 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3101 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3103 * crypt/crypt-private.h: Include ufc-crypt.h.
3104 (__b64_from_24bit): Declare extern.
3105 * crypt/crypt_util.c(__b64_from_24bit): New function.
3106 (b64t): New static const variable.
3107 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
3108 (b64t): Remove variable.
3109 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
3110 * crypt/sha256-crypt.c: Include crypt-private.h.
3111 (b64t): Remove variable.
3112 (__sha256_crypt_r): Remove b64_from_24bit and replace
3113 with __b64_from_24bit.
3114 * crypt/sha512-crypt.c: Likewise.
3116 2014-06-02 Roland McGrath <roland@hack.frob.com>
3118 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
3119 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
3120 Label the code __libc_vfork rather than __vfork.
3121 [!NOT_IN_libc] (vfork): Define as weak alias.
3122 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
3123 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
3124 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
3126 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3128 * malloc/malloc.c (malloc_info): Fix format specifier for
3131 2014-06-02 Wilco <wdijkstr@arm.com>
3133 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
3136 2014-06-02 Wilco <wdijkstr@arm.com>
3139 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
3140 Rewrite to reduce FPCR/FPSR accesses.
3142 2014-06-01 David S. Miller <davem@davemloft.net>
3144 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3146 2014-05-31 David S. Miller <davem@davemloft.net>
3148 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
3149 to occur in round to nearest mode when |x| >= 2.0
3151 2014-05-30 Richard Henderson <rth@twiddle.net>
3153 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
3154 (PSEUDO_RET_NOERRNO): Remove.
3155 (ret): Don't redefine.
3156 (ret_NOERRNO): Define in terms of ret.
3157 (ret_ERRVAL): Likewise.
3159 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
3160 use of PSEUDO_RET; perform the error check directly.
3162 2014-05-30 Marko Myllynen <myllynen@redhat.com>
3164 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
3167 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3169 * malloc/malloc (malloc_info): Fix formatting.
3171 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3172 Roland McGrath <roland@hack.frob.com>
3174 * malloc/malloc (malloc_info): Also print mmapped statistics.
3176 2014-05-30 Roland McGrath <roland@hack.frob.com>
3178 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
3179 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
3181 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
3183 * malloc/malloc.c (malloc_info): Inline mi_arena.
3185 2014-05-29 Richard Henderson <rth@twiddle.net>
3187 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
3188 Remove comma before expanding ASM_ARGS_##nr.
3189 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
3190 Make _x0 a strict output; make _x8 a strict input; adjust expansion
3192 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
3193 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
3194 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
3195 (ASM_ARGS_1): Add leading comma.
3197 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
3198 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
3199 to __errno_location.
3200 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
3201 Remove the expected plt for __errno_location.
3203 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3204 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
3207 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3208 Always allocate 64 bytes of stack frame. Use ldp/stp to create
3209 it and break it down.
3210 (DOCARGS_0, DOCARGS_1): Do nothing.
3211 (DOCARGS_2): Update to store into the new stack frame.
3212 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
3213 (UNDOCARGS_1): Update to restore from the new stack frame.
3214 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
3215 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
3217 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3218 (SINGLE_THREAD_P): New parameter for result regno.
3219 (PSEUDO): Update to match; use cbz instead of beq.
3221 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3222 Use ENTRY to define the _nocancel entry point. Share the syscall
3223 and syscall error check paths with the cancel path.
3226 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
3227 whitespace; tabs before and after asm mnemonics.
3229 2014-05-29 Eric Wong <normalperson@yhbt.net>
3232 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
3233 Call fstat64 or stat64 internally, depending on arguments passed.
3234 Replace stat buffer argument with file descriptor argument.
3235 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
3236 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
3237 Pass fd to __internal_statvfs instead of calling fstat64.
3238 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
3239 Pass fd to __internal_statvfs64 instead of calling fstat64.
3240 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
3241 Pass -1 to __internal_statvfs instead of calling stat64.
3242 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
3243 Pass -1 to __internal_statvfs64 instead of calling stat64.
3245 2014-05-28 Roland McGrath <roland@hack.frob.com>
3247 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
3248 that was previously under [RESET_PID].
3249 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
3251 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
3252 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
3254 2014-05-27 Roland McGrath <roland@hack.frob.com>
3256 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
3258 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
3259 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
3261 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
3263 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
3265 2014-05-27 Andreas Schwab <schwab@suse.de>
3267 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
3269 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
3270 * elf/rtld.c (init_tls, dl_main): Likewise.
3271 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
3272 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
3273 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
3274 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
3275 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
3276 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
3277 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
3278 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
3279 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
3280 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
3281 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
3282 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
3283 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
3284 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
3285 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
3286 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
3287 * sysdeps/generic/tls.h: Update description.
3289 2014-05-27 Will Newton <will.newton@linaro.org>
3292 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
3293 and restore r2 rather than just restoring.
3295 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3298 * libio/tst-ftell-append.c: New test case.
3299 * libio/Makefile (tests): Add test case.
3300 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
3302 * libio/wfileops.c (do_ftell_wide): Likewise.
3304 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3306 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3308 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
3310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
3311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
3312 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
3313 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
3314 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
3315 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
3316 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
3317 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
3318 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
3320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
3321 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
3323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
3324 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
3325 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
3326 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
3327 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
3328 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
3330 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
3331 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
3333 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
3335 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
3337 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
3338 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
3339 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
3341 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
3342 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
3343 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
3344 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
3346 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
3348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
3349 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
3351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
3352 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
3354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
3355 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
3357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
3359 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
3361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
3362 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
3364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
3366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
3367 conditional [RESET_PID].
3368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
3369 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
3371 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
3374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
3376 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3377 (__libc_vfork): New strong alias.
3378 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
3380 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
3383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
3385 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
3386 (__libc_vfork): New strong alias.
3387 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
3389 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
3392 2014-05-26 Carlos O'Donell <carlos@redhat.com>
3394 * malloc/malloc.c (mi_arena): New function.
3395 (malloc_info): Remove nested function mi_arena. Call non-nosted
3398 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3400 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
3402 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
3403 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
3404 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
3405 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
3406 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
3407 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
3408 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
3410 2014-05-26 Andreas Schwab <schwab@suse.de>
3413 * locale/programs/repertoire.c (repertoire_read): Add slash
3414 between I18NPATH element and file name.
3415 * locale/programs/locfile.c (locfile_read): Likewise.
3417 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
3419 * nptl/pthread_mutexattr_settype.c
3420 (__pthread_mutexattr_settype):
3421 Disable lock elision for PTHREAD_MUTEX_NORMAL.
3423 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
3425 * nptl/tst-mutex5 (do_test):
3426 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
3428 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3430 * benchtests/README: Document 'init' directive.
3431 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
3433 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
3434 (parse_file): Recognize 'init' directive.
3436 2014-05-26 Kyle McMartin <kyle@redhat.com>
3439 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
3440 alignment of struct pthread.
3442 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3445 * nscd/netgroupcache.c (addgetnetgrentX): Look for
3446 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3447 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
3448 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3450 2014-05-25 Richard Henderson <rth@twiddle.net>
3452 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3453 (SINGLE_THREAD_P_PIC): Remove.
3454 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
3455 (SINGLE_THREAD_P_PIC): Remove.
3457 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
3458 branch to syscall error ...
3460 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
3461 from __local_syscall_error to .Lsyscall_error.
3462 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
3463 (SYSCALL_ERROR): Update label name.
3465 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3466 Do not use DOARGS/UNDOARGS.
3467 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
3468 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
3469 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
3470 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
3471 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
3473 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
3476 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
3477 define if !NOT_IN_libc.
3478 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
3479 define with non-default symbol versions.
3481 2014-05-23 Richard Henderson <rth@twiddle.net>
3483 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
3484 (vfork, __vfork): Define via compat_symbol.
3486 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
3487 [!HAVE_IFUNC] (vfork_compat): Remove.
3488 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
3490 2014-05-23 Joseph Myers <joseph@codesourcery.com>
3493 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
3494 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
3497 2014-05-23 Richard Henderson <rth@twiddle.net>
3499 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
3500 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
3501 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
3502 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
3504 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
3505 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
3506 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
3507 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
3508 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
3509 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
3510 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
3511 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
3512 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
3513 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
3514 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
3515 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
3516 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
3517 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
3518 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
3519 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
3520 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
3521 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
3522 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
3523 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
3524 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
3525 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
3526 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
3527 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
3528 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
3529 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
3530 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
3531 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
3532 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
3533 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
3534 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
3535 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
3536 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
3537 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
3538 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
3539 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
3540 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
3541 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
3542 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
3543 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
3544 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
3545 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
3546 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
3547 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
3548 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
3549 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
3550 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
3551 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
3552 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
3553 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
3554 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
3555 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
3556 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
3557 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
3558 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
3559 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
3561 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
3562 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
3563 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
3564 before exiting on error.
3565 (__libc_vfork): New strong alias.
3566 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
3567 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
3569 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
3570 that was previously under [RESET_PID].
3571 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
3573 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
3575 2014-05-23 Joseph Myers <joseph@codesourcery.com>
3578 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
3579 value when x - 1 is zero.
3580 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
3581 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
3582 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
3583 0.0L for an argument of 1.0L.
3584 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
3586 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
3587 value when x - 1 is zero.
3588 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
3589 * sysdeps/i386/fpu/libm-test-ulps: Update.
3590 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3592 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3594 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
3595 alphasort and versionsort.
3597 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3599 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
3601 [copysignf]: Likewise.
3603 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3605 * crypt/md5-crypt.c: Fix formatting.
3607 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3609 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
3610 (b64_from_24bit): New function.
3612 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3614 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
3615 libc_hidden_builtin_def to ifunc.
3616 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
3617 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
3619 2014-05-21 Roland McGrath <roland@hack.frob.com>
3621 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
3622 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
3624 2014-05-21 Joseph Myers <joseph@codesourcery.com>
3626 * nscd/Depend (linuxthreads): Remove.
3628 * resolv/Depend (linuxthreads): Remove.
3629 * rt/Depend (linuxthreads): Remove.
3631 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
3632 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
3633 $(common-objpfx)elf/.
3634 (link-libc-before-gnulib): Likewise.
3635 (elfobjdir): Remove variable.
3636 * Makefile (install): Use $(elf-objpfx) instead of
3637 $(common-objpfx)elf/.
3638 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
3640 (link-libc-deps): Likewise.
3641 ($(common-objpfx)libc.so): Likewise.
3642 ($(common-objpfx)linkobj/libc.so): Likewise.
3643 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
3644 instead of $(common-objpfx)elf/.
3645 (symbolic-link-list): Likewise.
3646 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3647 [$(cross-compiling) = no]: Likewise.
3648 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
3650 (static-gnulib-arch): Likewise.
3651 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3652 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
3653 $(common-objpfx)elf/.
3655 2014-05-21 Richard Henderson <rth@redhat.com>
3657 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3658 (SINGLE_THREAD_P): Use the correct width load. Fold
3659 into the ldr offset.
3661 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
3662 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
3664 2014-05-20 Joseph Myers <joseph@codesourcery.com>
3666 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
3667 (libgcc_s_resume): Use __attribute_used__.
3668 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
3671 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3673 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
3674 optimization when used with float constants.
3676 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3678 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
3681 * locale/nl_langinfo_l.c: Make direct reference to every
3682 _nl_current_CATEGORY symbol.
3683 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
3684 (tests-static): Add tst-langinfo-static.
3685 (tests-special): Add tst-langinfo-static.out.
3686 ($(objpfx)tst-langinfo.out): Redirect output.
3687 ($(objpfx)tst-langinfo-static.out): New.
3688 * localedata/tst-langinfo.sh: Send output to stdout.
3689 * localedata/tst-langinfo-static.c: New file.
3692 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
3693 when the shift amount is modulo the limb size.
3695 2014-05-20 Richard Henderson <rth@redhat.com>
3698 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
3699 Change type of sa_flags from unsigned int to int.
3702 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
3704 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
3706 2014-05-20 Will Newton <will.newton@linaro.org>
3708 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3709 Test the return value of the system call in the nocancel case.
3711 2014-05-20 Will Newton <will.newton@linaro.org>
3712 Yvan Roux <yvan.roux@linaro.org>
3714 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
3715 #include of asm/ptrace.h.
3716 (PTRACE_GET_THREAD_AREA): Remove #undef.
3717 (PTRACE_GETHBPREGS): Likewise.
3718 (PTRACE_SETHBPREGS): Likewise.
3719 (struct user_regs_struct): New structure.
3720 (struct user_fpsimd_struct): New structure.
3721 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
3722 #include of asm/ptrace.h and second #include of sys/user.h.
3723 (PTRACE_GET_THREAD_AREA): Remove #undef.
3724 (PTRACE_GETHBPREGS): Likewise.
3725 (PTRACE_SETHBPREGS): Likewise.
3726 (ELF_NGREG): Use new struct user_regs_struct.
3727 (elf_fpregset_t): Use new struct user_fpsimd_struct.
3729 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3731 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
3732 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
3734 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3737 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
3738 membar to avoid block loads/stores to overlap previous stores.
3740 2014-05-17 Richard Henderson <rth@redhat.com>
3742 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
3743 Create the __##syscall_name##_nocancel entry point.
3744 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
3745 Remove; let the sysdep-cancel.h code create it.
3747 2014-05-17 David S. Miller <davem@davemloft.net>
3749 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
3750 Protect with __USE_GNU.
3751 (TIOCSET_TEMPT): Likewise.
3752 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
3753 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
3754 these are already provided in bits/ioctl-types.h
3756 2014-05-16 Roland McGrath <roland@hack.frob.com>
3758 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
3759 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
3761 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
3762 Use wait4 regardless of [__NR_waitpid].
3764 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
3767 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
3768 (_FP_NANSIGN_Q): Set the quiet bit.
3770 2014-05-16 Joseph Myers <joseph@codesourcery.com>
3772 * benchtests/Makefile
3773 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
3774 not $(common-objpfx)math/libm.so.
3775 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
3776 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
3777 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
3778 $(common-objpfx)dlfcn/libdl.so.
3779 ($(objpfx)tst-audit8): Depend on $(libm), not
3780 $(common-objpfx)math/libm.so.
3781 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
3782 not $(common-objpfx)dlfcn/libdl.so.
3784 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
3785 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
3786 [$(build-shared) = yes].
3787 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
3788 $(common-objpfx)nptl/libpthread.so.
3789 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
3790 $(common-objpfx)math/libm.so$(libm.so-version) or
3791 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
3792 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
3793 $(common-objpfx)dlfcn/libdl.so.
3794 * setjmp/Makefile (link-libm): Remove variable.
3795 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
3796 * stdio-common/Makefile (link-libm): Remove variable.
3797 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
3798 * stdlib/Makefile (link-libm): Remove variable.
3799 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
3800 ($(objpfx)tst-strtod-round): Likewise.
3801 ($(objpfx)tst-tininess): Likewise.
3802 ($(objpfx)tst-strtod-underflow): Likewise.
3803 ($(objpfx)tst-strtod6): Likewise.
3804 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
3805 $(libdl), not $(common-objpfx)nptl/libpthread.so and
3806 $(common-objpfx)dlfcn/libdl.so.
3808 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3810 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
3811 BSD terminal modes definitions.
3813 2014-05-16 Roland McGrath <roland@hack.frob.com>
3815 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
3816 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
3818 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
3819 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
3820 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
3821 Don't do #include_next.
3822 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
3823 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
3824 Don't do #include_next.
3825 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
3826 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
3827 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
3828 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
3830 2014-05-16 Allan McRae <allan@archlinux.org>
3832 * po/sv.po: Update Swedish translation from translation project.
3834 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
3837 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
3840 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
3841 errno if the TIOCGPTN ioctl fails with an error different than
3843 * login/tst-ptsname.c: New file.
3844 * login/Makefile (tests): Add tst-ptsname.
3847 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
3850 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3853 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
3854 herrno to return EAI_AGAIN.
3856 2014-05-14 Roland McGrath <roland@hack.frob.com>
3858 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
3859 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
3860 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
3861 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
3862 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
3863 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
3864 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
3865 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
3866 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
3867 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
3868 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
3869 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
3870 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
3871 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
3872 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
3873 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
3874 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
3875 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
3876 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
3877 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
3878 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
3879 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
3880 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
3881 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
3882 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
3883 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
3884 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
3885 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
3886 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
3887 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
3888 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
3889 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
3890 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
3891 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
3892 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
3894 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
3895 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
3896 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
3897 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
3898 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
3899 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
3900 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
3901 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
3902 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
3903 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
3904 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
3905 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
3906 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
3907 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
3908 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
3909 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
3910 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
3911 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
3912 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
3913 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
3914 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
3915 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
3916 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
3917 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
3918 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
3919 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
3920 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
3921 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
3923 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
3924 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
3925 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
3926 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
3927 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
3928 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
3929 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
3930 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
3931 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
3932 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
3933 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
3934 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
3935 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
3936 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
3937 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
3938 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
3939 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
3940 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
3941 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
3942 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
3944 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
3945 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
3946 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
3948 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
3949 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
3950 (libpthread-sysdep_routines): Add elision-related stuff here instead.
3951 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
3952 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
3953 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
3954 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
3955 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
3956 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
3957 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
3958 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
3959 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
3960 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
3961 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
3962 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
3963 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
3964 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
3965 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
3966 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
3967 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
3968 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
3969 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
3970 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
3971 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
3972 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
3973 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
3974 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
3975 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
3976 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
3977 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
3978 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
3980 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
3981 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
3983 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
3984 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
3985 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
3986 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
3987 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
3988 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
3990 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
3991 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
3993 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
3994 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
3996 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
3997 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
3999 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
4000 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
4001 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
4002 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
4004 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
4005 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
4006 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
4007 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
4008 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
4009 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
4010 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
4011 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
4013 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
4014 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4016 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4018 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
4019 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
4020 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
4021 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
4022 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4024 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4026 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
4028 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
4029 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
4030 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
4031 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
4032 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
4033 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
4035 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
4036 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
4038 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
4039 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
4041 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
4042 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
4044 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
4045 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
4046 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
4047 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
4049 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
4050 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
4051 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
4052 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
4053 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
4054 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
4055 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
4056 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
4058 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
4059 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4061 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4063 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
4064 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
4065 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
4066 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
4067 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4069 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4071 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
4073 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
4074 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
4075 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
4076 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
4077 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
4078 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
4079 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
4080 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
4081 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
4082 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
4084 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
4085 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
4087 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
4088 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
4090 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
4091 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
4093 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
4094 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
4095 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
4096 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
4097 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
4098 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
4100 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
4101 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
4102 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
4103 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
4104 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
4105 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
4106 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
4107 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
4109 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
4110 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4112 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4114 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
4115 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
4116 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
4117 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
4118 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4120 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4122 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
4124 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
4125 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
4126 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
4127 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
4128 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
4129 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
4130 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
4131 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
4132 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
4133 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
4134 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
4136 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
4137 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
4139 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
4140 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
4142 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
4143 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
4144 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
4145 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
4146 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
4147 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
4148 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
4149 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
4150 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
4151 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
4152 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
4153 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
4154 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
4155 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
4156 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
4157 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
4158 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
4159 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
4161 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
4162 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
4163 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
4164 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
4166 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
4167 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
4168 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
4169 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
4170 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
4171 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
4172 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
4173 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
4175 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
4176 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
4178 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
4179 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
4180 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
4181 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
4182 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
4183 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
4184 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
4185 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
4186 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
4187 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
4188 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
4189 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
4190 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
4191 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
4192 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
4193 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
4194 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
4196 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
4197 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
4198 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
4199 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
4200 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
4202 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
4203 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
4204 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
4205 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
4206 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
4207 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
4208 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
4209 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
4210 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
4211 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
4213 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
4214 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
4216 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
4217 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
4218 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
4219 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
4220 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
4221 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
4222 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
4223 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
4224 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
4225 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
4226 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
4227 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
4228 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
4229 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
4230 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
4232 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
4234 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4236 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4238 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4240 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
4242 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
4244 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
4246 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
4248 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
4250 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
4251 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
4252 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
4253 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
4254 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
4255 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
4256 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
4257 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
4258 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
4259 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
4260 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
4261 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
4262 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
4263 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
4264 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
4266 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
4267 that was previously under [RESET_PID].
4268 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
4269 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
4270 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
4272 * sysdeps/i386/nptl/Implies: New file.
4273 * sysdeps/x86_64/nptl/Implies: New file.
4274 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
4275 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
4276 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
4277 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
4279 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
4280 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4281 (__libc_vfork): New strong alias.
4282 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
4283 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
4285 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
4286 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4287 (__libc_vfork): New strong alias.
4288 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
4289 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
4291 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
4292 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4293 (__libc_vfork): New strong alias.
4294 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
4295 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
4296 * nptl/pt-vfork.c: New file.
4297 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
4298 (libpthread: GLIBC_2.20): New version set (empty).
4300 2014-05-14 Will Newton <will.newton@linaro.org>
4302 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
4305 2014-05-14 Joseph Myers <joseph@codesourcery.com>
4308 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
4309 arguments with exponent 65 or above.
4310 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
4311 arguments 0x1p113L or above.
4312 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
4313 to arguments 0x1p107L or above.
4314 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
4315 positive arguments with exponent 65 or above.
4316 * math/auto-libm-test-in: Add more tests of log1p.
4317 * math/auto-libm-test-out: Regenerated.
4320 * math/s_cacos.c (__cacos): Ensure zero real part of result from
4321 non-finite arguments is +0.
4322 * math/s_cacosf.c (__cacosf): Likewise.
4323 * math/s_cacosl.c (__cacosl): Likewise.
4324 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
4325 * sysdeps/i386/fpu/libm-test-ulps: Update.
4326 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4329 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
4331 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
4332 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
4333 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
4334 for explicit high bit of mantissa when testing for argument equal
4336 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
4337 * sysdeps/i386/fpu/libm-test-ulps: Update.
4338 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4341 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
4342 (__erf): Scale by 16 instead of 8 in potentially underflowing
4343 case. Ensure exception if result actually underflows.
4344 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
4345 (__erff): Scale by 16 instead of 8 in potentially underflowing
4346 case. Ensure exception if result actually underflows.
4347 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
4348 (efx8): Remove variable.
4349 (__erfl): Scale by 16 instead of 8 in potentially underflowing
4350 case. Ensure exception if result actually underflows.
4351 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
4352 (efx8): Remove variable.
4353 (__erfl): Scale by 16 instead of 8 in potentially underflowing
4354 case. Ensure exception if result actually underflows.
4355 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
4356 (efx8): Remove variable.
4357 (__erfl): Scale by 16 instead of 8 in potentially underflowing
4358 case. Ensure exception if result actually underflows.
4359 * math/auto-libm-test-in: Add more tests of erf.
4360 * math/auto-libm-test-out: Regenerated.
4362 2014-05-14 Andreas Schwab <schwab@suse.de>
4364 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
4365 Remove code conditionalized on USE___THREAD.
4367 * config.h.in (HAVE_PT_CHOWN): Define as 0.
4368 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
4371 2014-05-14 Joseph Myers <joseph@codesourcery.com>
4373 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
4374 Define unconditionally.
4375 (__ASSUME_O_CLOEXEC): Likewise.
4376 (__ASSUME_SOCK_CLOEXEC): Likewise.
4377 (__ASSUME_IN_NONBLOCK): Likewise.
4378 (__ASSUME_PIPE2): Likewise.
4379 (__ASSUME_EVENTFD2): Likewise.
4380 (__ASSUME_SIGNALFD4): Likewise.
4381 (__ASSUME_DUP3): Likewise.
4382 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4383 (__ASSUME_DUP3): Do not define.
4384 (__ASSUME_EVENTFD2): Likewise.
4385 (__ASSUME_IN_NONBLOCK): Likewise.
4386 (__ASSUME_O_CLOEXEC): Likewise.
4387 (__ASSUME_PIPE2): Likewise.
4388 (__ASSUME_SIGNALFD4): Likewise.
4389 (__ASSUME_SOCK_CLOEXEC): Likewise.
4390 (__ASSUME_UTIMES): Undefine.
4391 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4392 (__ASSUME_UTIMES): Do not define.
4393 (__ASSUME_O_CLOEXEC): Likewise.
4394 (__ASSUME_SOCK_CLOEXEC): Likewise.
4395 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
4396 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
4398 (__ASSUME_PIPE2): Likewise.
4399 (__ASSUME_EVENTFD2): Likewise.
4400 (__ASSUME_SIGNALFD4): Likewise.
4401 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
4402 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
4404 (__ASSUME_EVENTFD2): Likewise.
4405 (__ASSUME_SIGNALFD4): Likewise.
4406 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4407 (__ASSUME_32BITUIDS): Likewise.
4408 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
4409 (__ASSUME_IPC64): Likewise.
4410 (__ASSUME_ST_INO_64_BIT): Likewise.
4411 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
4412 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
4413 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4414 (__ASSUME_UTIMES): Do not define.
4415 (__ASSUME_PSELECT): Likewise.
4416 (__ASSUME_PPOLL): Likewise.
4417 (__ASSUME_O_CLOEXEC): Likewise.
4418 (__ASSUME_SOCK_CLOEXEC): Likewise.
4419 (__ASSUME_IN_NONBLOCK): Likewise.
4420 (__ASSUME_PIPE2): Likewise.
4421 (__ASSUME_EVENTFD2): Likewise.
4422 (__ASSUME_SIGNALFD4): Likewise.
4423 (__ASSUME_DUP3): Likewise.
4424 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4425 (__ASSUME_UTIMES): Likewise.
4426 (__ASSUME_O_CLOEXEC): Likewise.
4427 (__ASSUME_SOCK_CLOEXEC): Likewise.
4428 (__ASSUME_IN_NONBLOCK): Likewise.
4429 (__ASSUME_PIPE2): Likewise.
4430 (__ASSUME_EVENTFD2): Likewise.
4431 (__ASSUME_SIGNALFD4): Likewise.
4432 (__ASSUME_DUP3): Likewise.
4433 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4434 (__ASSUME_UTIMES): Likewise.
4435 (__ASSUME_O_CLOEXEC): Likewise.
4436 (__ASSUME_SOCK_CLOEXEC): Likewise.
4437 (__ASSUME_IN_NONBLOCK): Likewise.
4438 (__ASSUME_PIPE2): Likewise.
4439 (__ASSUME_EVENTFD2): Likewise.
4440 (__ASSUME_SIGNALFD4): Likewise.
4441 (__ASSUME_DUP3): Likewise.
4442 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
4444 (__ASSUME_UTIMES): Likewise.
4445 (__ASSUME_EVENTFD2): Likewise.
4446 (__ASSUME_SIGNALFD4): Likewise.
4447 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4448 (__ASSUME_O_CLOEXEC): Likewise.
4449 (__ASSUME_SOCK_CLOEXEC): Likewise.
4450 (__ASSUME_IN_NONBLOCK): Likewise.
4451 (__ASSUME_PIPE2): Likewise.
4452 (__ASSUME_EVENTFD2): Likewise.
4453 (__ASSUME_SIGNALFD4): Likewise.
4454 (__ASSUME_DUP3): Likewise.
4455 (__ASSUME_UTIMES): Undefine.
4457 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
4458 feclearexcept. Remove symbol versioning code.
4459 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
4460 symbol versioning code.
4461 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
4462 symbol versioning code.
4463 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
4464 feupdateenv. Remove symbol versioning code.
4465 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
4466 fegetexceptflag. Remove symbol versioning code.
4467 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
4468 fesetexceptflag. Remove symbol versioning code.
4469 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
4470 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
4471 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
4472 (__posix_fadvise64_l32): Remove prototype.
4473 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
4476 2014-05-13 Roland McGrath <roland@hack.frob.com>
4478 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
4479 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
4480 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
4481 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
4483 2014-05-13 Sami Kerola <kerolasa@iki.fi>
4485 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
4486 current working directory
4488 2014-05-13 Roland McGrath <roland@hack.frob.com>
4490 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
4491 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
4492 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
4493 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
4494 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
4495 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
4496 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
4497 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
4498 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
4499 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
4500 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
4501 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
4502 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
4503 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
4504 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
4505 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
4506 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
4507 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
4508 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
4509 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
4510 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
4511 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
4512 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
4513 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
4514 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
4515 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
4516 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
4517 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
4518 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
4519 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
4520 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
4521 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
4522 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
4523 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
4524 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
4525 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
4526 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
4527 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
4528 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
4529 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
4530 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
4531 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
4533 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
4534 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
4536 * sysdeps/unix/sysv/linux/arm/Makefile
4537 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
4538 Add rt-aeabi_unwind_cpp_pr1.
4539 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
4540 Add nptl-aeabi_unwind_cpp_pr1.
4541 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
4542 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
4543 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
4544 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
4545 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
4546 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
4548 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
4549 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
4550 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
4551 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
4553 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
4554 Deconditionalize the code that was previously under [RESET_PID].
4555 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
4557 * sysdeps/generic/exit-thread.h: New file.
4558 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
4559 * include/unistd.h (__exit_thread): Remove declaration.
4560 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
4561 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
4562 * csu/libc-start.c: Include <exit-thread.h>.
4563 (LIBC_START_MAIN): Pass no argument to __exit_thread.
4564 * nptl/pthread_create.c: Include <exit-thread.h>.
4565 (start_thread): Call __exit_thread in place of __exit_thread_inline.
4566 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
4567 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
4568 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
4569 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
4570 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
4571 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
4572 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
4573 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
4574 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
4575 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
4576 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
4577 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
4578 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
4579 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
4580 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
4581 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
4583 2014-05-13 Andreas Schwab <schwab@suse.de>
4585 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
4587 2014-05-12 Joseph Myers <joseph@codesourcery.com>
4589 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
4590 (__ASSUME_UTIMES): Do not condition on kernel version.
4591 (__ASSUME_PSELECT): Define unconditionally.
4592 (__ASSUME_PPOLL): Likewise.
4593 (__ASSUME_ATFCTS): Likewise.
4594 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
4595 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
4596 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
4597 (__ASSUME_UTIMENSAT): Define unconditionally.
4598 (__ASSUME_PRIVATE_FUTEX): Likewise.
4599 (__ASSUME_FALLOCATE): Likewise.
4600 (__ASSUME_O_CLOEXEC): Likewise.
4601 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
4602 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
4603 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
4604 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
4605 (__ASSUME_IN_NONBLOCK): Likewise.
4606 (__ASSUME_PIPE2): Likewise.
4607 (__ASSUME_EVENTFD2): Likewise.
4608 (__ASSUME_SIGNALFD4): Likewise.
4609 (__ASSUME_DUP3): Likewise.
4610 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4611 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
4612 (__ASSUME_AT_RANDOM): Likewise.
4613 (__ASSUME_PREADV): Likewise.
4614 (__ASSUME_PWRITEV): Likewise.
4615 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
4616 (__ASSUME_F_GETOWN_EX): Define unconditionally.
4617 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
4618 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
4619 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
4620 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4621 (__ASSUME_O_CLOEXEC): Define unconditionally.
4622 (__ASSUME_PSELECT): Do not undefine conditionally.
4623 (__ASSUME_PPOLL): Likewise.
4624 (__ASSUME_ATFCTS): Likewise.
4625 (__ASSUME_SET_ROBUST_LIST): Likewise.
4626 (__ASSUME_UTIMENSAT): Likewise.
4627 (__ASSUME_FDATASYNC): Define unconditionally.
4628 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4629 (__ASSUME_SIGFRAME_V2): Likewise.
4630 )__ASSUME_EVENTFD2): Likewise.
4631 (__ASSUME_SIGNALFD4): Likewise.
4632 (__ASSUME_PSELECT): Do not undefine conditionally.
4633 (__ASSUME_PPOLL): Likewise.
4634 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4635 (__ASSUME_PSELECT): Define unconditionally.
4636 (__ASSUME_PPOLL): Likewise.
4637 (__ASSUME_O_CLOEXEC): Likewise.
4638 (__ASSUME_SOCK_CLOEXEC): Likewise.
4639 (__ASSUME_IN_NONBLOCK): Likewise.
4640 (__ASSUME_PIPE2): Likewise.
4641 (__ASSUME_EVENTFD2): Likewise.
4642 (__ASSUME_SIGNALFD4): Likewise.
4643 (__ASSUME_DUP3): Likewise.
4644 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4645 (__ASSUME_O_CLOEXEC): Likewise.
4646 (__ASSUME_SOCK_CLOEXEC): Likewise.
4647 (__ASSUME_IN_NONBLOCK): Likewise.
4648 (__ASSUME_PIPE2): Likewise.
4649 (__ASSUME_EVENTFD2): Likewise.
4650 (__ASSUME_SIGNALFD4): Likewise.
4651 (__ASSUME_DUP3): Likewise.
4652 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4653 (__ASSUME_EVENTFD2): Likewise.
4654 (__ASSUME_SIGNALFD4): Likewise.
4655 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4657 2014-05-12 Andreas Schwab <schwab@suse.de>
4660 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
4661 (_nss_nis_gethostbyname4_r): Return error if item length is larger
4662 than maximum RPC packet size.
4663 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
4664 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
4665 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
4666 (_nss_nis_getservbyport_r): Likewise.
4668 2014-05-12 Will Newton <will.newton@linaro.org>
4670 * malloc/Makefile (tests): Add tst-mallopt.
4671 * malloc/tst-mallopt.c: New file.
4673 2014-05-09 Roland McGrath <roland@hack.frob.com>
4675 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
4676 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
4678 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4680 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
4681 (tst-tlsmod6.so): Likewise.
4683 2014-05-09 Roland McGrath <roland@hack.frob.com>
4685 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
4687 2014-05-09 Joseph Myers <joseph@codesourcery.com>
4690 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
4691 and <dl-procinfo.h>.
4692 (__fegetenv): Save SSE state in envp->__eip if supported.
4693 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
4694 envp->__eip if supported.
4695 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
4696 and <dl-procinfo.h>.
4697 (__fesetenv): Always set __eip, __cs_selector, __opcode,
4698 __data_offset and __data_selector in environment to 0. Set SSE
4700 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
4702 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
4704 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
4706 2014-05-09 Will Newton <will.newton@linaro.org>
4708 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
4709 and libc_relro_required for ARM.
4710 * sysdeps/arm/preconfigure: Regenerate.
4712 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
4713 Stefan Liebler <stli@linux.vnet.ibm.com>
4715 * config.make.in (enable-lock-elision): New Makefile variable.
4716 * configure.ac: Likewise.
4717 * configure: Regenerate.
4718 * sysdeps/s390/configure.ac:
4719 Add check for gcc transactions support.
4720 * sysdeps/s390/configure: Regenerate.
4721 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
4722 Build elision files if enabled.
4723 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
4724 Add lock elision support for s390.
4725 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
4726 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
4727 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
4728 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
4729 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
4730 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
4731 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
4733 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
4735 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
4737 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
4739 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
4740 (__lll_timedlock_elision, __lll_lock_elision)
4741 (__lll_unlock_elision, __lll_trylock_elision)
4742 (lll_timedlock_elision, lll_lock_elision)
4743 (lll_unlock_elision, lll_trylock_elision): Add.
4744 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4745 (pthread_mutex_t): Add lock elision support for s390.
4747 2014-05-14 Wilco <wdijkstr@arm.com>
4749 * sysdeps/arm/fclrexcpt.c: Cleanup.
4750 * sysdeps/arm/fedisblxcpt.c: Cleanup.
4751 * sysdeps/arm/feenablxcpt.c: Cleanup.
4752 * sysdeps/arm/fegetenv.c: Cleanup.
4753 * sysdeps/arm/fegetexcept.c: Cleanup.
4754 * sysdeps/arm/fegetround.c: Cleanup.
4755 * sysdeps/arm/feholdexcpt.c: Cleanup.
4756 * sysdeps/arm/fesetenv.c: Cleanup.
4757 * sysdeps/arm/fesetround.c: Cleanup.
4758 * sysdeps/arm/feupdateenv.c: Cleanup.
4759 * sysdeps/arm/fgetexcptflg.c: Cleanup.
4760 * sysdeps/arm/fraiseexcpt.c: Cleanup.
4761 * sysdeps/arm/fsetexcptflg.c: Cleanup.
4762 * sysdeps/arm/ftestexcept.c: Cleanup.
4763 * sysdeps/arm/get-rounding-mode.h: Cleanup.
4764 * sysdeps/arm/setfpucw.c: Cleanup.
4766 2014-05-09 Will Newton <will.newton@linaro.org>
4768 * sysdeps/arm/armv7/strcmp.S: New file.
4769 * NEWS: Mention addition of ARMv7 optimized strcmp.
4771 2014-05-08 Roland McGrath <roland@hack.frob.com>
4773 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
4774 look for %.ac rather than %.in.
4776 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
4777 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
4778 * sysdeps/mach/hurd/configure: Regenerated.
4779 * sysdeps/unix/sysv/linux/configure: Regenerated.
4781 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
4783 2014-05-07 Steve Ellcey <sellcey@mips.com>
4786 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
4790 2014-05-07 Andreas Schwab <schwab@suse.de>
4792 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
4793 when skipping over non-matching result from nscd.
4795 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
4798 * nptl/sockperf.c (client): Check socket return value.
4801 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
4802 nscd security class.
4804 2014-05-06 Roland McGrath <roland@hack.frob.com>
4806 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
4807 * sysdeps/arm/unwind.h: ... here.
4809 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
4812 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
4815 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4817 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
4818 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
4819 multiarch strncpy for PPC64.
4820 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
4821 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
4822 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
4823 multiarch optimizations.
4824 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4825 (__libc_ifunc_impl_list): Likewise.
4826 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
4827 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
4828 multiarch stpncpy for PPC64.
4829 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
4830 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
4832 2014-05-06 Andreas Schwab <schwab@suse.de>
4835 * gmon/mcount.c (_MCOUNT_DECL): Use
4836 atomic_compare_and_exchange_bool_acq instead of
4837 catomic_compare_and_exchange_bool_acq.
4839 2014-05-05 Roland McGrath <roland@hack.frob.com>
4841 * elf/Makefile (others, install-bin): Remove pldd.
4842 (pldd-modules): Variable removed.
4843 ($(objpfx)pldd): Target removed.
4844 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
4845 (others, install-bin): Append pldd here.
4846 ($(objpfx)pldd): New target.
4848 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
4849 to 0, so the first #if test emitted later doesn't see it undefined.
4850 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
4851 * sysdeps/gnu/errlist.c: Regenerated.
4853 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4855 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
4856 [libc_hidden_builtin_def]: Define to empty value.
4857 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
4858 [libc_hidden_builtin_def]: Likewise.
4859 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
4860 [libc_hidden_builtin_def]: Likewise.
4861 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
4862 [libc_hidden_builtin_def]: Likewise.
4863 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
4864 __redirect_memcpy and define ifunc as default hidden symbol.
4865 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
4866 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
4868 2014-05-04 Adam Conrad <adconrad@0c3.net>
4870 * locale/iso-4217.def: Reintroduce XDR currency.
4872 2014-05-04 Allan McRae <allan@archlinux.org>
4874 * po/eo.po: Update Esperanto translation from translation project.
4876 2014-05-02 Carlos O'Donell <carlos@redhat.com>
4878 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
4879 and FEATURE_INDEX_MAX to 1.
4880 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
4882 2014-05-01 Steve Ellcey <sellcey@mips.com>
4884 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
4885 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
4886 * iconvdata/big5.c (ONE_DIRECTION): Define.
4887 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
4888 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
4889 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
4890 * iconvdata/cp932.c (ONE_DIRECTION): Define.
4891 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
4892 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
4893 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
4894 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
4895 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
4896 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
4897 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
4898 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
4899 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
4900 * iconvdata/gbk.c (ONE_DIRECTION): Define.
4901 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
4902 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
4903 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
4904 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
4905 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
4906 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
4907 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
4908 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
4909 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
4910 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
4911 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
4912 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
4913 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
4914 * iconvdata/iso646.c (ONE_DIRECTION): Define.
4915 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
4916 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
4917 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
4918 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
4919 * iconvdata/johab.c (ONE_DIRECTION): Define.
4920 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
4921 * iconvdata/sjis.c (ONE_DIRECTION): Define.
4922 * iconvdata/t.61.c (ONE_DIRECTION): Define.
4923 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
4924 * iconvdata/tscii.c (ONE_DIRECTION): Define.
4925 * iconvdata/uhc.c (ONE_DIRECTION): Define.
4926 * iconvdata/unicode.c (ONE_DIRECTION): Define.
4927 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
4928 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
4929 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
4931 2014-05-01 Roland McGrath <roland@hack.frob.com>
4933 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
4934 (_IO_JUMPS_OFFSET): Define to 0.
4936 * nptl/sysdeps/pthread/bits/libc-lock.h
4937 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
4938 (__libc_lock_define_initialized_recursive): Always define using
4939 initializer. Modern compilers treat uninitialized (implicit zero) and
4940 explicit zero initializers the same (i.e. put the datum in bss).
4942 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
4944 * nscd/nscd-client.h: Include <string.h>.
4946 2014-05-01 David S. Miller <davem@davemloft.net>
4949 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
4950 multiple zero bytes exist at the end of a string.
4951 Reported by Aurelien Jarno <aurelien@aurel32.net>
4953 * string/test-strcmp.c (check): Add explicit test for situations where
4954 there are multiple zero bytes after the first.
4956 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
4959 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
4960 when compiling wprintf.
4961 * stdio-common/tstdiomisc.c (t3): New function.
4964 2014-05-01 Steve Ellcey <sellcey@mips.com>
4966 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
4967 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
4968 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
4969 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
4971 2014-05-01 Steve Ellcey <sellcey@mips.com>
4973 * stdlib/longlong.h: Updated from GCC.
4975 2014-05-01 Will Newton <will.newton@linaro.org>
4976 Bernard Ogden <bernie.ogden@linaro.org>
4978 * NEWS: Update fixed bug list.
4981 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
4983 2014-04-30 David S. Miller <davem@davemloft.net>
4985 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
4986 (libc_feholdexcept_setround_sparc_ctx): New function.
4987 (libc_fesetenv_sparc_ctx): Likewise.
4988 (libc_feupdateenv_sparc_ctx): Likewise.
4989 (libc_feholdsetround_sparc_ctx): Likewise.
4990 (libc_feholdexcept_setround_ctx): Define.
4991 (libc_feholdexcept_setroundf_ctx): Likewise.
4992 (libc_feholdexcept_setroundl_ctx): Likewise.
4993 (libc_fesetenv_ctx): Likewise.
4994 (libc_fesetenvf_ctx): Likewise.
4995 (libc_fesetenvl_ctx): Likewise.
4996 (libc_feupdateenv_ctx): Likewise.
4997 (libc_feupdateenvf_ctx): Likewise.
4998 (libc_feupdateenvl_ctx): Likewise.
4999 (libc_feresetround_ctx): Likewise.
5000 (libc_feresetroundf_ctx): Likewise.
5001 (libc_feresetroundl_ctx): Likewise.
5002 (libc_feholdsetround_ctx): Likewise.
5003 (libc_feholdsetroundf_ctx): Likewise.
5004 (libc_feholdsetroundl_ctx): Likewise.
5006 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5007 with __USE_GNU instead of XOPEN cpp guards.
5009 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
5012 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5013 with XOPEN cpp guards.
5015 2014-04-30 Julian Brown <julian@codesourcery.com>
5018 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
5021 2014-04-30 Joseph Myers <joseph@codesourcery.com>
5024 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
5026 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
5027 * sysdeps/unix/sysv/linux/configure: Regenerated.
5028 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
5029 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
5030 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
5031 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
5032 * README: Update reference to required Linux kernel version.
5033 * manual/install.texi (Linux): Update reference to required Linux
5034 kernel headers version.
5035 * INSTALL: Regenerated.
5037 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
5039 [POSIX] (limits.h): Likewise.
5040 [POSIX] (math.h): Likewise.
5041 [POSIX] (sys/wait.h): Likewise.
5042 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
5044 [POSIX] (stddef.h): Do not allow header inclusion.
5046 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5048 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
5050 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
5052 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
5053 Return immediately after lll_futex_wake.
5055 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5058 * nscd/nscd-client.h (datahead_init_common): Initialize entire
5060 (datahead_init_pos): Call datahead_init_common early.
5061 (datahead_init_neg): Likewise.
5063 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
5064 datahead_init_neg): New functions.
5065 * nscd/aicache.c (addhstaiX): Use them.
5066 * nscd/grpcache.c (cache_addgr): Likewise.
5067 * nscd/hstcache.c (cache_addhst): Likewise.
5068 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5069 * nscd/netgroupcache.c (do_notfound): Likewise.
5070 (addgetnetgrentX): Likewise.
5071 (addinnetgrX): Likewise.
5072 * nscd/pwdcache.c (cache_addpw): Likewise.
5073 * nscd/servicescache.c (cache_addserv): Likewise.
5075 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5076 Atsushi Onoe <atsushi@onoe.org>
5081 * resolv/res_query.c (__libc_res_nsearch): Return if at least
5082 one response is valid.
5083 * resolv/res_send.c (send_dg): Check for validity of other
5084 response if the current response is a referral.
5086 2014-04-29 Steve Ellcey <sellcey@mips.com>
5088 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
5090 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
5093 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
5094 Always divide by positive zero when computing -Inf result.
5095 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
5096 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
5098 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5100 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
5101 FPSCR if value do not change.
5102 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
5103 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
5104 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
5105 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
5106 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
5107 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
5110 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
5112 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
5113 * sysdeps/unix/sysv/linux/hppa: Move directory from
5114 ports/systeps/unix/sysv/linux/hppa.
5115 * README: Update listing for hppa-*-linux-gnu.
5117 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
5120 * manual/stdio.texi (Hook functions): Fix types of stream hook
5123 * socket/sys/socket.h: Fix typo in comment.
5125 2014-04-28 Wilco <wdijkstr@arm.com>
5127 * sysdeps/arm/fenv_private.h: New file.
5128 * sysdeps/arm/math_private.h: New file.
5129 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
5131 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
5133 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
5135 (La_x86_64_retval): Likewise.
5137 2014-04-24 Ian Bolton <ian.bolton@arm.com>
5139 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
5140 fpsr if value didn't change.
5141 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
5142 to fpcr if value didn't change.
5143 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
5144 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
5145 fpsr or fpcr if value didn't change.
5146 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
5147 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
5148 fpcr if value didn't change.
5149 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
5150 to fpsr if value didn't change.
5152 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5154 * nptl/tst-sem3.c: Use test-skeleton.c
5155 (main): Rename to do_test. Use return instead of
5157 * nptl/tst-sem4.c: Use test-skeleton.c
5158 (main): Rename to do_test.
5160 2014-04-22 David S. Miller <davem@davemloft.net>
5162 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
5163 (struct sigaction): New struct member __glibc_reserved0, change
5164 type of sa_flags to int.
5166 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
5168 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
5169 (COUNT_LEADING_ZEROS_0): Define for AArch64.
5171 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5173 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
5174 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
5176 2014-04-22 Will Newton <will.newton@linaro.org>
5177 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
5179 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
5180 (__longjmp): Add longjmp and longjmp_target SystemTap
5182 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
5183 (__sigsetjmp): Add setjmp SystemTap probe.
5185 2014-04-17 Carlos O'Donell <carlos@redhat.com>
5187 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
5190 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5192 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
5194 * sysdeps/powerpc/fpu/fenv_private.h
5195 (libc_feholdexcept_setroundl_ctx): Define to
5196 libc_feholdexcept_setround_ppc_ctx.
5197 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
5198 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
5199 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
5200 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
5202 2014-04-17 Ian Bolton <ian.bolton@arm.com>
5204 * sysdeps/aarch64/math-tests.h: New file.
5206 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
5208 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
5210 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5211 Check and set bit_AVX2_Usable.
5212 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
5214 (bit_AVX2): Likewise.
5215 (index_AVX2_Usable): Likewise.
5216 (CPUID_AVX2): Likewise.
5217 (HAS_AVX2): Likewise.
5219 2014-04-17 Will Newton <will.newton@linaro.org>
5221 * manual/setjmp.texi (System V contexts): Add note that
5222 calling setcontext on a context created by a call to a
5223 signal handler is undefined. Update text to note that
5224 setcontext from a signal handler is possible but not
5228 * stdlib/tst-setcontext.c: Include signal.h.
5229 (main): Check that the signal stack before and
5230 after swapcontext is the same.
5232 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
5233 Re-implement to restore registers in user code and avoid
5234 rt_sigreturn system call.
5236 2014-04-17 Wilco <wdijkstr@arm.com>
5238 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
5239 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
5240 * math/test-fenv.c: Skip exception trap tests on targets which only
5241 support non-stop mode.
5243 2014-04-17 Ian Bolton <ian.bolton@arm.com>
5244 Wilco Dijkstra <wilco.dijkstra@arm.com>
5246 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
5247 (libc_feholdsetround_aarch64_ctx)
5248 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
5249 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
5250 (libc_feresetround_ctx, libc_feresetroundf_ctx)
5251 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
5252 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
5253 (libc_feresetround_noexl_ctx): Define.
5255 2014-04-16 Richard Henderson <rth@redhat.com>
5257 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
5259 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
5262 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
5263 const from the non-libc, non-ldso copy.
5265 * sysdeps/alpha/libm-test-ulps: Regenerate.
5267 2014-04-16 Ian Bolton <ian.bolton@arm.com>
5268 Wilco Dijkstra <wilco.dijkstra@arm.com>
5270 * sysdeps/aarch64/fpu/math_private.h: New file.
5272 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
5274 * sysdeps/aarch64/libm-test-ulps: Regenerate.
5276 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
5278 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
5279 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
5280 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
5281 Intel MPX bound registers before _dl_profile_fixup.
5282 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
5283 registers after _dl_profile_fixup. Save and restore bound
5284 registers bnd0/bnd1 when calling _dl_call_pltexit.
5285 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
5286 (LR_BND_OFFSET): Likewise.
5287 (LRV_BND0_OFFSET): Likewise.
5288 (LRV_BND1_OFFSET): Likewise.
5290 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
5292 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
5294 * sysdeps/mach/hurd/i386/tls.h: ... here.
5295 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
5296 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
5299 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
5301 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
5303 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
5305 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5307 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
5310 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
5311 * sysdeps/s390/configure: Regenerate.
5314 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
5315 Set round-to-nearest internally to reduce error accumulation.
5317 2014-04-16 Alan Modra <amodra@gmail.com>
5321 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
5322 * math/libm-test.inc (frexp_test_data): Add tests.
5323 * NEWS: Update fixed bug list.
5325 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5327 * benchtests/Makefile: Depend on libraries in build directory.
5328 (bench-math): Separate out math tests.
5329 (bench-pthread): Separate out pthread tests.
5330 (bench): Include math and pthread tests.
5332 2014-04-14 Carlos O'Donell <carlos@redhat.com>
5335 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
5336 _dl_debug_initialize.
5338 * configure.ac: Remove SELinux header check.
5339 * configure: Regenerate.
5340 * nscd/selinux.c (perms): Array of const char* to permission names.
5341 (nscd_request_avc_has_perm): Call security_deny_unknown to find
5342 default policy. Call string_to_security_class and string_to_av_perm to
5343 translate strings. Enforce default policy and call avs_has_perm with
5344 results of translated strings.
5346 2014-04-13 David S. Miller <davem@davemloft.net>
5348 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5350 2014-04-12 Allan McRae <allan@archlinux.org>
5353 * manual/string.texi (Collation Functions): Fix qsort argument
5355 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5357 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
5359 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
5360 Make the test a no-op if there are no exceptions defined.
5362 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
5364 * elf/Makefile (tests): make tst-dlopen-aout conditional on
5365 enable-hardcoded-path-in-tests
5367 2014-04-11 Will Newton <will.newton@linaro.org>
5369 * benchtests/Makefile (extra-objs): Add json-lib.o.
5370 (bench-func): Tidy up JSON output.
5371 * benchtests/bench-skeleton.c: Include json-lib.h.
5372 (main): Use JSON library functions to do output of
5374 * benchtests/bench-timing-type.c (main): Output the
5375 timing type simply, leaving formatting to the user.
5376 * benchtests/json-lib.c: New file.
5377 * benchtests/json-lib.h: Likewise.
5379 2014-04-11 Torvald Riegel <triegel@redhat.com>
5382 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
5383 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
5384 memory barriers. Add comments.
5385 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
5386 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
5387 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
5388 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
5389 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
5390 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
5392 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
5394 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
5395 * sysdeps/s390/s390-64/configure.ac: ... this ...
5396 * sysdeps/s390/configure.ac: ... to here.
5397 * sysdeps/s390/s390-32/configure: Delete file.
5398 * sysdeps/s390/s390-64/configure: Delete file.
5399 * sysdeps/s390/configure: Regenerate.
5401 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
5403 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
5405 2014-04-11 Will Newton <will.newton@linaro.org>
5407 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
5408 to zero if it is not defined elsewhere. (mtrim): Test
5409 the value of MALLOC_DEBUG with #if rather than #ifdef.
5411 2014-04-10 Torvald Riegel <triegel@redhat.com>
5413 * benchtests/pthread_once-inputs: New file.
5414 * benchtests/pthread_once-source.c: New file.
5415 * benchtests/README: Update documentation.
5417 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
5418 H.J. Lu <hongjiu.lu@intel.com>
5420 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
5421 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
5422 * sysdeps/x86_64/configure: Regenerated.
5423 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
5425 (REGISTER_SAVE_RAX): Likewise.
5426 (REGISTER_SAVE_RCX): Likewise.
5427 (REGISTER_SAVE_RDX): Likewise.
5428 (REGISTER_SAVE_RSI): Likewise.
5429 (REGISTER_SAVE_RDI): Likewise.
5430 (REGISTER_SAVE_R8): Likewise.
5431 (REGISTER_SAVE_R9): Likewise.
5432 (REGISTER_SAVE_BND0): Likewise.
5433 (REGISTER_SAVE_BND1): Likewise.
5434 (REGISTER_SAVE_BND2): Likewise.
5435 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
5436 bound registers when calling _dl_fixup.
5438 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5440 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
5441 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
5443 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
5444 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
5445 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
5446 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
5447 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
5448 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
5449 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
5451 2014-04-09 Peter Brett <peter@peter-b.co.uk>
5454 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
5455 pathconf(_PC_NAME_MAX).
5457 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5459 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
5461 (__PTHREAD_SPINS): Move definition to ...
5462 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5463 (__PTHREAD_SPINS): ... here.
5464 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5465 (__PTHREAD_SPIN): Likewise.
5466 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
5467 (__PTHREAD_SPIN): Likewise.
5468 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
5469 (__PTHREAD_SPIN): Likewise.
5470 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
5471 (__PTHREAD_SPIN): Likewise.
5472 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
5473 (__PTHREAD_SPIN): Likewise.
5474 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
5475 (__PTHREAD_SPIN): Likewise.
5476 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
5477 (__PTHREAD_SPIN): Likewise.
5478 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
5479 (__PTHREAD_SPIN): Likewise.
5480 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
5481 (__PTHREAD_SPIN): Likewise.
5482 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
5483 (__PTHREAD_SPIN): Likewise.
5484 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
5485 (__PTHREAD_SPIN): Likewise.
5486 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
5487 (__PTHREAD_SPIN): Likewise.
5489 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
5490 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
5491 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
5492 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
5494 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
5495 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
5496 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
5497 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
5499 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
5500 strlen symbol for non multi-arch builds.
5501 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
5502 missing hidden_def and weak_alias.
5504 2014-04-08 Carlos O'Donell <carlos@redhat.com>
5506 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
5508 2014-04-07 Will Newton <will.newton@linaro.org>
5510 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
5511 and contents. [!_LIBC] Remove #ifndef and contents.
5512 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
5513 * string/memccpy.c (__memccpy): Use ANSI prototype.
5514 * string/memfrob.c (memfrob): Likewise.
5515 * string/strcoll.c (STRCOLL): Likewise.
5516 * string/strlen.c (strlen): Likewise.
5517 * string/strtok.c (STRTOK): Likewise.
5518 * string/strcat.c: Remove unused #include of memcopy.h.
5519 (strcat): Use ANSI prototype.
5520 * string/strchr.c: Remove unused #include of memcopy.h.
5521 (strchr): Use ANSI prototype.
5522 * string/strcmp.c: Remove unused #include of memcopy.h.
5523 (strcmp): Use ANSI prototype.
5524 * string/strcpy.c: Remove unused #include of memcopy.h.
5525 (strcpy): Use ANSI prototype.
5527 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5529 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
5530 * config.make.in (config-extra-cppflags): Set it from
5531 libc_extra_cppflags.
5532 * configure.ac (libc_extra_cflags): Make it accumulate over
5533 configure fragments.
5534 (libc_extra_cppflags): New flag.
5535 * configure. Regenerate.
5536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
5537 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
5538 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
5539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
5542 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
5543 result for FE_DOWNWARD rounding mode.
5544 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
5546 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5548 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
5550 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
5551 in function argument name.
5553 2014-04-03 David Svoboda <svoboda@cert.org>
5556 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
5559 2014-04-03 Roland McGrath <roland@hack.frob.com>
5561 * elf/dl-unmap-segments.h: New file.
5562 * sysdeps/generic/ldsodefs.h
5563 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
5564 * elf/dl-close.c: Include <dl-unmap-segments.h>.
5565 * elf/dl-fptr.c: Likewise.
5566 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
5567 * sysdeps/aarch64/tlsdesc.c: Likewise.
5568 * sysdeps/arm/tlsdesc.c: Likewise.
5569 * sysdeps/i386/tlsdesc.c: Likewise.
5570 * sysdeps/tile/dl-runtime.c: Likewise.
5571 * sysdeps/x86_64/tlsdesc.c: Likewise.
5572 * elf/dl-load.h: New file.
5573 * elf/dl-load.c: Include it.
5574 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
5575 Macros moved to dl-load.h.
5576 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
5577 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
5578 Use _dl_unmap_segments in place of __munmap.
5579 Break out segment-mapping loop into ...
5580 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
5582 2014-04-03 Will Newton <will.newton@linaro.org>
5584 * elf/dl-lookup.c (do_lookup_x): Remove comment
5585 referring to nested function and move variable
5586 declarations down to before first use.
5588 2014-04-02 Joseph Myers <joseph@codesourcery.com>
5592 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
5594 * math/s_catanf.c (__catanf): Likewise.
5595 * math/s_catanh.c (__catanh): Likewise.
5596 * math/s_catanhf.c (__catanhf): Likewise.
5597 * math/s_catanhl.c (__catanhl): Likewise.
5598 * math/s_catanl.c (__catanl): Likewise.
5599 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
5600 by positive zero when computing -Inf result.
5601 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
5602 (catanh_test): Likewise.
5603 * sysdeps/i386/fpu/libm-test-ulps: Update.
5604 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5607 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
5608 instead of using underflowing value in computing result.
5609 * math/s_clog10.c (__clog10): Likewise.
5610 * math/s_clog10f.c (__clog10f): Likewise.
5611 * math/s_clog10l.c (__clog10l): Likewise.
5612 * math/s_clogf.c (__clogf): Likewise.
5613 * math/s_clogl.c (__clogl): Likewise.
5614 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
5615 (clog10_test): Likewise.
5616 * sysdeps/i386/fpu/libm-test-ulps: Update.
5617 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5619 2014-04-02 Alan Modra <amodra@gmail.com>
5622 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
5623 output when value is near a power of two. Use int64_t for lx and
5624 remove casts. Use decimal rather than hex exponent constants.
5625 Don't use long double multiplication when double will suffice.
5626 * math/libm-test.inc (nextafter_test_data): Add tests.
5627 * NEWS: Add 16739 and 16786 to bug list.
5629 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
5631 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
5633 2014-04-01 Will Newton <will.newton@linaro.org>
5635 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
5636 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
5638 2014-04-01 Florian Weimer <fweimer@redhat.com>
5641 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
5642 * nptl/tst-setuid2.c: New file.
5643 * nptl/Makefile (xtests): Add tst-setuid2.
5645 2014-04-01 Alan Modra <amodra@gmail.com>
5648 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
5650 2014-03-31 Joseph Myers <joseph@codesourcery.com>
5654 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
5655 set errno as appropriate.
5656 * math/w_scalbf.c (__scalbf): Likewise.
5657 * math/w_scalbl.c (__scalbl): Likewise.
5658 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
5659 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
5660 * math/libm-test.inc (scalb_test_data): Add errno expectations.
5664 * math/w_atan2.c: Include <errno.h>.
5665 (__atan2): Set errno for result underflowing to zero.
5666 * math/w_atan2f.c: Include <errno.h>.
5667 (__atan2f): Set errno for result underflowing to zero.
5668 * math/w_atan2l.c: Include <errno.h>.
5669 (__atan2l): Set errno for result underflowing to zero.
5670 * math/auto-libm-test-in: Don't allow missing errno for some atan2
5672 * math/auto-libm-test-out: Regenerated.
5674 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5676 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
5677 Encode instruction correctly in little endian.
5678 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
5680 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
5682 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
5684 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
5687 2014-03-31 Joseph Myers <joseph@codesourcery.com>
5690 * sysdeps/unix/sysv/linux/kernel-features.h
5691 [__sparc__ && !__arch64__ && !__sparc_v9__]
5692 (__ASSUME_SET_ROBUST_LIST): Do not define.
5693 [__sparc__ && !__arch64__ && !__sparc_v9__]
5694 (__ASSUME_FUTEX_LOCK_PI): Likewise.
5695 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
5697 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5698 (__ASSUME_FUTEX_LOCK_PI): Undefine.
5699 (__ASSUME_REQUEUE_PI): Likewise.
5700 (__ASSUME_SET_ROBUST_LIST): Likewise.
5701 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5702 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
5704 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5705 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
5707 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
5709 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
5711 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5712 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
5714 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
5715 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
5719 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5720 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
5721 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
5723 2014-03-31 Will Newton <will.newton@linaro.org>
5725 * benchtests/Makefile (bench): Add ffs and ffsll to list
5727 * benchtests/ffs-inputs: New file.
5728 * benchtests/ffsll-inputs: Likewise.
5730 2014-03-29 Joseph Myers <joseph@codesourcery.com>
5733 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
5734 too large before casting to int.
5735 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
5736 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
5737 * math/libm-test.inc (scalb_test_data): Add more tests.
5739 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5741 * benchtests/Makefile (DETAILED_OPT): New make option.
5742 (bench-func): Run benchmark program with -d if DETAILED_OPT is
5744 * benchtests/bench-skeleton.c: Include stdbool.h.
5745 (main): Store and print timings per input.
5746 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
5747 member to each argument value.
5748 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
5749 (_print_arg_data): Initialize per-input timing to 0.
5751 * benchtests/Makefile (timing-type): New binary.
5752 (bench-clean): Also remove bench-timing-type.
5753 (bench): New target for timing-type.
5754 (bench-func): Print output in JSON format.
5755 * benchtests/bench-skeleton.c (main): Print output in JSON
5757 * benchtests/bench-timing-type.c: New file.
5758 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
5759 (TIMING_PRINT_STATS): Remove.
5760 * benchtests/scripts/bench.py (_print_arg_data): Store variant
5763 * benchtests/bench-modf.c: Remove.
5764 * benchtests/modf-inputs: New inputs file.
5766 2014-03-28 Joseph Myers <joseph@codesourcery.com>
5769 * math/s_clog10.c (M_PI_LOG10E): New macro.
5770 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
5771 imaginary parts are 0.
5772 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
5773 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
5774 imaginary parts are 0.
5775 * math/s_clog10l.c (M_PI_LOG10El): New macro.
5776 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
5777 imaginary parts are 0.
5778 * math/libm-test.inc (clog10_test_data): Update expected results
5779 for when real and imaginary parts are 0.
5781 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
5783 * elf/dl-load.c: Finish conversion of __builtin_expect into
5786 2014-03-27 Joseph Myers <joseph@codesourcery.com>
5789 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
5790 1+x for argument with exponent below -67.
5791 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
5793 * math/auto-libm-test-in: Add more tests of exp.
5794 * math/auto-libm-test-out: Regenerated.
5796 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5799 * inet/getnetgrent_r.c (get_nonempty_val): New function.
5800 (nscd_getnetgrent): Use it.
5803 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
5806 2014-03-27 Andi Kleen <ak@linux.intel.com>
5808 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
5809 (lll_robust_lock, lll_cond_lock, lll_timedlock)
5810 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
5811 (lll_robust_unlock): Remove out of line section. Use cfi
5813 (LLL_STUB_UNWIND_INFO*): Remove.
5814 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
5815 (lll_robust_lock, lll_cond_lock, lll_timedlock)
5816 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
5817 (lll_robust_unlock): Remove out of line section. Use cfi
5819 (LLL_STUB_UNWIND_INFO*): Remove.
5821 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5824 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
5827 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
5829 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
5831 2014-03-26 Joseph Myers <joseph@codesourcery.com>
5834 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
5836 * math/test-fenv-preserve.c: New file.
5837 * math/Makefile (tests): Add test-fenv-preserve.
5839 2014-03-26 Will Newton <will.newton@linaro.org>
5841 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
5843 2014-03-25 Roland McGrath <roland@hack.frob.com>
5845 * scripts/versionlist.awk: Partition the version sets and emit all
5846 GLIBC_* (sorted) before all others (sorted).
5848 2014-03-25 Joseph Myers <joseph@codesourcery.com>
5850 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
5851 GLIBC_2.2.5 version.
5853 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5855 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
5858 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
5861 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5863 2014-03-25 Andreas Schwab <schwab@suse.de>
5865 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
5866 label to be used after in6ailist is initialized.
5868 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5870 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5871 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
5873 2014-03-25 Joseph Myers <joseph@codesourcery.com>
5877 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
5879 (fp_formats): Update initializers.
5880 (init_fp_formats): Initialize new field.
5881 (output_for_one_input_case): Allow underflow for results up to
5883 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
5884 * math/auto-libm-test-in: Don't mark some underflows from asin and
5886 * math/auto-libm-test-out: Regenerated.
5887 * sysdeps/i386/fpu/libm-test-ulps: Update.
5888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5890 2014-03-25 Andreas Schwab <schwab@suse.de>
5892 * libio/Makefile (tst-ftell-partial-wide-ENV)
5893 (tst-ftell-active-handler-ENV): Define.
5895 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
5897 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
5899 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
5901 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
5903 2014-03-24 Joseph Myers <joseph@codesourcery.com>
5905 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
5906 * sysdeps/x86_64/fpu/multiarch/e_exp.c
5907 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5909 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
5912 * elf/dl-load.c (open_verify): Add mode parameter.
5913 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
5914 (open_path): Change from boolean 'secure' to complete flag 'mode'
5915 (_dl_map_object): Adjust.
5916 * elf/Makefile (tests): Add tst-dlopen-aout.
5917 * elf/tst-dlopen-aout.c: New test.
5919 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
5922 * sysdeps/unix/sysv/linux/s390/bits/stat.h
5923 (struct stat): Rename member pad0 to __glibc_reserved0.
5926 * sysdeps/s390/s390-32/bits/wordsize.h
5927 (__WORDSIZE32_SIZE_ULONG): New define.
5928 * sysdeps/s390/s390-64/bits/wordsize.h
5929 (__WORDSIZE32_SIZE_ULONG): Likewise.
5930 * sysdeps/generic/stdint.h (SIZE_MAX):
5931 Define as UL if __WORDSIZE32_SIZE_ULONG.
5934 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
5935 (__glibc_reserved0): New variable.
5936 (sa_flags): Change type to int.
5938 * posix/Makefile (before-compile): Use += before-compile instead
5941 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5942 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
5944 2014-03-20 Andreas Schwab <schwab@suse.de>
5947 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
5948 non-matching result from nscd.
5950 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5952 * scripts/bench.py: Moved to ...
5953 * benchtests/scripts/bench.py: ... here.
5954 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
5956 2014-03-24 Andreas Schwab <schwab@suse.de>
5959 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
5960 alloca_account and account alloca use for struct in6ailist.
5962 2014-03-24 Joseph Myers <joseph@codesourcery.com>
5965 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
5966 rounding mode to recompute results that overflow to infinity or
5968 * math/auto-libm-test-in: Don't mark tests as expected to fail for
5970 * math/auto-libm-test-out: Regenerated.
5971 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
5972 (ccosh_test): Likewise.
5973 (csin_test_data): Use plus_oflow.
5974 (csin_test): Use ALL_RM_TEST.
5975 (csinh_test_data): Use plus_oflow.
5976 (csinh_test): Use ALL_RM_TEST.
5977 * sysdeps/i386/fpu/libm-test-ulps: Update.
5978 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5980 2014-03-21 Joseph Myers <joseph@codesourcery.com>
5982 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
5983 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
5984 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
5987 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
5989 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
5990 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
5991 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
5992 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
5994 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
5995 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
5997 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
5998 * sysdeps/i386/fpu/libm-test-ulps: Update.
5999 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6001 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6003 * scripts/bench.pl: Remove file.
6004 * scripts/bench.py: New benchmark script.
6005 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
6006 * benchtests/README: Mention python dependency.
6007 * scripts/pylintrc: New file.
6008 * scripts/pylint: New file.
6010 * bits/mathdef.h: Use #ifdef instead of #if.
6011 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
6012 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6013 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
6014 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6015 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
6016 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6018 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6019 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6021 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
6022 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
6023 and strpbrk-ppc64 objects.
6024 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6025 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
6026 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
6027 multiarch strpbrk for POWER7.
6028 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
6029 multiarch strpbrk for PPC64.
6030 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
6032 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
6035 2014-03-20 Joseph Myers <joseph@codesourcery.com>
6037 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
6038 (atan_test): Likewise.
6039 (atanh_test_data): Use NO_TEST_INLINE for two tests.
6040 (atanh_test): Use ALL_RM_TEST.
6041 (atan2_test_data): Likewise.
6042 (cabs_test): Likewise.
6043 (cacosh_test): Likewise.
6044 (carg_test): Likewise.
6045 (casin_test): Likewise.
6046 (casinh_test): Likewise.
6047 (cbrt_test): Likewise.
6048 (csqrt_test): Likewise.
6049 (erf_test): Likewise.
6050 (erfc_test): Likewise.
6051 (pow10_test): Likewise.
6052 (exp2_test): Likewise.
6053 (hypot_test): Likewise.
6054 (j0_test): Likewise.
6055 (j1_test): Likewise.
6056 (lgamma_test): Likewise.
6057 (gamma_test): Likewise.
6058 (sincos_test): Likewise.
6059 (tanh_test): Likewise.
6060 (y0_test): Likewise.
6061 (y1_test): Likewise.
6062 * sysdeps/i386/fpu/libm-test-ulps: Update.
6063 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6065 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6067 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
6068 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6069 and strcspn-ppc64 objects.
6070 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6071 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
6072 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
6073 multiarch strcspn for POWER7.
6074 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
6075 multiarch strcspn for PPC64.
6076 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
6078 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
6081 2014-03-20 Joseph Myers <joseph@codesourcery.com>
6083 * math/gen-libm-test.pl (generate_testfile): Expect only function
6084 name as argument to AUTO_TESTS_* and pass results for all rounding
6085 modes to parse_args.
6086 (parse_auto_input): Separate inputs of automatic tests from
6087 outputs before storing in %auto_tests.
6088 * math/libm-test.inc (acos_test_data): Update call to
6090 (acos_test): Use ALL_RM_TEST.
6091 (acos_tonearest_test_data): Remove.
6092 (acos_test_tonearest): Likewise.
6093 (acos_towardzero_test_data): Likewise.
6094 (acos_test_towardzero): Likewise.
6095 (acos_downward_test_data): Likewise.
6096 (acos_test_downward): Likewise.
6097 (acos_upward_test_data): Likewise.
6098 (acos_test_upward): Likewise.
6099 (acosh_test_data): Update call to AUTO_TESTS_f_f.
6100 (asin_test_data): Likewise.
6101 (asin_test): Use ALL_RM_TEST.
6102 (asin_tonearest_test_data): Remove.
6103 (asin_test_tonearest): Likewise.
6104 (asin_towardzero_test_data): Likewise.
6105 (asin_test_towardzero): Likewise.
6106 (asin_downward_test_data): Likewise.
6107 (asin_test_downward): Likewise.
6108 (asin_upward_test_data): Likewise.
6109 (asin_test_upward): Likewise.
6110 (asinh_test_data): Update call to AUTO_TESTS_f_f.
6111 (atan_test_data): Likewise.
6112 (atanh_test_data): Likewise.
6113 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
6114 (cabs_test_data): Update call to AUTO_TESTS_c_f.
6115 (carg_test_data): Likewise.
6116 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
6117 (ccos_test_data): Update call to AUTO_TESTS_c_c.
6118 (ccosh_test_data): Likewise.
6119 (cexp_test_data): Likewise.
6120 (clog_test_data): Likewise.
6121 (clog10_test_data): Likewise.
6122 (cos_test_data): Update call to AUTO_TESTS_f_f.
6123 (cos_test): Use ALL_RM_TEST.
6124 (cos_tonearest_test_data): Remove.
6125 (cos_test_tonearest): Likewise.
6126 (cos_towardzero_test_data): Likewise.
6127 (cos_test_towardzero): Likewise.
6128 (cos_downward_test_data): Likewise.
6129 (cos_test_downward): Likewise.
6130 (cos_upward_test_data): Likewise.
6131 (cos_test_upward): Likewise.
6132 (cosh_test_data): Update call to AUTO_TESTS_f_f.
6133 (cosh_test): Use ALL_RM_TEST.
6134 (cosh_tonearest_test_data): Remove.
6135 (cosh_test_tonearest): Likewise.
6136 (cosh_towardzero_test_data): Likewise.
6137 (cosh_test_towardzero): Likewise.
6138 (cosh_downward_test_data): Likewise.
6139 (cosh_test_downward): Likewise.
6140 (cosh_upward_test_data): Likewise.
6141 (cosh_test_upward): Likewise.
6142 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
6143 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
6144 (ctan_test_data): Likewise.
6145 (ctan_test): Use ALL_RM_TEST.
6146 (ctan_tonearest_test_data): Remove.
6147 (ctan_test_tonearest): Likewise.
6148 (ctan_towardzero_test_data): Likewise.
6149 (ctan_test_towardzero): Likewise.
6150 (ctan_downward_test_data): Likewise.
6151 (ctan_test_downward): Likewise.
6152 (ctan_upward_test_data): Likewise.
6153 (ctan_test_upward): Likewise.
6154 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
6155 (ctanh_test): Use ALL_RM_TEST.
6156 (ctanh_tonearest_test_data): Remove.
6157 (ctanh_test_tonearest): Likewise.
6158 (ctanh_towardzero_test_data): Likewise.
6159 (ctanh_test_towardzero): Likewise.
6160 (ctanh_downward_test_data): Likewise.
6161 (ctanh_test_downward): Likewise.
6162 (ctanh_upward_test_data): Likewise.
6163 (ctanh_test_upward): Likewise.
6164 (erf_test_data): Update call to AUTO_TESTS_f_f.
6165 (erfc_test_data): Likewise.
6166 (exp_test_data): Likewise.
6167 (exp_test): Use ALL_RM_TEST.
6168 (exp_tonearest_test_data): Remove.
6169 (exp_test_tonearest): Likewise.
6170 (exp_towardzero_test_data): Likewise.
6171 (exp_test_towardzero): Likewise.
6172 (exp_downward_test_data): Likewise.
6173 (exp_test_downward): Likewise.
6174 (exp_upward_test_data): Likewise.
6175 (exp_test_upward): Likewise.
6176 (exp10_test_data): Update call to AUTO_TESTS_f_f.
6177 (exp10_test): Use ALL_RM_TEST.
6178 (exp10_tonearest_test_data): Remove.
6179 (exp10_test_tonearest): Likewise.
6180 (exp10_towardzero_test_data): Likewise.
6181 (exp10_test_towardzero): Likewise.
6182 (exp10_downward_test_data): Likewise.
6183 (exp10_test_downward): Likewise.
6184 (exp10_upward_test_data): Likewise.
6185 (exp10_test_upward): Likewise.
6186 (exp2_test_data): Update call to AUTO_TESTS_f_f.
6187 (expm1_test_data): Likewise.
6188 (expm1_test): Use ALL_RM_TEST.
6189 (expm1_tonearest_test_data): Remove.
6190 (expm1_test_tonearest): Likewise.
6191 (expm1_towardzero_test_data): Likewise.
6192 (expm1_test_towardzero): Likewise.
6193 (expm1_downward_test_data): Likewise.
6194 (expm1_test_downward): Likewise.
6195 (expm1_upward_test_data): Likewise.
6196 (expm1_test_upward): Likewise.
6197 (fma_test_data): Update call to AUTO_TESTS_fff_f.
6198 (fma_test): Use ALL_RM_TEST.
6199 (fma_towardzero_test_data): Remove.
6200 (fma_test_towardzero): Likewise.
6201 (fma_downward_test_data): Likewise.
6202 (fma_test_downward): Likewise.
6203 (fma_upward_test_data): Likewise.
6204 (fma_test_upward): Likewise.
6205 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
6206 (j0_test_data): Update call to AUTO_TESTS_f_f.
6207 (j1_test_data): Likewise.
6208 (jn_test_data): Update call to AUTO_TESTS_if_f.
6209 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
6210 (log_test_data): Update call to AUTO_TESTS_f_f.
6211 (log10_test_data): Likewise.
6212 (log1p_test_data): Likewise.
6213 (log2_test_data): Likewise.
6214 (pow_test_data): Update call to AUTO_TESTS_ff_f.
6215 (pow_tonearest_test_data): Likewise.
6216 (sin_test_data): Update call to AUTO_TESTS_f_f.
6217 (sin_test): Use ALL_RM_TEST.
6218 (sin_tonearest_test_data): Remove.
6219 (sin_test_tonearest): Likewise.
6220 (sin_towardzero_test_data): Likewise.
6221 (sin_test_towardzero): Likewise.
6222 (sin_downward_test_data): Likewise.
6223 (sin_test_downward): Likewise.
6224 (sin_upward_test_data): Likewise.
6225 (sin_test_upward): Likewise.
6226 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
6227 (sinh_test_data): Update call to AUTO_TESTS_f_f.
6228 (sinh_test): Use ALL_RM_TEST.
6229 (sinh_tonearest_test_data): Remove.
6230 (sinh_test_tonearest): Likewise.
6231 (sinh_towardzero_test_data): Likewise.
6232 (sinh_test_towardzero): Likewise.
6233 (sinh_downward_test_data): Likewise.
6234 (sinh_test_downward): Likewise.
6235 (sinh_upward_test_data): Likewise.
6236 (sinh_test_upward): Likewise.
6237 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
6238 (sqrt_test): Use ALL_RM_TEST.
6239 (sqrt_tonearest_test_data): Remove.
6240 (sqrt_test_tonearest): Likewise.
6241 (sqrt_towardzero_test_data): Likewise.
6242 (sqrt_test_towardzero): Likewise.
6243 (sqrt_downward_test_data): Likewise.
6244 (sqrt_test_downward): Likewise.
6245 (sqrt_upward_test_data): Likewise.
6246 (sqrt_test_upward): Likewise.
6247 (tan_test_data): Update call to AUTO_TESTS_f_f.
6248 (tan_test): Use ALL_RM_TEST.
6249 (tan_tonearest_test_data): Remove.
6250 (tan_test_tonearest): Likewise.
6251 (tan_towardzero_test_data): Likewise.
6252 (tan_test_towardzero): Likewise.
6253 (tan_downward_test_data): Likewise.
6254 (tan_test_downward): Likewise.
6255 (tan_upward_test_data): Likewise.
6256 (tan_test_upward): Likewise.
6257 (tanh_test_data): Update call to AUTO_TESTS_f_f.
6258 (tgamma_test_data): Likewise.
6259 (y0_test_data): Likewise.
6260 (y1_test_data): Likewise.
6261 (yn_test_data): Update call to AUTO_TESTS_if_f.
6262 (main): Do not call removed functions.
6264 2014-03-19 Joseph Myers <joseph@codesourcery.com>
6266 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
6267 (ldexp_test_data): Remove.
6268 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
6270 (scalb_test): Use ALL_RM_TEST.
6272 2014-03-19 Andreas Schwab <schwab@suse.de>
6274 * nscd/nscd.service: Also invalidate netgroup cache on reload.
6276 2014-03-19 Joseph Myers <joseph@codesourcery.com>
6279 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6280 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
6281 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
6282 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6283 (__ASSUME_PREADV): Undefine.
6284 (__ASSUME_PWRITEV): Likewise.
6286 2014-03-18 Roland McGrath <roland@hack.frob.com>
6288 * bits/mman-linux.h: Add comment about non-Linux use.
6289 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
6290 bits/mman-linux.h resting place.
6292 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
6293 * bits/mman-linux.h: ... here.
6295 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6297 * conform/conformtest.pl: Add standard definition when calling C
6298 preprocessor on data files.
6299 (checknamespace): Remove unused variable.
6301 2014-03-18 Joseph Myers <joseph@codesourcery.com>
6303 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
6304 minus_oflow, plus_uflow and minus_uflow in expected results.
6305 * math/libm-test.inc (scalbn_test_data): Add more tests of
6306 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
6308 (scalbn_test): Use ALL_RM_TEST.
6309 (scalbln_test_data): Add more tests of negative arguments. Use
6310 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
6311 (scalbln_test): Use ALL_RM_TEST.
6313 2014-03-18 Roland McGrath <roland@hack.frob.com>
6315 * scripts/abilist.awk: Ignore symbols marked with .hidden.
6317 2014-03-18 Will Newton <will.newton@linaro.org>
6319 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
6322 2014-03-18 Joseph Myers <joseph@codesourcery.com>
6324 * Makerules [!subdir] (check-abi): Exit with error status if a
6327 2014-03-17 Joseph Myers <joseph@codesourcery.com>
6329 * math/libm-test.inc (nearbyint_test_data): Include all tests used
6330 for rint. Include results for all rounding modes.
6331 (nearbyint_test): Use ALL_RM_TEST.
6332 (rint_test_data): Include all tests used for nearbyint.
6334 2014-03-17 Will Newton <will.newton@linaro.org>
6336 * nptl/sysdeps/pthread/pthread.h: Revert previous
6339 * sysdeps/generic/ldsodefs.h: Revert previous
6342 * libio/genops.c: Revert previous change.
6343 * libio/libioP.h: Likewise.
6344 * stdio-common/vfprintf.c: Likewise.
6346 * sysdeps/generic/math_private.h: Revert previous
6349 * sysdeps/generic/math_private.h: Check whether
6350 HAVE_RM_CTX is defined with #ifdef rather
6353 * argp/argp-fmtstream.h: Check whether
6354 __STRICT_ANSI__ is defined with #ifdef rather
6356 * argp/argp.h: Likewise.
6358 * libio/genops.c: Check whether
6359 _IO_JUMPS_OFFSET is defined with #ifdef rather
6361 * libio/libioP.h: Likewise.
6362 * stdio-common/vfprintf.c: Likewise.
6364 * sysdeps/generic/ldsodefs.h: Check whether
6365 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
6368 * nptl/sysdeps/pthread/pthread.h: Check
6369 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
6372 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6374 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
6376 * libio/tst-ftell-active-handler.c (do_append_test): Add a
6380 * libio/fileops.c (_IO_file_open): Seek to end of file but
6381 don't cache the offset.
6382 (get_file_offset): Remove function.
6383 (do_ftell): Use cached offset when available.
6384 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
6385 don't cache the offset.
6386 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
6388 (do_one_test): Call it.
6389 (do_ftell_test): Fix up expected old offset for a+ mode.
6390 * libio/wfileops.c (do_ftell_wide): Used cached offset when
6393 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
6394 up test status with function return status.
6395 (do_write_test): Likewise.
6396 (do_append_test): Likewise.
6398 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
6399 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
6402 2014-03-17 Joseph Myers <joseph@codesourcery.com>
6404 * math/gen-libm-test.pl (parse_args): Handle results specified for
6405 each rounding mode separately.
6406 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
6407 tests and results from lrint_tonearest_test_data,
6408 lrint_towardzero_test_data, lrint_downward_test_data and
6409 lrint_upward_test_data.
6410 (lrint_test): Use ALL_RM_TEST.
6411 (lrint_tonearest_test_data): Remove.
6412 (lrint_test_tonearest): Likewise.
6413 (lrint_towardzero_test_data): Likewise.
6414 (lrint_test_towardzero): Likewise.
6415 (lrint_downward_test_data): Likewise.
6416 (lrint_test_downward): Likewise.
6417 (lrint_upward_test_data): Likewise.
6418 (lrint_test_upward): Likewise.
6419 (llrint_test_data): Merge in per-rounding-mode tests and results
6420 from llrint_tonearest_test_data, llrint_towardzero_test_data,
6421 llrint_downward_test_data and llrint_upward_test_data.
6422 (llrint_test): Use ALL_RM_TEST.
6423 (llrint_tonearest_test_data): Remove.
6424 (llrint_test_tonearest): Likewise.
6425 (llrint_towardzero_test_data): Likewise.
6426 (llrint_test_towardzero): Likewise.
6427 (llrint_downward_test_data): Likewise.
6428 (llrint_test_downward): Likewise.
6429 (llrint_upward_test_data): Likewise.
6430 (llrint_test_upward): Likewise.
6431 (rint_test_data): Merge in per-rounding-mode tests and results
6432 from rint_tonearest_test_data, rint_towardzero_test_data,
6433 rint_downward_test_data and rint_upward_test_data. Add
6434 per-rounding-mode results for tests not in those arrays.
6435 (rint_test): Use ALL_RM_TEST.
6436 (rint_tonearest_test_data): Remove.
6437 (rint_test_tonearest): Likewise.
6438 (rint_towardzero_test_data): Likewise.
6439 (rint_test_towardzero): Likewise.
6440 (rint_downward_test_data): Likewise.
6441 (rint_test_downward): Likewise.
6442 (rint_upward_test_data): Likewise.
6443 (rint_test_upward): Likewise.
6444 (main): Don't call removed functions.
6446 2014-03-14 Roland McGrath <roland@hack.frob.com>
6448 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
6449 "Compiled on ..." crapola. It is anti-useful.
6451 2014-03-14 Joseph Myers <joseph@codesourcery.com>
6453 * scripts/evaluate-test.sh: Handle fourth argument to determine
6454 whether test run should stop on failure.
6455 * Makeconfig (stop-on-test-failure): New variable.
6456 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
6457 $(stop-on-test-failure).
6458 * Makefile (tests): Give a summary of results from testing and
6459 exit with failure status if they include an ERROR or FAIL.
6461 * manual/install.texi (Configuring and compiling): Mention
6462 stop-on-test-failure=y.
6463 * INSTALL: Regenerated.
6465 2014-03-14 Roland McGrath <roland@hack.frob.com>
6467 * scripts/versionlist.awk: New file.
6468 * Makerules [$(build-shared) = yes]
6469 (postclean-generated): Add Versions.def, not Versions.def.v and
6471 ($(common-objpfx)Versions.def.v.i): Target removed.
6472 ($(common-objpfx)Versions.def): New target.
6473 ($(common-objpfx)Versions.all): Depend on that rather that
6474 $(common-objpfx)Versions.def.v.
6475 * Versions.def: File removed.
6477 * Makeconfig (+gccwarn): Add -Wundef.
6478 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
6479 a dl-sysdep.h breaking its contract.
6480 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
6481 * include/stackinfo.h: New file.
6482 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
6483 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
6484 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
6485 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
6486 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
6487 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
6488 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6489 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6490 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6491 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6492 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6493 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
6494 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6495 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6496 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6498 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6501 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
6503 * math/libm-test.inc (round_test_data): Add more tests.
6506 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
6508 * math/libm-test.inc (nearbyint_test_data): Add more tests.
6511 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
6513 * math/libm-test.inc (ceil_test_data): Add more tests.
6515 * math/libm-test.inc (trunc_test_data): Add more tests related to
6518 2014-03-14 Roland McGrath <roland@hack.frob.com>
6520 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
6521 with #if rather than #ifdef.
6522 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
6524 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
6526 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
6527 first. Disable AVX-512 GCC support if assembler doesn't support
6529 * sysdeps/x86_64/configure: Regenerated.
6531 2014-03-13 Carlos O'Donell <carlos@redhat.com>
6533 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
6534 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
6535 (__old_pthread_attr_setstack): Likewise.
6536 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
6537 [!_STACK_GROWS_DOWN]: Likewise.
6539 2014-03-13 Mike Frysinger <vapier@gentoo.org>
6541 * config.make.in (have-bash2): Delete.
6542 * configure.ac (libc_cv_have_bash2): Delete.
6543 * configure: Regenerate.
6544 * elf/Makefile (common-ldd-rewrite): Rename to ...
6545 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
6546 (sh-ldd-rewrite): Delete.
6547 (bash-ldd-rewrite): Delete.
6548 (have-bash2): Delete checks.
6549 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
6552 * config.make.in (have-ksh): Delete.
6554 * configure.ac (libc_cv_have_ksh): Delete.
6555 * configure: Regenerate.
6557 * elf/Makefile: Delete $(have-ksh) check.
6558 ($(objpfx)sotruss): Change KSH to BASH.
6559 * elf/sotruss.ksh: Rename to ...
6560 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
6561 function style to match POSIX. Drop ksh vim mode setting.
6563 * manual/time.texi (Specifying the Time Zone with TZ): Change
6564 Tuesday to Thursday.
6566 * debug/tst-longjmp_chk2.c: Update header comment.
6567 (stackoverflow_handler): Add comment. Call assert on pass value.
6569 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
6571 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
6572 (HAVE_AVX512_ASM_SUPPORT): Likewise.
6573 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
6574 (La_x86_64_vector): Add zmm.
6575 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
6576 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
6577 ($(objpfx)tst-audit10): New target.
6578 ($(objpfx)tst-audit10.out): Likewise.
6579 (tst-audit10-ENV): New.
6580 (AVX512-CFLAGS): Likewise.
6581 (CFLAGS-tst-audit10.c): Likewise.
6582 (CFLAGS-tst-auditmod10a.c): Likewise.
6583 (CFLAGS-tst-auditmod10b.c): Likewise.
6584 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
6585 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
6586 * sysdeps/x86_64/configure: Regenerated.
6587 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
6588 AVX-512 zmm register support.
6589 (_dl_x86_64_save_sse): Likewise.
6590 (_dl_x86_64_restore_sse): Likewise.
6591 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
6592 size vector registers.
6593 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
6594 (ZMM_SIZE): Likewise.
6595 * sysdeps/x86_64/tst-audit10.c: New file.
6596 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
6597 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
6599 2014-03-13 Roland McGrath <roland@hack.frob.com>
6601 * configure.ac (HAVE_EHDR_START): New check.
6602 * configure: Regenerated.
6603 * config.h.in (HAVE_EHDR_START): New #undef.
6604 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
6605 assuming the lowest-addressed segment maps the start of the file.
6607 2014-03-13 Joseph Myers <joseph@codesourcery.com>
6609 * INSTALL: Regenerated.
6611 2014-03-13 Will Newton <will.newton@linaro.org>
6613 * manual/setjmp.texi (System V contexts): Improve
6614 clarity and grammar of documentation.
6616 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
6619 * elf/Makefile (tests): Add tst-pie2.
6620 (tests-pie): Add tst-pie2.
6621 * elf/tst-pie2.c: New file.
6622 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
6624 * elf/rtld.c (map_doit): Load executable as lt_executable.
6625 (dl_main): Likewise.
6627 2014-03-12 Joseph Myers <joseph@codesourcery.com>
6630 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6631 (__ASSUME_PSELECT): Undefine.
6633 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6636 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
6637 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
6639 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
6640 selector for static builds.
6642 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6645 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
6648 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6650 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
6651 IFUNC selector for static builds.
6653 2014-03-11 Joseph Myers <joseph@codesourcery.com>
6655 * sysdeps/mips/math_private.h [__mips_hard_float]
6656 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
6657 libc_feresetround_mips_ctx.
6658 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
6659 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
6660 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
6663 * math/s_nextafter.c (__nextafter): Do not return value from
6664 overflowing computation.
6665 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
6666 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
6667 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
6669 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
6671 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
6672 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
6674 2014-03-11 Roland McGrath <roland@hack.frob.com>
6676 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
6677 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
6678 Move sfi_sp use from the load-multiple (that no longer sets sp) to
6679 the new mov targetting sp.
6681 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6684 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
6685 Define it for static builds as well.
6686 (NO_BZERO_IMPL): Likewise.
6688 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6690 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
6691 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
6692 multiarch strspn for PPC64.
6693 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
6694 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
6695 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6696 (__libc_ifunc_impl_list): Likewise.
6697 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
6698 multiarch optimizations
6699 * string/strspn.c (strspn): Using macro to redefine symbol name.
6701 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6702 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6704 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
6705 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
6706 multiarch strncat for PPC64.
6707 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
6708 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
6709 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6710 (__libc_ifunc_impl_list): Likewise.
6711 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
6712 multiarch optimizations
6714 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6717 * nscd/nscd.service: Make service type forking.
6719 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6721 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
6722 sign in non default rounding modes.
6723 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6725 2014-03-08 Joseph Myers <joseph@codesourcery.com>
6727 * math/libm-test.inc (ALL_RM_TEST): New macro.
6728 (ceil_test): Use ALL_RM_TEST.
6729 (cimag_test): Likewise.
6730 (conj_test): Likewise.
6731 (copysign_test): Likewise.
6732 (cproj_test): Likewise.
6733 (creal_test): Likewise.
6734 (fabs_test): Likewise.
6735 (floor_test): Likewise.
6736 (fmax_test): Likewise.
6737 (fmin_test): Likewise.
6738 (fmod_test): Likewise.
6739 (fpclassify_test): Likewise.
6740 (frexp_test): Likewise.
6741 (ilogb_test): Likewise.
6742 (isfinite_test): Likewise.
6743 (finite_test): Likewise.
6744 (isgreater_test): Likewise.
6745 (isgreaterequal_test): Likewise.
6746 (isinf_test): Likewise.
6747 (isless_test): Likewise.
6748 (islessequal_test): Likewise.
6749 (islessgreater_test): Likewise.
6750 (isnan_test): Likewise.
6751 (isnormal_test): Likewise.
6752 (issignaling_test): Likewise.
6753 (isunordered_test): Likewise.
6754 (logb_test): Likewise.
6755 (logb_downward_test_data): Remove.
6756 (logb_test_downward): Likewise.
6757 (lround_test): Use ALL_RM_TEST.
6758 (llround_test): Likewise.
6759 (modf_test): Likewise.
6760 (nexttoward_test): Likewise.
6761 (remainder_test): Likewise.
6762 (drem_test): Likewise.
6763 (remainder_tonearest_test_data): Likewise.
6764 (remainder_test_tonearest): Likewise.
6765 (drem_test_tonearest): Likewise.
6766 (remainder_towardzero_test_data): Likewise.
6767 (remainder_test_towardzero): Likewise.
6768 (drem_test_towardzero): Likewise.
6769 (remainder_downward_test_data): Likewise.
6770 (remainder_test_downward): Likewise.
6771 (drem_test_downward): Likewise.
6772 (remainder_upward_test_data): Likewise.
6773 (remainder_test_upward): Likewise.
6774 (drem_test_upward): Likewise.
6775 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
6776 (round_test): Use ALL_RM_TEST.
6777 (signbit_test): Likewise.
6778 (trunc_test): Likewise.
6779 (significand_test): Likewise.
6780 (main): Don't call removed functions.
6782 2014-03-07 Joseph Myers <joseph@codesourcery.com>
6785 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
6787 (ILL_ILLOPN): Likewise.
6788 (ILL_ILLADR): Likewise.
6789 (ILL_ILLTRP): Likewise.
6790 (ILL_PRVOPC): Likewise.
6791 (ILL_PRVREG): Likewise.
6792 (ILL_COPROC): Likewise.
6793 (ILL_BADSTK): Likewise.
6794 (FPE_INTDIV): Likewise.
6795 (FPE_INTOVF): Likewise.
6796 (FPE_FLTDIV): Likewise.
6797 (FPE_FLTOVF): Likewise.
6798 (FPE_FLTUND): Likewise.
6799 (FPE_FLTRES): Likewise.
6800 (FPE_FLTINV): Likewise.
6801 (FPE_FLTSUB): Likewise.
6802 (SEGV_MAPERR): Likewise.
6803 (SEGV_ACCERR): Likewise.
6804 (BUS_ADRALN): Likewise.
6805 (BUS_ADRERR): Likewise.
6806 (BUS_OBJERR): Likewise.
6807 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6808 (TRAP_TRACE): Likewise.
6809 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6811 (CLD_KILLED): Likewise.
6812 (CLD_DUMPED): Likewise.
6813 (CLD_TRAPPED): Likewise.
6814 (CLD_STOPPED): Likewise.
6815 (CLD_CONTINUED): Likewise.
6816 (POLL_IN): Likewise.
6817 (POLL_OUT): Likewise.
6818 (POLL_MSG): Likewise.
6819 (POLL_ERR): Likewise.
6820 (POLL_PRI): Likewise.
6821 (POLL_HUP): Likewise.
6822 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
6824 (ILL_ILLOPN): Likewise.
6825 (ILL_ILLADR): Likewise.
6826 (ILL_ILLTRP): Likewise.
6827 (ILL_PRVOPC): Likewise.
6828 (ILL_PRVREG): Likewise.
6829 (ILL_COPROC): Likewise.
6830 (ILL_BADSTK): Likewise.
6831 (FPE_INTDIV): Likewise.
6832 (FPE_INTOVF): Likewise.
6833 (FPE_FLTDIV): Likewise.
6834 (FPE_FLTOVF): Likewise.
6835 (FPE_FLTUND): Likewise.
6836 (FPE_FLTRES): Likewise.
6837 (FPE_FLTINV): Likewise.
6838 (FPE_FLTSUB): Likewise.
6839 (SEGV_MAPERR): Likewise.
6840 (SEGV_ACCERR): Likewise.
6841 (BUS_ADRALN): Likewise.
6842 (BUS_ADRERR): Likewise.
6843 (BUS_OBJERR): Likewise.
6844 (BUS_MCEERR_AR): Likewise.
6845 (BUS_MCEERR_AO): Likewise.
6846 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6847 (TRAP_TRACE): Likewise.
6848 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6850 (CLD_KILLED): Likewise.
6851 (CLD_DUMPED): Likewise.
6852 (CLD_TRAPPED): Likewise.
6853 (CLD_STOPPED): Likewise.
6854 (CLD_CONTINUED): Likewise.
6855 (POLL_IN): Likewise.
6856 (POLL_OUT): Likewise.
6857 (POLL_MSG): Likewise.
6858 (POLL_ERR): Likewise.
6859 (POLL_PRI): Likewise.
6860 (POLL_HUP): Likewise.
6861 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
6862 (ILL_ILLOPN): Likewise.
6863 (ILL_ILLADR): Likewise.
6864 (ILL_ILLTRP): Likewise.
6865 (ILL_PRVOPC): Likewise.
6866 (ILL_PRVREG): Likewise.
6867 (ILL_COPROC): Likewise.
6868 (ILL_BADSTK): Likewise.
6869 (FPE_INTDIV): Likewise.
6870 (FPE_INTOVF): Likewise.
6871 (FPE_FLTDIV): Likewise.
6872 (FPE_FLTOVF): Likewise.
6873 (FPE_FLTUND): Likewise.
6874 (FPE_FLTRES): Likewise.
6875 (FPE_FLTINV): Likewise.
6876 (FPE_FLTSUB): Likewise.
6877 (SEGV_MAPERR): Likewise.
6878 (SEGV_ACCERR): Likewise.
6879 (BUS_ADRALN): Likewise.
6880 (BUS_ADRERR): Likewise.
6881 (BUS_OBJERR): Likewise.
6882 (BUS_MCEERR_AR): Likewise.
6883 (BUS_MCEERR_AO): Likewise.
6884 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6885 (TRAP_TRACE): Likewise.
6886 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6888 (CLD_KILLED): Likewise.
6889 (CLD_DUMPED): Likewise.
6890 (CLD_TRAPPED): Likewise.
6891 (CLD_STOPPED): Likewise.
6892 (CLD_CONTINUED): Likewise.
6893 (POLL_IN): Likewise.
6894 (POLL_OUT): Likewise.
6895 (POLL_MSG): Likewise.
6896 (POLL_ERR): Likewise.
6897 (POLL_PRI): Likewise.
6898 (POLL_HUP): Likewise.
6899 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
6901 (ILL_ILLOPN): Likewise.
6902 (ILL_ILLADR): Likewise.
6903 (ILL_ILLTRP): Likewise.
6904 (ILL_PRVOPC): Likewise.
6905 (ILL_PRVREG): Likewise.
6906 (ILL_COPROC): Likewise.
6907 (ILL_BADSTK): Likewise.
6908 (ILL_BADIADDR): Likewise.
6909 (ILL_BREAK): Likewise.
6910 (FPE_INTDIV): Likewise.
6911 (FPE_INTOVF): Likewise.
6912 (FPE_FLTDIV): Likewise.
6913 (FPE_FLTOVF): Likewise.
6914 (FPE_FLTUND): Likewise.
6915 (FPE_FLTRES): Likewise.
6916 (FPE_FLTINV): Likewise.
6917 (FPE_FLTSUB): Likewise.
6918 (FPE_DECOVF): Likewise.
6919 (FPE_DECDIV): Likewise.
6920 (FPE_DECERR): Likewise.
6921 (FPE_INVASC): Likewise.
6922 (FPE_INVDEC): Likewise.
6923 (SEGV_MAPERR): Likewise.
6924 (SEGV_ACCERR): Likewise.
6925 (SEGV_PSTKOVF): Likewise.
6926 (BUS_ADRALN): Likewise.
6927 (BUS_ADRERR): Likewise.
6928 (BUS_OBJERR): Likewise.
6929 (BUS_MCEERR_AR): Likewise.
6930 (BUS_MCEERR_AO): Likewise.
6931 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6932 (TRAP_TRACE): Likewise.
6933 (TRAP_BRANCH): Likewise.
6934 (TRAP_HWBKPT): Likewise.
6935 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6937 (CLD_KILLED): Likewise.
6938 (CLD_DUMPED): Likewise.
6939 (CLD_TRAPPED): Likewise.
6940 (CLD_STOPPED): Likewise.
6941 (CLD_CONTINUED): Likewise.
6942 (POLL_IN): Likewise.
6943 (POLL_OUT): Likewise.
6944 (POLL_MSG): Likewise.
6945 (POLL_ERR): Likewise.
6946 (POLL_PRI): Likewise.
6947 (POLL_HUP): Likewise.
6948 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
6949 (ILL_ILLOPN): Likewise.
6950 (ILL_ILLADR): Likewise.
6951 (ILL_ILLTRP): Likewise.
6952 (ILL_PRVOPC): Likewise.
6953 (ILL_PRVREG): Likewise.
6954 (ILL_COPROC): Likewise.
6955 (ILL_BADSTK): Likewise.
6956 (FPE_INTDIV): Likewise.
6957 (FPE_INTOVF): Likewise.
6958 (FPE_FLTDIV): Likewise.
6959 (FPE_FLTOVF): Likewise.
6960 (FPE_FLTUND): Likewise.
6961 (FPE_FLTRES): Likewise.
6962 (FPE_FLTINV): Likewise.
6963 (FPE_FLTSUB): Likewise.
6964 (SEGV_MAPERR): Likewise.
6965 (SEGV_ACCERR): Likewise.
6966 (BUS_ADRALN): Likewise.
6967 (BUS_ADRERR): Likewise.
6968 (BUS_OBJERR): Likewise.
6969 (BUS_MCEERR_AR): Likewise.
6970 (BUS_MCEERR_AO): Likewise.
6971 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6972 (TRAP_TRACE): Likewise.
6973 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6975 (CLD_KILLED): Likewise.
6976 (CLD_DUMPED): Likewise.
6977 (CLD_TRAPPED): Likewise.
6978 (CLD_STOPPED): Likewise.
6979 (CLD_CONTINUED): Likewise.
6980 (POLL_IN): Likewise.
6981 (POLL_OUT): Likewise.
6982 (POLL_MSG): Likewise.
6983 (POLL_ERR): Likewise.
6984 (POLL_PRI): Likewise.
6985 (POLL_HUP): Likewise.
6986 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
6987 (ILL_ILLOPN): Likewise.
6988 (ILL_ILLADR): Likewise.
6989 (ILL_ILLTRP): Likewise.
6990 (ILL_PRVOPC): Likewise.
6991 (ILL_PRVREG): Likewise.
6992 (ILL_COPROC): Likewise.
6993 (ILL_BADSTK): Likewise.
6994 (FPE_INTDIV): Likewise.
6995 (FPE_INTOVF): Likewise.
6996 (FPE_FLTDIV): Likewise.
6997 (FPE_FLTOVF): Likewise.
6998 (FPE_FLTUND): Likewise.
6999 (FPE_FLTRES): Likewise.
7000 (FPE_FLTINV): Likewise.
7001 (FPE_FLTSUB): Likewise.
7002 (SEGV_MAPERR): Likewise.
7003 (SEGV_ACCERR): Likewise.
7004 (BUS_ADRALN): Likewise.
7005 (BUS_ADRERR): Likewise.
7006 (BUS_OBJERR): Likewise.
7007 (BUS_MCEERR_AR): Likewise.
7008 (BUS_MCEERR_AO): Likewise.
7009 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7010 (TRAP_TRACE): Likewise.
7011 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7013 (CLD_KILLED): Likewise.
7014 (CLD_DUMPED): Likewise.
7015 (CLD_TRAPPED): Likewise.
7016 (CLD_STOPPED): Likewise.
7017 (CLD_CONTINUED): Likewise.
7018 (POLL_IN): Likewise.
7019 (POLL_OUT): Likewise.
7020 (POLL_MSG): Likewise.
7021 (POLL_ERR): Likewise.
7022 (POLL_PRI): Likewise.
7023 (POLL_HUP): Likewise.
7024 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
7025 (ILL_ILLOPN): Likewise.
7026 (ILL_ILLADR): Likewise.
7027 (ILL_ILLTRP): Likewise.
7028 (ILL_PRVOPC): Likewise.
7029 (ILL_PRVREG): Likewise.
7030 (ILL_COPROC): Likewise.
7031 (ILL_BADSTK): Likewise.
7032 (FPE_INTDIV): Likewise.
7033 (FPE_INTOVF): Likewise.
7034 (FPE_FLTDIV): Likewise.
7035 (FPE_FLTOVF): Likewise.
7036 (FPE_FLTUND): Likewise.
7037 (FPE_FLTRES): Likewise.
7038 (FPE_FLTINV): Likewise.
7039 (FPE_FLTSUB): Likewise.
7040 (SEGV_MAPERR): Likewise.
7041 (SEGV_ACCERR): Likewise.
7042 (BUS_ADRALN): Likewise.
7043 (BUS_ADRERR): Likewise.
7044 (BUS_OBJERR): Likewise.
7045 (BUS_MCEERR_AR): Likewise.
7046 (BUS_MCEERR_AO): Likewise.
7047 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7048 (TRAP_TRACE): Likewise.
7049 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7051 (CLD_KILLED): Likewise.
7052 (CLD_DUMPED): Likewise.
7053 (CLD_TRAPPED): Likewise.
7054 (CLD_STOPPED): Likewise.
7055 (CLD_CONTINUED): Likewise.
7056 (POLL_IN): Likewise.
7057 (POLL_OUT): Likewise.
7058 (POLL_MSG): Likewise.
7059 (POLL_ERR): Likewise.
7060 (POLL_PRI): Likewise.
7061 (POLL_HUP): Likewise.
7062 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
7063 (ILL_ILLOPN): Likewise.
7064 (ILL_ILLADR): Likewise.
7065 (ILL_ILLTRP): Likewise.
7066 (ILL_PRVOPC): Likewise.
7067 (ILL_PRVREG): Likewise.
7068 (ILL_COPROC): Likewise.
7069 (ILL_BADSTK): Likewise.
7070 (ILL_DBLFLT): Likewise.
7071 (ILL_HARDWALL): Likewise.
7072 (FPE_INTDIV): Likewise.
7073 (FPE_INTOVF): Likewise.
7074 (FPE_FLTDIV): Likewise.
7075 (FPE_FLTOVF): Likewise.
7076 (FPE_FLTUND): Likewise.
7077 (FPE_FLTRES): Likewise.
7078 (FPE_FLTINV): Likewise.
7079 (FPE_FLTSUB): Likewise.
7080 (SEGV_MAPERR): Likewise.
7081 (SEGV_ACCERR): Likewise.
7082 (BUS_ADRALN): Likewise.
7083 (BUS_ADRERR): Likewise.
7084 (BUS_OBJERR): Likewise.
7085 (BUS_MCEERR_AR): Likewise.
7086 (BUS_MCEERR_AO): Likewise.
7087 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7088 (TRAP_TRACE): Likewise.
7089 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7091 (CLD_KILLED): Likewise.
7092 (CLD_DUMPED): Likewise.
7093 (CLD_TRAPPED): Likewise.
7094 (CLD_STOPPED): Likewise.
7095 (CLD_CONTINUED): Likewise.
7096 (POLL_IN): Likewise.
7097 (POLL_OUT): Likewise.
7098 (POLL_MSG): Likewise.
7099 (POLL_ERR): Likewise.
7100 (POLL_PRI): Likewise.
7101 (POLL_HUP): Likewise.
7102 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
7103 (ILL_ILLOPN): Likewise.
7104 (ILL_ILLADR): Likewise.
7105 (ILL_ILLTRP): Likewise.
7106 (ILL_PRVOPC): Likewise.
7107 (ILL_PRVREG): Likewise.
7108 (ILL_COPROC): Likewise.
7109 (ILL_BADSTK): Likewise.
7110 (FPE_INTDIV): Likewise.
7111 (FPE_INTOVF): Likewise.
7112 (FPE_FLTDIV): Likewise.
7113 (FPE_FLTOVF): Likewise.
7114 (FPE_FLTUND): Likewise.
7115 (FPE_FLTRES): Likewise.
7116 (FPE_FLTINV): Likewise.
7117 (FPE_FLTSUB): Likewise.
7118 (SEGV_MAPERR): Likewise.
7119 (SEGV_ACCERR): Likewise.
7120 (BUS_ADRALN): Likewise.
7121 (BUS_ADRERR): Likewise.
7122 (BUS_OBJERR): Likewise.
7123 (BUS_MCEERR_AR): Likewise.
7124 (BUS_MCEERR_AO): Likewise.
7125 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7126 (TRAP_TRACE): Likewise.
7127 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7129 (CLD_KILLED): Likewise.
7130 (CLD_DUMPED): Likewise.
7131 (CLD_TRAPPED): Likewise.
7132 (CLD_STOPPED): Likewise.
7133 (CLD_CONTINUED): Likewise.
7134 (POLL_IN): Likewise.
7135 (POLL_OUT): Likewise.
7136 (POLL_MSG): Likewise.
7137 (POLL_ERR): Likewise.
7138 (POLL_PRI): Likewise.
7139 (POLL_HUP): Likewise.
7140 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
7141 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7144 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
7145 before #include of <time.h>.
7146 [!__USE_XOPEN2K] (__need_timespec): Likewise.
7147 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
7148 (test-xfail-UNIX98/sched.h/conform): Likewise.
7150 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
7152 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
7153 error absence of trapping exception support.
7154 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
7156 2014-03-07 Joseph Myers <joseph@codesourcery.com>
7158 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
7159 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
7160 * timezone/Makefile (testdata): Move definition above include of
7162 (test-zones): New variable.
7163 (tests-special): Add zone files.
7164 (build-testdata): Use $(evaluate-test).
7166 * elf/Makefile (tests-special): Rename tests to end with .out.
7167 ($(objpfx)noload-mem): Likewise.
7168 ($(objpfx)tst-leaks1-mem): Likewise.
7169 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
7170 * iconv/Makefile (xtests-special): Change test-iconvconfig to
7171 $(objpfx)test-iconvconfig.out.
7172 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
7173 set -e inside subshell and redirect output to file.
7174 * iconvdata/Makefile (generated): Rename tests to end with .out.
7176 (tests-special): Rename tests to end with .out.
7177 ($(objpfx)mtrace-tst-loading): Likewise.
7178 * intl/Makefile (generated): Likewise.
7179 (tests-special): Likewise.
7180 ($(objpfx)mtrace-tst-gettext): Likewise.
7181 * misc/Makefile (generated): Likewise.
7182 (tests-special): Likewise.
7183 ($(objpfx)tst-error1-mem): Likewise.
7184 * nptl/Makefile (tests-special): Likewise.
7185 ($(objpfx)tst-stack3-mem): Likewise.
7186 (generated): Likewise.
7187 * posix/Makefile (generated): Likewise.
7188 (tests-special): Likewise.
7189 (xtests-special): Likewise.
7190 ($(objpfx)tst-fnmatch-mem): Likewise.
7191 ($(objpfx)bug-regex2-mem): Likewise.
7192 ($(objpfx)bug-regex14-mem): Likewise.
7193 ($(objpfx)bug-regex21-mem): Likewise.
7194 ($(objpfx)bug-regex31-mem): Likewise.
7195 ($(objpfx)tst-vfork3-mem): Likewise.
7196 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
7197 ($(objpfx)tst-pcre-mem): Likewise.
7198 ($(objpfx)tst-boost-mem): Likewise.
7199 ($(objpfx)bug-ga2-mem): Likewise.
7200 ($(objpfx)bug-glob2-mem): Likewise.
7201 * resolv/Makefile (generate): Likewise.
7202 (tests-special): Likewise.
7203 (xtests-special): Likewise.
7204 (generated): Likewise.
7205 ($(objpfx)mtrace-tst-leaks): Likewise.
7206 ($(objpfx)mtrace-tst-leaks2): Likewise.
7208 * scripts/merge-test-results.sh: New file.
7209 * Makefile (tests-special-notdir): New variable.
7210 (tests): Run merge-test-results.sh.
7212 * Rules (tests-special-notdir): New variable.
7213 (xtests-special-notdir): Likewise.
7214 (tests): Run merge-test-results.sh
7217 * Makeconfig (test-xfail-name): New variable.
7218 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
7219 compute variable name for expected failures.
7220 * conform/Makefile (conformtest-headers-data): New variable.
7221 (conformtest-standards): Likewise.
7222 (conformtest-headers-ISO): Likewise.
7223 (conformtest-headers-ISO99): Likewise.
7224 (conformtest-headers-ISO11): Likewise.
7225 (conformtest-headers-POSIX): Likewise.
7226 (conformtest-headers-XPG3): Likewise.
7227 (conformtest-headers-XPG4): Likewise.
7228 (conformtest-headers-UNIX98): Likewise.
7229 (conformtest-headers-XOPEN2K): Likewise.
7230 (conformtest-headers-POSIX2008): Likewise.
7231 (conformtest-headers-XOPEN2K8): Likewise.
7232 (conformtest-header-list-base): Likewise.
7233 (conformtest-header-list-tests): Likewise.
7234 (conformtest-header-base): Likewise.
7235 (conformtest-header-tests): Likewise.
7236 (tests-special): Add $(conformtest-header-list-tests). If
7237 [$(fast-check) && !$(cross-compiling)], add
7238 $(conformtest-header-tests) instead of
7239 $(objpfx)run-conformtest.out.
7240 (generated): Add $(conformtest-header-list-base). If
7241 [$(fast-check) && !$(cross-compiling)], add
7242 $(conformtest-header-base). Remove previous setting.
7243 ($(conformtest-header-list-tests)): New target.
7244 (test-xfail-run-conformtest): Remove variable.
7245 ($(objpfx)run-conformtest.out): Remove target.
7246 (test-xfail-ISO11/complex.h/conform): New variable.
7247 (test-xfail-ISO11/stdalign.h/conform): Likewise.
7248 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
7249 (test-xfail-XPG3/varargs.h/conform): Likewise.
7250 (test-xfail-XPG4/varargs.h/conform): Likewise.
7251 (test-xfail-UNIX98/varargs.h/conform): Likewise.
7252 (test-xfail-XPG4/ndbm.h/conform): Likewise.
7253 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
7254 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
7255 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
7256 (test-xfail-XPG3/fcntl.h/conform): Likewise.
7257 (test-xfail-XPG3/ftw.h/conform): Likewise.
7258 (test-xfail-XPG3/grp.h/conform): Likewise.
7259 (test-xfail-XPG3/langinfo.h/conform): Likewise.
7260 (test-xfail-XPG3/limits.h/conform): Likewise.
7261 (test-xfail-XPG3/pwd.h/conform): Likewise.
7262 (test-xfail-XPG3/search.h/conform): Likewise.
7263 (test-xfail-XPG3/signal.h/conform): Likewise.
7264 (test-xfail-XPG3/stdio.h/conform): Likewise.
7265 (test-xfail-XPG3/stdlib.h/conform): Likewise.
7266 (test-xfail-XPG3/string.h/conform): Likewise.
7267 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
7268 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
7269 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
7270 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
7271 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
7272 (test-xfail-XPG3/sys/types.h/conform): Likewise.
7273 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
7274 (test-xfail-XPG3/termios.h/conform): Likewise.
7275 (test-xfail-XPG3/time.h/conform): Likewise.
7276 (test-xfail-XPG3/unistd.h/conform): Likewise.
7277 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
7278 (test-xfail-XPG4/fcntl.h/conform): Likewise.
7279 (test-xfail-XPG4/langinfo.h/conform): Likewise.
7280 (test-xfail-XPG4/netdb.h/conform): Likewise.
7281 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
7282 (test-xfail-XPG4/signal.h/conform): Likewise.
7283 (test-xfail-XPG4/stdio.h/conform): Likewise.
7284 (test-xfail-XPG4/stdlib.h/conform): Likewise.
7285 (test-xfail-XPG4/stropts.h/conform): Likewise.
7286 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
7287 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
7288 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
7289 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
7290 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
7291 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
7292 (test-xfail-XPG4/sys/time.h/conform): Likewise.
7293 (test-xfail-XPG4/sys/types.h/conform): Likewise.
7294 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
7295 (test-xfail-XPG4/termios.h/conform): Likewise.
7296 (test-xfail-XPG4/ucontext.h/conform): Likewise.
7297 (test-xfail-XPG4/unistd.h/conform): Likewise.
7298 (test-xfail-XPG4/utmpx.h/conform): Likewise.
7299 (test-xfail-POSIX/sched.h/conform): Likewise.
7300 (test-xfail-POSIX/signal.h/conform): Likewise.
7301 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7302 (test-xfail-POSIX/tar.h/conform): Likewise.
7303 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
7304 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
7305 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
7306 (test-xfail-UNIX98/netdb.h/conform): Likewise.
7307 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
7308 (test-xfail-UNIX98/sched.h/conform): Likewise.
7309 (test-xfail-UNIX98/signal.h/conform): Likewise.
7310 (test-xfail-UNIX98/stdio.h/conform): Likewise.
7311 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
7312 (test-xfail-UNIX98/stropts.h/conform): Likewise.
7313 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
7314 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
7315 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
7316 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
7317 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
7318 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
7319 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
7320 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
7321 (test-xfail-UNIX98/unistd.h/conform): Likewise.
7322 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
7323 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
7324 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
7325 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
7326 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
7327 (test-xfail-XOPEN2K/math.h/conform): Likewise.
7328 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
7329 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
7330 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
7331 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
7332 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
7333 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
7334 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
7335 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
7336 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
7337 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
7338 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
7339 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
7340 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
7341 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
7342 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
7343 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
7344 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
7345 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
7346 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
7347 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
7348 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
7349 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
7350 (test-xfail-POSIX2008/signal.h/conform): Likewise.
7351 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
7352 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
7353 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
7354 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
7355 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
7356 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
7357 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
7358 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
7359 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
7360 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
7361 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
7362 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
7363 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
7364 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
7365 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
7366 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
7367 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
7368 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
7369 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
7370 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
7371 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
7372 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
7373 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
7374 (conformtest-cc-flags): Likewise.
7375 ($(conformtest-header-tests): New target.
7376 * conform/check-header-lists.sh: New file.
7377 * conform/run-conformtest.sh: Remove.
7379 * conform/conformtest.pl: Allow ' and \ in values given for
7381 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
7383 [POSIX] (sys/types.h): Likewise.
7384 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
7386 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
7388 * conform/data/signal.h-data (SIGIO): Remove expectation.
7389 [XPG3] (SIGBUS): Do not expect.
7390 [POSIX || XPG3] (SIGPOLL): Likewise.
7391 [POSIX || XPG3] (SIGPROF): Likewise.
7392 [POSIX || XPG3] (SIGSYS): Likewise.
7393 [XPG3] (SIGTRAP): Likewise.
7394 [POSIX || XPG3] (SIGURG): Likewise.
7395 [POSIX || XPG3] (SIGVTALRM): Likewise.
7396 [POSIX || XPG3] (SIGXCPU): Likewise.
7397 [POSIX || XPG3] (SIGXFSZ): Likewise.
7398 [POSIX] (SA_SIGINFO): Expect.
7399 [XPG3] (siginfo_t): Do not expect type or contents.
7400 [POSIX] (si_pid): Do not expect element.
7401 [POSIX] (si_uid): Likewise.
7402 [POSIX] (si_addr): Likewise.
7403 [POSIX] (si_status): Likewise.
7404 [POSIX] (si_band): Likewise.
7405 [XPG4] (si_value): Likewise.
7406 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
7407 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
7408 [POSIX || XPG3] (ILL_ILLADR): Likewise.
7409 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
7410 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
7411 [POSIX || XPG3] (ILL_PRVREG): Likewise.
7412 [POSIX || XPG3] (ILL_COPROC): Likewise.
7413 [POSIX || XPG3] (ILL_BADSTK): Likewise.
7414 [POSIX || XPG3] (FPE_INTDIV): Likewise.
7415 [POSIX || XPG3] (FPE_INTOVF): Likewise.
7416 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
7417 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
7418 [POSIX || XPG3] (FPE_FLTUND): Likewise.
7419 [POSIX || XPG3] (FPE_FLTRES): Likewise.
7420 [POSIX || XPG3] (FPE_FLTINV): Likewise.
7421 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
7422 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
7423 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
7424 [POSIX || XPG3] (BUS_ADRALN): Likewise.
7425 [POSIX || XPG3] (BUS_ADRERR): Likewise.
7426 [POSIX || XPG3] (BUS_OBJERR): Likewise.
7427 [POSIX || XPG3] (CLD_EXITED): Likewise.
7428 [POSIX || XPG3] (CLD_KILLED): Likewise.
7429 [POSIX || XPG3] (CLD_DUMPED): Likewise.
7430 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
7431 [POSIX || XPG3] (CLD_STOPPED): Likewise.
7432 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
7433 [POSIX || XPG3] (POLL_IN): Likewise.
7434 [POSIX || XPG3] (POLL_OUT): Likewise.
7435 [POSIX || XPG3] (POLL_MSG): Likewise.
7436 [POSIX || XPG3] (POLL_ERR): Likewise.
7437 [POSIX || XPG3] (POLL_PRI): Likewise.
7438 [POSIX || XPG3] (POLL_HUP): Likewise.
7439 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
7440 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
7441 (SIG*): Do not allow.
7442 [XPG3] (si_*): Likewise.
7443 [XPG3] (SI_*): Likewise.
7444 [XPG3 || XPG4] (sigev_*): Likewise.
7445 [XPG3 || XPG4] (SIGEV_*): Likewise.
7446 [XPG3 || XPG4] (sival_*): Likewise.
7447 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
7448 [POSIX || XPG3] (BUS_*): Likewise.
7449 [POSIX || XPG3] (CLD_*): Likewise.
7450 [POSIX || XPG3] (FPE_*): Likewise.
7451 [POSIX || XPG3] (ILL_*): Likewise.
7452 [POSIX || XPG3] (POLL_*): Likewise.
7453 [POSIX || XPG3] (SEGV_*): Likewise.
7454 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
7455 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
7456 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
7457 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
7458 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
7459 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
7460 Specify type and value.
7461 (TVERSLEN): Likewise.
7462 (REGTYPE): Likewise.
7463 (AREGTYPE): Likewise.
7464 (LNKTYPE): Likewise.
7465 (SYMTYPE): Likewise.
7466 (CHRTYPE): Likewise.
7467 (BLKTYPE): Likewise.
7468 (DIRTYPE): Likewise.
7469 (FIFOTYPE): Likewise.
7470 (CONTTYPE): Likewise.
7475 (TUWRITE): Likewise.
7478 (TGWRITE): Likewise.
7481 (TOWRITE): Likewise.
7483 [POSIX] (TSVTX): Expect constant.
7485 2014-03-06 Joseph Myers <joseph@codesourcery.com>
7487 * Makefile (tests): Change dependencies to ....
7488 (tests-special): ... additions to this variable.
7489 (tests): Depend on $(tests-special).
7490 * Makerules (check-abi-list): New variable.
7491 (check-abi): Depend on $(check-abi-list).
7492 [$(subdir) = elf] (tests-special): Add
7493 $(objpfx)check-abi-libc.out.
7494 [$(build-shared) = yes && subdir] (tests-special): Add
7496 [$(build-shared) = yes && subdir] (tests): Do not depend on
7498 * Rules (tests): Depend on $(tests-special).
7499 (xtests): Depend on $(xtests-special).
7500 * catgets/Makefile (tests): Change dependencies to ....
7501 (tests-special): ... additions to this variable.
7502 * conform/Makefile (tests): Change dependencies to ....
7503 (tests-special): ... additions to this variable.
7504 * elf/Makefile (tests): Change dependencies to ....
7505 (tests-special): ... additions to this variable.
7506 * grp/Makefile (tests): Change dependencies to ....
7507 (tests-special): ... additions to this variable.
7508 * iconv/Makefile (xtests): Change dependencies to ....
7509 (xtests-special): ... additions to this variable.
7510 * iconvdata/Makefile (tests): Change dependencies to ....
7511 (tests-special): ... additions to this variable.
7512 * intl/Makefile (tests): Change dependencies to ....
7513 (tests-special): ... additions to this variable. Also add
7514 $(objpfx)tst-gettext.out.
7515 * io/Makefile (tests): Change dependencies to ....
7516 (tests-special): ... additions to this variable.
7517 * libio/Makefile (tests): Change dependencies to ....
7518 (tests-special): ... additions to this variable.
7519 * malloc/Makefile (tests): Change dependencies to ....
7520 (tests-special): ... additions to this variable.
7521 * misc/Makefile (tests): Change dependencies to ....
7522 (tests-special): ... additions to this variable.
7523 * nptl/Makefile (tests): Change dependencies to ....
7524 (tests-special): ... additions to this variable.
7525 * nptl_db/Makefile (tests): Change dependencies to ....
7526 (tests-special): ... additions to this variable.
7527 * posix/Makefile (tests): Change dependencies to ....
7528 (tests-special): ... additions to this variable.
7529 (xtests): Change dependencies to ....
7530 (xtests-special): ... additions to this variable.
7531 * resolv/Makefile (tests): Change dependencies to ....
7532 (tests-special): ... additions to this variable.
7533 (xtests): Change dependencies to ....
7534 (xtests-special): ... additions to this variable.
7535 * stdio-common/Makefile (tests): Change dependencies to ....
7536 (tests-special): ... additions to this variable.
7537 (do-tst-unbputc): Remove target.
7538 (do-tst-printf): Likewise.
7539 * stdlib/Makefile (tests): Change dependencies to ....
7540 (tests-special): ... additions to this variable.
7541 * string/Makefile (tests): Change dependencies to ....
7542 (tests-special): ... additions to this variable.
7543 * sysdeps/x86/Makefile (tests): Change dependencies to ....
7544 (tests-special): ... additions to this variable.
7546 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
7548 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
7550 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
7551 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
7553 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
7554 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
7555 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
7556 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
7557 * conform/data/libgen.h-data [XPG3]: Likewise.
7558 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
7559 * conform/data/ndbm.h-data [XPG3]: Likewise.
7560 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7561 * conform/data/netdb.h-data [XPG3]: Likewise.
7562 * conform/data/netinet/in.h-data [XPG3]: Likewise.
7563 * conform/data/poll.h-data [XPG3]: Likewise.
7564 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7565 * conform/data/strings.h-data [XPG3]: Likewise.
7566 * conform/data/stropts.h-data [XPG3]: Likewise.
7567 * conform/data/sys/mman.h-data [XPG3]: Likewise.
7568 * conform/data/sys/resource.h-data [XPG3]: Likewise.
7569 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
7571 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
7572 * conform/data/sys/time.h-data [XPG3]: Likewise.
7573 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
7574 * conform/data/sys/uio.h-data [XPG3]: Likewise.
7575 * conform/data/sys/un.h-data [XPG3]: Likewise.
7576 * conform/data/syslog.h-data [XPG3]: Likewise.
7577 * conform/data/ucontext.h-data [XPG3]: Likewise.
7578 * conform/data/utmpx.h-data [XPG3]: Likewise.
7579 * conform/data/varargs.h-data [UNIX98]: Enable file.
7581 * manual/Makefile (INSTALL_INFO): Remove variable setting.
7583 * math/libm-test.inc (struct test_f_f_data): Move expected results
7584 into structure for each rounding mode.
7585 (struct test_ff_f_data): Likewise.
7586 (struct test_ff_f_data_nexttoward): Likewise.
7587 (struct test_fi_f_data): Likewise.
7588 (struct test_fl_f_data): Likewise.
7589 (struct test_if_f_data): Likewise.
7590 (struct test_fff_f_data): Likewise.
7591 (struct test_c_f_data): Likewise.
7592 (struct test_f_f1_data): Likewise.
7593 (struct test_fF_f1_data): Likewise.
7594 (struct test_ffI_f1_data): Likewise.
7595 (struct test_c_c_data): Likewise.
7596 (struct test_cc_c_data): Likewise.
7597 (struct test_f_i_data): Likewise.
7598 (struct test_ff_i_data): Likewise.
7599 (struct test_f_l_data): Likewise.
7600 (struct test_f_L_data): Likewise.
7601 (struct test_fFF_11_data): Likewise.
7603 (RM_FE_DOWNWARD): Likewise.
7604 (RM_FE_TONEAREST): Likewise.
7605 (RM_FE_TOWARDZERO): Likewise.
7606 (RM_FE_UPWARD): Likewise.
7607 (RUN_TEST_LOOP_f_f): Update references to expected results.
7608 (RUN_TEST_LOOP_2_f): Likewise.
7609 (RUN_TEST_LOOP_fff_f): Likewise.
7610 (RUN_TEST_LOOP_c_f): Likewise.
7611 (RUN_TEST_LOOP_f_f1): Likewise.
7612 (RUN_TEST_LOOP_fF_f1): Likewise.
7613 (RUN_TEST_LOOP_fI_f1): Likewise.
7614 (RUN_TEST_LOOP_ffI_f1): Likewise.
7615 (RUN_TEST_LOOP_c_c): Likewise.
7616 (RUN_TEST_LOOP_cc_c): Likewise.
7617 (RUN_TEST_LOOP_f_i): Likewise.
7618 (RUN_TEST_LOOP_f_i_tg): Likewise.
7619 (RUN_TEST_LOOP_ff_i_tg): Likewise.
7620 (RUN_TEST_LOOP_f_b): Likewise.
7621 (RUN_TEST_LOOP_f_b_tg): Likewise.
7622 (RUN_TEST_LOOP_f_l): Likewise.
7623 (RUN_TEST_LOOP_f_L): Likewise.
7624 (RUN_TEST_LOOP_fFF_11): Likewise.
7625 * math/gen-libm-test.pl (parse_args): Output four copies of
7626 expected results for each test.
7628 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7629 (__ASSUME_UTIMES): Remove.
7630 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7631 (__ASSUME_UTIMES): Likewise.
7633 * math/gen-auto-libm-tests.c: Update comment on output format.
7634 (output_for_one_input_case): Generate before-rounding and
7635 after-rounding information as conditions on output flags not
7636 floating-point format.
7637 * math/auto-libm-test-out: Regenerated.
7638 * math/gen-libm-test.pl (cond_value): New function.
7639 (or_cond_value): Use cond_value.
7640 (generate_testfile): Handle conditional exceptions.
7642 2014-03-05 Joseph Myers <joseph@codesourcery.com>
7644 * math/libm-test.inc (max_valid_error): New variable.
7645 (init_max_error): Take new argument specifying whether function
7646 results are exactly determined. Set max_valid_error and bound
7647 other variables for errors based on this argument.
7648 (set_max_error): Do not record results above max_valid_error.
7649 (check_float_internal): Only accept errors of up to 0.5ulps if
7650 also at most max_valid_error.
7651 (START): Take new argument EXACT and pass it to init_max_error.
7652 (acos_test): Update call to START.
7653 (acos_test_tonearest): Likewise.
7654 (acos_test_towardzero): Likewise.
7655 (acos_test_downward): Likewise.
7656 (acos_test_upward): Likewise.
7657 (acosh_test): Likewise.
7658 (asin_test): Likewise.
7659 (asin_test_tonearest): Likewise.
7660 (asin_test_towardzero): Likewise.
7661 (asin_test_downward): Likewise.
7662 (asin_test_upward): Likewise.
7663 (asinh_test): Likewise.
7664 (atan_test): Likewise.
7665 (atanh_test): Likewise.
7666 (atan2_test): Likewise.
7667 (cabs_test): Likewise.
7668 (cacos_test): Likewise.
7669 (cacosh_test): Likewise.
7670 (carg_test): Likewise.
7671 (casin_test): Likewise.
7672 (casinh_test): Likewise.
7673 (catan_test): Likewise.
7674 (catanh_test): Likewise.
7675 (cbrt_test): Likewise.
7676 (ccos_test): Likewise.
7677 (ccosh_test): Likewise.
7678 (ceil_test): Likewise.
7679 (cexp_test): Likewise.
7680 (cimag_test): Likewise.
7681 (clog_test): Likewise.
7682 (clog10_test): Likewise.
7683 (conj_test): Likewise.
7684 (copysign_test): Likewise.
7685 (cos_test): Likewise.
7686 (cos_test_tonearest): Likewise.
7687 (cos_test_towardzero): Likewise.
7688 (cos_test_downward): Likewise.
7689 (cos_test_upward): Likewise.
7690 (cosh_test): Likewise.
7691 (cosh_test_tonearest): Likewise.
7692 (cosh_test_towardzero): Likewise.
7693 (cosh_test_downward): Likewise.
7694 (cosh_test_upward): Likewise.
7695 (cpow_test): Likewise.
7696 (cproj_test): Likewise.
7697 (creal_test): Likewise.
7698 (csin_test): Likewise.
7699 (csinh_test): Likewise.
7700 (csqrt_test): Likewise.
7701 (ctan_test): Likewise.
7702 (ctan_test_tonearest): Likewise.
7703 (ctan_test_towardzero): Likewise.
7704 (ctan_test_downward): Likewise.
7705 (ctan_test_upward): Likewise.
7706 (ctanh_test): Likewise.
7707 (ctanh_test_tonearest): Likewise.
7708 (ctanh_test_towardzero): Likewise.
7709 (ctanh_test_downward): Likewise.
7710 (ctanh_test_upward): Likewise.
7711 (erf_test): Likewise.
7712 (erfc_test): Likewise.
7713 (exp_test): Likewise.
7714 (exp_test_tonearest): Likewise.
7715 (exp_test_towardzero): Likewise.
7716 (exp_test_downward): Likewise.
7717 (exp_test_upward): Likewise.
7718 (exp10_test): Likewise.
7719 (exp10_test_tonearest): Likewise.
7720 (exp10_test_towardzero): Likewise.
7721 (exp10_test_downward): Likewise.
7722 (exp10_test_upward): Likewise.
7723 (pow10_test): Likewise.
7724 (exp2_test): Likewise.
7725 (expm1_test): Likewise.
7726 (expm1_test_tonearest): Likewise.
7727 (expm1_test_towardzero): Likewise.
7728 (expm1_test_downward): Likewise.
7729 (expm1_test_upward): Likewise.
7730 (fabs_test): Likewise.
7731 (fdim_test): Likewise.
7732 (floor_test): Likewise.
7733 (fma_test): Likewise.
7734 (fma_test_towardzero): Likewise.
7735 (fma_test_downward): Likewise.
7736 (fma_test_upward): Likewise.
7737 (fmax_test): Likewise.
7738 (fmin_test): Likewise.
7739 (fmod_test): Likewise.
7740 (fpclassify_test): Likewise.
7741 (frexp_test): Likewise.
7742 (hypot_test): Likewise.
7743 (ilogb_test): Likewise.
7744 (isfinite_test): Likewise.
7745 (finite_test): Likewise.
7746 (isgreater_test): Likewise.
7747 (isgreaterequal_test): Likewise.
7748 (isinf_test): Likewise.
7749 (isless_test): Likewise.
7750 (islessequal_test): Likewise.
7751 (islessgreater_test): Likewise.
7752 (isnan_test): Likewise.
7753 (isnormal_test): Likewise.
7754 (issignaling_test): Likewise.
7755 (isunordered_test): Likewise.
7756 (j0_test): Likewise.
7757 (j1_test): Likewise.
7758 (jn_test): Likewise.
7759 (ldexp_test): Likewise.
7760 (lgamma_test): Likewise.
7761 (gamma_test): Likewise.
7762 (lrint_test): Likewise.
7763 (lrint_test_tonearest): Likewise.
7764 (lrint_test_towardzero): Likewise.
7765 (lrint_test_downward): Likewise.
7766 (lrint_test_upward): Likewise.
7767 (llrint_test): Likewise.
7768 (llrint_test_tonearest): Likewise.
7769 (llrint_test_towardzero): Likewise.
7770 (llrint_test_downward): Likewise.
7771 (llrint_test_upward): Likewise.
7772 (log_test): Likewise.
7773 (log10_test): Likewise.
7774 (log1p_test): Likewise.
7775 (log2_test): Likewise.
7776 (logb_test): Likewise.
7777 (logb_test_downward): Likewise.
7778 (lround_test): Likewise.
7779 (llround_test): Likewise.
7780 (modf_test): Likewise.
7781 (nearbyint_test): Likewise.
7782 (nextafter_test): Likewise.
7783 (nexttoward_test): Likewise.
7784 (pow_test): Likewise.
7785 (pow_test_tonearest): Likewise.
7786 (pow_test_towardzero): Likewise.
7787 (pow_test_downward): Likewise.
7788 (pow_test_upward): Likewise.
7789 (remainder_test): Likewise.
7790 (drem_test): Likewise.
7791 (remainder_test_tonearest): Likewise.
7792 (drem_test_tonearest): Likewise.
7793 (remainder_test_towardzero): Likewise.
7794 (drem_test_towardzero): Likewise.
7795 (remainder_test_downward): Likewise.
7796 (drem_test_downward): Likewise.
7797 (remainder_test_upward): Likewise.
7798 (drem_test_upward): Likewise.
7799 (remquo_test): Likewise.
7800 (rint_test): Likewise.
7801 (rint_test_tonearest): Likewise.
7802 (rint_test_towardzero): Likewise.
7803 (rint_test_downward): Likewise.
7804 (rint_test_upward): Likewise.
7805 (round_test): Likewise.
7806 (scalb_test): Likewise.
7807 (scalbn_test): Likewise.
7808 (scalbln_test): Likewise.
7809 (signbit_test): Likewise.
7810 (sin_test): Likewise.
7811 (sin_test_tonearest): Likewise.
7812 (sin_test_towardzero): Likewise.
7813 (sin_test_downward): Likewise.
7814 (sin_test_upward): Likewise.
7815 (sincos_test): Likewise.
7816 (sinh_test): Likewise.
7817 (sinh_test_tonearest): Likewise.
7818 (sinh_test_towardzero): Likewise.
7819 (sinh_test_downward): Likewise.
7820 (sinh_test_upward): Likewise.
7821 (sqrt_test): Likewise.
7822 (sqrt_test_tonearest): Likewise.
7823 (sqrt_test_towardzero): Likewise.
7824 (sqrt_test_downward): Likewise.
7825 (sqrt_test_upward): Likewise.
7826 (tan_test): Likewise.
7827 (tan_test_tonearest): Likewise.
7828 (tan_test_towardzero): Likewise.
7829 (tan_test_downward): Likewise.
7830 (tan_test_upward): Likewise.
7831 (tanh_test): Likewise.
7832 (tgamma_test): Likewise.
7833 (trunc_test): Likewise.
7834 (y0_test): Likewise.
7835 (y1_test): Likewise.
7836 (yn_test): Likewise.
7837 (significand_test): Likewise.
7839 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
7840 individual tests in comment.
7841 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
7842 (prev_max_error): New variable.
7843 (prev_real_max_error): Likewise.
7844 (prev_imag_max_error): Likewise.
7845 (compare_ulp_data): Don't refer to test names in comment.
7846 (find_test_ulps): Remove function.
7847 (find_function_ulps): Likewise.
7848 (find_complex_function_ulps): Likewise.
7849 (init_max_error): Take function name as argument. Look up ulps
7851 (print_ulps): Remove function.
7852 (print_max_error): Use prev_max_error instead of calling
7854 (print_complex_max_error): Use prev_real_max_error and
7855 prev_imag_max_error instead of calling find_complex_function_ulps.
7856 (check_float_internal): Take max_ulp parameter instead of calling
7857 find_test_ulps. Don't call print_ulps.
7858 (check_float): Update call to check_float_internal.
7859 (check_complex): Update calls to check_float_internal.
7860 (START): Pass argument to init_max_error.
7861 * math/gen-libm-test.pl (%results): Don't include "kind"
7863 (parse_ulps): Don't handle ulps of individual tests.
7864 (print_ulps_file): Likewise.
7865 (output_ulps): Likewise.
7866 * math/README.libm-test: Update.
7867 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
7869 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
7870 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
7871 * sysdeps/arm/libm-test-ulps: Likewise.
7872 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
7873 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
7874 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
7875 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
7876 * sysdeps/microblaze/libm-test-ulps: Likewise.
7877 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
7878 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7879 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7880 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
7881 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7882 * sysdeps/sh/libm-test-ulps: Likewise.
7883 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7884 * sysdeps/tile/libm-test-ulps: Likewise.
7885 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7887 2014-03-04 Joseph Myers <joseph@codesourcery.com>
7889 * math/libm-test.inc (print_complex_max_error): Check separately
7890 whether real and imaginary errors are within allowed range and
7891 pass 0 to print_complex_function_ulps instead of value within
7894 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7896 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
7898 (get_handles_fopen): Likewise.
7899 (do_write_test): Likewise.
7901 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
7903 * libio/fileops.c (do_ftell): Use cached offset when
7905 * libio/iofwide.c (do_ftell_wide): Likewise.
7906 * libio/iofdopen.c (_IO_new_fdopen): Don't use
7908 * libio/wfileops.c (_IO_fwide): Don't cache offset.
7911 * libio/libioP.h (get_file_offset): New function.
7912 * libio/fileops.c (get_file_offset): Likewise.
7913 (do_ftell): Likewise.
7914 (_IO_new_file_seekoff): Split out ftell logic.
7915 * libio/wfileops.c (do_ftell_wide): Likewise.
7916 (_IO_wfile_seekoff): Split out ftell logic.
7917 * libio/tst-ftell-active-handler.c: New test case.
7918 * libio/Makefile (tests): Add it.
7920 2014-03-03 Roland McGrath <roland@hack.frob.com>
7922 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
7923 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
7925 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7928 * nscd/connections.c (nscd_init): Call do_exit.
7929 (start_threads): Call do_exit and notify_parent.
7930 (begin_drop_privileges): Call do_exit.
7931 (finish_drop_privileges): Likewise.
7932 * nscd/selinux.c (preserve_capabilities): Likewise.
7933 (install_real_capabilities): Likewise.
7934 (nscd_selinux_enabled): Likewise.
7935 (avc_create_thread): Likewise.
7936 (avc_alloc_lock): Likewise.
7937 (nscd_avc_init): Likewise.
7938 * nscd/nscd.c (parent_fd): New static variable.
7939 (main): Create a pipe between parent and child processes.
7940 Skip closing parent_fd.
7941 (monitor_child): New function.
7942 (do_exit): Likewise.
7943 (notify_parent): Likewise.
7944 * nscd/nscd.h (notify_parent): Likewise.
7945 (do_exit): Likewise.
7947 2014-03-03 Carlos O'Donell <carlos@redhat.com>
7949 * malloc/malloc.c (__libc_calloc): Revert last change.
7951 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7953 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7955 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7957 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
7958 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
7960 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7961 (__libc_ifunc_impl_list): Likewise.
7962 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
7963 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
7964 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
7965 * string/strrchr.c: Define STRRCHR.
7967 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
7969 * benchtest/bench-strtok.c (simple_strtok): Delete.
7970 (strtok_string): Use as benchmark.
7971 * string/strtok (STRTOK): New macro.
7973 2014-02-28 Carlos O'Donell <carlos@redhat.com>
7975 * manual/threads.texi: Add header and standard comments to all
7978 * elf/dl-lookup.c (check_match): New function.
7979 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
7980 (do_lookup_x): Remove nested function check_match. Use non-nested
7981 function check_match.
7983 2014-02-28 Roland McGrath <roland@hack.frob.com>
7985 * csu/Makefile (generated, before-compile): Use += rather than =.
7986 * catgets/Makefile (generated, generated-dirs): Likewise.
7987 * debug/Makefile (generated): Likewise.
7988 * dlfcn/Makefile (generated): Likewise.
7989 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
7990 * iconvdata/Makefile (before-compile, generated): Likewise.
7991 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
7992 * libio/Makefile (generated): Likewise.
7993 * malloc/Makefile (generated): Likewise.
7994 * manual/Makefile (generated, generated-dirs): Likewise.
7995 * misc/Makefile (generated): Likewise.
7996 * posix/Makefile (generated): Likewise.
7997 * resolv/Makefile (generated): Likewise.
7998 * sunrpc/Makefile (generated, generated-dirs): Likewise.
7999 * timezone/Makefile (generated, generated-dirs): Likewise.
8001 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
8003 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8005 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
8006 power8 implementation.
8007 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
8008 file: POWER8 llround ifunc implementation.
8009 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
8010 (__lllround): Add POWER8 implementation.
8011 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
8012 POWER8 llround implementation.
8014 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
8015 power8 implementation.
8016 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
8017 file: POWER8 llrint ifunc implementation.
8018 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
8019 Add POWER8 implementation.
8020 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
8021 POWER8 llrint implementation.
8023 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
8024 power8 implementation.
8025 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
8026 file: POWER8 finite ifunc implementation.
8027 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
8028 Add POWER8 implementation.
8029 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
8031 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
8032 POWER8 finite implementation.
8033 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
8035 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
8036 power8 implementation.
8037 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
8038 file: POWER8 isinf ifunc implementation.
8039 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
8040 POWER8 implementation.
8041 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
8043 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
8044 isinf implementation.
8045 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
8047 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
8048 (INIT_ARCH): Add hwcap2 initialization.
8049 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
8050 power8 implementation.
8051 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
8052 file: POWER8 isnan ifunc implementation.
8053 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
8054 POWER8 implementation.
8055 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
8057 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
8058 isnan implementation.
8059 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
8061 2014-02-27 Joey Ye <joey.ye@arm.com>
8063 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
8064 (_FP_NANFRAC_Q): Set to zero.
8066 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8069 * math/auto-libm-test-in: New test inputs.
8070 * math/auto-libm-test-out: Regenerate.
8071 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
8074 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
8076 2014-02-27 Joseph Myers <joseph@codesourcery.com>
8078 * scripts/evaluate-test.sh: Take new argument indicating whether
8079 failure is expected.
8080 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
8081 indicating whether failure is expected.
8082 * conform/Makefile (test-xfail-run-conformtest): New variable.
8083 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
8085 * posix/Makefile (test-xfail-annexc): New variable.
8086 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
8088 2014-02-26 Joseph Myers <joseph@codesourcery.com>
8090 * argp/Makefile: Include Makeconfig immediately after defining
8092 * assert/Makefile: Likewise.
8093 * benchtests/Makefile: Likewise.
8094 * catgets/Makefile: Likewise.
8095 * conform/Makefile: Likewise.
8096 * crypt/Makefile: Likewise.
8097 * csu/Makefile: Likewise.
8098 (all): Remove target.
8099 * ctype/Makefile: Include Makeconfig immediately after defining
8101 * debug/Makefile: Likewise.
8102 * dirent/Makefile: Likewise.
8103 * dlfcn/Makefile: Likewise.
8104 * gmon/Makefile: Likewise.
8105 * gnulib/Makefile: Likewise.
8106 * grp/Makefile: Likewise.
8107 * gshadow/Makefile: Likewise.
8108 * hesiod/Makefile: Likewise.
8109 * hurd/Makefile: Likewise.
8110 (all): Remove target.
8111 * iconvdata/Makefile: Include Makeconfig immediately after
8113 * inet/Makefile: Likewise.
8114 * intl/Makefile: Likewise.
8115 * io/Makefile: Likewise.
8116 * libio/Makefile: Likewise.
8117 (all): Remove target.
8118 * locale/Makefile: Include Makeconfig immediately after defining
8120 * login/Makefile: Likewise.
8121 * mach/Makefile: Likewise.
8122 (all): Remove target.
8123 * malloc/Makefile: Include Makeconfig immediately after defining
8125 (all): Remove target.
8126 * manual/Makefile: Include Makeconfig immediately after defining
8128 * math/Makefile: Likewise.
8129 * misc/Makefile: Likewise.
8130 * nis/Makefile: Likewise.
8131 * nss/Makefile: Likewise.
8132 * po/Makefile: Likewise.
8133 (all): Remove target.
8134 * posix/Makefile: Include Makeconfig immediately after defining
8136 * pwd/Makefile: Likewise.
8137 * resolv/Makefile: Likewise.
8138 * resource/Makefile: Likewise.
8139 * rt/Makefile: Likewise.
8140 * setjmp/Makefile: Likewise.
8141 * shadow/Makefile: Likewise.
8142 * signal/Makefile: Likewise.
8143 * socket/Makefile: Likewise.
8144 * soft-fp/Makefile: Likewise.
8145 * stdio-common/Makefile: Likewise.
8146 * stdlib/Makefile: Likewise.
8147 * streams/Makefile: Likewise.
8148 * string/Makefile: Likewise.
8149 * sunrpc/Makefile: Likewise.
8150 (all): Remove target.
8151 * sysvipc/Makefile: Include Makeconfig immediately after defining
8153 * termios/Makefile: Likewise.
8154 * time/Makefile: Likewise.
8155 * timezone/Makefile: Likewise.
8156 (all): Remove target.
8157 * wcsmbs/Makefile: Include Makeconfig immediately after defining
8159 * wctype/Makefile: Likewise.
8161 2014-02-26 Steve Ellcey <sellcey@mips.com>
8163 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
8164 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
8165 (libc_feholdexcept_setround_mips): Ditto.
8166 (libc_feholdsetround): New.
8167 (libc_feholdsetroundf): New.
8168 (libc_feholdsetroundl): New.
8169 (libc_feupdateenv_test_mips): New.
8170 (libc_feupdateenv_test): New.
8171 (libc_feupdateenv_testf): New.
8172 (libc_feupdateenv_testl): New.
8173 (libc_feresetround): New.
8174 (libc_feresetroundf): New.
8175 (libc_feresetroundl): New.
8176 (libc_fetestexcept_mips): New.
8177 (libc_fetestexcept): New.
8178 (libc_fetestexceptf): New.
8179 (libc_fetestexceptl): New.
8181 (libc_feholdexcept_setround_mips_ctx): New.
8182 (libc_feholdexcept_setround_ctx): New.
8183 (libc_feholdexcept_setroundf_ctx): New.
8184 (libc_feholdexcept_setroundl_ctx): New.
8185 (libc_fesetenv_mips_ctx): New.
8186 (libc_fesetenv_ctx): New.
8187 (libc_fesetenv_ctxf): New.
8188 (libc_fesetenv_ctxl): New.
8189 (libc_feupdateenv_mips_ctx): New.
8190 (libc_feupdateenv_ctx): New.
8191 (libc_feupdateenvf_ctx): New.
8192 (libc_feupdateenvl_ctx): New.
8193 (libc_feholdsetround_mips_ctx): New.
8194 (libc_feholdsetround_ctx): New.
8195 (libc_feholdsetroundf_ctx): New.
8196 (libc_feholdsetroundl_ctx): New.
8197 (libc_feresetround_mips_ctx): New.
8198 (libc_feresetround_ctx): New.
8199 (libc_feresetroundf_ctx): New.
8200 (libc_feresetroundl_ctx): New.
8202 2014-02-26 Carlos O'Donell <carlos@redhat.com>
8204 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
8206 * manual/ipc.texi: New file.
8207 * manual/Makefile (chapters): Add ipc.
8208 * manual/job.texi: Add "Inter-Process Communication" to next.
8209 * manual/process.texi: Add "Inter-Process Communication" to prev.
8211 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8213 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8215 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
8217 * malloc/malloc.c (__libc_calloc): Simplify implementation.
8219 * manual/arith.texi: Fix spaces after sentences.
8220 * manual/charset.texi: Likewise.
8221 * manual/errno.texi: Likewise.
8222 * manual/install.texi: Likewise.
8223 * manual/llio.texi: Likewise.
8224 * manual/locale.texi: Likewise.
8225 * manual/maint.texi: Likewise.
8226 * manual/math.texi: Likewise.
8227 * manual/memory.texi: Likewise.
8228 * manual/message.texi: Likewise.
8229 * manual/probes.texi: Likewise.
8230 * manual/resource.texi: Likewise.
8231 * manual/signal.texi: Likewise.
8232 * manual/socket.texi: Likewise.
8233 * manual/stdio.texi: Likewise.
8234 * manual/string.texi: Likewise.
8235 * manual/time.texi: Likewise.
8236 * manual/users.texi: Likewise.
8238 2014-02-25 Carlos O'Donell <carlos@redhat.com>
8241 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
8242 _DEFAULT_SOURCE is defined.
8244 2014-02-25 Ulrich Drepper <drepper@gmail.com>
8245 Carlos O'Donell <carlos@redhat.com>
8248 * elf/dl-tls.c (_dl_count_modids): New function.
8249 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
8250 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
8251 audit library and increment generation counter.
8252 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
8253 * elf/tst-audit9.c: New file.
8254 * elf/tst-auditmod9a.c: New file.
8255 * elf/tst-auditmod9b.c: New file.
8256 * elf/Makefile: Add rules to build and run tst-audit9.
8258 2014-02-25 Florian Weimer <fweimer@redhat.com>
8261 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
8263 2014-02-25 Will Newton <will.newton@linaro.org>
8265 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
8266 (__longjmp): Restore sp and lr before restoring callee
8267 saved registers. Add longjmp and longjmp_target
8268 SystemTap probe point.
8269 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
8270 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
8271 Define to zero to match jmpbuf layout.
8272 * sysdeps/arm/setjmp.S: Include stap-probe.h.
8273 (__sigsetjmp): Save sp and lr before saving callee
8274 saved registers. Add setjmp SystemTap probe point.
8276 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
8278 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8280 2014-02-24 Andreas Schwab <schwab@suse.de>
8283 * elf/pldd.c (wait_for_ptrace_stop): New function.
8284 (main): Call it after attaching.
8286 2014-02-22 Roland McGrath <roland@hack.frob.com>
8288 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
8289 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
8290 Versions files is now verboten.
8291 * hurd/Versions (libc: GLIBC_2.0):
8292 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
8293 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
8294 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
8295 * mach/Versions: Likewise.
8297 * csu/Versions: Remove unused %include.
8298 * resolv/Versions: Likewise.
8300 2014-02-21 Joseph Myers <joseph@codesourcery.com>
8302 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
8303 ($(objpfx)check-local-headers.out): Likewise.
8304 ($(objpfx)begin-end-check.out): Likewise.
8305 * Makerules (check-abi-%.out): Likewise.
8306 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
8307 ($(objpfx)test2.cat): Likewise.
8308 ($(objpfx)de/libc.cat): Likewise.
8309 ($(objpfx)test-gencat.out): Likewise.
8310 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
8311 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
8312 ($(objpfx)noload-mem): Likewise.
8313 ($(objpfx)tst-pathopt.out): Likewise.
8314 ($(objpfx)tst-rtld-load-self.out): Likewise.
8315 ($(objpfx)tst-array1-cmp.out): Likewise.
8316 ($(objpfx)tst-array1-static-cmp.out): Likewise.
8317 ($(objpfx)tst-array2-cmp.out): Likewise.
8318 ($(objpfx)tst-array3-cmp.out): Likewise.
8319 ($(objpfx)tst-array4-cmp.out): Likewise.
8320 ($(objpfx)tst-array5-cmp.out): Likewise.
8321 ($(objpfx)tst-array5-static-cmp.out): Likewise.
8322 ($(objpfx)check-textrel.out): Likewise.
8323 ($(objpfx)check-execstack.out): Likewise.
8324 ($(objpfx)check-localplt.out): Likewise.
8325 ($(objpfx)order2-cmp.out): Likewise.
8326 ($(objpfx)tst-leaks1-mem): Likewise.
8327 ($(objpfx)tst-leaks1-static-mem): Likewise.
8328 ($(objpfx)tst-initorder-cmp.out): Likewise.
8329 ($(objpfx)tst-initorder2-cmp.out): Likewise.
8330 ($(objpfx)tst-unused-dep.out): Likewise.
8331 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
8332 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
8333 * iconv/Makefile (test-iconvconfig): Likewise.
8334 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
8335 ($(objpfx)iconv-test.out): Likewise.
8336 ($(objpfx)tst-tables.out): Likewise.
8337 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
8338 ($(objpfx)tst-gettext.out): Likewise.
8339 ($(objpfx)tst-translit.out): Likewise.
8340 ($(objpfx)tst-gettext2.out): Likewise.
8341 ($(objpfx)tst-gettext4.out): Likewise.
8342 ($(objpfx)tst-gettext6.out): Likewise.
8343 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
8344 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
8345 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
8346 ($(objpfx)tst-fopenloc-mem.out): Likewise.
8347 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
8348 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
8349 * posix/Makefile ($(objpfx)globtest.out): Likewise.
8350 ($(objpfx)wordexp-tst.out): Likewise.
8351 ($(objpfx)annexc.out): Likewise.
8352 ($(objpfx)tst-fnmatch-mem): Likewise.
8353 ($(objpfx)bug-regex2-mem): Likewise.
8354 ($(objpfx)bug-regex14-mem): Likewise.
8355 ($(objpfx)bug-regex21-mem): Likewise.
8356 ($(objpfx)bug-regex31-mem): Likewise.
8357 ($(objpfx)tst-vfork3-mem): Likewise.
8358 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8359 ($(objpfx)tst-pcre-mem): Likewise.
8360 ($(objpfx)tst-boost-mem): Likewise.
8361 ($(objpfx)tst-getconf.out): Likewise.
8362 ($(objpfx)bug-ga2-mem): Likewise.
8363 ($(objpfx)bug-glob2-mem): Likewise.
8364 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
8365 ($(objpfx)mtrace-tst-leaks2): Likewise.
8366 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
8367 ($(objpfx)tst-printf.out): Likewise.
8368 ($(objpfx)tst-setvbuf1.out): Likewise.
8369 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
8370 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
8371 ($(objpfx)tst-fmtmsg.out): Likewise.
8372 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
8373 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
8375 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
8376 * bits/sigaction.h [__USE_MISC]: Likewise.
8377 * bits/waitstatus.h: Update #endif comments.
8378 * ctype/ctype.h: Likewise.
8379 * dirent/dirent.h: Likewise.
8380 [__USE_MISC]: Remove redundant conditionals.
8381 * grp/grp.h: Update #endif comments.
8382 [__USE_GNU]: Remove redundant conditionals.
8383 [__USE_MISC]: Likewise.
8384 * inet/netinet/in.h [__USE_GNU]: Likewise.
8385 * io/sys/stat.h [__USE_MISC]: Likewise.
8386 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
8387 * libio/bits/stdio.h: Update #endif comments.
8388 [__USE_MISC]: Remove redundant conditionals.
8389 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
8390 * libio/stdio.h: Update #endif comments.
8391 [__USE_MISC]: Remove redundant conditionals.
8392 * math/bits/math-finite.h [__USE_MISC]: Likewise.
8393 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
8394 * math/math.h: Update #else and #endif comments.
8395 [__USE_MISC]: Remove redundant conditionals.
8396 * misc/sys/uio.h: Update #endif comments.
8397 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
8398 * posix/glob.h [__USE_MISC]: Likewise.
8399 * posix/sys/types.h: Update #endif comments.
8400 [__USE_MISC]: Remove redundant conditionals.
8401 * posix/sys/wait.h: Update #endif comments.
8402 [__USE_MISC]: Remove redundant conditionals.
8403 * posix/unistd.h: Update #endif comments.
8404 [__USE_MISC]: Remove redundant conditionals.
8405 * pwd/pwd.h [__USE_GNU]: Likewise.
8406 [__USE_MISC]: Likewise.
8407 * resolv/netdb.h [__USE_GNU]: Likewise.
8408 * signal/signal.h: Update #endif comments.
8409 [__USE_MISC]: Remove redundant conditionals.
8410 * stdlib/stdlib.h: Update #else and #endif comments.
8411 [__USE_MISC]: Remove redundant conditionals.
8412 [__USE_GNU]: Likewise.
8413 * string/bits/string2.h [__USE_MISC]: Likewise.
8414 * string/string.h: Update #endif comments.
8415 [__USE_MISC]: Remove redundant conditionals.
8416 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
8418 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
8419 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
8420 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
8422 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
8424 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
8426 [__USE_MISC]: Remove redundant conditionals.
8427 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
8428 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
8429 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
8430 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
8431 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
8433 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
8434 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
8436 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
8437 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
8439 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
8441 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
8442 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
8444 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
8446 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
8447 * sysdeps/x86/bits/string.h: Update #endif comments.
8448 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
8450 * time/sys/time.h: Update #endif comments.
8451 * time/time.h: Likewise.
8452 [__USE_MISC]: Remove redundant conditionals.
8454 2014-02-21 Yury Gribov <y.gribov@samsung.com>
8457 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
8459 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
8461 * Versions.def (librt): Add GLIBC_2.17.
8463 2014-02-21 Adam Conrad <adconrad@0c3.net>
8465 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
8466 synonym for _SYS_AUXV_H to allow direct inclusion.
8467 * sysdeps/sparc/bits/hwcap.h: Likewise.
8468 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
8469 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
8470 * sysdeps/sparc/sysdep.h: Likewise.
8472 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8474 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
8476 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8478 * benchtests/bench-strrchr.c: Print length instead of position.
8480 2014-02-20 Joseph Myers <joseph@codesourcery.com>
8483 * sysdeps/unix/sysv/linux/kernel-features.h
8484 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
8485 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
8486 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
8487 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
8489 [__i386__ || __powerpc__ || __sh__ || __sparc__]
8490 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8491 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
8492 (__ASSUME_SENDMMSG): Define instead of using previous
8493 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
8494 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8495 (__ASSUME_SENDMMSG_SYSCALL): Define.
8496 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8497 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
8499 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8500 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8502 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8503 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8505 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
8506 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
8507 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
8508 [__ASSUME_SENDMMSG]: Change conditionals to
8509 [__ASSUME_SENDMMSG_SOCKETCALL].
8510 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8511 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
8513 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8514 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
8516 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
8517 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
8518 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
8519 [!__ASSUME_SENDMMSG]: Change conditional to
8520 [!__ASSUME_SENDMMSG_SOCKETCALL].
8521 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8522 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8526 * sysdeps/unix/sysv/linux/kernel-features.h
8527 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
8528 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
8529 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
8530 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
8531 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8532 [__i386__ || __sparc__]
8533 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8534 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
8535 (__ASSUME_RECVMMSG): Define instead of using previous
8536 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
8537 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8538 (__ASSUME_RECVMMSG_SYSCALL): Define.
8539 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8540 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8542 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8543 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8545 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8546 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8548 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
8549 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8550 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8551 [__ASSUME_RECVMMSG]: Change condition to
8552 [__ASSUME_RECVMMSG_SOCKETCALL].
8553 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8554 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8556 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8557 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8558 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8560 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
8561 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8562 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8563 [!__ASSUME_RECVMMSG]: Change condition to
8564 [!__ASSUME_RECVMMSG_SOCKETCALL].
8565 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8566 (__ASSUME_RECVMMSG_SYSCALL): Define.
8569 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
8570 __powerpc__ || __s390__ || __sh__ || __sparc__]
8571 (__ASSUME_SOCKETCALL): Define.
8572 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
8573 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
8574 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
8575 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
8576 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8577 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
8578 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
8579 (__ASSUME_ACCEPT4): Define instead of using previous
8580 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
8581 __powerpc__ || __sparc__ || __s390__)] condition.
8582 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8583 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8584 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
8585 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8586 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8587 [!__ASSUME_ACCEPT4]: Change condition to
8588 [!__ASSUME_ACCEPT4_SOCKETCALL].
8589 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8590 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
8591 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
8592 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8593 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
8594 __ASSUME_ACCEPT4_SYSCALL.
8595 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
8596 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
8597 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8598 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
8599 __ASSUME_ACCEPT4_SYSCALL.
8600 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
8601 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8602 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8603 [__ASSUME_ACCEPT4]: Change condition to
8604 [__ASSUME_ACCEPT4_SOCKETCALL].
8605 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8606 (__ASSUME_SOCKETCALL): Define.
8607 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
8608 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8609 (__ASSUME_SOCKETCALL): Define.
8610 (__ASSUME_ACCEPT4): Remove.
8611 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
8613 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8614 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
8616 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8617 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8619 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
8621 (HWCAP_ARM_LPAE): Likewise.
8622 (HWCAP_ARM_EVTSTRM): Likewise.
8623 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
8624 Add vpfd32, lpae and evtstrm.
8625 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
8628 2014-02-19 Joseph Myers <joseph@codesourcery.com>
8630 * math/auto-libm-test-in: Add tests of clog10.
8631 * math/auto-libm-test-out: Regenerated.
8632 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
8633 * sysdeps/i386/fpu/libm-test-ulps: Update.
8634 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8636 2014-02-18 Andreas Schwab <schwab@suse.de>
8639 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
8640 Store non-zero if the second buffer was newly allocated.
8641 (send_dg): Likewise.
8642 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
8643 to send_vc and send_dg.
8644 (res_nsend): Pass NULL for ansp2_malloced.
8645 * resolv/res_query.c (__libc_res_nquery): Add parameter
8646 answerp2_malloced and pass it down to __libc_res_nsend.
8647 (res_nquery): Pass additional NULL to __libc_res_nquery.
8648 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
8649 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
8650 second answer buffer if answerp2_malloced was set.
8651 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
8652 (__libc_res_nquerydomain): Add parameter
8653 answerp2_malloced and pass it down to __libc_res_nquery.
8654 (res_nquerydomain): Pass additional NULL to
8655 __libc_res_nquerydomain.
8656 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
8657 additional NULL to __libc_res_nsend and __libc_res_nquery.
8658 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
8659 additional NULL to __libc_res_nsearch.
8660 (_nss_dns_gethostbyname4_r): Revert last change. Use new
8661 parameter of __libc_res_nsearch to check for separately allocated
8663 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
8665 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
8666 additional NULL to __libc_res_nquery.
8667 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
8669 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
8670 * include/resolv.h: Update prototypes of __libc_res_nquery,
8671 __libc_res_nsearch, __libc_res_nsend.
8673 2014-02-18 Joseph Myers <joseph@codesourcery.com>
8675 * math/auto-libm-test-in: Add tests of fma.
8676 * math/auto-libm-test-out: Regenerated.
8677 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
8678 (fma_towardzero_test_data): Likewise.
8679 (fma_downward_test_data): Likewise.
8680 (fma_upward_test_data): Likewise.
8681 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
8683 (rounding_modes): Add values for new field.
8684 (func_calc_method): Add value mpfr_fff_f.
8685 (func_calc_desc): Add mpfr_fff_f union field.
8686 (test_function): Add field exact_args.
8687 (FUNC): Add macro argument EXACT_ARGS.
8688 (FUNC_mpfr_f_f): Update call to FUNC.
8689 (FUNC_mpfr_f_f): Likewise.
8690 (FUNC_mpfr_ff_f): Likewise.
8691 (FUNC_mpfr_if_f): Likewise.
8692 (FUNC_mpc_c_f): Likewise.
8693 (FUNC_mpc_c_c): Likewise.
8694 (test_functions): Add fma. Update calls to FUNC.
8695 (handle_input_arg): Add argument exact_args.
8696 (add_test): Update call to handle_input_arg.
8697 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
8698 (output_for_one_input_case): Update call to calc_generic_results.
8699 Recalculate exact zero results in each rounding mode.
8701 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
8702 non-negative before setting low bit.
8703 * math/auto-libm-test-in: Mark one asin test possibly having
8705 * math/auto-libm-test-out: Regenerated.
8706 * sysdeps/i386/fpu/libm-test-ulps: Update.
8707 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8709 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
8711 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
8712 * sysdeps/unix/sysv/linux/microblaze: Move directory from
8713 ports/sysdeps/unix/sysv/linux/microblaze.
8714 * README: Add missing listing for microblaze*-*-linux-gnu.
8716 2014-02-16 Mike Frysinger <vapier@gentoo.org>
8718 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
8719 * sysdeps/unix/sysv/linux/ia64: Move directory from
8720 ports/sysdeps/unix/sysv/linux/ia64.
8721 * README: Update listing for ia64-*-linux-gnu.
8723 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
8724 Joseph Myers <joseph@codesourcery.com>
8726 * Makeconfig (test-name): New variable.
8727 (evaluate-test): Likewise.
8728 * Makerules (do-test-clean): Remove .test-result files.
8729 (common-mostlyclean): Likewise.
8730 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
8731 * scripts/evaluate-test.sh: New file.
8733 2014-02-14 Joseph Myers <joseph@codesourcery.com>
8735 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
8736 separate $(objpfx)tst-fopenloc-cmp.out and
8737 $(objpfx)tst-fopenloc-mem.out targets.
8738 (tests): Update dependencies.
8739 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
8740 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
8741 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
8742 (tst-rxspencer-no-utf8-ARGS): New variable.
8743 (tst-rxspencer-no-utf8-ENV): Likewise.
8744 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
8745 instead of $(objpfx)tst-rxspencer-mem.
8746 ($(objpfx)tst-rxspencer-mem): Change target to
8747 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
8748 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
8749 * posix/tst-rxspencer-no-utf8.c: New file.
8751 * elf/Makefile ($(objpfx)order.out): Remove rule.
8752 [$(run-built-tests) = yes] (tests): Depend on
8753 $(objpfx)order-cmp.out.
8754 ($(objpfx)order-cmp.out): New rule.
8755 [$(run-built-tests) = yes] (tests): Depend on
8756 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
8757 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
8758 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
8759 $(objpfx)tst-array5-static-cmp.out.
8760 ($(objpfx)tst-array1.out): Remove rule.
8761 ($(objpfx)tst-array1-cmp.out): New rule.
8762 ($(objpfx)tst-array1-static.out): Remove rule.
8763 ($(objpfx)tst-array1-static-cmp.out): New rule.
8764 ($(objpfx)tst-array2.out): Remove rule.
8765 ($(objpfx)tst-array2-cmp.out): New rule.
8766 ($(objpfx)tst-array3.out): Remove rule.
8767 ($(objpfx)tst-array3-cmp.out): New rule.
8768 ($(objpfx)tst-array4.out): Remove rule.
8769 ($(objpfx)tst-array4-cmp.out): New rule.
8770 ($(objpfx)tst-array5.out): Remove rule.
8771 ($(objpfx)tst-array5-cmp.out): New rule.
8772 ($(objpfx)tst-array5-static.out): Remove rule.
8773 ($(objpfx)tst-array5-static-cmp.out): New rule.
8774 [$(run-built-tests) = yes] (tests): Depend on
8775 $(objpfx)order2-cmp.out.
8776 ($(objpfx)order2.out): Remove rule.
8777 ($(objpfx)order2-cmp.out): New rule.
8778 ($(objpfx)tst-initorder.out): Remove rule.
8779 [$(run-built-tests) = yes] (tests): Depend on
8780 $(objpfx)tst-initorder-cmp.out.
8781 ($(objpfx)tst-initorder-cmp.out): New rule.
8782 ($(objpfx)tst-initorder2.out): Remove rule.
8783 [$(run-built-tests) = yes] (tests): Depend on
8784 $(objpfx)tst-initorder2-cmp.out.
8785 ($(objpfx)tst-initorder2-cmp.out): New rule.
8786 [$(run-built-tests) = yes] (tests): Depend on
8787 $(objpfx)tst-unused-dep-cmp.out.
8788 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
8789 ($(objpfx)tst-unused-dep-cmp.out): New rule.
8790 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
8791 on $(objpfx)tst-setvbuf1-cmp.out.
8792 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
8793 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
8794 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
8795 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
8796 ($(objpfx)tst-svc.out): Remove rule.
8797 ($(objpfx)tst-svc-cmp.out): New rule.
8799 2014-02-13 Joseph Myers <joseph@codesourcery.com>
8801 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
8802 * ctype/ctype.h [__USE_MISC]: Likewise.
8803 * dirent/dirent.h [__USE_MISC]: Likewise.
8804 * grp/grp.h [__USE_MISC]: Likewise.
8805 * io/fcntl.h [__USE_MISC]: Likewise.
8806 * io/sys/stat.h [__USE_MISC]: Likewise.
8807 * libio/stdio.h [__USE_MISC]: Likewise.
8808 * posix/unistd.h [__USE_MISC]: Likewise.
8809 * pwd/pwd.h [__USE_MISC]: Likewise.
8810 * stdlib.h [__USE_MISC]: Likewise.
8811 * string/bits/string2.h [__USE_MISC]: Likewise.
8812 * string/string.h [__USE_MISC]: Likewise.
8813 * time/time.h [__USE_MISC]: Likewise.
8815 2014-02-13 Andreas Schwab <schwab@suse.de>
8818 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
8819 second answer buffer if it was separately allocated.
8821 2014-02-12 Joseph Myers <joseph@codesourcery.com>
8823 * sysdeps/mips/math-tests.h: Include <features.h>.
8824 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
8825 (ROUNDING_TESTS_long_double): Do not define.
8826 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
8827 (EXCEPTION_TESTS_long_double): Likewise.
8828 * sysdeps/mips/mips64/libm-test-ulps: Update.
8830 * include/features.h (__USE_BSD): Remove macro definitions.
8831 (__USE_SVID): Likewise.
8832 (_BSD_SOURCE): Likewise.
8833 (_SVID_SOURCE): Likewise.
8834 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
8835 from definition of _DEFAULT_SOURCE.
8836 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
8838 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
8839 * bits/mman.h [__USE_BSD]: Likewise.
8840 * bits/termios.h [__USE_BSD]: Likewise.
8841 * bits/waitstatus.h [__USE_BSD]: Likewise.
8842 * ctype/ctype.h [__USE_SVID]: Likewise.
8843 * dirent/dirent.h [__USE_BSD]: Likewise.
8844 * grp/grp.h [__USE_SVID]: Likewise.
8845 [__USE_BSD]: Likewise.
8846 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
8847 * io/fcntl.h [__USE_BSD]: Likewise.
8848 * io/ftw.h [__USE_BSD]: Likewise.
8849 * io/sys/stat.h [__USE_BSD]: Likewise.
8850 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
8851 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
8852 * libio/stdio.h [__USE_SVID]: Likewise.
8853 [__USE_BSD]: Likewise.
8854 * math/math.h [__USE_SVID]: Likewise.
8855 [__USE_BSD]: Likewise.
8856 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
8857 * misc/bits/syslog.h [__USE_BSD]: Likewise.
8858 * misc/search.h [__USE_SVID]: Likewise.
8859 * misc/sys/mman.h [__USE_BSD]: Likewise.
8860 * misc/sys/syslog.h [__USE_BSD]: Likewise.
8861 * misc/sys/uio.h [__USE_BSD]: Likewise.
8862 * posix/bits/unistd.h [__USE_BSD]: Likewise.
8863 * posix/glob.h [__USE_BSD]: Likewise.
8864 * posix/regex.h [__USE_BSD]: Likewise.
8865 * posix/sys/types.h [__USE_BSD]: Likewise.
8866 [__USE_SVID]: Likewise.
8867 * posix/sys/utsname.h [__USE_SVID]: Likewise.
8868 * posix/sys/wait.h [__USE_BSD]: Likewise.
8869 [__USE_SVID]: Likewise.
8870 * posix/unistd.h [__USE_BSD]: Likewise.
8871 [__USE_SVID]: Likewise.
8872 * pwd/pwd.h [__USE_SVID]: Likewise.
8873 * resolv/netdb.h [__USE_BSD]: Likewise.
8874 * setjmp/setjmp.h [__USE_BSD]: Likewise.
8875 * signal/signal.h [__USE_BSD]: Likewise.
8876 [__USE_SVID]: Likewise.
8877 * socket/sys/socket.h [__USE_BSD]: Likewise.
8878 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
8879 * stdlib/stdlib.h [__USE_BSD]: Likewise.
8880 [__USE_SVID]: Likewise.
8881 * string/bits/string2.h [__USE_BSD]: Likewise.
8882 [__USE_SVID]: Likewise.
8883 * string/bits/string3.h [__USE_BSD]: Likewise.
8884 * string/endian.h [__USE_BSD]: Likewise.
8885 * string/string.h [__USE_SVID]: Likewise.
8886 [__USE_BSD]: Likewise.
8887 * string/strings.h [__USE_BSD]: Likewise.
8888 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
8889 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
8890 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
8891 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
8892 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
8893 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
8895 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
8897 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
8898 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
8900 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
8901 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
8903 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
8905 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
8906 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
8907 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
8909 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
8911 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
8912 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
8913 * termios/termios.h [__USE_BSD]: Likewise.
8914 * time/sys/time.h [__USE_BSD]: Likewise.
8915 * time/time.h [__USE_BSD]: Likewise.
8916 [__USE_SVID]: Likewise.
8918 * Makefile (subdir_targets): Remove subdir_lint.out.
8920 * stdio-common/Makefile (do-tst-unbputc): Remove target.
8921 (do-tst-printf): Likewise.
8922 (tests): Depend directly on $(objpfx)tst-unbputc.out and
8923 $(objpfx)tst-printf.out.
8925 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
8927 * Makerules (check-abi-%): Change target to
8928 $(objpfx)check-abi-%.out.
8929 (check-abi target): Update dependencies.
8930 (check-abi-pattern variable): Redirect output of diff to $@.
8931 (check-abi variable): Likewise.
8932 * elf/Makefile (check-abi): Update dependencies.
8934 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
8936 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
8937 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
8939 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
8940 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
8941 value has largest subnormal exponent.
8942 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
8943 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
8944 * sysdeps/aarch64/soft-fp/sfp-machine.h
8945 (_FP_TININESS_AFTER_ROUNDING): New macro.
8946 * sysdeps/alpha/soft-fp/sfp-machine.h
8947 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8948 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8950 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
8951 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8952 * sysdeps/mips/soft-fp/sfp-machine.h
8953 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8954 * sysdeps/powerpc/soft-fp/sfp-machine.h
8955 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8956 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8958 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
8959 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8960 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
8961 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8962 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8965 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
8968 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
8971 2014-02-12 Richard Henderson <rth@redhat.com>
8973 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
8974 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
8975 * sysdeps/unix/sysv/linux/alpha: Move directory from
8976 ports/sysdeps/unix/sysv/linux/alpha.
8977 * README: Update listing for alpha-*-linux-gnu.
8979 2014-02-11 Joseph Myers <joseph@codesourcery.com>
8981 * include/features.h: Update comment documenting feature test
8983 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
8985 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
8986 (_SVID_SOURCE): Likewise.
8987 (_DEFAULT_SOURCE): Update description of default features.
8988 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
8990 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
8991 (S_ISVTX): Likewise.
8992 * manual/math.texi (Mathematical Constants): Likewise.
8993 * manual/signal.texi (Interrupted Primitives): Likewise.
8994 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
8995 * math/test-matherr.c (_SVID_SOURCE): Do not define.
8996 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
8997 Don't refer to _SVID_SOURCE in warning text.
8999 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9001 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
9003 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
9004 * sysdeps/mips/dl-lookup.c: Remove.
9005 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
9007 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
9010 * math/auto-libm-test-in: Add testcase for expl.
9011 * math/auto-libm-test-out: Regenerate.
9012 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
9013 calculation of unsafe.
9014 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
9016 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
9018 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
9019 * sysdeps/unix/sysv/linux/aarch64: Move directory from
9020 ports/sysdeps/unix/sysv/linux/aarch64.
9021 * README: Update listing for aarch64*-*-linux-gnu.
9023 2014-02-11 Will Newton <will.newton@linaro.org>
9025 * manual/probes.texi (Mathematical Function Probes): Use
9026 "triggered" instead of "hit".
9028 * manual/probes.texi (Internal Probes): Add documentation
9029 of setjmp, longjmp and longjmp_target probes.
9031 * include/stap-probe.h: Add comment about probe argument
9034 * malloc/mtrace.c (attribute_hidden): Remove unused macro
9035 definition. (tr_where, tr_freehook, tr_mallochook,
9036 tr_reallochook, tr_memalignhook): Use ANSI protoype.
9038 2014-02-11 David S. Miller <davem@davemloft.net>
9040 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
9041 processing int_tests.
9043 2014-02-10 Joseph Myers <joseph@codesourcery.com>
9045 * sysdeps/mips: Move directory from ports/sysdeps/mips.
9046 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
9047 * sysdeps/unix/sysv/linux/mips: Move directory from
9048 ports/sysdeps/unix/sysv/linux/mips.
9049 * README: Update listing for mips-*-linux-gnu and
9052 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
9054 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
9055 * sysdeps/unix/sysv/linux/m68k: Move directory from
9056 ports/sysdeps/unix/sysv/linux/m68k.
9057 * README: Update listing for m68k-*-linux-gnu.
9059 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
9061 * sysdeps/tile: Move directory from ports/sysdeps/tile.
9062 * sysdeps/unix/sysv/linux/generic: Move directory from
9063 ports/sysdeps/unix/sysv/linux/generic.
9064 * sysdeps/unix/sysv/linux/tile: Move directory from
9065 ports/sysdeps/unix/sysv/linux/tile.
9066 * README: Update listing for tile*-*-linux-gnu.
9068 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
9070 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
9072 * benchtests/bench-memmem.c (simple_memmem): Likewise.
9073 * catgets/open_catalog.c (__open_catalog): Likewise.
9074 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
9075 * debug/confstr_chk.c: Likewise.
9076 * debug/fread_chk.c (__fread_chk): Likewise.
9077 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
9078 * debug/getgroups_chk.c: Likewise.
9079 * debug/mbsnrtowcs_chk.c: Likewise.
9080 * debug/mbsrtowcs_chk.c: Likewise.
9081 * debug/mbstowcs_chk.c: Likewise.
9082 * debug/memcpy_chk.c: Likewise.
9083 * debug/memmove_chk.c: Likewise.
9084 * debug/mempcpy_chk.c: Likewise.
9085 * debug/memset_chk.c: Likewise.
9086 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
9087 * debug/strcat_chk.c (__strcat_chk): Likewise.
9088 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
9089 * debug/strncat_chk.c (__strncat_chk): Likewise.
9090 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
9091 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
9092 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
9093 * debug/wcpncpy_chk.c: Likewise.
9094 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
9095 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
9096 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
9097 * debug/wcsncpy_chk.c: Likewise.
9098 * debug/wcsnrtombs_chk.c: Likewise.
9099 * debug/wcsrtombs_chk.c: Likewise.
9100 * debug/wcstombs_chk.c: Likewise.
9101 * debug/wmemcpy_chk.c: Likewise.
9102 * debug/wmemmove_chk.c: Likewise.
9103 * debug/wmempcpy_chk.c: Likewise.
9104 * debug/wmemset_chk.c: Likewise.
9105 * dirent/scandirat.c (SCANDIRAT): Likewise.
9106 * dlfcn/dladdr1.c (dladdr1): Likewise.
9107 * dlfcn/dladdr.c (dladdr): Likewise.
9108 * dlfcn/dlclose.c (dlclose_doit): Likewise.
9109 * dlfcn/dlerror.c (__dlerror): Likewise.
9110 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
9111 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
9112 * dlfcn/dlopen.c (dlopen_doit): Likewise.
9113 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
9114 * dlfcn/dlsym.c (dlsym_doit): Likewise.
9115 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
9116 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
9117 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
9119 * elf/dl-conflict.c: Likewise.
9120 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
9121 * elf/dl-dst.h: Likewise.
9122 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
9123 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
9124 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
9125 * elf/dl-init.c (call_init, _dl_init): Likewise.
9126 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
9127 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
9128 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
9130 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
9132 * elf/dl-minimal.c (__libc_memalign): Likewise.
9133 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
9134 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
9135 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
9136 * elf/dl-sym.c (do_sym): Likewise.
9137 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
9138 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
9139 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
9140 * elf/dl-writev.h (_dl_writev): Likewise.
9141 * elf/ldconfig.c (search_dir): Likewise.
9142 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
9143 (dl_main): Likewise.
9144 * elf/setup-vdso.h (setup_vdso): Likewise.
9145 * grp/compat-initgroups.c (compat_call): Likewise.
9146 * grp/fgetgrent.c (fgetgrent): Likewise.
9147 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
9148 * grp/putgrent.c (putgrent): Likewise.
9149 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
9151 * hurd/hurdinit.c: Likewise.
9152 * iconvdata/8bit-gap.c (struct): Likewise.
9153 * iconvdata/ansi_x3.110.c : Likewise.
9154 * iconvdata/big5.c : Likewise.
9155 * iconvdata/big5hkscs.c : Likewise.
9156 * iconvdata/cp1255.c: Likewise.
9157 * iconvdata/cp1258.c : Likewise.
9158 * iconvdata/cp932.c : Likewise.
9159 * iconvdata/euc-cn.c: Likewise.
9160 * iconvdata/euc-jisx0213.c : Likewise.
9161 * iconvdata/euc-jp.c: Likewise.
9162 * iconvdata/euc-jp-ms.c : Likewise.
9163 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
9164 * iconvdata/gb18030.c : Likewise.
9165 * iconvdata/gbbig5.c (const): Likewise.
9166 * iconvdata/gbgbk.c: Likewise.
9167 * iconvdata/gbk.c : Likewise.
9168 * iconvdata/ibm1364.c : Likewise.
9169 * iconvdata/ibm930.c : Likewise.
9170 * iconvdata/ibm932.c: Likewise.
9171 * iconvdata/ibm933.c : Likewise.
9172 * iconvdata/ibm935.c : Likewise.
9173 * iconvdata/ibm937.c : Likewise.
9174 * iconvdata/ibm939.c : Likewise.
9175 * iconvdata/ibm943.c: Likewise.
9176 * iconvdata/iso_11548-1.c: Likewise.
9177 * iconvdata/iso-2022-cn.c : Likewise.
9178 * iconvdata/iso-2022-cn-ext.c : Likewise.
9179 * iconvdata/iso-2022-jp-3.c: Likewise.
9180 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
9181 * iconvdata/iso-2022-kr.c : Likewise.
9182 * iconvdata/iso646.c (gconv_end): Likewise.
9183 * iconvdata/iso_6937-2.c : Likewise.
9184 * iconvdata/iso_6937.c : Likewise.
9185 * iconvdata/iso8859-1.c: Likewise.
9186 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
9187 * iconvdata/shift_jisx0213.c : Likewise.
9188 * iconvdata/sjis.c : Likewise.
9189 * iconvdata/t.61.c : Likewise.
9190 * iconvdata/tcvn5712-1.c : Likewise.
9191 * iconvdata/tscii.c: Likewise.
9192 * iconvdata/uhc.c : Likewise.
9193 * iconvdata/unicode.c (gconv_end): Likewise.
9194 * iconvdata/utf-16.c (gconv_end): Likewise.
9195 * iconvdata/utf-32.c (gconv_end): Likewise.
9196 * iconvdata/utf-7.c (base64): Likewise.
9197 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
9198 * iconv/gconv_close.c (__gconv_close): Likewise.
9199 * iconv/gconv_open.c (__gconv_open): Likewise.
9200 * iconv/gconv_simple.c (internal_ucs4_loop_single)
9201 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
9202 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
9203 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
9204 (ucs4le_internal_loop_single): Likewise.
9205 * iconv/iconv.c (iconv): Likewise.
9206 * iconv/iconv_close.c: Likewise.
9207 * iconv/loop.c (SINGLE): Likewise.
9208 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
9209 * include/atomic.h: Likewise.
9210 * inet/inet6_option.c (option_alloc): Likewise.
9211 * intl/bindtextdom.c (set_binding_values): Likewise.
9212 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
9213 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
9214 * intl/localealias.c (read_alias_file): Likewise.
9215 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
9216 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
9217 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
9218 * libio/fmemopen.c (fmemopen): Likewise.
9219 * libio/iofgets.c (_IO_fgets): Likewise.
9220 * libio/iofgets_u.c (fgets_unlocked): Likewise.
9221 * libio/iofgetws.c (fgetws): Likewise.
9222 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
9223 * libio/iogetdelim.c (_IO_getdelim): Likewise.
9224 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
9225 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
9226 * locale/findlocale.c (_nl_find_locale): Likewise.
9227 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
9228 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
9230 * locale/setlocale.c (setlocale): Likewise.
9231 * login/programs/pt_chown.c (main): Likewise.
9232 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
9233 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
9234 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
9235 (mmap, mmap64, mremap, munmap): Likewise.
9236 * math/e_exp2l.c: Likewise.
9237 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
9238 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
9239 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
9240 * math/s_catan.c (__catan): Likewise.
9241 * math/s_catanf.c (__catanf): Likewise.
9242 * math/s_catanh.c (__catanh): Likewise.
9243 * math/s_catanhf.c (__catanhf): Likewise.
9244 * math/s_catanhl.c (__catanhl): Likewise.
9245 * math/s_catanl.c (__catanl): Likewise.
9246 * math/s_ccosh.c (__ccosh): Likewise.
9247 * math/s_ccoshf.c (__ccoshf): Likewise.
9248 * math/s_ccoshl.c (__ccoshl): Likewise.
9249 * math/s_cexp.c (__cexp): Likewise.
9250 * math/s_cexpf.c (__cexpf): Likewise.
9251 * math/s_cexpl.c (__cexpl): Likewise.
9252 * math/s_clog10.c (__clog10): Likewise.
9253 * math/s_clog10f.c (__clog10f): Likewise.
9254 * math/s_clog10l.c (__clog10l): Likewise.
9255 * math/s_clog.c (__clog): Likewise.
9256 * math/s_clogf.c (__clogf): Likewise.
9257 * math/s_clogl.c (__clogl): Likewise.
9258 * math/s_csin.c (__csin): Likewise.
9259 * math/s_csinf.c (__csinf): Likewise.
9260 * math/s_csinh.c (__csinh): Likewise.
9261 * math/s_csinhf.c (__csinhf): Likewise.
9262 * math/s_csinhl.c (__csinhl): Likewise.
9263 * math/s_csinl.c (__csinl): Likewise.
9264 * math/s_csqrt.c (__csqrt): Likewise.
9265 * math/s_csqrtf.c (__csqrtf): Likewise.
9266 * math/s_csqrtl.c (__csqrtl): Likewise.
9267 * math/s_ctan.c (__ctan): Likewise.
9268 * math/s_ctanf.c (__ctanf): Likewise.
9269 * math/s_ctanh.c (__ctanh): Likewise.
9270 * math/s_ctanhf.c (__ctanhf): Likewise.
9271 * math/s_ctanhl.c (__ctanhl): Likewise.
9272 * math/s_ctanl.c (__ctanl): Likewise.
9273 * math/w_pow.c: Likewise.
9274 * math/w_powf.c: Likewise.
9275 * math/w_powl.c: Likewise.
9276 * math/w_scalb.c (sysv_scalb): Likewise.
9277 * math/w_scalbf.c (sysv_scalbf): Likewise.
9278 * math/w_scalbl.c (sysv_scalbl): Likewise.
9279 * misc/error.c (error_tail): Likewise.
9280 * misc/pselect.c (__pselect): Likewise.
9281 * nis/nis_callback.c (__nis_create_callback): Likewise.
9282 * nis/nis_call.c (__nisfind_server): Likewise.
9283 * nis/nis_creategroup.c (nis_creategroup): Likewise.
9284 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
9285 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
9286 * nis/nis_getservlist.c (nis_getservlist): Likewise.
9287 * nis/nis_lookup.c (nis_lookup): Likewise.
9288 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
9289 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
9290 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
9291 * nis/nis_xdr.c (xdr_endpoint): Likewise.
9292 * nis/nss_compat/compat-grp.c (getgrent_next_file)
9293 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
9294 * nis/nss_compat/compat-initgroups.c (add_group)
9295 (internal_getgrent_r): Likewise.
9296 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
9297 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
9298 * nis/nss_compat/compat-spwd.c (getspent_next_file)
9299 (internal_getspnam_r): Likewise.
9300 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
9301 (_nss_nis_getaliasbyname_r): Likewise.
9302 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
9303 (_nss_nis_getntohost_r): Likewise.
9304 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
9305 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
9306 (_nss_nis_getgrgid_r): Likewise.
9307 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
9308 (internal_nis_gethostent_r, internal_gethostbyname2_r)
9309 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
9310 (_nss_nis_gethostbyname4_r): Likewise.
9311 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
9312 (initgroups_netid): Likewise.
9313 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
9314 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
9315 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
9316 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
9317 (_nss_nis_getprotobynumber_r): Likewise.
9318 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
9319 (_nss_nis_getsecretkey): Likewise.
9320 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
9321 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
9322 (_nss_nis_getpwuid_r): Likewise.
9323 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
9324 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
9325 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
9326 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
9327 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
9328 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
9329 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
9331 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
9332 (_nss_nisplus_getntohost_r): Likewise.
9333 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
9334 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
9335 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
9336 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
9338 * nis/nss_nisplus/nisplus-initgroups.c
9339 (_nss_nisplus_initgroups_dyn): Likewise.
9340 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
9341 (_nss_nisplus_getnetbyaddr_r): Likewise.
9342 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
9343 (_nss_nisplus_getprotobynumber_r): Likewise.
9344 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
9345 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
9346 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
9348 * nis/nss_nisplus/nisplus-service.c
9349 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
9350 (_nss_nisplus_getservbyport_r): Likewise.
9351 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
9352 (_nss_nisplus_getspnam_r): Likewise.
9353 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
9355 * nscd/aicache.c (addhstaiX): Likewise.
9356 * nscd/cache.c (cache_search, prune_cache): Likewise.
9357 * nscd/connections.c (register_traced_file, send_ro_fd)
9358 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
9359 (main_loop_epoll): Likewise.
9360 * nscd/grpcache.c (addgrbyX): Likewise.
9361 * nscd/hstcache.c (addhstbyX): Likewise.
9362 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9363 * nscd/mem.c (gc, mempool_alloc): Likewise.
9364 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
9365 (addinnetgrX): Likewise.
9366 * nscd/nscd-client.h (__nscd_acquire_maplock)
9367 (__nscd_drop_map_ref): Likewise.
9368 * nscd/nscd_getai.c (__nscd_getai): Likewise.
9369 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
9370 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
9372 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
9373 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
9374 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
9375 (__nscd_get_map_ref): Likewise.
9376 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
9377 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
9379 * nscd/pwdcache.c (addpwbyX): Likewise.
9380 * nscd/selinux.c (preserve_capabilities): Likewise.
9381 * nscd/servicescache.c (addservbyX): Likewise.
9382 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
9383 * posix/fnmatch.c (fnmatch): Likewise.
9384 * posix/getopt.c (_getopt_internal_r): Likewise.
9385 * posix/glob.c (glob, glob_in_dir): Likewise.
9386 * posix/wordexp.c (exec_comm_child): Likewise.
9387 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
9388 (getanswer_r, gaih_getanswer_slice): Likewise.
9389 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
9390 * resolv/res_init.c: Likewise.
9391 * resolv/res_mkquery.c (res_nmkquery): Likewise.
9392 * resolv/res_query.c (__libc_res_nquery): Likewise.
9393 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
9395 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
9396 * stdio-common/perror.c (perror): Likewise.
9397 * stdio-common/printf_fp.c (___printf_fp): Likewise.
9398 * stdio-common/tmpnam.c (tmpnam): Likewise.
9399 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
9400 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
9401 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
9403 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
9404 * stdlib/putenv.c (putenv): Likewise.
9405 * stdlib/setenv.c (__add_to_environ): Likewise.
9406 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
9407 * stdlib/strtol_l.c (INTERNAL): Likewise.
9408 * string/memmem.c (memmem): Likewise.
9409 * string/strerror.c (strerror): Likewise.
9410 * string/strnlen.c (__strnlen): Likewise.
9411 * string/test-memmem.c (simple_memmem): Likewise.
9412 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
9413 * sunrpc/pm_getport.c (__get_socket): Likewise.
9414 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
9415 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
9416 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
9417 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
9419 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
9420 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
9421 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
9422 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
9423 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
9424 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
9426 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
9428 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
9429 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
9430 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9431 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
9432 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
9433 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
9434 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
9435 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
9436 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
9437 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
9438 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9439 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
9441 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
9443 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
9445 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
9446 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9447 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
9448 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
9449 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
9450 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
9451 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
9452 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
9453 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
9454 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
9455 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
9456 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9457 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
9458 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
9459 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9460 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9462 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
9464 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
9466 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
9468 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9469 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9470 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
9472 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
9473 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
9474 * sysdeps/posix/opendir.c (__opendirat): Likewise.
9475 * sysdeps/posix/sleep.c: Likewise.
9476 * sysdeps/posix/tempname.c: Likewise.
9477 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
9478 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9480 * sysdeps/powerpc/powerpc32/dl-machine.h
9481 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
9482 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
9483 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9484 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
9485 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
9487 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
9488 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
9489 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
9490 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
9491 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
9492 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
9493 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
9494 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
9495 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9496 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
9497 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
9498 (elf_machine_lazy_rel): Likewise.
9499 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
9500 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
9501 (elf_machine_lazy_rel): Likewise.
9502 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
9503 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
9504 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
9505 * sysdeps/unix/grantpt.c (grantpt): Likewise.
9506 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
9507 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
9508 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
9509 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9511 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
9512 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
9513 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
9514 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
9515 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
9516 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
9517 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
9518 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
9519 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
9520 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
9521 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
9523 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
9524 (__posix_fallocate64_l64): Likewise.
9525 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
9526 (posix_fallocate): Likewise.
9527 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
9529 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9530 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
9531 (getifaddrs_internal): Likewise.
9532 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
9533 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
9534 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
9535 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
9536 * sysdeps/unix/sysv/linux/posix_fallocate64.c
9537 (__posix_fallocate64_l64): Likewise.
9538 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
9540 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
9541 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
9542 (__get_clockfreq): Likewise.
9543 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
9544 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
9545 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
9546 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9547 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9548 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
9549 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
9550 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
9552 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
9553 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
9554 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
9555 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
9556 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
9557 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
9558 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
9560 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9561 (posix_fallocate): Likewise.
9562 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9563 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
9564 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
9565 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
9566 (elf_machine_rela, elf_machine_rela_relative)
9567 (elf_machine_lazy_rel): Likewise.
9568 * time/asctime.c (asctime_internal): Likewise.
9569 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
9570 * time/tzset.c (__tzset_parse_tz): Likewise.
9571 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
9572 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
9573 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
9574 * wcsmbs/wcsmbsload.h: Likewise.
9577 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
9579 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
9580 (arena_get2): Remove THREAD_STATS conditionals.
9581 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
9582 (__malloc_stats, int): Likewise.
9584 2014-02-08 Mike Frysinger <vapier@gentoo.org>
9586 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
9587 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
9589 * manual/setjmp.texi: Fix typos/grammar errors.
9591 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
9592 Only return early when n is <= 0. Delete unused return statement.
9594 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
9595 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
9596 * debug/tst-longjmp_chk3.c: New file.
9598 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
9599 (test_main): Replace code with set_fortify_handler call.
9600 * debug/test-strcpy_chk.c: Likewise.
9601 * debug/tst-chk1.c: Likewise.
9602 * debug/tst-longjmp_chk.c: Likewise.
9603 * test-skeleton.c: Include fcntl.h & paths.h
9604 (set_fortify_handler): Define.
9606 * debug/tst-longjmp_chk.c: Add header comment and include
9608 (do_test): Mark static.
9609 (TEST_FUNCTION): Define.
9611 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
9612 (IP_PMTUDISC_INTERFACE): Likewise.
9613 (IP_MULTICAST_IF): Likewise.
9614 (IP_MULTICAST_TTL): Likewise.
9615 (IP_MULTICAST_LOOP): Likewise.
9616 (IP_ADD_MEMBERSHIP): Likewise.
9617 (IP_DROP_MEMBERSHIP): Likewise.
9618 (IP_UNBLOCK_SOURCE): Likewise.
9619 (IP_BLOCK_SOURCE): Likewise.
9620 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
9621 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
9622 (IP_MSFILTER): Likewise.
9623 (MCAST_JOIN_GROUP): Likewise.
9624 (MCAST_BLOCK_SOURCE): Likewise.
9625 (MCAST_UNBLOCK_SOURCE): Likewise.
9626 (MCAST_LEAVE_GROUP): Likewise.
9627 (MCAST_JOIN_SOURCE_GROUP): Likewise.
9628 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
9629 (MCAST_MSFILTER): Likewise.
9630 (IP_MULTICAST_ALL): Likewise.
9631 (IP_UNICAST_IF): Likewise.
9633 * timezone/Makefile: Delete $(have-ksh) check.
9634 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
9635 * timezone/tzselect.ksh: Add +x mode bits.
9637 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
9638 (ANON_INODE_FS_MAGIC): Likewise.
9639 (BDEVFS_MAGIC): Likewise.
9640 (BINFMTFS_MAGIC): Likewise.
9641 (BTRFS_TEST_MAGIC): Likewise.
9642 (CRAMFS_MAGIC_WEND): Likewise.
9643 (DEBUGFS_MAGIC): Likewise.
9644 (ECRYPTFS_SUPER_MAGIC): Likewise.
9645 (EXT3_SUPER_MAGIC): Likewise.
9646 (EXT4_SUPER_MAGIC): Likewise.
9647 (FUTEXFS_SUPER_MAGIC): Likewise.
9648 (HOSTFS_SUPER_MAGIC): Likewise.
9649 (HUGETLBFS_MAGIC): Likewise.
9650 (MINIX3_SUPER_MAGIC): Likewise.
9651 (MTD_INODE_FS_MAGIC): Likewise.
9652 (NILFS_SUPER_MAGIC): Likewise.
9653 (OPENPROM_SUPER_MAGIC): Likewise.
9654 (PIPEFS_MAGIC): Likewise.
9655 (PSTOREFS_MAGIC): Likewise.
9656 (QNX6_SUPER_MAGIC): Likewise.
9657 (RAMFS_MAGIC): Likewise.
9658 (REISERFS_SUPER_MAGIC_STRING): Likewise.
9659 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
9660 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
9661 (SECURITYFS_MAGIC): Likewise.
9662 (SELINUX_MAGIC): Likewise.
9663 (SMACK_MAGIC): Likewise.
9664 (SOCKFS_MAGIC): Likewise.
9665 (SQUASHFS_MAGIC): Likewise.
9666 (STACK_END_MAGIC): Likewise.
9667 (TMPFS_MAGIC): Likewise.
9668 (USBDEVICE_SUPER_MAGIC): Likewise.
9669 (V9FS_MAGIC): Likewise.
9670 (XENFS_SUPER_MAGIC): Likewise.
9671 (CRAMFS_MAGIC): Fix typo in comment.
9672 (EXT2_SUPER_MAGIC): Update comment.
9673 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
9675 2014-02-08 Joseph Myers <joseph@codesourcery.com>
9677 * sysdeps/arm: Move directory from ports/sysdeps/arm.
9678 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
9679 * sysdeps/unix/sysv/linux/arm: Move directory from
9680 ports/sysdeps/unix/sysv/linux/arm.
9681 * README: Update listing for arm-*-linux-gnueabi.
9683 * README: Remove mention of am33.
9685 2014-02-07 Roland McGrath <roland@hack.frob.com>
9687 * bits/sigset.h (__sigemptyset): Use a statement expression rather
9688 than the comma operator, to avoid "rhs of comma has no effect"
9690 (__sigfillset, __sigandset, __sigorset): Likewise.
9691 * include/signal.h (__sigemptyset): Likewise.
9692 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
9694 2014-02-07 Allan McRae <allan@archlinux.org>
9696 * version.h (RELEASE): Set to "development".
9697 (VERSION): Set to "2.19.90"
9698 * NEWS: Add 2.20 section.
9700 2014-02-06 Carlos O'Donell <carlos@redhat.com>
9703 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
9705 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9707 * manual/contrib.texi: Update entry for Carlos O'Donell,
9708 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
9710 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
9712 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
9714 * sysdeps/unix/sysv/linux/kernel-features.h
9715 [__LINUX_KERNEL_VERSION >= 0x020621]
9716 (__ASSUME_PROC_PID_TASK_COMM): Define.
9718 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9721 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
9722 conversion when destination buffer does not have enough space.
9723 * libio/tst-ftell-partial-wide.c: New test case.
9724 * libio/Makefile (tests): Add tst-ftell-partial-wide.
9726 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
9727 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
9728 Leonard and Allan McRae.
9730 2014-02-04 David S. Miller <davem@davemloft.net>
9732 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
9735 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
9739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
9741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
9743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
9745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
9747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
9749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
9751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
9753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
9755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
9757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
9759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
9761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
9764 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9766 * nptl/shlib-versions: Change powerpc*le start to 2.17.
9767 * shlib-versions: Likewise.
9769 2014-02-04 Roland McGrath <roland@hack.frob.com>
9770 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9772 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
9773 (abilist-pattern): New variable, set to %-le.abilist.
9775 * Makerules (abilist-pattern): New variable.
9776 (vpath): Use $(abilist-pattern) in place of %.abilist.
9777 (check-abi-% pattern rule): Likewise.
9778 (check-abi, update-abi): Likewise.
9780 2014-02-04 Eric Wong <normalperson@yhbt.net>
9782 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9784 2014-02-03 Carlos O'Donell <carlos@redhat.com>
9786 * manual/startup.texi: Add next, previous, and top entries for
9787 the `Program Arguments' and `Environment Variables' nodes.
9789 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
9791 * manual/macros.texi: Add comments before MTASC-safety macros.
9793 * manual/users.texi: Document MTASC-safety properties.
9795 * manual/threads.texi (pthread_key_create, pthread_key_delete)
9796 (pthread_getspecific, pthread_setspecific): Format with
9797 @deftypefun, and add @safety note.
9798 * manual/signal.texi: Move comments that analyze the above
9799 functions to their home place.
9801 2014-02-03 Allan McRae <allan@archlinux.org>
9803 * po/sl.po: Update Slovenian translation from translation project.
9805 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
9807 * manual/time.texi (timegm): Add missing blank after @c.
9808 Reported by Joseph Myers <joseph@codesourcery.com>.
9810 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
9812 * manual/check-safety.sh: New.
9813 * manual/Makefile ($(objpfx)stamp-summary): Run it.
9815 * manual/terminal.texi: Document MTASC-safety properties.
9817 * manual/filesys.texi: Document MTASC-safety properties.
9819 * manual/errno.texi: Document MTASC-safety properties.
9821 * manual/intro.texi: Document safety identifiers and
9824 * manual/string.texi (wcstok): Fix prototype.
9825 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
9827 * manual/time.texi: Document MTASC-safety properties.
9829 * manual/string.texi: Document MTASC-safety properties.
9831 * manual/threads.texi: Document MTASC-safety properties.
9833 * manual/stdio.texi: Document MTASC-safety properties.
9835 * manual/syslog.texi: Document MTASC-safety properties.
9837 * manual/sysinfo.texi: Document MTASC-safety properties.
9839 * manual/startup.texi: Document MTASC-safety properties.
9841 * manual/socket.texi: Document MTASC-safety properties.
9843 * manual/signal.texi: Document MTASC-safety properties.
9845 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
9847 * manual/setjmp.texi: Document MTASC-safety properties.
9849 * manual/search.texi: Document MTASC-safety properties.
9851 * manual/resource.texi: Document MTASC-safety properties.
9853 * manual/process.texi: Document MTASC-safety properties.
9855 * manual/platform.texi: Document MTASC-safety properties.
9857 * manual/pipe.texi: Document MTASC-safety properties.
9859 * manual/pattern.texi: Document MTASC-safety properties.
9861 * manual/message.texi: Document MTASC-safety properties.
9864 * manual/memory.texi: Document MTASC-safety properties.
9866 * manual/math.texi: Document MTASC-safety properties.
9868 * manual/locale.texi: Document MTASC-safety properties.
9870 * manual/llio.texi: Document MTASC-safety properties.
9872 * manual/libdl.texi: New.
9874 * manual/lang.texi: Document MTASC-safety properties.
9876 * manual/job.texi: Document MTASC-safety properties.
9878 * manual/getopt.texi: Document MTASC-safety properties.
9880 * manual/ctype.texi: Document MTASC-safety properties.
9882 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
9885 * csu/libc-tls.c (static_map): Remove variable.
9886 (__libc_setup_tls): Use main executable's link map for TLS data.
9887 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
9888 casing for LM_ID_BASE and GL(dl_nns).
9889 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
9890 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
9891 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
9892 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
9893 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
9895 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
9898 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
9900 * manual/debug.texi: Document MTASC-safety properties.
9902 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
9905 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
9906 of __x86_64__ when disabling x87 inline functions.
9908 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
9910 * manual/charset.texi: Document MTASC-safety properties.
9912 * manual/crypt.texi: Document MTASC-safety properties.
9914 * manual/conf.texi: Document MTASC-safety properties.
9916 * manual/arith.texi: Document MTASC-safety properties.
9918 * manual/argp.texi: Document MTASC-safety properties.
9920 * manual/macros.texi: Introduce macros to document multi
9921 thread, asynchronous signal and asynchronous cancellation
9923 * manual/intro.texi: Introduce the properties themselves.
9925 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9927 * sysdeps/sh/sh4/Makefile: New file.
9929 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
9931 * math/gen-libm-test.pl ($srcdir): New variable.
9932 ($auto_input): Use it.
9934 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9937 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
9938 access beyond array bounds when parsing netgroups file.
9940 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
9941 the old buffer before realloc.
9943 2014-01-27 Allan McRae <allan@archlinux.org>
9945 * po/fr.po: Update French translation from translation project.
9947 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9949 * sysdeps/sh/libm-test-ulps: Regenerate.
9951 2014-01-24 David S. Miller <davem@davemloft.net>
9953 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
9955 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9957 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
9958 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
9960 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9963 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
9964 string pointers after reallocation.
9966 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9968 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
9969 __SH4A__ instead of __SH_FPU_ANY__.
9971 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9973 * sysdeps/sh/fpu_control.h: New file.
9974 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
9975 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
9976 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
9977 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
9978 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
9979 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
9980 * sysdeps/sh/sys/ucontext.h: Remove.
9981 * sysdeps/sh/sys: Remove directory.
9983 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9985 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
9986 s390/sys/ucontext.h.
9987 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
9988 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
9990 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
9993 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
9995 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9998 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
9999 Adjust the vDSO correctly for internal calls.
10000 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
10002 2014-01-20 Allan McRae <allan@archlinux.org>
10004 * po/ca.po: Update Catalan translation from translation project.
10006 2014-01-16 Mike Frysinger <vapier@gentoo.org>
10008 * sysdeps/s390/sotruss-lib.c: New file.
10010 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10013 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
10014 (__GI___gettimeofday): Alias for a different internal symbol to avoid
10015 local calls issues by not having a PLT stub required for IFUNC calls.
10016 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
10018 2014-01-16 Joseph Myers <joseph@codesourcery.com>
10020 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
10021 * math/test-fpucw-static.c: Likewise.
10023 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10026 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
10028 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10030 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
10031 implementation for powerpc.
10033 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
10036 * sysdeps/posix/system.c (__libc_system): Do not enable
10037 asynchronous cancellation.
10039 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10042 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
10043 handling only for numbers special also in the IEEE case.
10045 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10047 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10049 2014-01-11 Allan McRae <allan@archlinux.org>
10051 * po/bg.po: Update Bulgarian translation from translation project.
10053 * po/de.po: Update German translation from translation project.
10055 2014-01-10 Roland McGrath <roland@hack.frob.com>
10057 * sysdeps/generic/gcc-compat.h: New file.
10059 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10061 * benchtests/asin-inputs: Correct slow inputs.
10062 * benchtests/acos-inputs: Likewise.
10064 2014-01-10 Allan McRae <allan@archlinux.org>
10066 * po:sv.po: Update Swedish translation from translation project.
10068 * po/vi.po: Update Vietnamese translation from translation project.
10070 * po/eo.po: Update Esperanto translation from translation project.
10072 * po/cs.po: Update Czech translation from translation project.
10074 * po/nl.po: Update Dutch translation from translation project.
10076 * po/pl.po: Update Polish translation from translation project.
10078 * po/ru.po: Update Russian translation from translation project.
10080 * po/uk.po: Update Ukrainian translation from translation project.
10082 2014-01-08 Brooks Moses <bmoses@google.com>
10084 * elf/dl-load.c: Fix comment typo.
10086 2014-01-08 Carlos O'Donell <carlos@redhat.com>
10088 * po/header.pot: Rename to...
10089 * po/pot.header: ... this.
10090 * po/Makefile: Use pot.header.
10092 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
10093 Maxim Kuvyrkov <maxim@kugelworks.com>
10096 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
10097 SRC and DEST against LEN.
10099 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10102 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
10104 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
10106 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10108 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10110 2014-01-08 Joseph Myers <joseph@codesourcery.com>
10113 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
10114 for large positive arguments.
10116 2014-01-07 Joseph Myers <joseph@codesourcery.com>
10118 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10120 * math/auto-libm-test-in: Mark various tests with
10121 xfail-rounding:ldbl-128ibm.
10122 * math/auto-libm-test-out: Regenerated.
10125 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
10126 Increase overflow threshold.
10128 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
10131 * stdio-common/vfprintf.c: Check for integer overflow.
10133 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10135 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
10136 the first argument and return value of __tls_get_addr_internal.
10138 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10140 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
10141 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
10143 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10145 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
10146 * sysdeps/s390/rtld-global-offsets.sym: New file.
10147 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
10149 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
10150 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
10151 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
10153 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
10154 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
10156 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10158 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10160 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
10161 halfs of GPRs for high_gprs contexts.
10162 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
10163 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
10165 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
10167 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
10169 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
10170 for high GPRs (uc_high_gprs) and for future extensions
10172 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
10173 for future extensions (__reserved).
10174 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
10176 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
10177 SC_HIGHGPRS offset definition.
10178 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
10179 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
10181 * Versions.def: Add GLIBC_2.19 for libpthread.
10182 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
10183 siglongjmp for libpthread with GLIBC_2.19 symver.
10184 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
10185 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
10186 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
10187 * sysdeps/s390/__longjmp.c: New file.
10188 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
10189 * sysdeps/s390/longjmp.c: New file.
10190 * sysdeps/s390/setjmp.S: New file.
10191 * sysdeps/s390/sigjmp.S: New file.
10192 * sysdeps/s390/v1-longjmp.c: New file.
10193 * sysdeps/s390/v1-setjmp.h: New file.
10194 * sysdeps/s390/v1-sigjmp.c: New file.
10195 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
10196 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
10197 GLIBC_2.19 version.
10198 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
10199 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
10200 versioned symbols for ____longjmp_chk.
10201 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
10203 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10205 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10207 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10209 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10211 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
10212 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
10213 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
10214 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
10215 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
10216 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
10217 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
10218 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
10219 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
10220 * sysdeps/s390/rtld-__longjmp.c: New file.
10221 * sysdeps/s390/rtld-setjmp.S: New file.
10223 2014-01-06 Joseph Myers <joseph@codesourcery.com>
10226 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10227 Return -__logl (x) for small positive arguments without evaluating
10230 2014-01-06 Mike Frysinger <vapier@gentoo.org>
10232 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
10234 (__ptrace_peeksiginfo_args): ... this.
10235 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10236 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10237 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10239 2014-01-06 Allan McRae <allan@archlinux.org>
10241 * inet/netinet/in.h: Fix typo in comment.
10243 2014-01-05 Andreas Jaeger <aj@suse.de>
10245 * sysdeps/i386/fpu/libm-test-ulps: Update.
10247 2014-01-05 Allan McRae <allan@archlinux.org>
10249 * po/libc.pot: Regenerated.
10251 * malloc/memusagestat.c: Fix gettext call formatting.
10253 2014-01-04 Sami Kerola <kerolasa@iki.fi>
10255 * nscd/nscd.c: Improve usage() output.
10257 2014-01-04 Mike Frysinger <vapier@gentoo.org>
10259 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
10260 * sysdeps/unix/sysv/linux/configure: Regenerated.
10261 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
10262 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
10264 2014-01-03 Joseph Myers <joseph@codesourcery.com>
10267 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
10268 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
10270 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10272 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
10273 extra tokens at end of #undef directive.
10274 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
10275 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
10276 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
10278 2014-01-03 Joseph Myers <joseph@codesourcery.com>
10280 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10282 * math/auto-libm-test-in: Mark various tests with
10283 xfail-rounding:ldbl-128ibm.
10284 * math/auto-libm-test-out: Regenerated.
10286 2014-01-02 Joseph Myers <joseph@codesourcery.com>
10289 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
10290 numbers with subnormal high part when calculating exponent.
10293 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
10297 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
10299 (__ieee754_acoshl): Use __log1pl not __log1p.
10301 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
10303 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
10304 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
10305 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
10306 (grow_heap, heap_trim, _int_new_arena, get_free_list)
10307 (reused_arena, arena_get2): Convert to GNU style.
10308 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
10309 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
10310 (memalign_check, __malloc_set_state): Likewise.
10311 * malloc/mallocbug.c (main): Likewise.
10312 * malloc/malloc.c (__malloc_assert, malloc_init_state)
10313 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
10314 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
10315 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
10316 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
10317 (__posix_memalign, malloc_info): Likewise.
10318 * malloc/malloc.h: Likewise.
10319 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
10320 (mallochook, memalignhook, reallochook, mabort): Likewise.
10321 * malloc/mcheck.h: Likewise.
10322 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
10323 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
10324 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
10325 * malloc/morecore.c (__default_morecore): Likewise.
10326 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
10327 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
10328 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
10329 (print_and_abort): Likewise.
10330 * malloc/obstack.h: Likewise.
10331 * malloc/set-freeres.c (__libc_freeres): Likewise.
10332 * malloc/tst-mallocstate.c (main): Likewise.
10333 * malloc/tst-mtrace.c (main): Likewise.
10334 * malloc/tst-realloc.c (do_test): Likewise.
10336 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10339 * nscd/netgroupcache.c (do_notfound): New function.
10340 (addgetnetgrentX): Use it.
10343 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
10344 NSS_STATUS_NOTFOUND.
10346 2014-01-01 Joseph Myers <joseph@codesourcery.com>
10348 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
10349 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10351 2014-01-01 Allan McRae <allan@archlinux.org>
10353 * scripts/update-copyrights: Update configure input file suffix.
10355 * NEWS: Update copyright year.
10356 * catgets/gencat.c: Likewise.
10357 * csu/version.c: Likewise.
10358 * debug/catchsegv.sh: Likewise.
10359 * debug/pcprofiledump.c: Likewise.
10360 * debug/xtrace.sh: Likewise.
10361 * elf/ldconfig.c: Likewise.
10362 * elf/ldd.bash.in: Likewise.
10363 * elf/pldd.c: Likewise.
10364 * elf/sotruss.ksh: Likewise.
10365 * elf/sprof.c: Likewise.
10366 * iconv/iconv_prog.c: Likewise.
10367 * iconv/iconvconfig.c: Likewise.
10368 * locale/programs/locale.c: Likewise.
10369 * locale/programs/localedef.c: Likewise.
10370 * login/programs/pt_chown.c: Likewise.
10371 * malloc/memusage.sh: Likewise.
10372 * malloc/memusagestat.c: Likewise.
10373 * malloc/mtrace.pl: Likewise.
10374 * manual/libc.texinfo: Likewise.
10375 * nscd/nscd.c: Likewise.
10376 * nss/getent.c: Likewise.
10377 * nss/makedb.c: Likewise.
10378 * posix/getconf.c: Likewise.
10379 * scripts/test-installation.pl: Likewise.
10381 * All files with FSF copyright notices: Update copyright dates
10382 using scripts/update-copyrights.
10383 * intl/plural.c: Regenerated.
10384 * locale/programs/charmap-kw.h: Likewise.
10385 * locale/programs/locfile-kw.h: Likewise.
10387 2013-12-31 Mike Frysinger <vapier@gentoo.org>
10389 * sysdeps/unix/sysv/linux/configure: Regenerated.
10390 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
10391 the linux/fanotify.h header.
10392 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
10393 HAVE_LINUX_FANOTIFY_H is defined.
10395 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
10397 * benchtests/cos-inputs: New inputs.
10398 * benchtests/sin-inputs: Likewise.
10400 * benchtests/atan-inputs: New inputs. Fix name of multiple
10401 precision fallback inputs.
10403 * benchtests/atanh-inputs: New inputs.
10404 * benchtests/tanh-inputs: Likewise.
10406 * benchtests/acosh-inputs: New inputs.
10407 * benchtests/asinh-inputs: Likewise.
10409 * benchtests/cosh-inputs: New inputs.
10410 * benchtests/sinh-inputs: Likewise.
10412 * benchtests/acos-inputs: Add more inputs.
10413 * benchtests/asin-inputs: Likewise.
10415 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
10418 * manual/arith.texi: Fix spelling.
10419 * manual/charset.texi: Likewise.
10420 * manual/errno.texi: Likewise.
10421 * manual/filesys.texi: Likewise.
10422 * manual/lang.texi: Likewise.
10423 * manual/llio.texi: Likewise.
10424 * manual/locale.texi: Likewise.
10425 * manual/message.texi: Likewise.
10426 * manual/resource.texi: Likewise.
10427 * manual/search.texi: Likewise.
10428 * manual/setjmp.texi: Likewise.
10429 * manual/stdio.texi: Likewise.
10430 * manual/string.texi: Likewise.
10431 * manual/sysinfo.texi: Likewise.
10432 * manual/time.texi: Likewise.
10434 2013-12-27 Carlos O'Donell <carlos@redhat.com>
10436 * po/sl.po: New file.
10438 2013-12-27 Mike Frysinger <vapier@gentoo.org>
10440 * .gitignore: Add core/.gdbinit/.gdb_history.
10442 2013-12-27 Allan McRae <allan@archlinux.org>
10445 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
10446 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
10448 2013-12-24 Brooks Moses <bmoses@google.com>
10450 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
10451 all compilers that claim C++98 compliance, not just GCC.
10452 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
10455 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
10457 * NEWS: Restore accidentally deleted bug-fix entries.
10459 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
10460 Ondřej Bílka <neleai@seznam.cz>
10463 * malloc/malloc.c (_int_free): Perform sanity check only if we
10466 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
10469 * manual/stdio.texi (String Input Conversions): Clarify that character
10470 classes are not supported.
10472 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10474 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10476 2013-12-22 Joseph Myers <joseph@codesourcery.com>
10479 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10480 Calculate results for small negative arguments directly rather
10481 than using reflection formula with special underflow handling.
10483 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
10484 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
10485 sysdeps/unix/bsd/bsd4.4/syscalls.list.
10486 (fchflags): Likewise.
10487 (revoke): Likewise.
10488 (setlogin): Likewise.
10489 (sigaltstack): Likewise.
10491 (sigblock): Remove.
10492 (sigsetmask): Likewise.
10494 (waitpid): Likewise.
10495 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
10496 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
10498 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
10499 * sysdeps/unix/bsd/Makefile: ... here.
10500 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
10501 * sysdeps/unix/bsd/Versions: ... here.
10502 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
10503 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
10504 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
10505 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
10506 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
10507 * sysdeps/unix/bsd/sigblock.c: ... here.
10508 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
10509 * sysdeps/unix/bsd/sigsetmask.c: ... here.
10510 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
10511 * sysdeps/unix/bsd/sigvec.c: ... here.
10512 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
10513 * sysdeps/unix/bsd/tcdrain.c: ... here.
10514 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
10515 * sysdeps/unix/bsd/tcgetattr.c: ... here.
10516 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
10517 * sysdeps/unix/bsd/tcsetattr.c: ... here.
10518 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
10519 * sysdeps/unix/bsd/wait.c: ... here.
10520 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
10521 * sysdeps/unix/bsd/wait3.c: ... here.
10522 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
10523 * sysdeps/unix/bsd/waitpid.c: ... here.
10525 2013-12-21 Joseph Myers <joseph@codesourcery.com>
10528 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
10529 round-to-nearest for [!USE_AS_EXPM1L].
10530 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
10531 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
10532 more tests of exp and exp10. Expect some exp10 tests to miss
10533 exceptions or fail in directed rounding modes.
10534 * math/auto-libm-test-out: Regenerated.
10535 * math/libm-test.inc (exp10_tonearest_test_data): New array.
10536 (exp10_test_tonearest): New function.
10537 (exp10_towardzero_test_data): New array.
10538 (exp10_test_towardzero): New function.
10539 (exp10_downward_test_data): New array.
10540 (exp10_test_downward): New function.
10541 (exp10_upward_test_data): New array.
10542 (exp10_test_upward): New function.
10543 (main): Call the new functions.
10544 * sysdeps/i386/fpu/libm-test-ulps: Update.
10545 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10547 2013-12-20 Joseph Myers <joseph@codesourcery.com>
10549 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
10550 asinh, atan, atan2, atanh, cbrt, cos and cosh.
10551 * math/auto-libm-test-out: Regenerated.
10552 * math/libm-test.inc (acosh_test_data): Add more tests.
10553 (atanh_test_data): Likewise.
10554 (ceil_test_data): Likewise.
10555 (copysign_test_data): Likewise.
10556 * sysdeps/i386/fpu/libm-test-ulps: Update.
10557 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10559 * timezone/checktab.awk: Update from tzcode 2013i.
10560 * timezone/private.h: Likewise.
10561 * timezone/scheck.c: Likewise.
10562 * timezone/tzfile.h: Likewise.
10563 * timezone/tzselect.ksh: Likewise.
10564 * timezone/zdump.c: Likewise.
10565 * timezone/zic.c: Likewise.
10567 * math/auto-libm-test-in: Add tests of cpow.
10568 * math/auto-libm-test-out: Regenerated.
10569 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
10570 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10572 (func_calc_desc): Add mpc_cc_c union field.
10573 (test_functions): Add cpow.
10574 (special_fill_2pi): New function.
10575 (special_real_inputs): Add 2pi.
10576 (calc_generic_results): Handle mpc_cc_c.
10577 * sysdeps/i386/fpu/libm-test-ulps: Update.
10578 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10580 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
10581 csqrt, ctan and ctanh.
10582 * math/auto-libm-test-out: Regenerated.
10583 * math/libm-test.inc (TEST_COND_x86_64): New macro.
10584 (TEST_COND_x86): Likewise.
10585 (ccos_test_data): Use AUTO_TESTS_c_c.
10586 (ccosh_test_data): Likewise.
10587 (cexp_test_data): Likewise.
10588 (clog_test_data): Likewise.
10589 (csqrt_test_data): Likewise.
10590 (ctan_test_data): Likewise.
10591 (ctan_tonearest_test_data): Likewise.
10592 (ctan_towardzero_test_data): Likewise.
10593 (ctan_downward_test_data): Likewise.
10594 (ctan_upward_test_data): Likewise.
10595 (ctanh_test_data): Likewise.
10596 (ctanh_tonearest_test_data): Likewise.
10597 (ctanh_towardzero_test_data): Likewise.
10598 (ctanh_downward_test_data): Likewise.
10599 (ctanh_upward_test_data): Likewise.
10600 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10602 (func_calc_desc): Add mpc_c_c union field.
10603 (FUNC_mpc_c_c): New macro.
10604 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
10605 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
10607 (special_fill_min_subnorm_p120): New function.
10608 (special_real_inputs): Add min_subnorm_p120.
10609 (calc_generic_results): Handle mpc_c_c.
10610 * sysdeps/i386/fpu/libm-test-ulps: Update.
10611 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10613 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10615 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
10616 (do_sin_slow): New functions.
10617 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
10618 (cslow2, csloww1, csloww2): Use the new functions.
10620 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
10621 Use M to change sign of result instead of X. Assume X is
10623 (csloww1): Likewise.
10627 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
10628 arguments A and DA.
10632 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
10634 (sloww1): Don't adjust sign of DX.
10635 (csloww1): Likewise.
10636 (sloww2): Use X directly and don't adjust sign of DX.
10637 (csloww2): Likewise.
10639 2013-12-19 Joseph Myers <joseph@codesourcery.com>
10641 * math/auto-libm-test-in: Add tests of cabs and carg.
10642 * math/auto-libm-test-out: Regenerated.
10643 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
10644 (carg_test_data): Likewise.
10645 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10647 (func_calc_desc): Add mpc_c_f union field.
10648 (test_functions): Add cabs and carg.
10649 (calc_generic_results): Handle mpc_c_f.
10651 * sysdeps/powerpc/powerpc32/libgcc-compat.S
10652 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
10653 as a macro and a compat symbol.
10654 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
10655 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
10656 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
10657 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
10658 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
10659 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
10661 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
10663 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
10665 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
10667 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
10669 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
10671 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
10672 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
10675 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10677 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10679 2013-12-19 Joseph Myers <joseph@codesourcery.com>
10681 * manual/texinfo.tex: Update to version 2013-11-26.10 with
10682 trailing whitespace removed.
10683 * scripts/config.guess: Update to version 2013-11-29.
10684 * scripts/config.sub: Update to version 2013-10-01.
10686 * math/auto-libm-test-in: Add tests of sincos.
10687 * math/auto-libm-test-out: Regenerated.
10688 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
10689 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10691 (func_calc_desc): Add mpfr_f_11 union field.
10692 (test_functions): Add sincos.
10693 (calc_generic_results): Handle mpfr_f_11.
10694 * sysdeps/i386/fpu/libm-test-ulps: Update.
10695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10697 2013-12-19 Andreas Schwab <schwab@suse.de>
10699 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
10701 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
10702 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
10703 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
10705 2013-12-19 Joseph Myers <joseph@codesourcery.com>
10707 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
10708 * sysdeps/i386/fpu/libm-test-ulps: Update.
10709 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10712 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
10713 round-to-nearest mode when using frndint.
10714 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
10715 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
10716 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
10718 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
10720 * math/auto-libm-test-out: Regenerated.
10721 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
10722 (TEST_COND_x86): Likewise.
10723 (expm1_tonearest_test_data): New array.
10724 (expm1_test_tonearest): New function.
10725 (expm1_towardzero_test_data): New array.
10726 (expm1_test_towardzero): New function.
10727 (expm1_downward_test_data): New array.
10728 (expm1_test_downward): New function.
10729 (expm1_upward_test_data): New array.
10730 (expm1_test_upward): New function.
10731 (main): Run the new test functions.
10732 * sysdeps/i386/fpu/libm-test-ulps: Update.
10733 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10735 * include/features.h: Update comment documenting feature test
10736 macros. Mention _DEFAULT_SOURCE in comment.
10737 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
10738 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
10739 _BSD_SOURCE and _SVID_SOURCE.
10740 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
10741 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
10742 !_SVID_SOURCE]: Likewise.
10743 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10744 (__USE_POSIX_IMPLICITLY): Define.
10745 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10746 (_POSIX_SOURCE): Undefine and redefine.
10747 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10748 (_POSIX_C_SOURCE): Likewise.
10749 * manual/creature.texi (_DEFAULT_SOURCE): Document.
10750 (Feature Test Macros): Update documentation of default features.
10752 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10754 * benchtests/Makefile: Add bench-strtok.
10755 * benchtests/bench-strtok.c: New file: strtok benchtest.
10757 2013-12-19 Allan McRae <allan@archlinux.org>
10759 * manual/install.texi: Suppress menu for plain text output.
10760 * INSTALL: Regenerated.
10762 2013-12-18 Brooks Moses <bmoses@google.com>
10765 * misc/getauxval.c: Include errno.h.
10766 (__getauxval): Set errno to ENOENT if the requested type is not
10768 * misc/sys/auxv.h (getauxval): Document that it may set errno;
10769 don't declare with __attribute_const__.
10770 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
10771 * manual/startup.texi: Document that getauxval sets errno.
10773 2013-12-18 Joseph Myers <joseph@codesourcery.com>
10775 * math/auto-libm-test-in: Add tests of jn and yn.
10776 * math/auto-libm-test-out: Regenerated.
10777 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
10778 (yn_test_data): Likewise.
10779 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10781 (func_calc_desc): Add mpfr_if_f union field.
10782 (FUNC_mpfr_if_f): New macro.
10783 (test_functions): Add jn and yn.
10784 (calc_generic_results): Assert type of second input for
10785 mpfr_ff_f. Handle mpfr_if_f.
10786 (output_for_one_input_case): Disable all checking for arguments
10787 fitting floating-point types in case of an integer argument.
10788 * sysdeps/i386/fpu/libm-test-ulps: Update.
10789 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10792 Don't expect fegetround reference in libm.so.
10794 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10796 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
10797 $(config-cflags-nofma).
10799 2013-12-18 Joseph Myers <joseph@codesourcery.com>
10801 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
10802 * math/auto-libm-test-out: Regenerated.
10805 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
10806 to determine exponent and adjust argument to have exponent of -1.
10807 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
10809 * math/auto-libm-test-out: Regenerated.
10810 * sysdeps/i386/fpu/libm-test-ulps: Update.
10811 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10813 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
10815 * manual/probes.texi: Remove cases when per-thread arenas are
10818 2013-12-18 Andreas Schwab <schwab@suse.de>
10820 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
10821 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
10822 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
10823 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
10824 * sysdeps/i386/i686/multiarch/Makefile: Update.
10825 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
10827 2013-12-17 Joseph Myers <joseph@codesourcery.com>
10829 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
10830 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
10832 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
10835 Support TZ transition times < 00:00:00.
10836 This is needed for version-3 tz-format files; it supports time
10837 stamps past 2037 for America/Godthab (the only entry in the tz
10838 database for which this change is relevant).
10839 * manual/time.texi (TZ Variable): Document transition times
10840 from -167:59:59 through -00:00:01.
10841 * time/tzset.c (tz_rule): Time of day is now signed.
10842 (__tzset_parse_tz): Parse negative time of day.
10844 Document TZ transition times >= 25:00:00.
10845 * manual/time.texi (TZ Variable): Document transition times from
10846 25:00:00 through 167:59:59. These are already supported, and this
10847 support will help with version-3 tz-format files.
10849 * manual/time.texi (TZ Variable): Modernize North America example
10850 to reflect current (i.e., 2007-and-later) daylight saving rules.
10852 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
10854 2013-12-17 Joseph Myers <joseph@codesourcery.com>
10856 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
10857 * sysdeps/unix/bsd/bits/stat.h: Likewise.
10858 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
10859 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
10860 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
10861 * sysdeps/unix/bsd/bsdstat.h: Likewise.
10862 * sysdeps/unix/bsd/clock.c: Likewise.
10863 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
10864 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
10865 * sysdeps/unix/bsd/init-posix.c: Likewise.
10866 * sysdeps/unix/bsd/poll.c: Likewise.
10867 * sysdeps/unix/bsd/ptsname.c: Likewise.
10868 * sysdeps/unix/bsd/seekdir.c: Likewise.
10869 * sysdeps/unix/bsd/setegid.c: Likewise.
10870 * sysdeps/unix/bsd/seteuid.c: Likewise.
10871 * sysdeps/unix/bsd/setgid.c: Likewise.
10872 * sysdeps/unix/bsd/setrgid.c: Likewise.
10873 * sysdeps/unix/bsd/setruid.c: Likewise.
10874 * sysdeps/unix/bsd/setsid.c: Likewise.
10875 * sysdeps/unix/bsd/setuid.c: Likewise.
10876 * sysdeps/unix/bsd/sigaction.c: Likewise.
10877 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
10878 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
10879 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
10880 * sysdeps/unix/bsd/telldir.c: Likewise.
10881 * sysdeps/unix/bsd/times.c: Likewise.
10882 * sysdeps/unix/bsd/usleep.c: Likewise.
10884 * misc/Makefile (install-lib): Remove libbsd-compat.a.
10885 ($(objpfx)libbsd-compat.a): Remove rule.
10887 * include/features.h (__FAVOR_BSD): Do not define.
10888 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
10889 features conflicting with POSIX.
10890 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
10891 (_BSD_SOURCE): Remove description of not being a subset of other
10892 feature test macros.
10893 * manual/job.texi (getpgrp): Do not document BSD version.
10894 (getpgid): Do not document by reference to BSD getpgrp.
10895 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
10896 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
10897 * signal/signal.h [__FAVOR_BSD]: Likewise.
10898 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
10899 instead of making contents conditional on [__FAVOR_BSD].
10900 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
10902 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10904 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10906 2013-12-17 Joseph Myers <joseph@codesourcery.com>
10909 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
10910 values below 2**-450, not 2**-500.
10911 * math/auto-libm-test-in: Don't allow spurious underflow from
10913 * math/auto-libm-test-out: Regenerated.
10917 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
10918 values of ha and hb and sort them after adjusting subnormal
10920 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
10922 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
10923 values of ea and eb and sort them after adjusting subnormal
10925 * math/auto-libm-test-in: Do not expect some hypot tests of
10926 subnormals to fail. Add more hypot tests.
10927 * math/auto-libm-test-out: Regenerated.
10929 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10932 * sysdeps/sh/s_fma.c: New file.
10933 * sysdeps/sh/s_fmaf.c: New file.
10934 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
10936 * sysdeps/sh/Implies: Add sh/soft-fp.
10938 2013-12-16 Roland McGrath <roland@hack.frob.com>
10940 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
10941 level of indirection to members `objname', `errstring', `malloced'.
10942 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
10943 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
10944 it as the __longjmp argument (just pass 1 instead).
10945 (_dl_catch_error): Initialize C with argument pointers and address of
10946 volatile local ERRCODE rather than copying values out of C at return.
10948 2013-12-16 Joseph Myers <joseph@codesourcery.com>
10950 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
10951 * math/auto-libm-test-out: Regenerated.
10952 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
10953 (hypot_test_data): Likewise.
10954 (pow_test_data): Likewise.
10955 (pow_tonearest_test_data): Likewise.
10956 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10958 (func_calc_desc): Add mpfr_ff_f union field.
10959 (FUNC_mpfr_ff_f): New macro.
10960 (test_functions): Add atan2, hypot and pow.
10961 (special_fill_min): New function.
10962 (special_fill_minus_min): Likewise.
10963 (special_fill_min_subnorm): Likewise.
10964 (special_fill_minus_min_subnorm): Likewise.
10965 (special_real_inputs): Add min, -min, min_subnorm and
10967 (calc_generic_results): Handle mpfr_ff_f.
10968 * sysdeps/i386/fpu/libm-test-ulps: Update.
10969 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10971 2013-12-16 Will Newton <will.newton@linaro.org>
10973 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
10974 (Aligned Memory Blocks): Add documentation for aligned_alloc
10975 and suggest it as an alternative to posix_memalign.
10976 (Hooks for Malloc): Document __memalign_hook is also called
10977 for aligned_alloc. (Summary of Malloc): Add summary for
10978 aligned alloc. Document __memalign_hook is also called
10981 2013-12-16 Will Newton <will.newton@linaro.org>
10983 * manual/memory.texi (Malloc Examples): Clarify default
10984 alignment documentation. Suggest posix_memalign rather
10985 than memalign or valloc.
10986 (Aligned Memory Blocks): Remove suggestion to use memalign
10987 or valloc. Remove obsolete comment about BSD.
10988 Document memalign errno values and mark the function obsolete.
10989 Document posix_memalign returned error codes. Mark valloc
10990 as obsolete. (Hooks for Malloc): __memalign_hook is also
10991 called for posix_memalign and valloc.
10992 (Summary of Malloc): Add posix_memalign to function summary.
10993 __memalign_hook is also called for posix_memalign and valloc.
10995 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10997 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
11001 (sloww): Use mynumber union. Expand ternary operator into
11002 if-else statements.
11003 (cslow): use mynumber union.
11005 2013-12-16 Allan McRae <allan@archlinux.org>
11007 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
11008 * configure: Regenerated.
11010 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
11013 * configure.ac: Added --enable-maintainer-mode. Check for
11014 autoconf when enabled.
11015 * configure: Regenerated.
11017 * nscd/nscd.service: New file.
11018 * nscd/nscd.tmpfiles: New file.
11020 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
11023 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
11024 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
11025 * sysdeps/x86_64/multiarch/strstr.c: ... here.
11026 (strstr): Add __strstr_sse2_unaligned ifunc.
11027 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
11028 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
11029 (strcasestr): Remove __strcasestr_sse42 ifunc.
11030 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
11031 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11032 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
11034 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11036 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
11037 * sysdeps/sh/bits/fenv.h: ... here.
11038 * sysdeps/sh/sh4/fpu/bits: Remove directory.
11040 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11042 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
11044 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
11045 hypotf multiarch implementations.
11046 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
11047 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
11048 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
11049 multiarch hypot for PPC64.
11050 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
11051 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
11052 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
11053 multiarch hypotf for PPC64.
11055 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
11056 modff multiarch implementations.
11057 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
11058 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
11059 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
11060 multiarch modf for PPC64.
11061 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
11062 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
11063 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
11064 multiarch modff for PPC64.
11066 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
11067 and logl multiarch implementations.
11068 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
11069 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
11070 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
11071 multiarch logb for PPC64.
11072 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
11073 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
11074 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
11075 multiarch logb for PPC64.
11076 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
11077 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
11078 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
11079 multiarch logb for PPC64.
11081 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
11082 isinff multiarch implementation.
11083 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
11085 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
11086 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
11087 multiarch isinf for PPC64.
11088 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
11090 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
11091 multiarch isinff for PPC64.
11093 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
11094 finitef multiarch implementation.
11095 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
11097 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
11098 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
11099 multiarch finite for PPC64.
11100 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
11102 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
11103 multiarch finitef for PPC64.
11105 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
11106 lrint multiarch implementation.
11107 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
11109 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
11110 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
11111 multiarch llrint for PPC64.
11112 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
11113 multiarch lrint for PPC64.
11115 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
11116 copysignf multiarch implementation.
11117 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
11119 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
11121 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
11122 multiarch copysign for PPC64.
11123 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
11124 multiarch copysignf for PPC64.
11126 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
11127 multiarch implementation.
11128 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
11130 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
11132 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
11134 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
11136 multiarch llround for PPC64.
11137 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
11138 multiarch trunc for PPC64.
11139 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
11140 multiarch truncf for PPC64.
11142 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
11143 multiarch implementation.
11144 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
11146 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
11148 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
11150 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
11152 multiarch llround for PPC64.
11153 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
11154 multiarch round for PPC64.
11155 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
11156 multiarch roundf for PPC64.
11158 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
11159 multiarch implementation.
11160 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
11162 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
11164 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
11166 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
11168 multiarch llround for PPC64.
11169 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
11170 multiarch floor for PPC64.
11171 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
11172 multiarch floorf for PPC64.
11174 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
11175 multiarch implementation.
11176 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
11178 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
11180 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
11182 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
11184 multiarch llround for PPC64.
11185 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
11186 multiarch ceil for PPC64.
11187 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
11188 multiarch ceilf for PPC64.
11190 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
11191 multiarch implementation.
11192 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
11194 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
11196 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
11198 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
11199 multiarch llround for PPC64.
11200 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
11201 multiarch lround for PPC64.
11203 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
11204 multiarch implementation.
11205 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
11206 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
11207 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
11209 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
11210 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
11211 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
11212 multiarch isnan for PPC64.
11213 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
11214 multiarch isnanf for PPC64.
11216 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
11217 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
11218 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
11219 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
11220 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
11221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
11223 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
11224 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11225 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11226 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11228 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
11229 multiarch implementations.
11230 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11231 (__libc_ifunc_impl_list): Likewise.
11232 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
11233 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
11234 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
11235 multiarch stpcpy for PPC64.
11237 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
11238 multiarch implementations.
11239 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11240 (__libc_ifunc_impl_list): Likewise.
11241 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
11242 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
11243 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
11244 multiarch strcpy for PPC64.
11246 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
11247 redefine function name.
11248 (_wordcopy_fwd_dest_aligned): Likewise.
11249 (_wordcopy_bwd_aligned): Likewise.
11250 (_wordcopy_bwd_dest_aligned): Likewise.
11251 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
11252 multiarch implementations.
11253 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11254 (__libc_ifunc_impl_list): Likewise.
11255 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
11256 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
11257 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
11258 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
11259 multiarch wcscpy for PPC64.
11261 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
11262 multiarch implementations.
11263 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11264 (__libc_ifunc_impl_list): Likewise.
11265 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
11266 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
11267 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
11268 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
11269 multiarch wcscpy for PPC64.
11271 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
11272 multiarch implementations.
11273 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11274 (__libc_ifunc_impl_list): Likewise.
11275 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
11276 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
11277 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
11278 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
11279 multiarch wcsrchr for PPC64.
11281 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
11282 multiarch implementations.
11283 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11284 (__libc_ifunc_impl_list): Likewise.
11285 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
11286 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
11287 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
11288 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
11289 multiarch wcschr for PPC64.
11291 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
11292 multiarch implementations.
11293 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11294 (__libc_ifunc_impl_list): Likewise.
11295 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
11296 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
11297 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
11298 multiarch strchrnul for PPC64.
11300 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
11302 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11303 (__libc_ifunc_impl_list): Likewise.
11304 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
11305 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
11306 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
11307 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
11310 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
11312 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11313 (__libc_ifunc_impl_list): Likewise.
11314 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
11315 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
11316 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
11317 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
11320 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
11321 multiarch implementations.
11322 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11323 (__libc_ifunc_impl_list): Likewise.
11324 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
11325 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
11326 strncasecmp for PPC64.
11327 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
11328 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
11329 multiarch strncasecmp_l for PPC64.
11331 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
11332 multiarch implementations.
11333 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11334 (__libc_ifunc_impl_list): Likewise.
11335 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
11336 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
11337 multiarch strcasecmp for PPC64.
11338 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
11340 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
11341 multiarch strcasecmp_l for PPC64.
11343 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
11345 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11346 (__libc_ifunc_impl_list): Likewise.
11347 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
11348 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
11349 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
11352 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
11354 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11355 (__libc_ifunc_impl_list): Likewise.
11356 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
11357 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
11358 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
11361 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
11363 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11364 (__libc_ifunc_impl_list): Likewise.
11365 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
11366 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
11367 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
11368 rawmemrchr for PPC64.
11370 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
11372 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11373 (__libc_ifunc_impl_list): Likewise.
11374 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
11375 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
11376 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
11379 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
11381 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11382 (__libc_ifunc_impl_list): Likewise.
11383 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
11384 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
11385 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
11388 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
11390 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11391 (__libc_ifunc_impl_list): Likewise.
11392 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
11393 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
11394 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
11397 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
11398 avoid cretion of __bzero symbol.
11399 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
11401 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
11403 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
11405 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
11406 multiarch implementations.
11407 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11408 (__libc_ifunc_impl_list): Likewise.
11409 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
11410 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
11411 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
11412 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
11414 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
11415 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
11416 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
11417 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
11418 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
11420 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
11422 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
11423 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
11425 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11426 (__libc_ifunc_impl_list): Likewise.
11427 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
11428 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
11429 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
11430 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
11433 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
11434 multiarch for POWER/PPC64.
11435 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
11436 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
11437 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
11438 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
11439 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
11440 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
11441 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
11442 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
11443 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
11446 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
11447 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
11448 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
11449 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
11450 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
11451 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
11452 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
11453 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
11454 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
11455 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
11456 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
11457 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
11458 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
11459 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
11460 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
11461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
11462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
11463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
11464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
11465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
11466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
11467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
11469 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11471 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
11473 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11475 * benchtests/Makefile (bench): Add exp2 and log2.
11476 (LDLIBS-bench-exp2): Add -lm.
11477 (LDLIBS-bench-log2): Likewise.
11478 * benchtests/exp2-inputs: New inputs file.
11479 * benchtests/log2-inputs: New inputs file.
11480 * benchtests/log-inputs: Add new inputs.
11481 * benchtests/tan-inputs: Likewise.
11483 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11485 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
11487 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
11488 (csloww2): ... from here.
11490 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
11491 instead of structures.
11492 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
11493 (POLYNOMIAL): Likewise.
11494 (TAYLOR_SLOW): Likewise.
11500 (sloww1); Likewise.
11501 (sloww2): Likewise.
11502 (bsloww1): Likewise.
11503 (bsloww2): Likewise.
11504 (cslow2): Likewise.
11505 (csloww): Likewise.
11506 (csloww1): Likewise.
11507 (csloww2): Likewise.
11509 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
11511 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
11512 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
11513 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
11514 * malloc/hooks.c (realloc_check): Likewise.
11516 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
11517 * malloc/arena.c: Remove PER_THREAD conditional.
11518 [!PER_THREAD]: Remove code.
11519 (ptmalloc_unlock_all2): Likewise.
11520 (ptmalloc_init): Likewise.
11521 (_int_new_arena): Likewise.
11522 (arena_get2): Likewise.
11523 * malloc/hooks.c (__malloc_get_state): Likewise.
11524 (__malloc_set_state): Likewise.
11525 * malloc/malloc.c: Likewise.
11526 (struct malloc_state): Likewise.
11527 (struct malloc_par): Likewise.
11528 (__libc_realloc): Likewise.
11529 (__libc_mallopt): Likewise.
11531 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11533 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
11535 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
11537 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
11538 macro to a function. Check for zero perturb_byte.
11539 (_int_malloc, _int_free): Remove zero perturb_byte checks.
11541 * malloc/malloc.c: (force_reg): Remove.
11542 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
11543 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
11544 force_reg by atomic_forced_read.
11545 * malloc/arena.c (ptmalloc_init): Likewise.
11546 * malloc/hooks.c (top_check): Likewise.
11548 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11550 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11552 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
11554 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11556 2013-12-08 Joseph Myers <joseph@codesourcery.com>
11558 * math/auto-libm-test-in: Add tests of lgamma.
11559 * math/auto-libm-test-out: Regenerated.
11560 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
11561 (M_LOG_2_SQRT_PIl): Likewise.
11562 (lgamma_test_data): Use AUTO_TESTS_f_f1.
11563 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11565 (func_calc_desc): Add mpfr_f_f1 union field.
11566 (ARGS1): New macro.
11574 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
11575 (test_functions): Add lgamma.
11576 (calc_generic_results): Handle mpfr_f_f1.
11577 * sysdeps/i386/fpu/libm-test-ulps: Update.
11578 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11580 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11582 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
11583 __mpn_add_n for PowerPC64/POWER7.
11584 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
11585 __mpn_sub_n for PowerPC64/POWER7.
11587 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
11588 __mpn_addmul_1 for PowerPC64.
11589 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
11590 __mpn_submul_1 for PowerPC64.
11591 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
11593 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
11596 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
11599 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
11601 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11603 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
11605 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
11606 add multiarch folders.
11607 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
11608 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
11609 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
11610 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
11611 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
11612 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
11613 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
11614 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
11615 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
11616 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
11617 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
11618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
11619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
11620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
11621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
11622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
11623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
11625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11626 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
11627 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
11629 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
11631 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
11632 multiarch __ieee754_hypot for PowerPC32.
11633 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
11635 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
11637 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
11638 multiarch __ieee754_hypotf for PowerPC32.
11640 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
11641 long_double_symbol only if __logbl is defined.
11642 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
11643 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
11644 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
11645 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
11646 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
11647 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
11648 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
11649 path for implementation.
11650 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
11651 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
11652 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
11653 logb, and logbl multiarch implementations for PowerPC32.
11654 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
11656 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
11658 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
11659 multiarch logb for PowerPC32.
11660 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
11662 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
11664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
11665 multiarch logbf for PowerPC32.
11666 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
11667 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
11669 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
11670 multiarch logbl implementation for PowerPC32.
11672 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
11673 and modff multiarch implementations.
11674 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
11676 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
11678 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
11679 multiarch modf for PowerPC32.
11680 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
11682 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
11684 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
11685 multiarch modff for PowerPC32.
11687 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
11688 and lrintf multiarch implementations.
11689 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
11691 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
11693 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
11694 multiarch lrint for PowerPC32.
11695 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
11696 file: multiarch lrintf for PowerPC32.
11698 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
11699 and lroundf multiarch implementations.
11700 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
11702 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
11704 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
11706 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
11707 multiarch lround for PowerPC32.
11708 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
11709 file: multiarch lroundf for PowerPC32.
11711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11712 copysign and copysignf multiarch implementations.
11713 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
11715 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
11717 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
11718 file: multiarch copysign for PowerPC32.
11719 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
11720 file: multiarch copysignf for PowerPC32.
11722 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
11723 and truncf multiarch implementations.
11724 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
11726 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
11728 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
11729 multiarch trunc for PowerPC32.
11730 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
11732 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
11734 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
11735 multiarch truncf for PowerPC32.
11737 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
11738 and roundf multiarch implementations.
11739 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
11741 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
11743 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
11744 multiarch round for PowerPC32.
11745 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
11747 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
11749 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
11750 multiarch roundf for PowerPC32.
11752 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
11753 and floorf multiarch implementations.
11754 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
11756 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
11758 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
11759 multiarch floor for PowerPC32.
11760 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
11762 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
11764 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
11765 multiarch floorf for PowerPC32.
11767 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
11768 and ceilf multiarch implementations.
11769 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
11771 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
11773 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
11774 multiarch ceil for PowerPC32.
11775 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
11777 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
11779 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
11780 multiarch ceilf for PowerPC32.
11782 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
11784 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
11785 FINITEF is defined.
11786 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
11787 and finitef multiarch implementations.
11788 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
11790 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
11792 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
11793 multiarch finite for PowerPC32.
11794 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
11796 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
11797 file: multiarch finitef for PowerPC32.
11799 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
11800 and isinff multiarch implementations.
11801 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
11803 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
11805 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
11806 multiarch isinf for PowerPC32.
11807 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
11809 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
11810 multiarch isinff for PowerPC32.
11812 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
11813 alias when __isnan is defined.
11814 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
11815 and isnanf multiarch implementations.
11816 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
11818 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
11820 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
11822 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
11824 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
11825 multiarch isnan for PowerPC32.
11826 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
11828 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
11830 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
11831 multiarch isnanf for PowerPC32.
11833 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
11834 and sqrtf multiarch implementations.
11835 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
11837 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
11839 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
11840 multiarch sqrt for PowerPC32.
11841 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
11843 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
11845 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
11846 multiarch sqrtf for PowerPC32.
11848 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
11849 and llroundf multiarch implementations.
11850 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
11852 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
11854 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
11856 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
11857 file: multiarch llround for PowerPC32.
11858 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
11859 file: multiarch llroundf for PowerPC32.
11861 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
11862 multiarch PowerPC32 fpu implementations.
11863 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
11865 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
11867 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
11868 multiarch llrint for PowerPC32.
11869 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
11871 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
11873 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
11876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
11878 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
11880 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
11882 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
11884 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
11885 multiarch wordcopy for PPC32.
11886 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
11888 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11889 (__libc_ifunc_impl_list): Likewise.
11890 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
11891 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
11892 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
11893 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
11894 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
11895 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
11897 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
11898 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
11900 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
11902 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
11904 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
11905 multiarch wcscpy for PPC32.
11906 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
11908 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11909 (__libc_ifunc_impl_list): Likewise.
11910 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
11911 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
11912 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
11913 sysdeps/powerpc/power6/wcscpy.c.
11915 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
11916 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
11918 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
11920 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
11922 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
11923 multiarch wcsrchr for PPC32.
11924 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
11926 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11927 (__libc_ifunc_impl_list): Likewise.
11928 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
11929 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
11930 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
11931 sysdeps/powerpc/power6/wcsrchr.c.
11933 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
11935 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
11937 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
11938 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
11939 multiarch wcschr for PPc32.
11940 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
11942 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11943 (__libc_ifunc_impl_list): Likewise.
11944 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
11945 * sysdeps/powerpc/power6/wcschr.c: ... to here.
11946 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
11947 sysdeps/powerpc/power6/wcschr.c.
11949 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
11950 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
11952 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
11953 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
11954 file: multiarch strchr for PPC32.
11955 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
11957 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11958 (__libc_ifunc_impl_list): Likewise.
11960 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
11962 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
11964 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
11966 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
11967 multiarch strchrnul for PPC32.
11968 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
11970 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11971 (__libc_ifunc_impl_list): Likewise.
11973 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
11975 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
11976 multiarch strncasecmp for PPC32.
11977 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
11979 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
11980 multiarch strncasecmp_l for PPC32.
11981 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
11982 strncasecmp multiarch objects.
11983 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11984 (__libc_ifunc_impl_list): Likewise.
11986 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
11988 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
11989 multiarch strncasecmp for PPC32.
11990 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
11992 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
11993 multiarch strcasecmp_l for PPC32.
11994 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
11996 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11997 (__libc_ifunc_impl_list): Likewise.
11999 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
12001 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
12003 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
12004 multiarch strncmp for PPC32.
12005 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
12007 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12008 (__libc_ifunc_impl_list): Likewise.
12010 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
12011 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
12013 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
12014 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
12015 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
12017 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12018 (__libc_ifunc_impl_list): Likewise.
12020 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
12022 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
12024 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
12025 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
12027 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12028 (__libc_ifunc_impl_list): Likewise.
12030 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
12032 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
12034 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
12035 multiarch rawmemchr for PPC32.
12036 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
12038 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12039 (__libc_ifunc_impl_list): Likewise.
12041 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
12043 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
12045 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
12046 file: memrchr multiarch for PPC32.
12047 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
12049 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12050 (__libc_ifunc_impl_list): Likewise.
12052 * string/memchr.c (__memchr): Using macro to redefine symbol name.
12053 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
12055 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
12056 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
12057 multiarch memchr for PPC32.
12058 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
12060 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12061 (__libc_ifunc_impl_list): Likewise.
12063 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
12064 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
12066 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
12068 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
12069 file: multiarch mempcpy for PPC32.
12070 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
12072 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12073 (__libc_ifunc_impl_list): Likewise.
12075 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
12076 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
12077 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
12078 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
12079 multiarch bzero for PPC32.
12080 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
12082 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
12084 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
12085 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
12086 file: multiarch memset for PPC32.
12087 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
12088 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
12089 memset multiarch objects.
12090 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12091 (__libc_ifunc_impl_list): Likewise.
12093 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
12095 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
12096 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
12098 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
12099 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
12101 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12102 (__libc_ifunc_impl_list): Likewise.
12104 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
12105 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
12106 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
12108 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
12110 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
12112 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
12113 multiarch memcpy for PPC32.
12114 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
12116 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12117 (__libc_ifunc_impl_list): Likewise.
12119 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
12120 support multiarch for POWER/PPC32.
12121 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
12123 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
12124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
12125 Implies file to make multiarch folder appers before the fpu and
12126 default folder for power4 configuration.
12128 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12130 * scripts/bench.pl: Append volatile keyword to type.
12132 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12134 * sysdeps/sh/sotruss-lib.c: New file.
12135 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
12137 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12139 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12141 2013-12-05 Joseph Myers <joseph@codesourcery.com>
12144 * math/w_tgamma.c: Include <errno.h>.
12145 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
12146 * math/w_tgammaf.c: Include <errno.h>.
12147 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
12148 * math/w_tgammal.c: Include <errno.h>.
12149 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
12150 * math/auto-libm-test-in: Do not allow missing errno on tgamma
12151 underflow. Add more tgamma tests.
12152 * math/auto-libm-test-out: Regenerated.
12153 * sysdeps/i386/fpu/libm-test-ulps: Update.
12154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12156 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
12157 sin, sinh, tan, tanh, tgamma, y0 and y1.
12158 * math/auto-libm-test-out: Regenerated.
12159 * math/libm-test.inc (TEST_COND_x86_64): New macro.
12160 (TEST_COND_x86): Likewise.
12161 (M_E2l): Remove macro.
12163 (M_2_SQRT_PIl): Likewise.
12164 (M_SQRT_PIl): Likewise.
12165 (M_1_DIV_El): Likewise.
12166 (log_test_data): Use AUTO_TESTS_f_f.
12167 (log10_test_data): Likewise.
12168 (log1p_test_data): Likewise.
12169 (log2_test_data): Likewise.
12170 (sin_test_data): Likewise.
12171 (sin_tonearest_test_data): Likewise.
12172 (sin_towardzero_test_data): Likewise.
12173 (sin_downward_test_data): Likewise.
12174 (sin_upward_test_data): Likewise.
12175 (sinh_test_data): Likewise.
12176 (sinh_tonearest_test_data): Likewise.
12177 (sinh_towardzero_test_data): Likewise.
12178 (sinh_downward_test_data): Likewise.
12179 (sinh_upward_test_data): Likewise.
12180 (tan_test_data): Likewise.
12181 (tan_tonearest_test_data): Likewise.
12182 (tan_towardzero_test_data): Likewise.
12183 (tan_downward_test_data): Likewise.
12184 (tan_upward_test_data): Likewise.
12185 (tanh_test_data): Likewise.
12186 (tgamma_test_data): Likewise.
12187 (y0_test_data): Likewise.
12188 (y1_test_data): Likewise.
12189 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
12190 (special_real_inputs): Add pi/4.
12191 * sysdeps/i386/fpu/libm-test-ulps: Update.
12192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12194 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12196 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
12197 "longjmp_target" static probes.
12198 (__longjmp): Rename to __longjmp_symbol.
12199 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12200 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
12201 on which longjmp to generate.
12202 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
12203 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
12205 (__sigsetjmp): Rename to __sigsetjmp_symbol.
12206 (__sigjmp_save): Rename to __sigjmp_save_symbol.
12207 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
12208 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
12209 and __sigjmp_save_symbol based on which sigsetjmp to generated.
12210 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
12211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
12212 __longjmp_symbol based on which __longjmp to generate.
12213 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
12215 (setjmp): Rename to setjmp_symbol.
12216 (__sigsetjmp): Rename to __sigsetjmp_symbol.
12217 (_setjmp): Rename to _setjmp_symbol.
12218 (__sigsetjmp): Rename to __sigsetjmp_symbol.
12219 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
12220 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
12221 which setjmp to generate.
12222 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
12223 "longjmp_target" static probes.
12225 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12227 * benchtests/README: Add note about output arguments.
12228 * benchtests/bench-sincos.c: Remove file.
12229 * benchtests/sincos-inputs: New file.
12230 * scripts/bench.pl: Identify output arguments and define
12231 static variables for them.
12233 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
12236 * Makefile (INSTALL): Add install-plain.texi as the primary
12238 * manual/install-plain.texi: New file.
12239 * manual/install.texi: Include node directive only for
12240 non-plaintext output.
12242 2013-12-04 Joseph Myers <joseph@codesourcery.com>
12244 * stdlib/longlong.h: Update from GCC.
12248 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
12249 * math/w_j0f.c (y0f): Likewise.
12250 * math/w_j0l.c (__y0l): Likewise.
12251 * math/w_j1.c (y1): Likewise.
12252 * math/w_j1f.c (y1f): Likewise.
12253 * math/w_j1l.c (__y1l): Likewise
12254 * math/w_jn.c (yn): Likewise.
12255 * math/w_jnf.c (ynf): Likewise.
12256 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
12257 Bessel function pole errors in _POSIX_ mode. Use NAN as return
12258 value for Bessel function domain errors outside _SVID_ mode.
12259 Adjust sign of return value for yn (negative integer, 0).
12260 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
12261 by zero in return for negative x and set sign appropriately for
12263 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
12264 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
12265 * math/libm-test.inc (y0_test_data): Add more tests and adjust
12266 expectations in error cases.
12267 (y1_test_data): Likewise.
12268 (yn_test_data): Likewise.
12269 * sysdeps/i386/fpu/libm-test-ulps: Update.
12270 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12272 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12274 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
12275 "64" to "64-v1". Add "64-v2".
12276 (abi-64-options): Rename to ...
12277 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
12278 (abi-64-condition): Rename to ...
12279 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
12280 (abi-64-ld-soname): Rename to ...
12281 (abi-64-v1-ld-soname): ... this.
12282 (abi-64-v2-options): Define.
12283 (abi-64-v2-condition): Likewise.
12284 (abi-64-v2-ld-soname): Likewise.
12285 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
12286 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
12287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
12288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
12289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
12291 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12292 Alan Modra <amodra@gmail.com>
12294 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
12295 New versions for use with the ELFv2 ABI.
12296 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
12297 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
12299 (struct La_ppc64v2_retval): Likewise.
12300 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
12301 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
12302 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
12303 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
12304 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
12305 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
12306 Do not save or restore CR.
12307 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
12308 (_dl_profile_resolve): Do no save or restore CR. Support extended
12309 return values for ELFv2 ABI. Fix location of FPR return registers.
12310 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
12311 updated values for _CALL_ELF == 2.
12312 (La_regs, La_retval, int_retval): Likewise.
12314 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12316 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
12317 (FRAME_MIN_SIZE_PARM): Likewise.
12318 (FRAME_BACKCHAIN): Likewise.
12319 (FRAME_CR_SAVE): Likewise.
12320 (FRAME_LR_SAVE): Likewise.
12321 (FRAME_TOC_SAVE): Likewise.
12322 (FRAME_PARM_SAVE): Likewise.
12323 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
12324 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
12325 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
12326 (call_mcount_parm_offset): New macro.
12327 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
12328 (PROF): Use symbolic stack frame offsets.
12329 (TAIL_CALL_SYSCALL_ERROR): Likewise.
12330 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
12331 Redefine in terms of FRAME_MIN_SIZE.
12332 (_dl_runtime_resolve): Use symbolic stack frame offsets.
12333 (_dl_profile_resolve): Likewise. Update comment.
12334 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
12335 symbols stack frame offsets.
12336 (__sigsetjmp): Likewise.
12337 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
12338 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
12339 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
12340 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
12342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
12343 (FRAME_BACKCHAIN): Remove.
12344 (FRAME_CR_SAVE): Likewise.
12345 (FRAME_LR_SAVE): Likewise.
12346 (FRAME_COMPILER_DW): Likewise.
12347 (FRAME_LINKER_DW): Likewise.
12348 (FRAME_TOC_SAVE): Likewise.
12349 (FRAME_PARM_SAVE): Likewise.
12350 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
12351 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
12352 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
12353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
12354 (CHECK_SP): Use symbolic stack frame offsets.
12355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
12356 zone" instead of caller's parameter save area for temp storage.
12357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
12358 Likewise. Also, use symbolic stack frame offsets.
12359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
12360 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
12361 our own stack frame instead of the caller's.
12362 (__socket): Use symbolic stack frame offsets.
12364 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12365 Alan Modra <amodra@gmail.com>
12367 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
12369 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
12370 (PPC64_LOCAL_ENTRY_OFFSET): Define.
12371 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
12373 (elf_machine_fixup_plt): Call it.
12374 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
12376 (elf_machine_rela): Update call to elf_machine_plt_conflict.
12377 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12378 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
12379 r2 before calling target.
12381 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12382 Alan Modra <amodra@gmail.com>
12384 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
12385 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
12386 versions of macros to support ELFv2 ABI.
12387 (LOCALENTRY): New macro.
12388 (ENTRY, EALIGN): Use it.
12389 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
12390 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
12391 fall through into ENTRY entry point.
12392 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
12393 Only define if _CALL_ELF != 2.
12395 (elf_machine_matches_host): Verify ABI version matches.
12396 (RTLD_START): Use LOCALENTRY.
12397 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
12398 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
12399 (PLT_ENTRY_WORDS): New macro.
12400 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
12401 (elf_machine_runtime_setup): Support ELFv2 ABI.
12402 (elf_machine_fixup_plt): Likewise.
12403 (elf_machine_plt_conflict): Likewise.
12404 (resolve_ifunc): Likewise.
12405 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
12406 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
12408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
12409 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
12410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12411 (makecontext): Support ELFv2 ABI.
12412 * elf/elf.h (EF_PPC64_ABI): Define.
12414 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12416 * sysdeps/powerpc/powerpc64/sysdep.h
12417 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
12418 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
12419 (ENTRY) [ASSEMBLER]: ... but instead here ...
12420 (EALIGN) [ASSEMBLER]: ... and here.
12421 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
12422 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
12423 (ENTRY_2) [!ASSEMBLER]: Use it.
12424 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
12425 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
12426 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12427 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
12428 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
12429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
12430 Use PPC64_LOAD_FUNCPTR.
12432 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
12434 2013-12-04 Alan Modra <amodra@gmail.com>
12436 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
12437 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
12438 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
12439 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
12441 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
12442 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
12443 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
12444 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
12445 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
12446 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
12448 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12451 (__makecontext): Fix incorrect CFI when backtracing out of
12452 context created via makecontext.
12453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
12454 (__setcontext): Fix incorrect CFI during switch to new context.
12455 (__novec_setcontext): Likewise.
12457 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
12460 * time/strptime_l.c (__strptime_internal): Allow modifiers
12462 * time/tst-strptime.c (day_tests): Add testcase.
12464 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12466 * scripts/bench.pl: Skip over blank lines.
12468 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
12471 * manual/time.texi (Calendar Time): Clarify what timezone functions
12474 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12476 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12478 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
12480 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
12482 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
12483 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
12484 * debug/memset_chk.c (__memset_chk): Likewise.
12485 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
12486 * debug/strncpy_chk.c: Likewise.
12488 2013-12-03 Joseph Myers <joseph@codesourcery.com>
12492 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
12493 (__ieee754_exp): For possibly underflowing results, check size of
12494 result and force underflow exception if required.
12495 * math/auto-libm-test-in: Add more tests of exp.
12496 * math/auto-libm-test-out: Regenerated.
12497 * sysdeps/i386/fpu/libm-test-ulps: Update.
12498 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12501 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
12502 * math/w_exp2f.c (__exp2f): Likewise.
12503 * math/w_exp2l.c (__exp2l): Likewise.
12504 * math/auto-libm-test-in: Do not allow missing errno on exp2
12506 * math/auto-libm-test-out: Regenerated.
12508 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
12511 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
12512 handle filename validation.
12513 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
12516 2013-12-03 Joseph Myers <joseph@codesourcery.com>
12519 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
12520 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
12521 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
12523 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
12524 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
12525 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12526 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
12527 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12528 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
12529 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12530 * math/auto-libm-test-in: Don't allow missing errno from erfc.
12531 Add more erfc tests.
12532 * math/auto-libm-test-out: Regenerated.
12533 * sysdeps/i386/fpu/libm-test-ulps: Update.
12534 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12536 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
12537 exp2, expm1, j0 and j1.
12538 * math/auto-libm-test-out: Regenerated.
12539 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
12540 (erfc_test_data): Likewise.
12541 (exp_test_data): Likewise.
12542 (exp_tonearest_test_data): Likewise.
12543 (exp_towardzero_test_data): Likewise.
12544 (exp_downward_test_data): Likewise.
12545 (exp_upward_test_data): Likewise.
12546 (exp10_test_data): Likewise.
12547 (exp2_test_data): Likewise.
12548 (expm1_test_data): Likewise.
12549 (j0_test_data): Likewise.
12550 (j1_test_data): Likewise.
12551 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
12552 (input_flag_type): Add flag_xfail_rounding.
12553 (input_flags): Add xfail-rounding.
12554 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
12555 (output_for_one_input_case): Handle flag_xfail_rounding.
12556 * sysdeps/i386/fpu/libm-test-ulps: Update.
12557 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12559 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
12562 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
12565 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12568 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
12569 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
12570 (STAP_PROBE0): New macro.
12571 (STAP_PROBE1): Likewise.
12572 (STAP_PROBE2): Likewise.
12573 (STAP_PROBE3): Likewise.
12574 (STAP_PROBE4): Likewise.
12576 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
12578 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
12580 2013-12-02 Steve Ellcey <sellcey@mips.com>
12582 * benchtests/Makefile (bench): Add sqrt.
12583 (LDLIBS-bench-sqrt): New.
12584 * benchtests/sqrt-input: New.
12586 2013-12-02 Pavel Simerda <psimerda@redhat.com>
12588 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
12589 (GAIH_EAI): Likewise.
12590 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
12591 (gaih_inet): Likewise.
12592 (getaddrinfo): Don't use GAIH_EAI.
12594 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
12595 (struct gaih): Remove definition.
12597 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12599 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
12600 Use HERRNOP directly.
12602 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12604 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12606 2013-11-30 Joseph Myers <joseph@codesourcery.com>
12608 * math/gen-auto-libm-tests.c (test_functions): Add more
12609 single-argument functions.
12610 (special_fill_pi_2): New function.
12611 (special_fill_minus_pi_2): Likewise.
12612 (special_fill_pi_6): Likewise.
12613 (special_fill_minus_pi_6): Likewise.
12614 (special_fill_pi_3): Likewise.
12615 (special_fill_2pi_3): Likewise.
12616 (special_fill_e): Likewise.
12617 (special_fill_1_e): Likewise.
12618 (special_fill_e_minus_1): Likewise.
12619 (special_real_inputs): Add more special inputs.
12620 (output_for_one_input_case): Do not require ERANGE on underflow to
12621 zero if round-to-nearest result does not underflow to zero, unless
12622 exact results required.
12623 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
12624 atan, atanh, cbrt, cos and cosh.
12625 * math/auto-libm-test-out: Regenerated.
12626 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
12627 (acos_tonearest_test_data): Likewise.
12628 (acos_towardzero_test_data): Likewise.
12629 (acos_downward_test_data): Likewise.
12630 (acos_upward_test_data): Likewise.
12631 (acosh_test_data): Likewise.
12632 (asin_test_data): Likewise.
12633 (asin_tonearest_test_data): Likewise.
12634 (asin_towardzero_test_data): Likewise.
12635 (asin_upward_test_data): Likewise.
12636 (asinh_test_data): Likewise.
12637 (atan_test_data): Likewise.
12638 (atanh_test_data): Likewise.
12639 (cbrt_test_data): Likewise.
12640 (cos_test_data): Likewise.
12641 (cos_tonearest_test_data): Likewise.
12642 (cos_towardzero_test_data): Likewise.
12643 (cos_downward_test_data): Likewise.
12644 (cos_upward_test_data): Likewise.
12645 (cosh_test_data): Likewise.
12646 (cosh_tonearest_test_data): Likewise.
12647 (cosh_towardzero_test_data): Likewise.
12648 (cosh_downward_test_data): Likewise.
12649 (cosh_upward_test_data): Likewise.
12650 * sysdeps/i386/fpu/libm-test-ulps: Update.
12651 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12653 2013-11-29 Joseph Myers <joseph@codesourcery.com>
12656 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
12657 * math/w_exp10f.c (__exp10f): Likewise.
12658 * math/w_exp10l.c (__exp10l): Likewise.
12659 * math/libm-test.inc (exp10_test_data): Add more tests and expect
12660 errno settings in existing tests.
12663 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
12664 precision control set to double precision.
12665 * sysdeps/i386/fpu/w_sqrt.c: New file.
12666 * math/auto-libm-test-in: Add more tests.
12667 * math/auto-libm-test-out: Update.
12669 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
12670 (sqrt_test_tonearest): New function.
12671 (sqrt_towardzero_test_data): New variable.
12672 (sqrt_test_towardzero): New function.
12673 (sqrt_downward_test_data): New variable.
12674 (sqrt_test_downward): New function.
12675 (sqrt_upward_test_data): New variable.
12676 (sqrt_test_upward): New function.
12677 (main): Call the new functions.
12679 * math/gen-auto-libm-tests.c: New file.
12680 * math/auto-libm-test-in: Likewise.
12681 * math/auto-libm-test-out: New generated file.
12682 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
12684 (%beautify): Add generated representations of zero.
12685 (top level): Set $auto_input and call parse_auto_input.
12686 (beautify): Remove trailing "f" from hex float constants.
12687 (parse_args): Handle XFAIL_TEST.
12688 (convert_condition): New function.
12689 (or_value): Likewise.
12690 (or_cond_value): Likewise.
12691 (generate_testfile): Handle AUTO_TESTS_* lines.
12692 (parse_auto_input): New function.
12693 * math/libm-test.inc (XFAIL_TEST): New macro.
12694 (ERRNO_UNCHANGED): Update value.
12695 (ERRNO_EDOM): Likewise.
12696 (ERRNO_ERANGE): Likewise.
12697 (IGNORE_RESULT): Likewise.
12698 (TEST_COND_flt_32): New macro.
12699 (TEST_COND_dbl_64): Likewise.
12700 (TEST_COND_ldbl_96_intel): Likewise.
12701 (TEST_COND_ldbl_96_m68k): Likewise.
12702 (TEST_COND_ldbl_128): Likewise.
12703 (TEST_COND_ldbl_128ibm): Likewise.
12704 (TEST_COND_long32): Likewise.
12705 (TEST_COND_long64): Likewise.
12706 (TEST_COND_before_rounding): Likewise.
12707 (TEST_COND_after_rounding): Likewise.
12708 (enable_test): Handle XFAIL_TEST flag.
12709 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
12710 with finite results.
12711 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
12712 auto-libm-test-out.
12714 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12715 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12718 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
12719 __tls_get_addr_internal instead of __tls_get_offset in order to
12720 avoid GOT pointer dependency. Make rtld export
12721 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
12722 __tls_get_addr since we are a __tls_get_offset platform.
12723 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
12724 GOT pointer being set up before.
12725 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
12727 2013-11-28 Joseph Myers <joseph@codesourcery.com>
12729 * manual/math.texi (Errors in Math Functions): Document accuracy
12733 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
12734 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
12735 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
12736 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12737 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12738 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12739 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12740 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
12741 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
12742 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12743 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12744 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12745 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12746 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12747 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
12748 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
12750 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
12751 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
12752 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
12753 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
12754 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
12756 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
12758 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
12760 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
12761 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
12762 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
12763 atomic-feupdateenv and flt-rounds.
12764 * sysdeps/powerpc/nofpu/Versions (libc): Add
12765 __atomic_feholdexcept, __atomic_feclearexcept,
12766 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
12767 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
12768 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
12769 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
12770 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
12772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
12775 * manual/arith.texi (FP Exceptions): Document that exceptions may
12776 not be raised when matherr is used.
12777 (Math Error Reporting): Document overflow in directed rounding
12778 modes. Document that errno may not be set when finite values are
12779 returned on overflow. Document intent to set errno on underflow
12780 only for underflow to zero.
12783 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
12784 round-to-nearest then adjust result for other rounding modes.
12785 * include/fenv.h (fegetround): Use libm_hidden_proto.
12786 * math/fegetround.c (fegetround): Use libm_hidden_def.
12787 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
12788 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
12789 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
12790 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
12792 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
12793 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
12794 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
12795 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
12797 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12800 * nss/Versions (libnss_files): Add
12801 _nss_files_gethostbyname3_r.
12802 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
12804 (HOST_DB_LOOKUP): Remove macro.
12805 (_nss_files_gethostbyname_r): Implement function without the
12806 HOST_DB_LOOKUP macro.
12807 (_nss_files_gethostbyname2_r): Likewise.
12809 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
12811 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
12813 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
12815 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
12816 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
12819 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12821 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
12822 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
12823 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
12824 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
12825 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
12826 __fe_nomask_env_priv and attribute_hidden.
12827 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
12828 (libc_feupdateenv_test_ppc): Likewise.
12829 (libc_feresetround_ppc): Likewise.
12830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12831 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
12832 compat_symbol macro.
12833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12834 (__fe_nomask_env): Likewise.
12835 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
12837 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
12839 * string/Makefile: Remove ifunc tests.
12840 * string/test-string.h: Define TEST_IFUNC.
12841 * string/test-bcopy-ifunc.c: Remove.
12842 * string/test-bzero-ifunc.c: Likewise.
12843 * string/test-memccpy-ifunc.c: Likewise.
12844 * string/test-memchr-ifunc.c: Likewise.
12845 * string/test-memcmp-ifunc.c: Likewise.
12846 * string/test-memcpy-ifunc.c: Likewise.
12847 * string/test-memmem-ifunc.c: Likewise.
12848 * string/test-memmove-ifunc.c: Likewise.
12849 * string/test-mempcpy-ifunc.c: Likewise.
12850 * string/test-memrchr-ifunc.c: Likewise.
12851 * string/test-memset-ifunc.c: Likewise.
12852 * string/test-rawmemchr-ifunc.c: Likewise.
12853 * string/test-stpcpy-ifunc.c: Likewise.
12854 * string/test-stpncpy-ifunc.c: Likewise.
12855 * string/test-strcasecmp-ifunc.c: Likewise.
12856 * string/test-strcasestr-ifunc.c: Likewise.
12857 * string/test-strcat-ifunc.c: Likewise.
12858 * string/test-strchr-ifunc.c: Likewise.
12859 * string/test-strchrnul-ifunc.c: Likewise.
12860 * string/test-strcmp-ifunc.c: Likewise.
12861 * string/test-strcpy-ifunc.c: Likewise.
12862 * string/test-strcspn-ifunc.c: Likewise.
12863 * string/test-strlen-ifunc.c: Likewise.
12864 * string/test-strncasecmp-ifunc.c: Likewise.
12865 * string/test-strncat-ifunc.c: Likewise.
12866 * string/test-strncmp-ifunc.c: Likewise.
12867 * string/test-strncpy-ifunc.c: Likewise.
12868 * string/test-strnlen-ifunc.c: Likewise.
12869 * string/test-strpbrk-ifunc.c: Likewise.
12870 * string/test-strrchr-ifunc.c: Likewise.
12871 * string/test-strspn-ifunc.c: Likewise.
12872 * string/test-strstr-ifunc.c: Likewise.
12874 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
12876 * benchtests/Makefile: Remove ifunc tests.
12877 * benchtests/bench-string.h: Define TEST_IFUNC.
12878 * benchtests/bench-bcopy-ifunc.c: Remove.
12879 * benchtests/bench-bzero-ifunc.c: Likewise.
12880 * benchtests/bench-memccpy-ifunc.c: Likewise.
12881 * benchtests/bench-memchr-ifunc.c: Likewise.
12882 * benchtests/bench-memcmp-ifunc.c: Likewise.
12883 * benchtests/bench-memcpy-ifunc.c: Likewise.
12884 * benchtests/bench-memmem-ifunc.c: Likewise.
12885 * benchtests/bench-memmove-ifunc.c: Likewise.
12886 * benchtests/bench-mempcpy-ifunc.c: Likewise.
12887 * benchtests/bench-memrchr-ifunc.c: Likewise.
12888 * benchtests/bench-memset-ifunc.c: Likewise.
12889 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
12890 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
12891 * benchtests/bench-stpcpy-ifunc.c: Likewise.
12892 * benchtests/bench-stpncpy-ifunc.c: Likewise.
12893 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
12894 * benchtests/bench-strcasestr-ifunc.c: Likewise.
12895 * benchtests/bench-strcat-ifunc.c: Likewise.
12896 * benchtests/bench-strchr-ifunc.c: Likewise.
12897 * benchtests/bench-strchrnul-ifunc.c: Likewise.
12898 * benchtests/bench-strcmp-ifunc.c: Likewise.
12899 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
12900 * benchtests/bench-strcpy-ifunc.c: Likewise.
12901 * benchtests/bench-strcspn-ifunc.c: Likewise.
12902 * benchtests/bench-strlen-ifunc.c: Likewise.
12903 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
12904 * benchtests/bench-strncat-ifunc.c: Likewise.
12905 * benchtests/bench-strncmp-ifunc.c: Likewise.
12906 * benchtests/bench-strncpy-ifunc.c: Likewise.
12907 * benchtests/bench-strnlen-ifunc.c: Likewise.
12908 * benchtests/bench-strpbrk-ifunc.c: Likewise.
12909 * benchtests/bench-strrchr-ifunc.c: Likewise.
12910 * benchtests/bench-strsep-ifunc.c: Likewise.
12911 * benchtests/bench-strspn-ifunc.c: Likewise.
12912 * benchtests/bench-strstr-ifunc.c: Likewise.
12914 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
12916 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
12918 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
12920 * resolv/netdb.h: Use __glibc_reserved instead __unused.
12921 * rt/aio.h: Likewise.
12922 * sysdeps/gnu/bits/utmp.h: Likewise.
12923 * sysdeps/gnu/bits/utmpx.h: Likewise.
12924 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
12925 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
12926 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
12927 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
12928 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
12929 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
12930 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
12931 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
12932 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
12933 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
12934 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
12935 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
12936 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
12937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
12938 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12939 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
12940 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
12941 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
12942 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
12943 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
12944 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
12945 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
12946 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
12947 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
12948 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
12949 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12950 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
12951 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
12952 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
12953 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
12954 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
12955 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
12956 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
12957 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
12958 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
12959 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
12960 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
12961 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
12962 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
12963 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
12964 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
12965 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
12967 2013-11-25 Carlos O'Donell <carlos@redhat.com>
12970 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
12971 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
12973 2013-11-25 Joseph Myers <joseph@codesourcery.com>
12975 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
12976 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
12979 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12981 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
12982 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
12983 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
12984 (__fesetround): Remove define.
12985 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
12986 rounding and exceptions handling.
12987 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
12988 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
12989 (__fe_nomask_env): Likewise.
12990 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
12991 __fegetround instead of fegetround.
12992 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
12993 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
12995 2013-11-21 Roland McGrath <roland@hack.frob.com>
12997 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
13000 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
13002 2013-11-21 Meador Inge <meadori@codesourcery.com>
13005 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
13006 (encrypt_r): Likewise.
13007 * malloc/obstack.h (obstack_free): Likewise.
13008 * posix/unistd.h (encrypt): Likewise.
13010 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
13012 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
13013 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
13014 DL_CALL_DT_FINI() that call the functions directly.
13015 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
13016 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
13017 * elf/dl-fini.c: Likewise.
13019 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
13021 * malloc/hooks.c (memalign_check): Add alignment rounding.
13022 * malloc/malloc.c (_mid_memalign): New function.
13023 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
13024 Implement by calling _mid_memalign.
13025 * manual/probes.texi (Memory Allocation Probes): Remove
13026 memory_valloc_retry and memory_pvalloc_retry.
13028 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13030 * locale/programs/locarchive.c (open_archive): Add const
13031 qualifier to ARCHIVEFNAME and copy default fname to
13035 * libio/tst-widetext.input: Rename Oriya to Odia.
13036 * locale/iso-639.def: Likewise.
13038 * manual/probes.texi (Mathematical Function Probes): Add
13039 documentation for sin, cos, asin and acos probes.
13040 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
13041 (__sin32): Add slowasin probe.
13042 (__cos32): Add slowacos probe.
13043 (__mpsin): Add slowsin probe.
13044 (__mpcos): Add slowcos probe.
13046 2013-11-19 Joseph Myers <joseph@codesourcery.com>
13049 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
13050 thread-local __sim_exceptions_thread and global
13051 __sim_exceptions_global.
13052 (__sim_disabled_exceptions): Change to thread-local
13053 __sim_disabled_exceptions_thread and global
13054 __sim_disabled_exceptions_global.
13055 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13056 and global __sim_round_mode_global.
13057 (__simulate_exceptions): Use thread-local floating-point state and
13058 set global state from it as needed.
13059 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
13060 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
13061 __sim_round_mode_thread.
13062 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
13063 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
13064 and global __sim_exceptions_global.
13065 (__sim_disabled_exceptions): Change to thread-local
13066 __sim_disabled_exceptions_thread and global
13067 __sim_disabled_exceptions_global.
13068 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13069 and global __sim_round_mode_global.
13070 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
13071 (SIM_SET_GLOBAL): Likewise.
13072 * sysdeps/powerpc/soft-fp/sfp-machine.h
13073 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
13074 __sim_round_mode_thread.
13075 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
13076 __sim_disabled_exceptions_thread.
13077 (__sim_exceptions): Change to __sim_exceptions_thread.
13078 (__sim_disabled_exceptions): Change to
13079 __sim_disabled_exceptions_thread.
13080 (__sim_round_mode): Change to __sim_round_mode_thread.
13081 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
13082 thread-local floating-point state and set global state from it as
13084 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
13085 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
13086 (__sim_disabled_exceptions): Remove extern declaration.
13087 (feenableexcept): Use thread-local floating-point state and set
13088 global state from it as needed.
13089 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
13090 extern declaration.
13091 (__sim_disabled_exceptions): Likewise.
13092 (__sim_round_mode): Likewise.
13093 (__fegetenv): Use thread-local floating-point state.
13094 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
13095 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13096 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
13097 floating-point state and set global state from it as needed.
13098 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
13099 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
13100 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
13102 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
13103 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
13105 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
13106 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
13107 Use __sim_round_mode_thread.
13108 * math/test-fenv-tls.c: New file.
13109 * math/Makefile (tests): Add test-fenv-tls.
13110 ($(objpfx)test-fenv-tls): Depend on
13111 $(common-objpfx)nptl/libpthread.so.
13113 2013-11-19 Andreas Schwab <schwab@suse.de>
13115 * locale/programs/locale.c (show_info): Decode wordarray elements.
13116 * locale/categories.def (LC_MONETARY): Add element for
13117 _NL_MONETARY_CRNCYSTR.
13118 * locale/C-monetary.c (conversion_rate): New variable.
13119 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
13122 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
13124 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
13125 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
13127 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
13129 * elf/Makefile (tst-auxv): New test.
13130 * elf/tst-auxv.c: New
13131 * elf/rtld.c (dl_main): Adjust AT_EXECFN
13133 2013-11-18 Joseph Myers <joseph@codesourcery.com>
13135 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
13136 (hidden_proto): Caller changed.
13137 (hidden_tls_proto): New macro.
13138 (libc_hidden_tls_proto): Likewise.
13139 (rtld_hidden_tls_proto): Likewise.
13140 (libm_hidden_tls_proto): Likewise.
13141 (libresolv_hidden_tls_proto): Likewise.
13142 (librt_hidden_tls_proto): Likewise.
13143 (libdl_hidden_tls_proto): Likewise.
13144 (libnss_files_hidden_tls_proto): Likewise.
13145 (libnsl_hidden_tls_proto): Likewise.
13146 (libnss_nisplus_hidden_tls_proto): Likewise.
13147 (libutil_hidden_tls_proto): Likewise.
13149 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
13152 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
13153 (decompose_rpath): Defer expansion to fillin_rpath.
13154 (_dl_init_paths): Pass linkmap to fillin_rpath.
13156 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13158 * benchtests/Makefile: Add strsep.
13159 * benchtests/bench-strsep.c: New file: strsep benchtest.
13160 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
13162 2013-11-18 Andreas Schwab <schwab@suse.de>
13164 * locale/programs/locale.c (show_info) [case byte]: Check for
13165 '\377' instead of '\177'.
13166 * locale/C-monetary.c (not_available): Always use "\377".
13167 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
13168 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
13169 detect unavailable sign_posn locale elements.
13170 * locale/localeconv.c (__localeconv): For grouping and
13171 mon_grouping handle "\177" and "\377" like no grouping.
13172 (INT_ELEM): New macro. Use it to set all numeric members.
13173 * locale/programs/ld-monetary.c (monetary_read)
13174 <tok_mon_grouping>: Normalize single -1 to the empty string.
13175 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
13178 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
13181 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
13182 when we match (nil).
13183 * stdio-common/tst-sscanf.c (struct test): Add testcase.
13185 2013-11-16 Joseph Myers <joseph@codesourcery.com>
13187 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
13188 (NO_TEST_INLINE): Update value.
13189 (ERRNO_UNCHANGED): Likewise.
13190 (ERRNO_EDOM): Likewise.
13191 (ERRNO_ERANGE): Likewise.
13192 (IGNORE_RESULT): Likewise.
13193 (check_float_internal): Check signs of NaN results if
13194 TEST_NAN_SIGN used.
13195 (check_complex): Pass TEST_NAN_SIGN flag through to second
13196 check_float_internal call.
13197 (copysign_test_data): Add tests with quiet NaNs as second
13198 argument. Use TEST_NAN_SIGN.
13199 (fabs_test_data): Add test of negative quiet NaN argument. Use
13201 (signbit_test_data): Add tests of quiet NaN argument.
13202 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
13204 * math/gen-libm-test.pl (show_exceptions): Take extra argument
13206 (parse_args): Handle function results specified as IGNORE.
13207 * math/libm-test.inc (IGNORE_RESULT): New macro.
13208 (check_float_internal): Do not check numerical result if flag
13210 (check_complex): Pass through IGNORE_RESULT to second
13211 check_float_internal call.
13212 (check_int): Do not check numerical result if flag IGNORE_RESULT
13214 (check_long): Likewise.
13215 (check_bool): Likewise.
13216 (check_longlong): Likewise.
13217 (lrint_test_data): Add tests of infinite and NaN arguments.
13218 (lrint_tonearest_test_data): Likewise.
13219 (lrint_towardzero_test_data): Likewise.
13220 (lrint_downward_test_data): Likewise.
13221 (lrint_upward_test_data): Likewise.
13222 (llrint_test_data): Likewise.
13223 (llrint_tonearest_test_data): Likewise.
13224 (llrint_towardzero_test_data): Likewise.
13225 (llrint_downward_test_data): Likewise.
13226 (llrint_upward_test_data): Likewise.
13227 (lround_test_data): Likewise.
13228 (llround_test_data): Likewise.
13230 * math/libm-test.inc (NO_TEST_INLINE): New macro.
13231 (ERRNO_UNCHANGED): Update value.
13232 (ERRNO_EDOM): Likewise.
13233 (ERRNO_ERANGE): Likewise.
13234 (NO_TEST_INLINE_FLOAT): New macro.
13235 (NO_TEST_INLINE_DOUBLE): Likewise.
13236 (enable_test): New function.
13237 (RUN_TEST_f_f): Check enable_test before running test.
13238 (RUN_TEST_2_f): Likewise.
13239 (RUN_TEST_fff_f): Likewise.
13240 (RUN_TEST_c_f): Likewise.
13241 (RUN_TEST_f_f1): Likewise.
13242 (RUN_TEST_fF_f1): Likewise.
13243 (RUN_TEST_fI_f1): Likewise.
13244 (RUN_TEST_ffI_f1): Likewise.
13245 (RUN_TEST_c_c): Likewise.
13246 (RUN_TEST_cc_c): Likewise.
13247 (RUN_TEST_f_i): Likewise.
13248 (RUN_TEST_f_i_tg): Likewise.
13249 (RUN_TEST_ff_i_tg): Likewise.
13250 (RUN_TEST_f_b): Likewise.
13251 (RUN_TEST_f_b_tg): Likewise.
13252 (RUN_TEST_f_l): Likewise.
13253 (RUN_TEST_f_L): Likewise.
13254 (RUN_TEST_fFF_11): Likewise.
13255 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
13257 (cosh_test_data): Likewise.
13258 (exp_test_data): Likewise.
13259 (expm1_test_data): Likewise.
13260 (hypot_test_data): Likewise.
13261 (pow_test_data): Likewise.
13262 (sinh_test_data): Likewise.
13263 (tanh_test_data): Likewise.
13264 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
13267 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
13268 tests with quiet NaN input and output.
13269 (acosh_test_data): Likewise.
13270 (asin_test_data): Likewise.
13271 (asinh_test_data): Likewise.
13272 (atan_test_data): Likewise.
13273 (atanh_test_data): Likewise.
13274 (atan2_test_data): Likewise.
13275 (cbrt_test_data): Likewise.
13276 (cos_test_data): Likewise.
13277 (cosh_test_data): Likewise.
13278 (erf_test_data): Likewise.
13279 (erfc_test_data): Likewise.
13280 (exp_test_data): Likewise.
13281 (exp10_test_data): Likewise.
13282 (exp2_test_data): Likewise.
13283 (expm1_test_data): Likewise.
13284 (hypot_test_data): Likewise.
13285 (j0_test_data): Likewise.
13286 (j1_test_data): Likewise.
13287 (jn_test_data): Likewise.
13288 (lgamma_test_data): Likewise.
13289 (log_test_data): Likewise.
13290 (log10_test_data): Likewise.
13291 (log1p_test_data): Likewise.
13292 (log2_test_data): Likewise.
13293 (pow_test_data): Likewise.
13294 (scalb_test_data): Likewise.
13295 (sin_test_data): Likewise.
13296 (sincos_test_data): Likewise.
13297 (sinh_test_data): Likewise.
13298 (tan_test_data): Likewise.
13299 (tanh_test_data): Likewise.
13300 (tgamma_test_data): Likewise.
13301 (y0_test_data): Likewise.
13302 (y1_test_data): Likewise.
13303 (yn_test_data): Likewise.
13306 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
13307 argument being NaN and avoid computations with second argument in
13309 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
13310 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
13311 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
13313 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
13315 * locale/iso-639.def: Add Chitwani Tharu (the).
13317 2013-11-14 Andreas Schwab <schwab@suse.de>
13319 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
13320 word instead of empty string.
13322 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13325 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
13326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13327 (__fe_nomask_env): Likewise.
13329 2013-11-13 Steve Ellcey <sellcey@mips.com>
13331 * benchtests/bench-timing.h: Include time.h.
13333 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
13336 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
13338 * sysdeps/unix/sysv/linux/configure: Regenerated.
13340 2013-11-13 Joseph Myers <joseph@codesourcery.com>
13343 * stdlib/strtod_l.c (round_and_return): Do not consider
13344 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
13345 exponent one less than half the least subnormal exponent.
13346 * stdlib/test-strtod-round-data: Add more tests.
13347 * stdlib/tst-strtod-round.c (tests): Regenerated.
13349 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13352 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
13353 (__fe_mask_env): Likewise.
13354 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
13355 libm_hidden_proto and add function prototype.
13356 (__fe_mask_env): Add function prototype.
13357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13358 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
13359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
13360 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
13361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13362 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
13364 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13366 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
13367 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
13369 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13371 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
13372 of htab_find_slot().
13374 2013-11-11 David S. Miller <davem@davemloft.net>
13377 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
13378 symbol in the non-vis3 case in static builds.
13379 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
13380 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
13381 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
13382 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
13384 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13387 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
13390 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13392 * benchtests/Makefile: Add bench-strtod.
13393 * benchtests/bench-strtod.c: New file: strtod benchtest
13395 2013-11-11 Andreas Schwab <schwab@suse.de>
13398 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
13399 terminating NUL in key length.
13401 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13403 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13404 Add artificial ODP entry for vDSO symbol for PPC64.
13405 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
13406 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
13408 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
13411 * nss/getent.c (services_keys): Recognize services starting with digit.
13413 2013-11-06 David S. Miller <davem@davemloft.net>
13416 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
13417 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
13419 2013-11-06 Will Newton <will.newton@linaro.org>
13421 * manual/memory.texi (Malloc Examples): Remove register
13422 keyword from examples.
13424 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
13426 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
13428 2013-11-04 Joseph Myers <joseph@codesourcery.com>
13431 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
13432 depending on [__GCC_IEC_559 > 0].
13433 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
13434 depending on [__GCC_IEC_559_COMPLEX > 0].
13436 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
13438 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
13441 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
13443 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
13445 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
13448 * malloc/malloc (malloc_info): Do not handle first bin as
13451 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
13453 * locale/iso-639.def: Add Central Nahuatl (nhn).
13455 2013-11-01 Bruno Haible <bruno@clisp.org>
13458 * manual/math.texi (BSD Random): Specify range upper bound as
13461 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
13463 * locale/iso-639.def: Add Meadow Mari (mhr).
13465 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
13467 [BZ #14752], [BZ #15763]
13468 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
13470 * rt/tst_shm.c: Add test for escaping directory.
13472 2013-10-31 Andreas Schwab <schwab@suse.de>
13475 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
13476 followed by 'x' as part of digit sequence.
13477 * stdio-common/tst-sscanf.c (double_tests2): New tests.
13479 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
13482 * configure.ac: allow GNU Make 4.0 and greater.
13483 * configure: Regenerated.
13485 2013-10-30 Will Newton <will.newton@linaro.org>
13488 * malloc/hooks.c (memalign_check): Limit alignment to the
13489 maximum representable power of two.
13490 * malloc/malloc.c (__libc_memalign): Likewise.
13491 * malloc/tst-memalign.c (do_test): Add test for very
13492 large alignment values.
13493 * malloc/tst-posix_memalign.c (do_test): Likewise.
13495 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
13498 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
13499 (munmap_chunk): Likewise.
13500 (mremap_chunk): Likewise.
13502 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
13505 * stdlib/div.c (div): Remove obsolete code.
13506 * stdlib/ldiv.c (ldiv): Likewise.
13507 * stdlib/lldiv.c (lldiv): Likewise.
13509 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13512 * nss/nss_files/files-XXX.c (get_contents_ret): New
13514 (get_contents): New function.
13515 (internal_getent): Use it. Expand size of LINEBUFLEN.
13517 2013-10-30 Mike Frysinger <vapier@gentoo.org>
13519 * configure.in: Moved to ...
13520 * configure.ac: ... here. Change reference to configure.in
13522 * sysdeps/arm/preconfigure.ac: ... here.
13523 configure.in to configure.ac.
13524 * sysdeps/gnu/configure.in: Moved to ...
13525 * sysdeps/gnu/configure.ac: ... here.
13526 * sysdeps/i386/configure.in: Moved to ...
13527 * sysdeps/i386/configure.ac: ... here.
13528 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
13529 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
13530 * sysdeps/mach/configure.in: Moved to ...
13531 * sysdeps/mach/configure.ac: ... here.
13532 * sysdeps/mach/hurd/configure.in: Moved to ...
13533 * sysdeps/mach/hurd/configure.ac: ... here.
13534 * sysdeps/powerpc/configure.in: Moved to ...
13535 * sysdeps/powerpc/configure.ac: ... here.
13536 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
13537 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
13538 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
13539 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
13540 * sysdeps/s390/s390-32/configure.in: Moved to ...
13541 * sysdeps/s390/s390-32/configure.ac: ... here.
13542 * sysdeps/s390/s390-64/configure.in: Moved to ...
13543 * sysdeps/s390/s390-64/configure.ac: ... here.
13544 * sysdeps/sh/configure.in: Moved to ...
13545 * sysdeps/sh/configure.ac: ... here.
13546 * sysdeps/sparc/configure.in: Moved to ...
13547 * sysdeps/sparc/configure.ac: ... here.
13548 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
13549 * sysdeps/unix/sysv/linux/configure.ac: ... here.
13550 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
13551 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
13552 * sysdeps/x86_64/configure.in: Moved to ...
13553 * sysdeps/x86_64/configure.ac: ... here.
13554 * sysdeps/x86_64/preconfigure.in: Moved to ...
13555 * sysdeps/x86_64/preconfigure.ac: ... here.
13556 * aclocal.m4: Change reference to configure.in to configure.ac.
13557 * config.h.in: Likewise.
13558 * manual/install.texi: Likewise.
13559 * manual/maint.texi: Likewise.
13560 * Makefile: Likewise.
13561 * malloc/Makefile: Likewise.
13562 * nscd/Makefile: Likewise.
13563 * Makeconfig: Change reference to configure.in and
13564 preconfigure.in to configure.ac and preconfigure.ac
13566 * INSTALL: Regenerated.
13567 * configure: Likewise.
13568 * sysdeps/gnu/configure: Likewise.
13569 * sysdeps/i386/configure: Likewise.
13570 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
13571 * sysdeps/mach/configure: Likewise.
13572 * sysdeps/mach/hurd/configure: Likewise.
13573 * sysdeps/powerpc/configure: Likewise.
13574 * sysdeps/powerpc/powerpc32/configure: Likewise.
13575 * sysdeps/powerpc/powerpc64/configure: Likewise.
13576 * sysdeps/s390/s390-32/configure: Likewise.
13577 * sysdeps/s390/s390-64/configure: Likewise.
13578 * sysdeps/sh/configure: Likewise.
13579 * sysdeps/sparc/configure: Likewise.
13580 * sysdeps/unix/sysv/linux/configure: Likewise.
13581 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
13582 * sysdeps/x86_64/configure: Likewise.
13583 * sysdeps/x86_64/preconfigure: Likewise.
13585 2013-10-29 Andreas Schwab <schwab@suse.de>
13587 * stdio-common/Makefile (tst-swscanf-ENV): Define.
13589 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13591 * benchtests/pow-inputs: Add new inputs.
13593 * benchtests/exp-inputs: Add new inputs.
13595 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
13596 conditional check for return value.
13597 (__cos32): Likewise.
13599 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13601 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
13602 to provide a boost for large inputs with word alignment.
13603 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
13604 implementation based on optimized PPC64 strcpy.
13605 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
13606 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
13607 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
13608 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
13610 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
13613 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
13615 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
13618 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
13619 * time/tst-strptime.c (day_tests): Add testcase.
13621 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
13624 * manual/pattern.texi: Acknowledge that fnmatch can fail.
13626 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
13629 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
13630 MAP_FAILED on error.
13632 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13635 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
13636 heap for large requests.
13638 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
13641 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
13642 result if the result has no associated interface.
13643 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
13644 interface for all 127.X.Y.Z addresses.
13646 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
13648 * locale/iso-639.def: Add Ligurian (lij)
13650 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
13653 * sunrpc/rpc_main.c: Document rpcgen -5.
13655 2013-10-19 Michael Stahl <mstahl@redhat.com>
13657 * elf/rtld.c (do_preload): Print the reason why preloading failed.
13659 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
13662 * posix/glob.c: Match only directories when trailing slash is present.
13663 * posix/tst-gnuglob.c (my_opendir): Do not open files.
13664 (main): Add testcase.
13666 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
13669 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
13671 2013-10-18 Carlos O'Donell <carlos@redhat.com>
13673 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
13674 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
13675 AUTH_DES and cindex for FIPS 140-2.
13676 (DES Encryption): Add cindex FIPS 46-3.
13678 * locale/locarchive.h (struct locarhandle): Add fname.
13679 * locale/programs/localedef.c (main): Pass ARGV[remaining]
13680 if an optional argument was specified to --list-archive,
13682 * locale/programs/locarchive.c (show_archive_content): Take new
13683 argument fname and pass it via ah.fname to open_archive.
13684 * locale/programs/localedef.h: Update decl.
13685 (open_archive): If AH->fname is non-null, open that file
13686 rather than the default file name, and don't ignore ENOENT.
13687 (create_archive): Set AH.fname to NULL.
13688 (delete_locales_from_archive): Likewise.
13689 (add_locales_to_archive): Likewise.
13690 * locale/programs/locfile.c (write_all_categories): Likewise.
13692 2013-10-18 Joseph Myers <joseph@codesourcery.com>
13693 Aldy Hernandez <aldyh@redhat.com>
13695 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
13696 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
13697 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
13698 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
13699 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
13700 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
13701 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
13702 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
13703 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
13704 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
13705 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
13706 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
13707 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
13708 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
13709 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
13711 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
13713 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
13715 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
13717 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
13718 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
13720 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
13721 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
13722 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
13723 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
13725 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
13726 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
13727 * sysdeps/powerpc/preconfigure: Likewise.
13728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
13730 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
13731 Replace contents of file by #include of <fenv_libc.h>.
13732 * sysdeps/powerpc/soft-fp/sfp-machine.h
13733 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
13735 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
13736 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
13737 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
13738 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
13739 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
13740 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
13741 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
13742 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
13743 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
13744 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
13745 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
13746 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
13747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
13748 Allow copysignl PLT reference to be missing.
13750 2013-10-18 Richard Sandiford <richard@codesourcery.com>
13751 Joseph Myers <joseph@codesourcery.com
13754 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
13756 (add_to_tablewc): Assert sequence of wide characters is nonempty.
13758 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13760 * elf/tst-tls-dlinfo.c: Don't include tls.h.
13761 * elf/tst-tls1.c: Likewise.
13762 * elf/tst-tls10.h: Likewise.
13763 * elf/tst-tls14.c: Likewise.
13764 * elf/tst-tls2.c: Likewise.
13765 * elf/tst-tls3.c: Likewise.
13766 * elf/tst-tls4.c: Likewise.
13767 * elf/tst-tls5.c: Likewise.
13768 * elf/tst-tls6.c: Likewise.
13769 * elf/tst-tls7.c: Likewise.
13770 * elf/tst-tls8.c: Likewise.
13771 * elf/tst-tls9.c: Likewise.
13772 * elf/tst-tlsmod1.c: Likewise.
13773 * elf/tst-tlsmod13.c: Likewise.
13774 * elf/tst-tlsmod13a.c: Likewise.
13775 * elf/tst-tlsmod14a.c: Likewise.
13776 * elf/tst-tlsmod16a.c: Likewise.
13777 * elf/tst-tlsmod16b.c: Likewise.
13778 * elf/tst-tlsmod2.c: Likewise.
13779 * elf/tst-tlsmod3.c: Likewise.
13780 * elf/tst-tlsmod4.c: Likewise.
13781 * elf/tst-tlsmod5.c: Likewise.
13782 * elf/tst-tlsmod6.c: Likewise.
13784 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
13787 * malloc/malloc.c: remove checks for statistics.
13789 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
13792 * inet/inet_net.c (inet_network): Detect additional invalid strings.
13793 * inet/tst-network.c: Add testcase.
13795 2013-10-17 Andreas Schwab <schwab@suse.de>
13798 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
13799 to determine canonical name.
13801 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
13803 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
13804 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
13805 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13806 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13807 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13808 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13809 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13810 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13811 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13812 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13813 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
13814 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13815 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13816 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13817 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13818 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13819 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13820 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13821 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13822 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13823 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13824 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13825 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13826 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
13827 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
13828 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13829 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13830 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
13831 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13832 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
13833 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13834 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13835 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
13836 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13837 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13838 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13839 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13840 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13841 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13842 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13843 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13844 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
13845 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
13846 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13847 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13848 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13849 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13850 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13851 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
13852 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13853 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
13854 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13855 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13856 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
13857 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13858 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13859 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13860 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13862 2013-10-17 Joseph Myers <joseph@codesourcery.com>
13865 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
13866 make result into a quiet NaN.
13868 2013-10-16 Joseph Myers <joseph@codesourcery.com>
13870 * soft-fp/adddf3.c: Fix horizontal whitespace.
13871 * soft-fp/addsf3.c: Likewise.
13872 * soft-fp/addtf3.c: Likewise.
13873 * soft-fp/divdf3.c: Likewise.
13874 * soft-fp/divsf3.c: Likewise.
13875 * soft-fp/divtf3.c: Likewise.
13876 * soft-fp/double.h: Likewise.
13877 * soft-fp/eqdf2.c: Likewise.
13878 * soft-fp/eqsf2.c: Likewise.
13879 * soft-fp/eqtf2.c: Likewise.
13880 * soft-fp/extenddftf2.c: Likewise.
13881 * soft-fp/extended.h: Likewise.
13882 * soft-fp/extendsfdf2.c: Likewise.
13883 * soft-fp/extendsftf2.c: Likewise.
13884 * soft-fp/extendxftf2.c: Likewise.
13885 * soft-fp/fixdfdi.c: Likewise.
13886 * soft-fp/fixdfsi.c: Likewise.
13887 * soft-fp/fixdfti.c: Likewise.
13888 * soft-fp/fixsfdi.c: Likewise.
13889 * soft-fp/fixsfsi.c: Likewise.
13890 * soft-fp/fixsfti.c: Likewise.
13891 * soft-fp/fixtfdi.c: Likewise.
13892 * soft-fp/fixtfsi.c: Likewise.
13893 * soft-fp/fixtfti.c: Likewise.
13894 * soft-fp/fixunsdfdi.c: Likewise.
13895 * soft-fp/fixunsdfsi.c: Likewise.
13896 * soft-fp/fixunsdfti.c: Likewise.
13897 * soft-fp/fixunssfdi.c: Likewise.
13898 * soft-fp/fixunssfsi.c: Likewise.
13899 * soft-fp/fixunssfti.c: Likewise.
13900 * soft-fp/fixunstfdi.c: Likewise.
13901 * soft-fp/fixunstfsi.c: Likewise.
13902 * soft-fp/fixunstfti.c: Likewise.
13903 * soft-fp/floatdidf.c: Likewise.
13904 * soft-fp/floatdisf.c: Likewise.
13905 * soft-fp/floatditf.c: Likewise.
13906 * soft-fp/floatsidf.c: Likewise.
13907 * soft-fp/floatsisf.c: Likewise.
13908 * soft-fp/floatsitf.c: Likewise.
13909 * soft-fp/floattidf.c: Likewise.
13910 * soft-fp/floattisf.c: Likewise.
13911 * soft-fp/floattitf.c: Likewise.
13912 * soft-fp/floatundidf.c: Likewise.
13913 * soft-fp/floatundisf.c: Likewise.
13914 * soft-fp/floatunditf.c: Likewise.
13915 * soft-fp/floatunsidf.c: Likewise.
13916 * soft-fp/floatunsisf.c: Likewise.
13917 * soft-fp/floatunsitf.c: Likewise.
13918 * soft-fp/floatuntidf.c: Likewise.
13919 * soft-fp/floatuntisf.c: Likewise.
13920 * soft-fp/floatuntitf.c: Likewise.
13921 * soft-fp/fmadf4.c: Likewise.
13922 * soft-fp/fmasf4.c: Likewise.
13923 * soft-fp/fmatf4.c: Likewise.
13924 * soft-fp/gedf2.c: Likewise.
13925 * soft-fp/gesf2.c: Likewise.
13926 * soft-fp/getf2.c: Likewise.
13927 * soft-fp/ledf2.c: Likewise.
13928 * soft-fp/lesf2.c: Likewise.
13929 * soft-fp/letf2.c: Likewise.
13930 * soft-fp/muldf3.c: Likewise.
13931 * soft-fp/mulsf3.c: Likewise.
13932 * soft-fp/multf3.c: Likewise.
13933 * soft-fp/negdf2.c: Likewise.
13934 * soft-fp/negsf2.c: Likewise.
13935 * soft-fp/negtf2.c: Likewise.
13936 * soft-fp/op-1.h: Likewise.
13937 * soft-fp/op-2.h: Likewise.
13938 * soft-fp/op-4.h: Likewise.
13939 * soft-fp/op-8.h: Likewise.
13940 * soft-fp/op-common.h: Likewise.
13941 * soft-fp/quad.h: Likewise.
13942 * soft-fp/single.h: Likewise.
13943 * soft-fp/soft-fp.h: Likewise.
13944 * soft-fp/sqrtdf2.c: Likewise.
13945 * soft-fp/sqrtsf2.c: Likewise.
13946 * soft-fp/sqrttf2.c: Likewise.
13947 * soft-fp/subdf3.c: Likewise.
13948 * soft-fp/subsf3.c: Likewise.
13949 * soft-fp/subtf3.c: Likewise.
13950 * soft-fp/truncdfsf2.c: Likewise.
13951 * soft-fp/trunctfdf2.c: Likewise.
13952 * soft-fp/trunctfsf2.c: Likewise.
13953 * soft-fp/trunctfxf2.c: Likewise.
13954 * soft-fp/unorddf2.c: Likewise.
13955 * soft-fp/unordsf2.c: Likewise.
13956 * soft-fp/unordtf2.c: Likewise.
13958 2013-10-15 Joseph Myers <joseph@codesourcery.com>
13960 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
13961 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
13963 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
13965 * elf/dl-libc.c: Clear initfini list after freeing.
13967 2013-10-14 Joseph Myers <joseph@codesourcery.com>
13969 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
13970 * soft-fp/addsf3.c: Likewise.
13971 * soft-fp/addtf3.c: Likewise.
13972 * soft-fp/divdf3.c: Likewise.
13973 * soft-fp/divsf3.c: Likewise.
13974 * soft-fp/divtf3.c: Likewise.
13975 * soft-fp/double.h: Likewise.
13976 * soft-fp/eqdf2.c: Likewise.
13977 * soft-fp/eqsf2.c: Likewise.
13978 * soft-fp/eqtf2.c: Likewise.
13979 * soft-fp/extenddftf2.c: Likewise.
13980 * soft-fp/extended.h: Likewise.
13981 * soft-fp/extendsfdf2.c: Likewise.
13982 * soft-fp/extendsftf2.c: Likewise.
13983 * soft-fp/extendxftf2.c: Likewise.
13984 * soft-fp/fixdfdi.c: Likewise.
13985 * soft-fp/fixdfsi.c: Likewise.
13986 * soft-fp/fixdfti.c: Likewise.
13987 * soft-fp/fixsfdi.c: Likewise.
13988 * soft-fp/fixsfsi.c: Likewise.
13989 * soft-fp/fixsfti.c: Likewise.
13990 * soft-fp/fixtfdi.c: Likewise.
13991 * soft-fp/fixtfsi.c: Likewise.
13992 * soft-fp/fixtfti.c: Likewise.
13993 * soft-fp/fixunsdfdi.c: Likewise.
13994 * soft-fp/fixunsdfsi.c: Likewise.
13995 * soft-fp/fixunsdfti.c: Likewise.
13996 * soft-fp/fixunssfdi.c: Likewise.
13997 * soft-fp/fixunssfsi.c: Likewise.
13998 * soft-fp/fixunssfti.c: Likewise.
13999 * soft-fp/fixunstfdi.c: Likewise.
14000 * soft-fp/fixunstfsi.c: Likewise.
14001 * soft-fp/fixunstfti.c: Likewise.
14002 * soft-fp/floatdidf.c: Likewise.
14003 * soft-fp/floatdisf.c: Likewise.
14004 * soft-fp/floatditf.c: Likewise.
14005 * soft-fp/floatsidf.c: Likewise.
14006 * soft-fp/floatsisf.c: Likewise.
14007 * soft-fp/floatsitf.c: Likewise.
14008 * soft-fp/floattidf.c: Likewise.
14009 * soft-fp/floattisf.c: Likewise.
14010 * soft-fp/floattitf.c: Likewise.
14011 * soft-fp/floatundidf.c: Likewise.
14012 * soft-fp/floatundisf.c: Likewise.
14013 * soft-fp/floatunsidf.c: Likewise.
14014 * soft-fp/floatunsisf.c: Likewise.
14015 * soft-fp/floatuntidf.c: Likewise.
14016 * soft-fp/floatuntisf.c: Likewise.
14017 * soft-fp/floatuntitf.c: Likewise.
14018 * soft-fp/fmadf4.c: Likewise.
14019 * soft-fp/fmasf4.c: Likewise.
14020 * soft-fp/fmatf4.c: Likewise.
14021 * soft-fp/gedf2.c: Likewise.
14022 * soft-fp/gesf2.c: Likewise.
14023 * soft-fp/getf2.c: Likewise.
14024 * soft-fp/ledf2.c: Likewise.
14025 * soft-fp/lesf2.c: Likewise.
14026 * soft-fp/letf2.c: Likewise.
14027 * soft-fp/muldf3.c: Likewise.
14028 * soft-fp/mulsf3.c: Likewise.
14029 * soft-fp/multf3.c: Likewise.
14030 * soft-fp/negdf2.c: Likewise.
14031 * soft-fp/negsf2.c: Likewise.
14032 * soft-fp/negtf2.c: Likewise.
14033 * soft-fp/op-1.h: Likewise.
14034 * soft-fp/op-2.h: Likewise.
14035 * soft-fp/op-4.h: Likewise.
14036 * soft-fp/op-8.h: Likewise.
14037 * soft-fp/op-common.h: Likewise.
14038 * soft-fp/quad.h: Likewise.
14039 * soft-fp/single.h: Likewise.
14040 * soft-fp/soft-fp.h: Likewise.
14041 * soft-fp/sqrtdf2.c: Likewise.
14042 * soft-fp/sqrtsf2.c: Likewise.
14043 * soft-fp/sqrttf2.c: Likewise.
14044 * soft-fp/subdf3.c: Likewise.
14045 * soft-fp/subsf3.c: Likewise.
14046 * soft-fp/subtf3.c: Likewise.
14047 * soft-fp/truncdfsf2.c: Likewise.
14048 * soft-fp/trunctfdf2.c: Likewise.
14049 * soft-fp/trunctfsf2.c: Likewise.
14050 * soft-fp/trunctfxf2.c: Likewise.
14051 * soft-fp/unorddf2.c: Likewise.
14052 * soft-fp/unordsf2.c: Likewise.
14053 * soft-fp/unordtf2.c: Likewise.
14055 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
14058 * misc/error.c (error_tail): Fix possible buffer overflow.
14060 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
14063 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
14066 2013-10-14 P. J. McDermott <pj@pehjota.net>
14069 * elf/ldd.bash.in (try_trace): New function. Delete previous code
14070 testing pipefail option.
14072 2013-10-12 Joseph Myers <joseph@codesourcery.com>
14074 * soft-fp/double.h: Indent preprocessor directives inside #if.
14075 * soft-fp/extended.h: Likewise.
14076 * soft-fp/op-2.h: Likewise.
14077 * soft-fp/op-4.h: Likewise.
14078 * soft-fp/op-common.h: Likewise.
14079 * soft-fp/quad.h: Likewise.
14080 * soft-fp/single.h: Likewise.
14081 * soft-fp/soft-fp.h: Likewise.
14083 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
14085 * iconv/iconv_prog.c: Fix typos.
14086 * stdio-common/psiginfo-data.h: Likewise.
14088 2013-10-12 Reuben Thomas <rrt@sc3d.org>
14091 * locale/setlocale.c: Fix typo.
14093 2013-10-12 Joseph Myers <joseph@codesourcery.com>
14096 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
14097 signaling NaN arguments.
14098 * soft-fp/unordsf2.c (__unordsf2): Likewise.
14099 * soft-fp/unordtf2.c (__unordtf2): Likewise.
14102 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
14103 unordered operands.
14104 * soft-fp/gesf2.c (__gesf2): Likewise.
14105 * soft-fp/getf2.c (__getf2): Likewise.
14106 * soft-fp/ledf2.c (__ledf2): Likewise.
14107 * soft-fp/lesf2.c (__lesf2): Likewise.
14108 * soft-fp/letf2.c (__letf2): Likewise.
14110 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
14111 * soft-fp/eqsf2.c (__eqsf2): Likewise.
14112 * soft-fp/eqtf2.c (__eqtf2): Likewise.
14113 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
14114 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
14115 * soft-fp/fixdfti.c (__fixdfti): Likewise.
14116 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
14117 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
14118 * soft-fp/fixsfti.c (__fixsfti): Likewise.
14119 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
14120 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
14121 * soft-fp/fixtfti.c (__fixtfti): Likewise.
14122 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
14123 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
14124 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
14125 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
14126 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
14127 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
14128 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
14129 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
14130 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
14131 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
14132 * soft-fp/floatdisf.c (__floatdisf): Likewise.
14133 * soft-fp/floatsisf.c (__floatsisf): Likewise.
14134 * soft-fp/floattidf.c (__floattidf): Likewise.
14135 * soft-fp/floattisf.c (__floattisf): Likewise.
14136 * soft-fp/floattitf.c (__floattitf): Likewise.
14137 * soft-fp/floatundidf.c (__floatundidf): Likewise.
14138 * soft-fp/floatundisf.c (__floatundisf): Likewise.
14139 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
14140 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
14141 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
14142 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
14143 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
14144 * soft-fp/gesf2.c (__gesf2): Likewise.
14145 * soft-fp/getf2.c (__getf2): Likewise.
14146 * soft-fp/ledf2.c (__ledf2): Likewise.
14147 * soft-fp/lesf2.c (__lesf2): Likewise.
14148 * soft-fp/letf2.c (__letf2): Likewise.
14150 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
14151 Undefine and redefine.
14152 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
14153 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
14154 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
14155 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
14156 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14157 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
14158 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14159 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
14160 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14161 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
14162 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14163 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
14164 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14165 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
14166 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14169 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
14170 without decrementing exponent if mantissa >= that for the
14171 denominator, not >.
14172 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
14173 denominator, not >. Decrement exponent in < case instead of
14174 incrementing in >= case.
14175 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
14176 without decrementing exponent if mantissa >= that for the
14177 denominator, not >.
14179 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
14180 computing saturated result for unsigned overflow.
14182 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14183 Jeff Law <law@redhat.com>
14185 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
14186 (atan2Mp): Add systemtap probe marker.
14187 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
14188 (__ieee754_log): Add systemtap probe marker.
14189 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
14190 (atanMp): Add systemtap probe marker.
14191 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
14192 (tanMp): Add systemtap probe marker.
14193 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
14194 (__slowexp): Add systemtap probe marker.
14195 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
14196 (__slowpow): Add systemtap probe marker.
14197 * manual/probes.texi: Document probes.
14199 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
14202 * libio/fileops.c (_IO_new_file_write): Return count of bytes
14204 (_IO_new_file_xsputn): Don't return EOF if nothing has been
14206 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
14207 written to buffer but not flushed.
14208 * libio/iofwrite_u.c: Likewise.
14209 * libio/iopadn.c: Return bytes returned even if EOF was
14211 * libio/iowpadn.c: Likewise.
14212 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
14213 if _IO_padn does not write the whole buffer.
14214 [!COMPILE_WPRINTF] (PAD): Likewise.
14216 2013-10-10 David S. Miller <davem@davemloft.net>
14218 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
14221 2013-10-10 Joseph Myers <joseph@codesourcery.com>
14223 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
14224 instead of FSF address.
14225 * soft-fp/fixdfti.c: Likewise.
14226 * soft-fp/fixsfti.c: Likewise.
14227 * soft-fp/fixtfti.c: Likewise.
14228 * soft-fp/fixunsdfti.c: Likewise.
14229 * soft-fp/fixunssfti.c: Likewise.
14230 * soft-fp/fixunstfti.c: Likewise.
14231 * soft-fp/floattidf.c: Likewise.
14232 * soft-fp/floattisf.c: Likewise.
14233 * soft-fp/floattitf.c: Likewise.
14234 * soft-fp/floatuntidf.c: Likewise.
14235 * soft-fp/floatuntisf.c: Likewise.
14236 * soft-fp/floatuntitf.c: Likewise.
14237 * soft-fp/trunctfxf2.c: Likewise.
14239 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
14240 * soft-fp/fixdfti.c: Likewise.
14241 * soft-fp/fixsfti.c: Likewise.
14242 * soft-fp/fixtfti.c: Likewise.
14243 * soft-fp/fixunsdfti.c: Likewise.
14244 * soft-fp/fixunssfti.c: Likewise.
14245 * soft-fp/fixunstfti.c: Likewise.
14246 * soft-fp/floattidf.c: Likewise.
14247 * soft-fp/floattisf.c: Likewise.
14248 * soft-fp/floattitf.c: Likewise.
14249 * soft-fp/floatuntidf.c: Likewise.
14250 * soft-fp/floatuntisf.c: Likewise.
14251 * soft-fp/floatuntitf.c: Likewise.
14252 * soft-fp/trunctfxf2.c: Likewise.
14254 2013-10-10 David S. Miller <davem@davemloft.net>
14256 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14258 2013-10-10 Joseph Myers <joseph@codsourcery.com>
14260 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
14261 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
14262 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
14263 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
14264 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
14265 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
14266 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
14268 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
14269 for NaNs before doing comparisons on argument.
14270 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
14273 2013-10-10 Will Newton <will.newton@linaro.org>
14275 * malloc/hooks.c (memalign_check): Ensure the value of bytes
14276 passed to _int_memalign does not overflow.
14278 2013-10-10 Torvald Riegel <triegel@redhat.com>
14280 * scripts/bench.pl: Add include-sources directive.
14281 * benchtests/README: Update documentation.
14283 2013-10-10 Joseph Myers <joseph@codesourcery.com>
14285 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
14286 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
14287 instead of FP_INIT_ROUNDMODE.
14288 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
14289 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
14292 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
14293 copy class of input value.
14294 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
14295 not handle exceptions.
14296 * soft-fp/negsf2.c (__negsf2): Likewise.
14297 * soft-fp/negtf2.c (__negtf2): Likewise.
14298 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
14300 2013-10-09 Joseph Myers <joseph@codesourcery.com>
14302 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
14303 semicolon. From Linux kernel.
14305 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
14307 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
14309 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
14312 * manual/socket.texi: Added statement about buffer
14313 for gethostbyname2_r.
14315 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
14317 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
14318 Use .p2align directive instead, throughout.
14319 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14320 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
14321 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
14322 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14323 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14324 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
14325 * sysdeps/x86_64/strchr.S: Likewise.
14326 * sysdeps/x86_64/strrchr.S: Likewise.
14328 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
14330 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
14332 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
14334 * sysdeps/generic/math_private.h (__mpsin1): Remove
14336 (__mpcos1): Likewise.
14337 (__mpsin): New argument __range_reduce.
14338 (__mpcos): Likewise.
14339 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14340 (slow): Use __mpsin and __mpcos.
14344 (sloww1): Likewise.
14345 (sloww2): Likewise.
14346 (bsloww): Likewise.
14347 (bsloww1): Likewise.
14348 (bsloww2): Likewise.
14349 (cslow2): Likewise.
14350 (csloww): Likewise.
14351 (csloww1): Likewise.
14352 (csloww2): Likewise.
14353 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
14354 range_reduce. Merge in __mpsin1.
14355 (__mpcos): Likewise.
14356 (__mpsin1): Remove.
14357 (__mpcos1): Likewise.
14359 2013-10-07 Joseph Myers <joseph@codesourcery.com>
14361 * locale/loadlocale.c (_nl_intern_locale_data): Use
14363 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
14364 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
14365 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
14366 obstack data is appropriately aligned.
14367 (obstack_int32_grow_fast): Likewise.
14368 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
14369 * locale/programs/locfile.c (add_locale_uint32): Likewise.
14370 (add_locale_uint32_array): Likewise.
14372 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
14374 * benchtests/Makefile: Remove ARGLIST and RET variables.
14375 ($(objpfx)bench-%.c): Pass only function name to the script.
14376 * benchtests/README: Update documentation.
14377 * benchtests/acos-inputs: Add new directives.
14378 * benchtests/acosh-inputs: Likewise.
14379 * benchtests/asin-inputs: Likewise.
14380 * benchtests/asinh-inputs: Likewise.
14381 * benchtests/atan-inputs: Likewise.
14382 * benchtests/atanh-inputs: Likewise.
14383 * benchtests/cos-inputs: Likewise.
14384 * benchtests/cosh-inputs: Likewise.
14385 * benchtests/exp-inputs: Likewise.
14386 * benchtests/log-inputs: Likewise.
14387 * benchtests/pow-inputs: Likewise.
14388 * benchtests/rint-inputs: Likewise.
14389 * benchtests/sin-inputs: Likewise.
14390 * benchtests/sinh-inputs: Likewise.
14391 * benchtests/tan-inputs: Likewise.
14392 * benchtests/tanh-inputs: Likewise.
14393 * scripts/bench.pl: Add support for new directives.
14395 2013-10-07 Alan Modra <amodra@gmail.com>
14397 * README: Fix careless merge.
14399 2013-10-05 Alan Modra <amodra@gmail.com>
14401 * NEWS: Mention powerpc64le support and bugs fixed.
14402 * README: Both big-endian and little-endian powerpc64 supported.
14404 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
14406 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
14407 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
14408 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
14409 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
14411 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
14413 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
14416 2013-10-04 Joseph Myers <joseph@codesourcery.com>
14418 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
14419 Move -mhard-float appending from
14420 ports/sysdeps/powerpc/powerpc32/Makefile.
14421 [$(with-fp) = yes] (ASFLAGS): Likewise.
14422 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
14423 * sysdeps/powerpc/nofpu: Move directory from
14424 ports/sysdeps/powerpc/nofpu.
14425 * sysdeps/powerpc/soft-fp: Move directory from
14426 ports/sysdeps/powerpc/soft-fp.
14427 * sysdeps/powerpc/powerpc32/405: Move directory from
14428 ports/sysdeps/powerpc/powerpc32/405.
14429 * sysdeps/powerpc/powerpc32/440: Move directory from
14430 ports/sysdeps/powerpc/powerpc32/440.
14431 * sysdeps/powerpc/powerpc32/464: Move directory from
14432 ports/sysdeps/powerpc/powerpc32/464.
14433 * sysdeps/powerpc/powerpc32/476: Move directory from
14434 ports/sysdeps/powerpc/powerpc32/476.
14435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
14436 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
14437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
14438 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
14439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
14440 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
14441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
14442 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
14443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
14444 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
14445 * README: Update for powerpc-*-linux-gnu software floating point
14448 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
14449 case to powerpc/powerpc32*.
14450 * sysdeps/unix/sysv/linux/configure: Regenerated.
14452 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
14453 (_FPU_MASK_OM): Define as 0x04.
14454 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
14455 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
14457 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
14459 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
14461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
14462 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
14464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
14465 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
14467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
14468 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
14469 and setcontext_e500.
14471 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
14473 * locale/iso-3166.def: Update iso-1366.def and related occurrences
14475 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14477 * manual/threads.texi (Default Thread Attributes): Fix typo.
14479 2013-10-04 Will Newton <will.newton@linaro.org>
14481 * malloc/Makefile: Add tst-memalign.
14482 * malloc/tst-memalign.c: New file.
14484 * malloc/tst-posix_memalign.c: Add comments.
14485 (do_test): Add comments and call free on all potentially
14486 allocated pointers. Add space after cast.
14488 * malloc/tst-pvalloc.c: Add comments.
14489 (do_test): Add comments and call free on all potentially
14490 allocated pointers. Remove duplicate check for NULL pointer.
14491 Add space after cast.
14493 * malloc/tst-valloc.c: Add comments.
14494 (do_test): Add comments and call free on all potentially
14495 allocated pointers. Remove duplicate check for NULL pointer.
14496 Add space after cast.
14498 2013-10-04 Alan Modra <amodra@gmail.com>
14500 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14501 Use stdint types in rather than __attribute__((mode())).
14502 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14504 2013-10-04 Alan Modra <amodra@gmail.com>
14506 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14507 Correct handling of unaligned relocs for little-endian.
14508 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14510 2013-10-04 Alan Modra <amodra@gmail.com>
14512 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
14513 * configure: Regenerate.
14514 * nptl/shlib-versions: Powerpc*le starts at 2.18.
14515 * shlib-versions: Likewise.
14517 2013-10-04 Alan Modra <amodra@gmail.com>
14519 * string/tester.c (test_memrchr): Increment reported test cycle.
14521 2013-10-04 Alan Modra <amodra@gmail.com>
14523 * string/test-memcpy.c (do_one_test): When reporting errors, print
14524 string address and don't overrun end of string.
14526 2013-10-04 Alan Modra <amodra@gmail.com>
14528 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
14529 insrdi. Make better use of reg selection to speed exit slightly.
14530 Schedule entry path a little better. Remove useless "are we done"
14531 checks on entry to main loop. Handle wrapping around zero address.
14532 Correct main loop count. Handle single left-over word from main
14533 loop inline rather than by using loop_small. Remove extra word
14534 case in loop_small caused by wrong loop count. Add little-endian
14536 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14537 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
14539 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14540 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
14541 support. Avoid rlwimi.
14542 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
14544 2013-10-04 Alan Modra <amodra@gmail.com>
14546 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
14547 insrdi. Formatting.
14548 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
14549 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14550 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
14551 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
14552 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
14553 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
14555 2013-10-04 Alan Modra <amodra@gmail.com>
14557 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
14558 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14559 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
14560 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
14561 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14562 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14563 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14564 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14565 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
14566 use of regs. Use power7 mtocrf. Tidy function tails.
14568 2013-10-04 Alan Modra <amodra@gmail.com>
14570 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
14571 Formatting. Consistently use rXXX register defines or rN defines.
14572 Use early exit labels that avoid restoring unused non-volatile regs.
14573 Make cr field use more consistent with rWORDn compares. Rename
14574 regs used as shift registers for unaligned loop, using rN defines
14575 for short lifetime/multiple use regs.
14576 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14577 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
14578 addi 1,1,64 to pop stack frame. Simplify return value code.
14579 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14581 2013-10-04 Alan Modra <amodra@gmail.com>
14583 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
14584 support. Correct typos, formatting. Optimize tail. Use insrdi
14585 rather than rlwimi.
14586 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
14587 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
14588 little-endian support. Correct typos.
14589 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
14590 rather than rlwimi.
14591 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
14592 in loop and entry code to keep "and." results.
14593 (strchr): Add little-endian support. Comment. Move cntlzd
14595 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
14597 2013-10-04 Alan Modra <amodra@gmail.com>
14599 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
14600 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
14601 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
14602 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
14604 2013-10-04 Alan Modra <amodra@gmail.com>
14606 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
14607 (rTMP): Define as r11.
14608 (strcmp): Add little-endian support. Optimise tail.
14609 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
14610 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14611 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14612 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14613 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14614 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14615 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14617 2013-10-04 Alan Modra <amodra@gmail.com>
14619 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
14620 little-endian support. Remove unnecessary "are we done" tests.
14621 Handle "s" wrapping around zero and extremely large "size".
14622 Correct main loop count. Handle single left-over word from main
14623 loop inline rather than by using small_loop. Correct comments.
14624 Delete "zero" tail, use "end_max" instead.
14625 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
14627 2013-10-04 Alan Modra <amodra@gmail.com>
14629 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
14630 support. Don't branch over align.
14631 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
14632 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
14633 support. Rearrange tmp reg use to suit. Comment.
14634 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
14636 2013-10-04 Alan Modra <amodra@gmail.com>
14638 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
14640 2013-10-04 Alan Modra <amodra@gmail.com>
14642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
14643 conditional form of branch and link when obtaining pc.
14644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
14646 2013-10-04 Alan Modra <amodra@gmail.com>
14648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
14650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
14651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
14653 2013-10-04 Alan Modra <amodra@gmail.com>
14655 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
14656 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
14657 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
14658 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
14659 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
14660 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
14661 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
14662 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
14663 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
14664 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
14666 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
14667 Alistair Popple <alistair@ozlabs.au.ibm.com>
14668 Alan Modra <amodra@gmail.com>
14671 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
14672 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
14673 _dl_hwcap access for little-endian.
14674 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
14675 destroy vmx regs when saving unaligned.
14676 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
14677 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
14678 destroy vmx regs when saving unaligned.
14680 2013-10-04 Alan Modra <amodra@gmail.com>
14682 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
14683 Don't use a union to pack hi/low value.
14685 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
14687 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
14689 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
14690 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
14691 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
14692 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
14693 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
14695 2013-10-04 Alan Modra <amodra@gmail.com>
14697 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
14698 constants to usual value for .cst8 section, and remove redundant
14700 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
14701 constant for 0x1p52. Load little-endian words of double from
14702 correct stack offsets.
14704 2013-10-04 Alan Modra <amodra@gmail.com>
14706 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
14707 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
14708 words of double from correct stack offsets.
14709 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
14710 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
14711 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
14712 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
14713 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
14714 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
14715 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
14716 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
14717 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
14718 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
14719 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
14720 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
14721 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
14722 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
14723 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
14724 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
14725 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
14727 2013-10-04 Alan Modra <amodra@gmail.com>
14729 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
14730 64-bit int/double union.
14731 (_FPU_SETCW): Likewise.
14732 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
14733 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
14735 2013-10-04 Alan Modra <amodra@gmail.com>
14737 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
14738 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
14740 2013-10-04 Alan Modra <amodra@gmail.com>
14742 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
14743 use vector int constants.
14744 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
14746 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
14748 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
14749 array with long long.
14750 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
14751 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
14752 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
14753 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
14754 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
14755 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
14756 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
14757 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
14758 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
14759 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
14760 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
14761 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
14762 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
14764 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
14766 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
14767 (__signbit): Likewise. Correct for little-endian.
14768 (__signbitl): Call __signbit.
14769 (lrint): Correct for little-endian.
14770 (lrintf): Call lrint.
14772 2013-10-04 Alan Modra <amodra@gmail.com>
14774 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
14775 union 32-bit int array member with 64-bit int array.
14776 (t515, tm256): Double rather than long double.
14777 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
14779 2013-10-04 Alan Modra <amodra@gmail.com>
14781 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
14783 (IEEE854_LONG_DOUBLE_BIAS): Delete.
14784 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
14785 version of math_ldbl.h.
14787 2013-10-04 Alan Modra <amodra@gmail.com>
14789 [BZ #15734], [BZ #15735]
14790 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
14791 all uses of ieee875 long double macros and unions. Simplify test
14792 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
14793 ldbl_extract_mantissa value for ix,iy exponents. Properly
14794 normalize after ldbl_extract_mantissa, and don't add hidden bit
14795 already handled. Don't treat low word of ieee854 mantissa like
14796 low word of IBM long double and mask off bit when testing for
14798 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
14799 all uses of ieee875 long double macros and unions. Simplify tests
14800 for 0.0L and inf. Correct double adjustment of k. Delete dead code
14801 adjusting ha,hb. Simplify code setting kld. Delete two600 and
14802 two1022, instead use their values. Recognise that tests for large
14803 "a" and small "b" are mutually exclusive. Rename vars. Comment.
14804 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
14805 Rewrite all uses of ieee875 long double macros and unions. Simplify
14806 test for 0.0L and nan. Correct negation.
14807 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
14808 ieee875 long double macros and unions. Correct output for large
14809 magnitude x. Correct absolute value calculation.
14810 (__erfcl): Likewise.
14811 * math/libm-test.inc: Add tests for errors discovered in IBM long
14812 double versions of fmodl, remainderl, erfl and erfcl.
14814 2013-10-04 Alan Modra <amodra@gmail.com>
14816 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
14817 all uses of ieee854 long double macros and unions. Simplify tests
14818 for long doubles that are fully specified by the high double.
14819 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
14821 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
14822 Remove dead code too.
14823 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14824 (__ieee754_ynl): Likewise.
14825 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
14826 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
14827 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
14828 Remove dead code too.
14829 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
14830 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
14831 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
14832 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
14834 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
14836 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
14837 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
14838 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
14839 Comment on variable precision.
14840 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
14841 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14843 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
14844 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
14845 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
14846 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
14847 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
14849 2013-10-04 Alan Modra <amodra@gmail.com>
14851 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
14852 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
14853 all uses of ieee854 long double macros and unions.
14854 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
14855 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14856 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
14857 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
14858 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
14859 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
14861 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
14862 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
14863 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
14864 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
14865 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
14866 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
14867 Simplify sign and nan test too.
14868 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
14869 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
14870 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
14871 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
14873 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
14874 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
14876 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14877 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
14878 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
14879 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
14880 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
14881 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
14883 2013-10-04 Alan Modra <amodra@gmail.com>
14885 * stdio-common/printf_size.c (__printf_size): Don't use
14886 union ieee854_long_double in fpnum union.
14887 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
14888 signbit macro to retrieve sign from long double.
14889 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
14890 retrieve sign from long double.
14891 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
14892 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
14893 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
14894 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
14895 * math/test-misc.c (main): Don't use union ieee854_long_double.
14897 2013-10-04 Alan Modra <amodra@gmail.com>
14900 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
14901 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
14902 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
14903 calculation. Remove unnecessary test for denormal exponent.
14904 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
14905 Correct handling of denormals. Avoid undefined shift behaviour.
14906 Correct normalisation of low mantissa when low double is denormal.
14907 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
14908 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
14909 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
14910 Correct normalisation of low mantissa. Test for overflow of high
14911 mantissa and normalise.
14912 (ldbl_nearbyint): Use more readable constant for two52.
14913 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
14914 (__mpn_construct_long_double): Fix test for overflow of high
14915 mantissa and correct normalisation. Avoid undefined shift.
14917 2013-10-04 Alan Modra <amodra@gmail.com>
14919 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
14920 (union ibm_extended_long_double): Define as an array of ieee754_double.
14921 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
14922 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
14923 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
14924 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
14925 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14926 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
14927 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14928 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
14929 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
14930 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
14931 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
14933 2013-10-03 Joseph Myers <joseph@codesourcery.com>
14935 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
14936 page size instead of calling getpagesize.
14938 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
14939 (LOCFILE_ALIGN_MASK): Likewise.
14940 (LOCFILE_ALIGN_UP): Likewise.
14941 (LOCFILE_ALIGNED_P): Likewise.
14942 * locale/programs/ld-collate.c (collate_output): Use the new
14943 macros instead of __alignof__ (int32_t).
14944 * locale/weight.h (findidx): Likewise.
14946 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
14949 * manual/string.texi: Fix strncat and wcsncat.
14951 2013-10-03 Brooks Moses <bmoses@google.com>
14954 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
14955 * Makerules: ...here, and adjust associated comments.
14957 2013-10-02 Will Newton <will.newton@linaro.org>
14959 * malloc/Makefile: Add tst-pvalloc.
14960 * malloc/tst-pvalloc.c: New file.
14962 2013-10-02 Will Newton <will.newton@linaro.org>
14964 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
14965 improve test coverage.
14967 2013-10-02 Will Newton <will.newton@linaro.org>
14969 * malloc/Makefile: Add tst-posix_memalign.
14970 * malloc/tst-posix_memalign.c: New file.
14972 2013-10-01 Eric Blake <eblake@redhat.com>
14974 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
14975 Use __THROWNL rather than __THROW on static functions.
14977 2013-09-30 Petr Machata <pmachata@redhat.com>
14979 * elf/elf.h (R_AARCH64_ABS16): New macro.
14980 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
14981 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
14982 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
14983 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
14984 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
14985 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
14986 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
14987 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
14988 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
14989 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
14990 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
14991 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
14992 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
14993 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
14994 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
14995 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
14996 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
14997 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
14998 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
14999 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
15000 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
15001 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
15002 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
15003 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
15004 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
15005 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
15006 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
15007 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
15008 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
15009 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
15010 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
15011 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
15012 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
15013 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
15014 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
15015 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
15016 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
15017 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
15018 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
15019 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
15020 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
15021 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
15022 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
15023 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
15024 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
15025 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
15026 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
15027 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
15028 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
15029 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
15030 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
15031 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
15032 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
15033 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
15034 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
15035 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
15036 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
15037 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
15038 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
15039 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
15040 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
15041 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
15042 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
15043 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
15044 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
15045 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
15046 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
15047 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
15048 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
15049 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
15050 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
15051 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
15052 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
15053 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
15054 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
15055 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
15056 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
15057 (R_AARCH64_TLSDESC_LDR): Likewise.
15058 (R_AARCH64_TLSDESC_ADD): Likewise.
15059 (R_AARCH64_TLSDESC_CALL): Likewise.
15061 2013-09-30 Andreas Schwab <schwab@suse.de>
15064 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
15065 the nss database lookup.
15066 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15067 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15069 2013-09-28 Mike Frysinger <vapier@gentoo.org>
15071 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
15073 2013-09-28 P. J. McDermott <pj@pehjota.net>
15075 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
15076 ${Bash-specific parameter/pattern/string} parameter expansion.
15077 * sysdeps/unix/make-syscalls.sh: Likewise.
15079 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15081 * sysdeps/sh/stackguard-macros.h: New file.
15083 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
15085 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
15086 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
15087 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
15088 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
15089 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15090 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
15092 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15094 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
15095 Fix thread ID register.
15097 2013-09-25 Joseph Myers <joseph@codesourcery.com>
15099 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
15100 [POSIX || UNIX98]: Require rather than permitting all symbols from
15102 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
15103 element of struct sched_param.
15104 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
15105 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
15106 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
15107 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
15110 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
15112 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
15113 argument calculation.
15115 2013-09-24 Joseph Myers <joseph@codesourcery.com>
15117 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
15119 [POSIX] (pthread_attr_t): Do not require type.
15120 [POSIX] (pthread_cond_t): Likewise.
15121 [POSIX] (pthread_condattr_t): Likewise.
15122 [POSIX] (pthread_key_t): Likewise.
15123 [POSIX] (pthread_mutex_t): Likewise.
15124 [POSIX] (pthread_mutexattr_t): Likewise.
15125 [POSIX] (pthread_once_t): Likewise.
15126 [POSIX] (pthread_t): Likewise.
15127 [POSIX-based standards] (pthread_atfork): Expect function.
15129 2013-09-24 Joseph Myers <joseph@codesourcery.com>
15130 Richard Sandiford <richard@codesourcery.com>
15132 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
15133 (swap_endianness_p): New extern variable.
15134 (set_big_endian): New inline function.
15135 (maybe_swap_uint32): Likewise.
15136 (maybe_swap_uint32_array): Likewise.
15137 (maybe_swap_uint32_obstack): Likewise.
15138 * locale/programs/locfile.c: Include <stdbool.h>.
15139 (swap_endianness_p): New variable.
15140 (add_locale_uint32): Call maybe_swap_uint32.
15141 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
15142 (write_locale_data): Call maybe_swap_uint32_array.
15143 * locale/programs/ld-collate.c (obstack_int32_grow): Call
15145 (obstack_int32_grow_fast): Likewise.
15146 (output_weightwc): Call maybe_swap_uint32_obstack.
15147 (collate_output): Likewise.
15148 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
15149 (OPT_LITTLE_ENDIAN): Likewise.
15150 (options): Add --little-endian and --big-endian options.
15151 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
15152 * locale/programs/locarchive.c: Include "locfile.h".
15156 (create_archive): Use the new macros to access fields of
15157 structures directly mapped from or written to locale archives.
15158 (oldlocrecentcmp): Likewise.
15159 (enlarge_archive): Likewise.
15160 (insert_name): Likewise.
15161 (add_alias): Likewise.
15162 (add_locale): Likewise.
15163 (delete_locales_from_archive): Likewise.
15164 (show_archive_content): Likewise.
15165 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
15168 2013-09-24 Roland McGrath <roland@hack.frob.com>
15170 * manual/freemanuals.texi: Updated from (newly) canonical copy at
15171 http://www.gnu.org/doc/freemanuals.texi.
15172 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
15174 2013-09-24 Will Newton <will.newton@linaro.org>
15176 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
15179 2013-09-23 Joseph Myers <joseph@codesourcery.com>
15181 * locale/hashval.h (compute_hashval): Interpret bytes of key as
15184 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
15186 * manual/threads.texi (POSIX Threads): Fix a typo.
15188 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15191 * string/tst-strcoll-overflow.c: New test case.
15192 * string/Makefile (xtests): Add tst-strcoll-overflow.
15193 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
15194 cache if string sizes may cause integer overflow.
15197 * string/strcoll_l.c (coll_seq): New members rule, idx,
15198 save_idx and back_us.
15199 (get_next_seq_nocache): New function.
15200 (do_compare_nocache): New function.
15201 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
15204 2013-09-23 Carlos O'Donell <carlos@redhat.com>
15207 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
15208 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
15209 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
15212 * elf/Makefile (tests): Add tst-ptrguard1.
15213 (tests-static): Add tst-ptrguard1-static.
15214 (tst-ptrguard1-ARGS): Define.
15215 (tst-ptrguard1-static-ARGS): Define.
15216 * elf/tst-ptrguard1.c: New file.
15217 * elf/tst-ptrguard1-static.c: New file.
15218 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
15219 * sysdeps/i386/stackguard-macros.h: Likewise.
15220 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
15221 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
15222 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
15223 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
15224 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
15225 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
15227 2013-09-23 Hector Marco <hecmargi@upv.es>
15228 Ismael Ripoll <iripoll@disca.upv.es>
15229 Carlos O'Donell <carlos@redhat.com>
15232 * sysdeps/generic/stackguard-macros.h: Define
15233 __pointer_chk_guard_local and POINTER_CHK_GUARD.
15234 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
15235 Define __pointer_chk_guard_local.
15236 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
15237 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
15239 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
15242 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
15244 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
15246 * include/string.h (__ffs): Declare as hidden.
15247 * string/ffs.c (__ffs): Define as hidden.
15248 * sysdeps/i386/ffs.c (__ffs): Likewise.
15249 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
15250 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
15251 * sysdeps/s390/ffs.c (__ffs): Likewise.
15252 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
15254 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
15256 * NEWS: Mention malloc probes.
15258 * malloc/arena.c (new_heap): New memory_heap_new probe.
15259 (grow_heap): New memory_heap_more probe.
15260 (shrink_heap): New memory_heap_less probe.
15261 (heap_trim): New memory_heap_free probe.
15262 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
15263 (systrim): New memory_sbrk_less probe.
15264 * manual/probes.texi: Document them.
15266 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
15267 * manual/probes.texi: Document it.
15269 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
15270 (__libc_realloc): Add memory_realloc_retry probe.
15271 (__libc_memalign): Add memory_memalign_retry probe.
15272 (__libc_valloc): Add memory_valloc_retry probe.
15273 (__libc_pvalloc): Add memory_pvalloc_retry probe.
15274 (__libc_calloc): Add memory_calloc_retry probe.
15275 * manual/probes.texi: Document them.
15277 * malloc/arena.c (get_free_list): Add probe
15278 memory_arena_reuse_free_list.
15279 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
15280 and memory_arena_reuse.
15281 (arena_get2) [!PER_THREAD]: Likewise.
15282 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
15283 memory_arena_reuse_realloc.
15284 * manual/probes.texi: Document them.
15286 * malloc/malloc.c (__libc_free): Add
15287 memory_mallopt_free_dyn_thresholds probe.
15288 (__libc_mallopt): Add multiple memory_mallopt probes.
15289 * manual/probes.texi: Document them.
15291 * malloc/malloc.c: Include stap-probe.h.
15292 (__libc_mallopt): Add memory_mallopt probe.
15293 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
15294 * manual/probes.texi: New.
15295 * manual/Makefile (chapters): Add probes.
15296 * manual/threads.texi: Set next node.
15298 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
15300 [BZ #15963, #13985]
15301 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
15302 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
15303 Add `Chinese' to `nan' entry name.
15305 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15307 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
15308 (POLYNOMIAL): Likewise.
15309 (TAYLOR_SINCOS): Likewise.
15310 (TAYLOR_SLOW): Likewise.
15311 (__sin): Use TAYLOR_SINCOS.
15313 (slow): Use TAYLOR_SLOW.
15315 (bsloww): Likewise.
15316 (csloww): Likewise.
15318 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15320 * stdlib/strtod_l.c: Fix buffer overrun.
15322 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15324 * benchtests/Makefile (bench): Add sincos.
15325 * benchtests/bench-sincos.c: New file.
15327 * math/libm-test.inc (cos_test_data): New test inputs.
15328 (sin_test_data): Likewise.
15330 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
15336 (sloww1): Likewise.
15337 (sloww2): Likewise.
15338 (bsloww1): Likewise.
15339 (bsloww2): Likewise.
15340 (cslow2): Likewise.
15341 (csloww1): Likewise.
15342 (csloww2): Likewise.
15344 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
15349 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
15353 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
15355 * config.h.in (HAVE_MIPS_NAN2008): New macro.
15356 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
15357 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
15358 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
15359 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
15360 * elf/cache.c (print_entry): Handle the new cache flags.
15362 2013-09-18 Joseph Myers <joseph@codesourcery.com>
15363 Aldy Hernandez <aldyh@redhat.com>
15365 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
15366 Change condition to [_SOFT_FLOAT].
15367 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
15368 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
15369 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
15370 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
15371 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
15372 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
15373 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
15374 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
15375 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
15376 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
15377 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
15378 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
15379 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
15380 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
15381 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
15382 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
15385 2013-09-18 Joseph Myers <joseph@codesourcery.com>
15387 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
15388 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15389 (__longjmp): Use LOAD_GP to load saved GPRs.
15390 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
15391 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15392 (__sigsetjmp): Use SAVE_GP to save GPRs.
15394 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
15395 Do not append -msoft-float.
15396 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
15398 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15400 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
15402 2013-09-17 Joseph Myers <joseph@codesourcery.com>
15405 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
15406 (_FPU_GETCW): Use initial "__" on variable and field names but not
15407 on macro parameter name.
15408 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
15409 parentheses around reference to macro parameter.
15411 2013-09-13 Richard Sandiford <richard@codesourcery.com>
15413 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
15415 (ctype_startup): Use uint32_t in cast and sizeof for
15418 2013-09-11 Jia Liu <proljc@gmail.com>
15420 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
15422 [__FreeBSD__]: Likewise.
15424 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
15426 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15427 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
15428 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
15429 (strchr): Remove __strchr_sse42 ifunc selection.
15430 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
15431 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
15433 2013-09-11 Will Newton <will.newton@linaro.org>
15435 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
15436 parameter to RES. Remove hardcoded 1000 value.
15437 * benchtests/bench-skeleton.c (main): Pass RES parameter
15438 to TIMING_INIT and multiply result by 1000.
15440 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15442 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15444 2013-09-11 Andreas Schwab <schwab@suse.de>
15446 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
15448 (O_TMPFILE) [__USE_GNU]: Define.
15449 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
15452 2013-09-11 Will Newton <will.newton@linaro.org>
15455 * malloc/malloc.c (__libc_memalign): Check the value of bytes
15458 2013-09-11 Will Newton <will.newton@linaro.org>
15461 * malloc/malloc.c (__libc_valloc): Check the value of bytes
15464 2013-09-11 Will Newton <will.newton@linaro.org>
15467 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
15470 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
15472 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
15473 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15474 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15475 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15476 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15478 2013-09-10 Allan McRae <allan@archlinux.org>
15481 * manual/arith.texi (Parsing of Floats): Clarify
15485 * manual/install.texi (Running make install): Mention
15487 * INSTALL: Regenerated.
15489 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15491 * csu/init-first.c (_init): Remove the !SHARED condition around
15492 FPU control word initialization.
15493 * elf/dl-support.c (_dl_fpu_control): New variable.
15494 (_dl_aux_init) <AT_FPUCW>: Initialize it.
15495 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
15496 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
15497 * math/test-fpucw-static.c: New file.
15498 * math/test-fpucw-ieee.c: New file.
15499 * math/test-fpucw-ieee-static.c: New file.
15500 * math/Makefile (tests): Add `test-fpucw-ieee' and
15502 (tests-static): New variable.
15503 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
15505 [($(build-shared),yes)]
15506 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
15508 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
15511 2013-09-09 Allan McRae <allan@archlinux.org>
15514 * manual/string.texi (Collation Functions): Fix typo in
15516 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
15519 * stdlib/isomac.c (get_null_defines): Fix memory leak.
15522 * libio/memstream.c (open_memstream): Fix memory leak.
15523 * libio/wmemstream.c (open_wmemstream): Likewise.
15526 * nscd/netgroupcache.c: Fix nesting of ifdefs.
15528 2013-09-09 Will Newton <will.newton@linaro.org>
15530 * malloc/Makefile: Add tst-realloc to tests.
15531 * malloc/tst-realloc.c: New file.
15533 2013-09-09 Allan McRae <allan@archlinux.org>
15536 * COPYING: Update from GNU website to fix FSF address.
15537 * COPYING.LIB: Likewise.
15539 2013-09-06 David S. Miller <davem@davemloft.net>
15541 * po/zh_TW.po: Update Chinese (traditional) translation from
15542 translation project.
15544 2013-09-06 Richard Sandiford <richard@codesourcery.com>
15545 Joseph Myers <joseph@codesourcery.com>
15547 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
15549 (obstack_chunk_alloc): New macro.
15550 (obstack_chunk_free): Likewise.
15551 (record_offset): New function.
15552 (init_locale_data): Likewise.
15553 (align_locale_data): Likewise.
15554 (add_locale_empty): Likewise.
15555 (add_locale_raw_data): Likewise.
15556 (add_locale_raw_obstack): Likewise.
15557 (add_locale_string): Likewise.
15558 (add_locale_wstring): Likewise.
15559 (add_locale_uint32): Likewise.
15560 (add_locale_uint32_array): Likewise.
15561 (add_locale_char): Likewise.
15562 (start_locale_structure): Likewise.
15563 (end_locale_structure): Likewise.
15564 (start_locale_prelude): Likewise.
15565 (end_locale_prelude): Likewise.
15566 (write_locale_data): Take locale_file structure rather than an
15568 * locale/programs/locfile.h: Include "obstack.h".
15569 (struct locale_file): Change to store locale file contents instead
15571 (init_locale_data): New prototype.
15572 (align_locale_data): Likewise.
15573 (add_locale_empty): Likewise.
15574 (add_locale_raw_data): Likewise.
15575 (add_locale_raw_obstack): Likewise.
15576 (add_locale_string): Likewise.
15577 (add_locale_wstring): Likewise.
15578 (add_locale_uint32): Likewise.
15579 (add_locale_uint32_array): Likewise.
15580 (add_locale_char): Likewise.
15581 (start_locale_structure): Likewise.
15582 (end_locale_structure): Likewise.
15583 (start_locale_prelude): Likewise.
15584 (end_locale_prelude): Likewise.
15585 (write_locale_data): Update prototype.
15586 * locale/programs/3level.h (struct TABLE): Remove result field.
15587 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
15588 Use new locale_file interface.
15589 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
15590 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
15591 * locale/programs/ld-address.c (address_output): Use new
15592 locale_file interface.
15593 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
15595 (collate_finish): Don't call collseq_table_finalize.
15596 (collate_output): Use new locale_file interface.
15597 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
15599 (NO_FINALIZE): Change to NO_ADD_LOCALE.
15600 (TABLE): Move defines earlier in file.
15601 (ELEMENT): Likewise.
15602 (DEFAULT): Likewise.
15603 (wctrans_table_add): Move macro and inline function earlier in
15605 (struct wctype_table): Move type earlier in file.
15606 (add_locale_wctype_table): New static prototype.
15607 (struct locale_ctype_t): Use logical types instead of struct iovec
15608 pointers for members.
15609 (ctype_output): Use new locale_file interface.
15610 (wctype_table_finalize): Change to add_locale_wctype_table. Use
15611 new locale_file interface.
15612 (allocate_arrays): Update for use of new locale_file interface.
15613 * locale/programs/ld-identification.c (identification_output): Use
15614 new locale_file interface.
15615 * locale/programs/ld-measurement.c (measurement_output): Likewise.
15616 * locale/programs/ld-messages.c (messages_output): Likewise.
15617 * locale/programs/ld-monetary.c (monetary_output): Likewise.
15618 * locale/programs/ld-name.c (name_output): Likewise.
15619 * locale/programs/ld-numeric.c (numeric_output): Likewise.
15620 * locale/programs/ld-paper.c (paper_output): Likewise.
15621 * locale/programs/ld-telephone.c (telephone_output): Likewise.
15622 * locale/programs/ld-time.c (time_output): Likewise.
15624 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15626 * benchtests/Makefile: Add memrchr benchmark.
15627 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
15628 benchmark as memrchr.
15629 * benchtests/bench-memrchr-ifunc.c: New file.
15630 * benchtests/bench-memrchr.c: New file.
15632 2013-09-06 Will Newton <will.newton@linaro.org>
15634 * benchtests/Makefile (string-bench): Add memcpy.
15636 2013-09-05 Carlos O'Donell <carlos@redhat.com>
15637 Cong Wang <amwang@redhat.com>
15640 * sysdeps/unix/sysv/linux/bits/in.h
15641 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
15642 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
15643 before __USE_KERNEL_IPV6_DEFS uses.
15644 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
15646 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
15647 sockaddr_in6, or ipv6_mreq.
15649 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15651 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
15652 memory access for final bytes in some large inputs.
15653 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
15655 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15657 * string/test-memrchr.c: New file.
15658 * string/test-memrchr-ifunc.c: New file.
15659 * string/Makefile: Add new memrchr testcase.
15661 2013-09-05 Mike Frysinger <vapier@gentoo.org>
15663 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
15664 fanotify_init returns EPERM.
15666 2013-09-04 Joseph Myers <joseph@codesourcery.com>
15668 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
15670 (top level): Treat second token from macro or constant entries for
15671 allowed headers as allowed.
15672 * include/complex.h: Condition internal declarations on
15674 * include/fenv.h: Condition include of <stdbool.h> and internal
15675 declarations on [!_ISOMAC].
15677 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
15680 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
15682 2013-09-04 Joseph Myers <joseph@codesourcery.com>
15684 * configure.in (--enable-versioning): Remove configure option.
15685 (libc_cv_asm_symver_directive): Remove configure test.
15686 (libc_cv_ld_version_script_option): Likewise.
15687 (VERSIONING): Remove variable and AC_SUBST.
15688 (DO_VERSIONING): Remove AC_DEFINE.
15689 * configure: Regenerated.
15690 * config.h.in (DO_VERSIONING): Remove macro.
15691 * Makerules [$(versioning) = yes]: Change conditionals to
15692 [$(build-shared) = yes].
15693 * config.make.in (versioning): Remove variable.
15694 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
15695 [$(build-shared) = yes].
15696 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
15697 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
15698 * elf/Makefile [$(versioning) = yes]: Change conditionals to
15699 [$(build-shared) = yes].
15700 * extra-lib.mk [$(versioning) = yes]: Likewise.
15701 * hurd/Makefile [$(versioning) = yes]: Likewise.
15702 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
15704 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
15706 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
15707 [SHARED && !NO_HIDDEN].
15708 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
15710 [SHARED && DO_VERSIONING]: Likewise..
15711 * libio/Makefile [$(versioning) = yes]: Change conditionals to
15712 [$(build-shared) = yes].
15713 * manual/install.texi (--disable-versioning): Remove
15715 * INSTALL: Regenerated.
15716 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
15718 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
15719 [$(build-shared) = yes].
15720 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
15721 * sysdeps/i386/i686/multiarch/strstr-c.c
15722 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
15723 [SHARED && !NO_HIDDEN].
15724 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
15725 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
15726 * sysdeps/powerpc/powerpc32/dl-machine.c
15727 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
15728 * sysdeps/powerpc/powerpc32/sysdep.h
15729 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
15730 to [SHARED && PIC && !NO_HIDDEN].
15731 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
15732 conditional to [SHARED].
15734 2013-09-04 Will Newton <will.newton@linaro.org>
15736 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
15737 * benchtests/bench-string.h: Include bench-timing.h instead
15738 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
15739 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
15740 call to HP_TIMING_DIFF_INIT.
15741 * benchtests/bench-memccpy.c: Use bench-timing.h macros
15742 instead of hp-timing.h macros.
15743 * benchtests/bench-memchr.c: Likewise.
15744 * benchtests/bench-memcmp.c: Likewise.
15745 * benchtests/bench-memcpy.c: Likewise.
15746 * benchtests/bench-memmem.c: Likewise.
15747 * benchtests/bench-memmove.c: Likewise.
15748 * benchtests/bench-memset.c: Likewise.
15749 * benchtests/bench-rawmemchr.c: Likewise.
15750 * benchtests/bench-strcasecmp.c: Likewise.
15751 * benchtests/bench-strcasestr.c: Likewise.
15752 * benchtests/bench-strcat.c: Likewise.
15753 * benchtests/bench-strchr.c: Likewise.
15754 * benchtests/bench-strcmp.c: Likewise.
15755 * benchtests/bench-strcpy.c: Likewise.
15756 * benchtests/bench-strcpy_chk.c: Likewise.
15757 * benchtests/bench-strlen.c: Likewise.
15758 * benchtests/bench-strncasecmp.c: Likewise.
15759 * benchtests/bench-strncat.c: Likewise.
15760 * benchtests/bench-strncmp.c: Likewise.
15761 * benchtests/bench-strncpy.c: Likewise.
15762 * benchtests/bench-strnlen.c: Likewise.
15763 * benchtests/bench-strpbrk.c: Likewise.
15764 * benchtests/bench-strrchr.c: Likewise.
15765 * benchtests/bench-strspn.c: Likewise.
15766 * benchtests/bench-strstr.c: Likewise.
15768 2013-09-04 Will Newton <will.newton@linaro.org>
15770 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
15772 2013-09-03 Joseph Myers <joseph@codesourcery.com>
15775 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
15776 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
15777 * math/libm-test.inc (lgamma_test_data): Add more tests.
15778 * sysdeps/i386/fpu/libm-test-ulps: Update.
15779 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15781 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
15783 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
15784 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15786 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15787 Add strcmp-sse2-unaligned
15788 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
15790 2013-09-02 Mike Frysinger <vapier@gentoo.org>
15792 * Versions.def (libc): Add GLIBC_2.19.
15794 2013-09-02 Mike Frysinger <vapier@gentoo.org>
15796 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
15797 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
15799 2013-09-02 Joseph Myers <joseph@codesourcery.com>
15802 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
15803 intermediate calculations in recurrence.
15804 (__ieee754_ynf): Likewise.
15805 * math/libm-test.inc (jn_test_data): Do not allow spurious
15806 underflow exception. Add more tests.
15807 (yn_test_data): Add more tests.
15808 * sysdeps/i386/fpu/libm-test-ulps: Update.
15809 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15811 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
15813 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
15815 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
15817 * csu/init-first.c: Fix then/than typos.
15818 * locale/programs/ld-collate.c: Likewise.
15819 * locale/programs/linereader.h: Likewise.
15820 * manual/charset.texi: Likewise.
15821 * manual/filesys.texi: Likewise.
15822 * manual/stdio.texi: Likewise.
15823 * manual/string.texi: Likewise.
15824 * stdlib/fmtmsg.c: Likewise.
15825 * sysdeps/i386/stpncpy.S: Likewise.
15826 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15827 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
15828 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15829 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15831 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
15833 * elf/dl-open.c: Fix typos.
15834 * iconvdata/gbbig5.c: Likewise.
15835 * iconvdata/iso-2022-jp.c: Likewise.
15836 * iconv/gconv_int.h: Likewise.
15837 * iconv/loop.c: Likewise.
15838 * nis/rpcsvc/nis.h: Likewise.
15839 * resolv/ns_name.c: Likewise.
15840 * stdio-common/vfscanf.c: Likewise.
15841 * streams/stropts.h: Likewise.
15842 * sunrpc/rpc_thread.c: Likewise.
15843 * sysdeps/i386/strpbrk.S: Likewise.
15844 * sysdeps/ieee754/k_standard.c: Likewise.
15845 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15846 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15847 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
15848 * sysdeps/mach/hurd/profil.c: Likewise.
15849 * sysdeps/s390/dl-procinfo.h: Likewise.
15850 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
15851 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
15852 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
15853 * sysdeps/x86_64/dl-trampoline.S: Likewise.
15854 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
15856 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
15858 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
15859 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
15861 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
15863 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
15864 aix specific files.
15865 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
15866 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
15867 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
15868 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
15869 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
15870 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
15871 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
15872 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
15874 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
15875 Roland McGrath <roland@hack.frob.com>
15877 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
15878 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
15880 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
15882 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
15883 __executable_start symbol instead of _start.
15885 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
15887 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
15888 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
15890 * sysdeps/gnu/ldsodefs.h: ... this new file.
15892 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
15893 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
15894 instead of ELFOSABI_LINUX.
15896 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
15897 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
15898 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
15899 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
15901 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
15902 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
15903 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
15905 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
15906 (ibm_extended_long_double): Add ieee_nan member.
15907 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
15908 (do_test): New function.
15910 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
15912 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
15913 functions, renamed from truncdfsf_test, trunctfsf_test,
15915 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
15917 (do_test): Run all these.
15919 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
15921 * argp/argp-help.c: Fix typos.
15922 * argp/argp-parse.c: Likewise.
15923 * debug/backtracesyms.c: Likewise.
15924 * elf/elf.h: Likewise.
15925 * malloc/malloc.c: Likewise.
15926 * nis/nis_print.c: Likewise.
15927 * resolv/res_comp.c: Likewise.
15928 * stdlib/stdlib.h: Likewise.
15929 * sunrpc/clnt_tcp.c: Likewise.
15930 * sunrpc/clnt_udp.c: Likewise.
15931 * sunrpc/clnt_unix.c: Likewise.
15932 * sysdeps/unix/bsd/ptsname.c: Likewise.
15933 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
15934 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
15935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
15937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
15939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
15941 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
15943 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15945 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
15946 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15948 2013-08-27 Mike Frysinger <vapier@gentoo.org>
15951 * dlfcn/Makefile (tests): Add bug-dl-leaf.
15952 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
15953 ($(objpfx)bug-dl-leaf): New rule.
15954 ($(objpfx)bug-dl-leaf.so): Likewise.
15955 ($(objpfx)bug-dl-leaf.out): Likewise.
15956 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
15957 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
15958 * dlfcn/bug-dl-leaf.c: New test.
15959 * dlfcn/bug-dl-leaf-lib.c: Likewise.
15960 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
15961 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
15962 (dlclose): Likewise.
15963 (dlmopen): Likewise.
15965 2013-08-27 Roland McGrath <roland@hack.frob.com>
15967 * include/netdb.h [!_ISOMAC]:
15968 Don't include <tls.h>.
15969 (h_errno, __libc_h_errno): Move declaration and macros out of
15972 * include/resolv.h [_RESOLV_H_]:
15973 Don't include <tls.h>.
15974 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
15975 * resolv/res_libc.c: Don't include <tls.h>.
15976 (_res): Use __attribute__ ((nocommon)) in place of
15977 __attribute__ ((section (".bss"))).
15979 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
15980 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
15982 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
15984 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
15985 only under [SIOCGIFCONF && SIOCGIFNETMASK].
15987 * resolv/res_mkquery.c: Include <sys/time.h>.
15989 * inet/ifreq.c: Moved to ...
15990 * sysdeps/unix/ifreq.c: ... here.
15991 * inet/ifreq.c: New file, true stub version.
15993 * socket/sa_len.c: New file.
15994 * socket/Makefile (aux): Add it.
15995 * sysdeps/unix/sysv/linux/Makefile
15996 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
15997 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
15998 and #include <socket/sa_len.c>.
15999 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
16000 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
16002 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
16003 * bits/socket.h: ... here.
16005 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
16006 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
16007 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
16009 2013-08-27 Andreas Schwab <schwab@suse.de>
16012 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
16013 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
16014 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
16015 * string/test-strcasecmp.c (test_main): Run tests in several
16017 * string/test-strncasecmp.c (test_main): Likewise.
16019 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
16020 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
16021 to __strcasecmp_nonascii and __strncasecmp_nonascii.
16022 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
16023 (__strncasecmp_ssse3) [PIC]: Likewise.
16025 2013-08-26 Roland McGrath <roland@hack.frob.com>
16027 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
16029 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
16030 instead of explicitly declaring xdecrypt.
16031 * nis/nss_nis/nis-publickey.c: Likewise.
16033 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16036 * nscd/aicache.c: Include res_hconf.h.
16037 (addhstaiX): Initialize res_hconf.
16039 2013-08-26 Andreas Schwab <schwab@suse.de>
16041 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
16042 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
16044 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16046 * nscd/aicache.c (addhstaiX): Fix indentation.
16048 2013-08-25 Mike Frysinger <vapier@gentoo.org>
16050 * configure.ac: Quote $build_pt_chown test.
16051 * configure: Regenerated.
16053 2013-08-23 Joseph Myers <joseph@codesourcery.com>
16056 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
16057 * math/s_cexpf.c (__cexpf): Likewise.
16058 * math/s_cexpl.c (__cexpl): Likewise.
16059 * math/libm-test.inc (cexp_test_data): Correct expected return
16060 value for NaN + i0. Add another test.
16062 2013-08-22 David S. Miller <davem@davemloft.net>
16064 * po/ca.po: Update Catalan translation from translation project.
16065 * po/uk.po: Add Ukrainian translations from translation project.
16067 2013-08-21 Joseph Myers <joseph@codesourcery.com>
16070 * math/s_fdim.c (__fdim): Check for infinite arguments if result
16071 is infinite, not alongside NaN test.
16072 * math/s_fdimf.c (__fdimf): Likewise.
16073 * math/s_fdiml.c (__fdiml): Likewise.
16074 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
16075 errno is unchanged.
16077 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
16079 * argp/argp-help.c: Fix typos.
16080 * crypt/speeds.c: Likewise.
16081 * csu/check_fds.c: Likewise.
16082 * elf/dl-load.c: Likewise.
16083 * elf/dl-open.c: Likewise.
16084 * elf/reldep3.c: Likewise.
16085 * elf/reldep.c: Likewise.
16086 * elf/sprof.c: Likewise.
16087 * iconv/iconv_charmap.c: Likewise.
16088 * iconv/skeleton.c: Likewise.
16089 * iconv/strtab.c: Likewise.
16090 * io/lockf64.c: Likewise.
16091 * libio/libioP.h: Likewise.
16092 * resolv/gai_notify.c: Likewise.
16093 * resolv/ns_name.c: Likewise.
16094 * resolv/ns_samedomain.c: Likewise.
16095 * resolv/res_send.c: Likewise.
16096 * stdlib/random.c: Likewise.
16097 * sunrpc/rpc/xdr.h: Likewise.
16098 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
16099 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
16100 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
16101 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
16102 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
16103 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
16104 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
16105 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
16106 * sysdeps/mach/hurd/check_fds.c: Likewise.
16107 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
16108 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16109 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16110 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
16111 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16112 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
16113 * sysdeps/pthread/aio_notify.c: Likewise.
16114 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
16115 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
16116 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
16117 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
16118 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
16120 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16122 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
16123 version if bit_Slow_SSE4_2 is set.
16124 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16125 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16127 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16130 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
16131 trampoline stack frame information.
16132 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
16133 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
16134 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
16135 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
16136 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
16137 * sysdeps/unix/sysv/linux/powerpc/init-first.c
16138 (_libc_vdso_platform_setup): Initialize the signal trampolines.
16139 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
16141 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
16142 interrupting a syscall and set with option SA_SIGINFO.
16144 2013-08-20 Joseph Myers <joseph@codesourcery.com>
16147 * math/s_cproj.c (__cproj): Only return an infinity if one part of
16148 argument is infinite.
16149 * math/s_cprojf.c (__cprojf): Likewise.
16150 * math/s_cprojl.c (__cprojl): Likewise.
16151 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
16152 * math/libm-test.inc (cproj_test_data): Add more tests.
16154 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
16156 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
16157 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
16158 size. Use __ffs to determine corresponding shift.
16160 2013-08-20 Joseph Myers <joseph@codesourcery.com>
16161 Roland McGrath <roland@hack.frob.com>
16163 * Makefile (INSTALL): Remove trailing blank lines from output of
16166 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16168 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
16169 Align 32 bit compat elf_greg to 8 bytes.
16171 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
16173 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
16175 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16177 * string/strcoll_l.c (coll_seq): New structure.
16178 (get_next_seq_cached): New function.
16179 (get_next_seq): New function.
16180 (do_compare): New function.
16181 (STRCOLL): Use GNU style definition. Simplify implementation
16182 by using get_next_seq, get_next_seq_cached and do_compare.
16184 2013-08-16 Florian Weimer <fweimer@redhat.com>
16188 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
16190 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
16192 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
16193 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
16194 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
16196 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
16197 GETDENTS_64BIT_ALIGNED.
16198 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16199 * manual/filesys.texi (Reading/Closing Directory): Document
16200 ENAMETOOLONG return value of readdir_r. Recommend readdir more
16202 * manual/conf.texi (Limits for Files): Add portability note to
16203 NAME_MAX, PATH_MAX.
16204 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
16206 2013-08-13 Andreas Schwab <schwab@suse.de>
16209 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
16211 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
16212 LDBL_MAX_EXP >= 16384]: Add tests for it.
16214 2013-08-12 David S. Miller <davem@davemloft.net>
16216 * version.h (RELEASE): Set to "development".
16217 (VERSION): Set to "2.18.90".
16218 * NEWS: Add 2.19 section.
16220 2013-08-03 David S. Miller <davem@davemloft.net>
16222 * po/ko.po: Update Korean translation from translation project.
16224 2013-08-01 David S. Miller <davem@davemloft.net>
16226 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
16227 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
16230 2013-07-30 David S. Miller <davem@davemloft.net>
16232 * po/fr.po: Update French translation from translation project.
16234 2013-07-28 David S. Miller <davem@davemloft.net>
16236 * po/cs.po: Update Czech translation from translation project.
16238 * po/sv.po: Update Swedish translation from translation project.
16240 2013-07-27 David S. Miller <davem@davemloft.net>
16242 * po/eo.po: Update Esperanto translation from translation project.
16244 * po/vi.po: Update Vietnamese translation from translation project.
16246 * po/de.po: Update German translation from translation project.
16248 2013-07-26 David S. Miller <davem@davemloft.net>
16250 * po/bg.po: Update Bulgarian translation from translation project.
16252 * po/nl.po: Update Dutch translation from translation project.
16253 * po/pl.po: Update Polish translation from translation project.
16254 * po/ru.po: Update Russian translation from translation project.
16256 2013-07-24 David S. Miller <davem@davemloft.net>
16258 * po/libc.pot: Update.
16260 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16262 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
16263 variable page size.
16264 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
16265 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
16266 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
16268 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16270 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
16272 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16273 Andreas Schwab <schwab@suse.de>
16274 Roland McGrath <roland@hack.frob.com>
16275 Joseph Myers <joseph@codesourcery.com>
16276 Carlos O'Donell <carlos@redhat.com>
16279 * config.h.in: Define HAVE_PT_CHOWN.
16280 * config.make.in (build-pt-chown): New variable.
16281 * configure.in (--enable-pt_chown): New configure option.
16282 * configure: Regenerate.
16283 * login/Makefile: Include Makeconfig. Build pt_chown only if
16284 build-pt-chown is enabled.
16285 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
16286 pt_chown to fix pty ownership.
16287 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
16289 * manual/install.texi (Configuring and compiling): Mention
16290 --enable-pt_chown. Add @findex for grantpt.
16291 * INSTALL: Regenerate.
16293 2013-07-20 David S. Miller <davem@davemloft.net>
16295 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
16296 difference between 32-bit and 64-bit.
16298 2013-07-15 Carlos O'Donell <carlos@redhat.com>
16301 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
16302 Avoid system header dependency with -ffreestanding.
16303 ($(objpfx)bits/syscall%d): Likewise.
16305 2013-07-13 David S. Miller <davem@davemloft.net>
16307 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
16308 underflows from atanl/atan2l due to bug 15319.
16309 (casinh_test_data): Likewise.
16311 2013-07-07 David S. Miller <davem@davemloft.net>
16313 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
16315 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
16317 * sysdeps/i386/fpu/libm-test-ulps: Update.
16318 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16320 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16322 * configure.in (--enable-lock-elision): Fix message text.
16323 * INSTALL: Regenerate.
16324 * configure: Regenerate.
16326 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16328 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16330 2013-07-03 Andreas Jaeger <aj@suse.de>
16332 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
16334 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
16335 (ptrace_peeksiginfo_args): Add.
16336 (__ptrace_peeksiginfo_flags): Add.
16337 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16338 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16339 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16341 2013-07-03 Allan McRae <allan@archlinux.org>
16343 * sysdeps/i386/fpu/libm-test-ulps: Update.
16345 2013-07-02 David S. Miller <davem@davemloft.net>
16347 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16349 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
16351 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16353 2013-07-02 Joseph Myers <joseph@codesourcery.com>
16355 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
16356 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16358 2013-07-02 Andi Kleen <ak@linux.intel.com>
16360 * config.h.in (ENABLE_LOCK_ELISION): Add.
16361 * configure.in (--enable-lock-elision): Add option.
16362 * manual/install.texi: Document --enable lock elision.
16363 * configure: Regenerate
16364 * INSTALL: Regenerate.
16366 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
16368 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
16369 SSE4.2 strcasecmp for libc.a.
16370 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
16372 2013-07-02 Joseph Myers <joseph@codesourcery.com>
16375 * soft-fp/op-common.h (_FP_FMA): New macro.
16376 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
16377 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
16378 (_FP_MUL_MEAT_1_imm): ... here.
16379 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
16380 (_FP_MUL_MEAT_1_wide): ... here.
16381 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
16382 (_FP_MUL_MEAT_1_hard): ... here.
16383 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
16384 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
16385 (_FP_MUL_MEAT_2_wide): ... here.
16386 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
16387 (_FP_MUL_MEAT_2_wide_3mul): ... here.
16388 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
16389 (_FP_MUL_MEAT_2_gmp): ... here.
16390 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
16391 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
16392 (_FP_MUL_MEAT_4_wide): ... here.
16393 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
16394 (_FP_MUL_MEAT_4_gmp): ... here.
16395 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
16396 (_FP_WFRACBITS_DW_S): Likewise.
16397 (_FP_WFRACXBITS_DW_S): Likewise.
16398 (_FP_HIGHBIT_DW_S): Likewise.
16399 (FP_FMA_S): Likewise.
16400 (_FP_FRAC_HIGH_DW_S): Likewise.
16401 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
16402 (_FP_WFRACBITS_DW_D): Likewise.
16403 (_FP_WFRACXBITS_DW_D): Likewise.
16404 (_FP_HIGHBIT_DW_D): Likewise.
16405 (FP_FMA_D): Likewise.
16406 (_FP_FRAC_HIGH_DW_D): Likewise.
16407 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
16408 (_FP_WFRACBITS_DW_E): Likewise.
16409 (_FP_WFRACXBITS_DW_E): Likewise.
16410 (_FP_HIGHBIT_DW_E): Likewise.
16411 (FP_FMA_E): Likewise.
16412 (_FP_FRAC_HIGH_DW_E): Likewise.
16413 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
16414 (_FP_WFRACBITS_DW_Q): Likewise.
16415 (_FP_WFRACXBITS_DW_Q): Likewise.
16416 (_FP_HIGHBIT_DW_Q): Likewise.
16417 (FP_FMA_Q): Likewise.
16418 (_FP_FRAC_HIGH_DW_Q): Likewise.
16419 * soft-fp/fmasf4.c: New file.
16420 * soft-fp/fmadf4.c: Likewise.
16421 * soft-fp/fmatf4.c: Likewise.
16423 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16425 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
16426 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
16428 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
16430 (index_Slow_SSE4_2): Likewise.
16431 (index_Prefer_PMINUB_for_stringop): Likewise.
16432 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
16433 bit_Slow_SSE4_2 is set.
16434 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16435 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16437 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16439 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
16440 rtld_global._dl_hwcap2.
16441 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
16443 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
16444 POWER8 feature descriptions defined in _dl_hwcap2.
16445 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
16446 string handling for POWER8 feature bits.
16447 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
16448 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
16449 _dl_powerpc_cap_flags.
16450 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
16451 * sysdeps/powerpc/rtld-global-offsets.sym
16452 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
16453 _dl_hwcap2 in the rtld_global_ro structure.
16455 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16457 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
16458 hardware capabilities in support of AT_HWCAP2.
16459 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
16460 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
16462 (_dl_show_auxv): Add support for calling _dl_procinfo to display
16463 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
16464 explicitly the unknown a_type display mechanism is used.
16465 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
16466 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
16468 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
16469 to macro prototype for AT_HWCAP2 support.
16470 * sysdeps/i386/dl-procinfo.h: Likewise.
16471 * sysdeps/s390/dl-procinfo.h: Likewise.
16472 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
16473 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
16474 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
16475 return -1 for unknown a_type display fallback.
16476 * sysdeps/sparc/dl-procinfo.h: Likewise.
16477 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
16478 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
16480 2013-06-28 Joseph Myers <joseph@codesourcery.com>
16482 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
16483 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
16485 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
16488 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
16489 mprotect making __stack_prot writable.
16491 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
16492 Joseph Myers <joseph@codesourcery.com>
16494 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
16495 as being properly aligned.
16497 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
16499 * dlfcn/modstatic5.c: New file.
16500 * dlfcn/tststatic5.c: New file.
16501 * dlfcn/Makefile (tests): Add tststatic5.
16502 (tests-static): Likewise.
16503 (modules-names): Add modstatic5.
16504 (tststatic5-ENV): New variable.
16505 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
16508 * elf/dl-support.c (_dl_main_map): New variable.
16509 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
16510 (_dl_nns, _dl_load_adds): Set to 1.
16511 (_dl_initial_searchlist): Refer to _dl_main_map.
16512 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
16513 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
16514 call to _dl_get_origin.
16515 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
16517 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
16518 * dlfcn/modstatic3.c: New file.
16519 * dlfcn/tststatic3.c: New file.
16520 * dlfcn/tststatic4.c: New file.
16521 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
16522 (tests-static): Likewise.
16523 (modules-names): Add modstatic3.
16524 (tststatic3-ENV, tststatic4-ENV): New variables.
16525 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
16526 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
16528 2013-06-26 Joseph Myers <joseph@codesourcery.com>
16530 * configure.in (CC): Require GCC version 4.4 or later.
16531 * configure: Regenerated.
16532 * manual/install.texi (Tools for Compilation): Update GCC version
16534 * INSTALL: Regenerated.
16536 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16539 * string/test-memcmp.c (check2): New.
16540 (main): Call check2.
16542 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
16544 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
16547 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
16549 (dl_open_worker) [!SHARED]: ... here.
16551 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16553 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
16555 2013-06-25 Richard Henderson <rth@redhat.com>
16557 * locale/programs/locarchive.c: Include <libc-internal.h>
16559 2013-06-25 Joseph Myers <joseph@codesourcery.com>
16561 * manual/texinfo.tex: Update to version 2013-06-21.17, with
16562 trailing whitespace removed.
16564 2013-06-24 Mike Frysinger <vapier@gentoo.org>
16567 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
16568 * locale/programs/locarchive.c: Include libc-mmap.h.
16569 (prepare_address_space): Take two new outputs (the mmap base and len).
16570 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
16572 (create_archive): Declare new mmap base and len values for
16573 prepare_address_space, and store the result in ah.
16574 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
16575 (enlarge_archive): If ah->mmap_base is not NULL, use that and
16576 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16577 Declare new mmap base and len values for
16578 prepare_address_space, and store the result in new_ah.
16579 (open_archive): Declare new mmap base and len values for
16580 prepare_address_space, and store the result in ah.
16581 (close_archive): If ah->mmap_base is not NULL, use that and
16582 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16583 * sysdeps/generic/libc-mmap.h: New file.
16585 2013-06-24 Mike Frysinger <vapier@gentoo.org>
16587 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
16588 (ALIGN_UP): Likewise.
16589 (PTR_ALIGN_DOWN): Likewise.
16590 (PTR_ALIGN_UP): Likewise.
16592 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16594 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
16595 entry mapped to PPC_PLATFORM_POWER8.
16596 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
16598 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
16599 (_dl_string_platform): Add case for exporting platform position for
16601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
16602 search path to sysdeps/powerpc/powerpc32/power8 directory.
16603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
16604 search path to sysdeps/powerpc/powerpc64/power8 directory.
16605 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
16606 power7 directories.
16607 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
16608 power7 directories.
16610 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
16612 * INSTALL: Regenerate.
16614 * nscd/connections.c (nscd_init): Fix comment.
16616 2013-06-22 Joseph Myers <joseph@codesourcery.com>
16618 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
16621 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
16622 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
16624 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
16626 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
16628 (DL_DST_REQ_STATIC): Remove macro.
16630 2013-06-21 Joseph Myers <joseph@codesourcery.com>
16633 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
16634 with a shift of 0 bits.
16636 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
16638 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
16641 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16644 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
16646 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16648 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
16649 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
16650 accepts -fno-tree-loop-distribute-patterns.
16651 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
16652 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
16654 * string/memset.c (memset): Likewise.
16655 * string/test-memmove.c (simple_memmove): Disable loop transformation
16657 * string/test-memset.c (simple_memset): Likewise.
16658 * benchtests/bench-memmove.c (simple_memmove): Likewise.
16659 * benchtests/bench-memset.c (simple_memset): Likewise.
16660 * configure: Regenerated.
16662 2013-06-20 Joseph Myers <joseph@codesourcery.com>
16664 * math/test-misc.c (main): Ignore fesetround failure when failures
16665 of subsequent rounding tests would be ignored.
16668 * math/fedisblxcpt.c (fedisableexcept): Return 0.
16669 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
16670 * math/fegetenv.c (__fegetenv): Return 0.
16671 * math/fegetexcept.c (fegetexcept): Return 0.
16672 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
16674 * math/feholdexcpt.c (feholdexcept): Return 0.
16675 * math/fesetenv.c (__fesetenv): Return 0.
16676 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
16677 argument FE_TONEAREST.
16678 * math/feupdateenv.c (__feupdateenv): Return 0.
16679 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
16681 2013-06-18 Roland McGrath <roland@hack.frob.com>
16683 * elf/rtld-Rules (rtld-compile-command.S): New variable.
16684 (rtld-compile-command.s, rtld-compile-command.c): New variables.
16685 ($(objpfx)rtld-%.os rules): Use them.
16687 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16689 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
16692 2013-06-17 Roland McGrath <roland@hack.frob.com>
16694 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
16695 length of target pattern, then descending length of dependency pattern.
16696 * configure.in (AWK): Require gawk 3.1.2 or newer.
16697 * manual/install.texi (Tools for Compilation): Say that we do.
16698 * configure: Regenerated.
16700 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
16701 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
16702 * scripts/sysd-rules.awk: ... this new script.
16703 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
16704 than a glob-style pattern.
16706 2013-06-17 Joseph Myers <joseph@codesourcery.com>
16708 * math/test-misc.c (main): Do not treat incorrectly rounded
16709 conversions as failure unless ROUNDING_TESTS passes.
16711 2013-06-15 Joseph Myers <joseph@codesourcery.com>
16714 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
16715 restore exception state around main square root computation, then
16716 check for inexactness explicitly.
16718 * math/libm-test.inc (fma_test_data): Add another test.
16720 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16722 * manual/threads.texi (Non-POSIX Extensions): New document
16723 node. Document pthread_getattr_default_np and
16724 pthread_setattr_default_np.
16726 * Versions.def (libpthread): Add GLIBC_2.18.
16727 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
16728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16732 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16734 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16736 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
16738 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16740 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16742 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
16744 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
16747 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16749 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16750 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
16752 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16753 H.J. Lu <hjl.tools@gmail.com>
16756 * sysdeps/x86_64/rtld-memset.c: Remove file.
16757 * sysdeps/x86_64/rtld-memset.S: New file.
16759 2013-06-14 Joseph Myers <joseph@codesourcery.com>
16761 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
16762 (test_in_one_mode): Take arguments for whether the rounding mode
16763 is supported for each floating-point type.
16764 (do_test): Pass new arguments to test_in_one_mode using
16767 2013-06-13 Roland McGrath <roland@hack.frob.com>
16769 * posix/tst-waitid.c (do_test): Distinguish different instances of
16770 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
16771 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
16772 before entering the kernel for waitpid.
16774 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16776 * NEWS: Fix note on clock function precision. Text by Roland
16779 2013-06-13 Roland McGrath <roland@hack.frob.com>
16781 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
16782 it into place only when and if the sanity check passes.
16784 2013-06-13 Joseph Myers <joseph@codesourcery.com>
16786 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
16787 output for whether conversion result is exact. Take argument
16788 indicating whether type is IBM long double.
16789 (round_for_all): Change need_exact field to ibm_ld.
16790 * stdlib/tst-strtod-round.c (struct exactness): New type.
16791 (struct test): Change bool ld_ok field to struct exactness exact.
16792 (TEST): Update all definitions for change to field.
16793 (tests): Regenerate array contents.
16794 (test_in_one_mode): Take pointer to new field instead of old ld_ok
16795 field value. Check for IBM long double here.
16796 (do_test): Update calls to test_in_one_mode.
16798 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16801 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
16802 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
16804 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16807 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
16808 generated by the compiler on loop optimizations.
16809 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
16810 general definitions.
16812 2013-06-12 Joseph Myers <joseph@codesourcery.com>
16814 * math/bug-nextafter.c: Include <math-tests.h>.
16815 (main): Only test for exceptions if EXCEPTION_TESTS is true for
16817 * math/bug-nexttoward.c: Include <math-tests.h>.
16818 (main): Only test for exceptions if EXCEPTION_TESTS is true for
16820 * math/test-misc.c: Include <math-tests.h>.
16821 (main): Only test for exceptions if EXCEPTION_TESTS is true for
16824 2013-06-12 Andreas Jaeger <aj@suse.de>
16826 * po/ia.po: Update Interlingua translation from translation
16829 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16831 * include/fenv.h: Include stdbool.h.
16832 (struct rm_ctx): New structure.
16833 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
16835 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
16836 (SET_RESTORE_ROUNDF): Likewise.
16837 (SET_RESTORE_ROUNDL): Likewise.
16838 (SET_RESTORE_ROUND_NOEX): Likewise.
16839 (SET_RESTORE_ROUND_NOEXF): Likewise.
16840 (SET_RESTORE_ROUND_NOEXL): Likewise.
16841 (SET_RESTORE_ROUND_53BIT): Likewise.
16842 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
16843 (libc_feresetround_noexf_ctx): Likewise.
16844 (libc_feresetround_noexl_ctx): Likewise.
16845 (libc_feholdsetround_53bit_ctx): Likewise.
16846 (libc_feresetround_53bit_ctx): Likewise.
16847 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
16848 (libc_feholdexcept_setround_sse_ctx): New function.
16849 (libc_fesetenv_sse_ctx): Likewise.
16850 (libc_feupdateenv_sse_ctx): Likewise.
16851 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
16852 (libc_feholdexcept_setround_387_ctx): Likewise.
16853 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
16854 (libc_feholdsetround_387_prec_ctx): Likewise.
16855 (libc_feholdsetround_387_ctx): Likewise.
16856 (libc_feholdsetround_387_53bit_ctx): Likewise.
16857 (libc_feholdsetround_sse_ctx): Likewise.
16858 (libc_feresetround_sse_ctx): Likewise.
16859 (libc_feresetround_387_ctx): Likewise.
16860 (libc_feupdateenv_387_ctx): Likewise.
16861 (libc_feholdexcept_setroundf_ctx): Define macro.
16862 (libc_fesetenvf_ctx): Likewise.
16863 (libc_feupdateenvf_ctx): Likewise.
16864 (libc_feholdsetroundf_ctx): Likewise.
16865 (libc_feresetroundf_ctx): Likewise.
16866 (libc_feholdexcept_setround_ctx): Likewise.
16867 (libc_fesetenv_ctx): Likewise.
16868 (libc_feupdateenv_ctx): Likewise.
16869 (libc_feholdsetround_ctx): Likewise.
16870 (libc_feresetround_ctx): Likewise.
16871 (libc_feholdexcept_setroundl_ctx): Likewise.
16872 (libc_feupdateenvl_ctx): Likewise.
16873 (libc_feholdsetroundl_ctx): Likewise.
16874 (libc_feresetroundl_ctx): Likewise.
16875 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
16876 (libc_feresetround_53bit_ctx): Likewise.
16878 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16880 * locale/iso-639.def: Convert to UTF-8.
16882 2013-06-11 Joseph Myers <joseph@codesourcery.com>
16884 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
16885 (EXCEPTION_TESTS_double): Likewise.
16886 (EXCEPTION_TESTS_long_double): Likewise.
16887 (EXCEPTION_TESTS): Likewise.
16888 * math/libm-test.inc (test_exceptions): Only test exceptions if
16889 EXCEPTION_TESTS (FLOAT).
16891 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16893 * benchtests/Makefile (string-bench): Add strcpy_chk and
16895 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
16896 * benchtests/bench-stpcpy_chk.c: New file.
16897 * benchtests/bench-strcpy_chk-ifunc.c: New file.
16898 * benchtests/bench-strcpy_chk.c: New file.
16899 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
16901 (do_test): Likewise.
16903 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16905 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
16906 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
16907 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
16908 with tabs where appropriate.
16909 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
16911 [PPC_PLATFORM_PPC440]: Likewise.
16912 [PPC_PLATFORM_PPC464]: Likewise.
16913 [PPC_PLATFORM_PPC476]: Likewise.
16914 (_dl_string_platform): Add support for detecting ppc405, ppc440,
16915 ppc464, and ppc476 platform strings merging from ports/
16918 2013-06-11 Andreas Schwab <schwab@suse.de>
16921 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
16922 (from_ucs4_idx): Regenerate.
16923 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
16924 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
16925 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
16926 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
16927 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
16928 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
16929 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
16930 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
16931 from FROM_LOOP and TO_LOOP specific macros.
16932 (BODY): Handle combining characters.
16933 * iconvdata/BIG5HKSCS.irreversible: Update.
16934 * iconvdata/BIG5HKSCS.precomposed: New file.
16935 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
16937 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
16939 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16941 * include/sys/time.h: Fix indentation and add copyright header.
16943 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
16944 (do_test): Likewise.
16945 * string/test-memchr.c (do_one_test): Likewise.
16946 (do_test): Likewise.
16947 * string/test-memcmp.c (do_one_test): Likewise.
16948 (do_test): Likewise.
16949 * string/test-memcpy.c (do_one_test): Likewise.
16950 (do_test): Likewise.
16951 * string/test-memmem.c (do_one_test): Likewise.
16952 (do_test): Likewise.
16953 (do_random_tests): Likewise.
16954 * string/test-memmove.c (do_one_test): Likewise.
16955 (do_test): Likewise.
16956 * string/test-memset.c (do_one_test): Likewise.
16957 (do_test): Likewise.
16958 * string/test-rawmemchr.c (do_one_test): Likewise.
16959 (do_test): Likewise.
16960 * string/test-strcasecmp.c (do_one_test): Likewise.
16961 (do_test): Likewise.
16962 * string/test-strcasestr.c (do_one_test): Likewise.
16963 (do_test): Likewise.
16964 * string/test-strcat.c (do_one_test): Likewise.
16965 (do_test): Likewise.
16966 * string/test-strchr.c (do_one_test): Likewise.
16967 (do_test): Likewise.
16968 * string/test-strcmp.c (do_one_test): Likewise.
16969 (do_test): Likewise.
16970 * string/test-strcpy.c (do_one_test): Likewise.
16971 (do_test): Likewise.
16972 * string/test-string.h: Likewise.
16973 (test_init): Likewise.
16974 * string/test-strlen.c (do_one_test): Likewise.
16975 (do_test): Likewise.
16976 * string/test-strncasecmp.c (do_one_test): Likewise.
16977 (do_test): Likewise.
16978 * string/test-strncat.c (do_one_test): Likewise.
16979 (do_test): Likewise.
16980 * string/test-strncmp.c (do_one_test): Likewise.
16981 (do_test_limit): Likewise.
16982 (do_test): Likewise.
16983 * string/test-strncpy.c (do_one_test): Likewise.
16984 (do_test): Likewise.
16985 * string/test-strnlen.c (do_one_test): Likewise.
16986 (do_test): Likewise.
16987 * string/test-strpbrk.c (do_one_test): Likewise.
16988 (do_test): Likewise.
16989 * string/test-strrchr.c (do_one_test): Likewise.
16990 (do_test): Likewise.
16991 * string/test-strspn.c (do_one_test): Likewise.
16992 (do_test): Likewise.
16993 * string/test-strstr.c (do_one_test): Likewise.
16994 (do_test): Likewise.
16996 * benchtests/Makefile (string-bench): Add string benchmarks.
16997 * benchtests/bench-bcopy-ifunc.c: New file.
16998 * benchtests/bench-bcopy.c: New file.
16999 * benchtests/bench-bzero-ifunc.c: New file.
17000 * benchtests/bench-bzero.c: New file.
17001 * benchtests/bench-memccpy-ifunc.c: New file.
17002 * benchtests/bench-memccpy.c: New file.
17003 * benchtests/bench-memchr-ifunc.c: New file.
17004 * benchtests/bench-memchr.c: New file.
17005 * benchtests/bench-memcmp-ifunc.c: New file.
17006 * benchtests/bench-memcmp.c: New file.
17007 * benchtests/bench-memmem-ifunc.c: New file.
17008 * benchtests/bench-memmem.c: New file.
17009 * benchtests/bench-memmove-ifunc.c: New file.
17010 * benchtests/bench-memmove.c: New file.
17011 * benchtests/bench-mempcpy-ifunc.c: New file.
17012 * benchtests/bench-mempcpy.c: New file.
17013 * benchtests/bench-memset-ifunc.c: New file.
17014 * benchtests/bench-memset.c: New file.
17015 * benchtests/bench-rawmemchr-ifunc.c: New file.
17016 * benchtests/bench-rawmemchr.c: New file.
17017 * benchtests/bench-stpcpy-ifunc.c: New file.
17018 * benchtests/bench-stpcpy.c: New file.
17019 * benchtests/bench-stpncpy-ifunc.c: New file.
17020 * benchtests/bench-stpncpy.c: New file.
17021 * benchtests/bench-strcasecmp-ifunc.c: New file.
17022 * benchtests/bench-strcasecmp.c: New file.
17023 * benchtests/bench-strcasestr-ifunc.c: New file.
17024 * benchtests/bench-strcasestr.c: New file.
17025 * benchtests/bench-strcat-ifunc.c: New file.
17026 * benchtests/bench-strcat.c: New file.
17027 * benchtests/bench-strchr-ifunc.c: New file.
17028 * benchtests/bench-strchr.c: New file.
17029 * benchtests/bench-strchrnul-ifunc.c: New file.
17030 * benchtests/bench-strchrnul.c: New file.
17031 * benchtests/bench-strcmp-ifunc.c: New file.
17032 * benchtests/bench-strcmp.c: New file.
17033 * benchtests/bench-strcpy-ifunc.c: New file.
17034 * benchtests/bench-strcpy.c: New file.
17035 * benchtests/bench-strcspn-ifunc.c: New file.
17036 * benchtests/bench-strcspn.c: New file.
17037 * benchtests/bench-strlen-ifunc.c: New file.
17038 * benchtests/bench-strlen.c: New file.
17039 * benchtests/bench-strncasecmp-ifunc.c: New file.
17040 * benchtests/bench-strncasecmp.c: New file.
17041 * benchtests/bench-strncat-ifunc.c: New file.
17042 * benchtests/bench-strncat.c: New file.
17043 * benchtests/bench-strncmp-ifunc.c: New file.
17044 * benchtests/bench-strncmp.c: New file.
17045 * benchtests/bench-strncpy-ifunc.c: New file.
17046 * benchtests/bench-strncpy.c: New file.
17047 * benchtests/bench-strnlen-ifunc.c: New file.
17048 * benchtests/bench-strnlen.c: New file.
17049 * benchtests/bench-strpbrk-ifunc.c: New file.
17050 * benchtests/bench-strpbrk.c: New file.
17051 * benchtests/bench-strrchr-ifunc.c: New file.
17052 * benchtests/bench-strrchr.c: New file.
17053 * benchtests/bench-strspn-ifunc.c: New file.
17054 * benchtests/bench-strspn.c: New file.
17055 * benchtests/bench-strstr-ifunc.c: New file.
17056 * benchtests/bench-strstr.c: New file.
17058 * benchtests/Makefile: Disable parallel execution of targets.
17059 (string-bench): Add memcpy.
17060 (benchset): New variable to store a list of benchmark sets.
17061 (bench-func): Renamed from bench.
17062 (bench-set): New target.
17063 (bench): Depend on bench-func and bench-set.
17064 * benchtests/README: Add section on benchmark sets.
17065 * benchtests/bench-memcpy-ifunc.c: New file.
17066 * benchtests/bench-memcpy.c: New file.
17067 * benchtests/bench-string.h: New file.
17069 2013-06-11 Andreas Schwab <schwab@suse.de>
17072 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
17073 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
17074 values in the triple.
17075 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
17076 terminator in the group key.
17078 2013-06-11 Andreas Jaeger <aj@suse.de>
17080 * po/zh_TW.po: Update Chinese (traditional) translation from
17081 translation project.
17083 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17085 * include/time.h (__clock_gettime): Add libc_hidden_proto.
17086 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
17087 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
17088 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17089 (clock_getcpuclockid): Likewise.
17090 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
17091 Add weak_alias and libc_hidden_def.
17092 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
17093 * rt/clock_gettime.c (clock_gettime): Rename to
17094 __clock_gettime. Add weak_alias and libc_hidden_def.
17095 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
17096 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
17097 __clock_nanosleep. Add weak_alias and libc_hidden_def.
17098 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
17099 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
17101 * rt/clock_settime.c (clock_settime): Rename to
17102 __clock_settime. Add weak_alias and libc_hidden_def.
17103 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
17105 2013-06-10 Joseph Myers <joseph@codesourcery.com>
17107 * mach/err_boot.sub: Remove trailing whitespace.
17108 * mach/err_ipc.sub: Likewise.
17109 * mach/err_mach.sub: Likewise.
17111 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
17112 (ROUNDING_TESTS_double): Likewise.
17113 (ROUNDING_TESTS_long_double): Likewise.
17114 (ROUNDING_TESTS): Likewise.
17115 * math/libm-test.inc: Include <math-tests.h>.
17116 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
17117 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
17118 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
17119 (IF_ROUND_INIT_FE_UPWARD): Likewise.
17121 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17123 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
17126 2013-06-08 Joseph Myers <joseph@codesourcery.com>
17128 * sysdeps/gnu/errlist.awk: Do not generate space at end of
17129 otherwise empty TRANS lines.
17130 * sysdeps/gnu/errlist.c: Regenerated.
17132 * catgets/gencat.c (error_print): Use (void) in function
17134 * crypt/crypt_util.c (__init_des): Likewise.
17135 * crypt/speeds.c (Stop): Likewise.
17137 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
17138 * inet/ruserpass.c (token): Likewise.
17139 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
17140 * intl/localealias.c (extend_alias_table): Likewise.
17141 * intl/plural-exp.c (init_germanic_plural): Likewise.
17142 * libio/fcloseall.c (__fcloseall): Likewise.
17143 * libio/genops.c (_IO_flush_all): Likewise.
17144 (_IO_flush_all_linebuffered): Likewise.
17145 (_IO_cleanup): Likewise.
17146 (_IO_iter_begin): Likewise.
17147 (_IO_iter_end): Likewise.
17148 (_IO_list_lock): Likewise.
17149 (_IO_list_unlock): Likewise.
17150 (_IO_list_resetlock): Likewise.
17151 * libio/getchar.c (getchar): Likewise.
17152 * libio/getchar_u.c (getchar_unlocked): Likewise.
17153 * libio/getwchar.c (getwchar): Likewise.
17154 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
17155 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
17156 * login/getpt.c (__getpt): Likewise.
17157 * login/tst-utmp.c (main): Likewise.
17158 * malloc/hooks.c (__malloc_check_init): Likewise.
17159 * malloc/malloc.c (__malloc_stats): Likewise.
17160 * malloc/mtrace.c (tr_break): Likewise.
17161 (mtrace): Likewise.
17162 (muntrace): Likewise.
17163 * misc/fstab.c (endfsent): Likewise.
17164 * misc/getclktck.c (__getclktck): Likewise.
17165 * misc/getdtsz.c (__getdtablesize): Likewise.
17166 * misc/gethostid.c (gethostid): Likewise.
17167 * misc/getpagesize.c (__getpagesize): Likewise.
17168 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
17169 (__get_nprocs): Likewise.
17170 (__get_phys_pages): Likewise.
17171 (__get_avphys_pages): Likewise.
17172 * misc/getttyent.c (getttyent): Likewise.
17173 (setttyent): Likewise.
17174 (endttyent): Likewise.
17175 * misc/getusershell.c (getusershell): Likewise.
17176 (endusershell): Likewise.
17177 (setusershell): Likewise.
17178 (initshells): Likewise.
17179 * misc/hsearch.c (__hdestroy): Likewise.
17180 * misc/sync.c (sync): Likewise.
17181 * misc/syslog.c (closelog_internal): Likewise.
17182 (closelog): Likewise.
17183 * misc/ttyslot.c (ttyslot): Likewise.
17184 * misc/vhangup.c (vhangup): Likewise.
17185 * posix/fork.c (__fork): Likewise.
17186 * posix/getegid.c (__getegid): Likewise.
17187 * posix/geteuid.c (__geteuid): Likewise.
17188 * posix/getgid.c (__getgid): Likewise.
17189 * posix/getpid.c (__getpid): Likewise.
17190 * posix/getppid.c (__getppid): Likewise.
17191 * posix/getuid.c (__getuid): Likewise.
17192 * posix/pause.c (pause): Likewise.
17193 * posix/setpgrp.c (setpgrp): Likewise.
17194 * posix/setsid.c (__setsid): Likewise.
17195 * posix/test-vfork.c (noop): Likewise.
17196 * resolv/gethnamaddr.c (_endhtent): Likewise.
17197 (_gethtent): Likewise.
17198 (ht_endhostent): Likewise.
17199 (gethostent): Likewise.
17200 (dns_service): Likewise.
17201 * stdlib/drand48.c (drand48): Likewise.
17202 * stdlib/lrand48.c (lrand48): Likewise.
17203 * stdlib/mrand48.c (mrand48): Likewise.
17204 * stdlib/rand.c (rand): Likewise.
17205 * stdlib/random.c (__random): Likewise.
17206 * stdlib/setenv.c (clearenv): Likewise.
17207 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
17208 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
17209 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
17210 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
17211 (__get_nprocs): Likewise.
17212 (__get_phys_pages): Likewise.
17213 (__get_avphys_pages): Likewise.
17214 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
17215 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
17216 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
17217 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
17218 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
17219 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
17220 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
17221 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
17222 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
17223 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
17224 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
17225 * sysdeps/mach/hurd/sync.c (sync): Likewise.
17226 * sysdeps/posix/clock.c (clock): Likewise.
17227 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
17228 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
17229 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
17230 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
17231 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
17232 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
17233 (__get_nprocs_conf): Likewise.
17234 (__get_phys_pages): Likewise.
17235 (__get_avphys_pages): Likewise.
17236 * time/clock.c (clock): Likewise.
17237 * time/tzset.c (__tzname_max): Likewise.
17239 2013-06-07 Joseph Myers <joseph@codesourcery.com>
17241 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
17242 (__bswap_32): Do not use "register".
17243 * crypt/crypt.c (_ufc_doit_r): Likewise.
17244 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
17245 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
17246 * gmon/gmon.c (__monstartup): Likewise.
17247 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
17248 * hurd/hurdmalloc.c (more_memory): Likewise.
17249 (malloc): Likewise.
17251 (realloc): Likewise.
17252 (malloc_fork_prepare): Likewise.
17253 (malloc_fork_parent): Likewise.
17254 (malloc_fork_child): Likewise.
17255 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
17256 (_svcauth_des): Likewise.
17257 * inet/inet_lnaof.c (inet_lnaof): Likewise.
17258 * inet/inet_net.c (inet_network): Likewise.
17259 * inet/inet_netof.c (inet_netof): Likewise.
17260 * inet/rcmd.c (__validuser2_sa): Likewise.
17261 * io/fts.c (fts_open): Likewise.
17262 (fts_load): Likewise.
17263 (fts_close): Likewise.
17264 (fts_read): Likewise.
17265 (fts_children): Likewise.
17266 (fts_build): Likewise.
17267 (fts_stat): Likewise.
17268 (fts_sort): Likewise.
17269 (fts_alloc): Likewise.
17270 (fts_lfree): Likewise.
17271 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
17272 (_IO_file_xsgetn): Likewise.
17273 (_IO_file_xsgetn_mmap): Likewise.
17274 * libio/iofopncook.c (_IO_cookie_read): Likewise.
17275 (_IO_cookie_write): Likewise.
17276 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
17277 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
17278 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
17279 * malloc/obstack.c (_obstack_begin): Likewise.
17280 (_obstack_begin_1): Likewise.
17281 (_obstack_newchunk): Likewise.
17282 (_obstack_allocated_p): Likewise.
17283 (obstack_free): Likewise.
17284 (_obstack_memory_used): Likewise.
17285 * misc/getttyent.c (getttynam): Likewise.
17286 (getttyent): Likewise.
17289 * misc/getusershell.c (initshells): Likewise.
17290 * misc/syslog.c (__vsyslog_chk): Likewise.
17291 * misc/ttyslot.c (ttyslot): Likewise.
17292 * nis/nis_hash.c (__nis_hash): Likewise.
17293 * posix/fnmatch_loop.c (FCT): Likewise.
17294 * posix/getconf.c (print_all): Likewise.
17296 * posix/getopt.c (exchange): Likewise.
17297 * posix/glob.c (globfree): Likewise.
17298 (prefix_array): Likewise.
17299 (__glob_pattern_type): Likewise.
17300 * resolv/arpa/nameser.h (NS_GET16): Likewise.
17301 (NS_GET32): Likewise.
17302 (NS_PUT16): Likewise.
17303 (NS_PUT32): Likewise.
17304 * resolv/gethnamaddr.c (getanswer): Likewise.
17305 (gethostbyname2): Likewise.
17306 (gethostbyaddr): Likewise.
17307 (_gethtent): Likewise.
17308 (_gethtbyname2): Likewise.
17309 (_gethtbyaddr): Likewise.
17310 * resolv/ns_print.c (dst_s_get_int16): Likewise.
17311 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
17312 * resolv/res_init.c (__res_vinit): Likewise.
17313 (net_mask): Likewise.
17314 * resolv/res_mkquery.c (outchar): Likewise.
17316 * stdio-common/printf_fp.c (outchar): Likewise.
17318 * stdio-common/printf_fphex.c (outchar): Likewise.
17320 * stdio-common/printf_size.c (outchar): Likewise.
17322 * stdio-common/test_rdwr.c (main): Likewise.
17323 * stdio-common/tfformat.c (matches): Likewise.
17324 * stdio-common/vfprintf.c (outchar): Likewise.
17325 (printf_unknown): Likewise.
17326 (buffered_vfprintf): Likewise.
17327 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
17328 * stdio-common/xbug.c (AppendToBuffer): Likewise.
17329 (ReadFile): Likewise.
17330 * stdlib/qsort.c (SWAP): Likewise.
17331 (_quicksort): Likewise.
17332 * stdlib/setenv.c (__add_to_environ): Likewise.
17333 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17334 * stdlib/strtol_l.c (__strtol_l): Likewise.
17335 * stdlib/tst-strtod.c (main): Likewise.
17336 * stdlib/tst-strtol.c (main): Likewise.
17337 * stdlib/tst-strtoll.c (main): Likewise.
17338 * string/bits/string2.h (__strcmp_cc): Likewise.
17339 (__strcmp_cg): Likewise.
17340 (__strcspn_c1): Likewise.
17341 (__strcspn_c2): Likewise.
17342 (__strcspn_c3): Likewise.
17343 (__strspn_c1): Likewise.
17344 (__strspn_c2): Likewise.
17345 (__strspn_c3): Likewise.
17346 (__strsep_1c): Likewise.
17347 (__strsep_2c): Likewise.
17348 (__strsep_3c): Likewise.
17349 * string/memccpy.c (__memccpy): Likewise.
17350 * string/stpcpy.c (__stpcpy): Likewise.
17351 * string/strcmp.c (strcmp): Likewise.
17352 * string/strrchr.c (strrchr): Likewise.
17353 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
17355 * sysdeps/mach/hurd/getcwd.c
17356 (_hurd_canonicalize_directory_name_internal): Likewise.
17357 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
17358 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
17359 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
17360 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
17361 Likewise, in both definitions.
17362 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
17364 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
17365 64] (__bswap_64): Likewise.
17366 * time/test_time.c (main): Likewise.
17367 * time/tzfile.c (__tzfile_read): Likewise.
17368 (__tzfile_compute): Likewise.
17369 * time/tzset.c (__tzset_parse_tz): Likewise.
17370 (tzset_internal): Likewise.
17371 (compute_change): Likewise.
17372 * wcsmbs/wcscat.c (__wcscat): Likewise.
17373 * wcsmbs/wcschr.c (wcschr): Likewise.
17374 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
17375 * wcsmbs/wcscspn.c (wcscspn): Likewise.
17376 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
17377 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
17378 * wcsmbs/wcsspn.c (wcsspn): Likewise.
17379 * wcsmbs/wcsstr.c (wcsstr): Likewise.
17380 * wcsmbs/wmemchr.c (wmemchr): Likewise.
17381 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17382 * wcsmbs/wmemset.c (wmemset): Likewise.
17384 2013-06-06 Joseph Myers <joseph@codesourcery.com>
17386 * scripts/config.guess: Update to version 2013-05-16.
17387 * scripts/config.sub: Update to version 2013-04-24.
17388 * scripts/install-sh: Update to version 2011-11-20.07.
17389 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
17390 * scripts/move-if-change: Update to version 2012-01-06 07:23.
17392 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
17394 * debug/fgetws_u_chk.c: Fix leading whitespaces.
17395 * elf/sln.c: Likewise.
17396 * hurd/hurd/ioctl.h: Likewise.
17397 * hurd/hurdmalloc.c: Likewise.
17398 * hurd/xattr.c: Likewise.
17399 * include/shlib-compat.h: Likewise.
17400 * inet/ruserpass.c: Likewise.
17401 * libio/iofgets_u.c: Likewise.
17402 * libio/iofgetws_u.c: Likewise.
17403 * locale/programs/ld-identification.c: Likewise.
17404 * locale/programs/ld-time.c: Likewise.
17405 * mach/msg-destroy.c: Likewise.
17406 * nss/nss_files/files-netgrp.c: Likewise.
17407 * resolv/res_data.c: Likewise.
17408 * soft-fp/op-1.h: Likewise.
17409 * soft-fp/op-2.h: Likewise.
17410 * soft-fp/op-4.h: Likewise.
17411 * soft-fp/op-common.h: Likewise.
17412 * stdio-common/printf_fphex.c: Likewise.
17413 * stdlib/strtod_l.c: Likewise.
17414 * sunrpc/rpc/clnt.h: Likewise.
17415 * sysdeps/generic/framestate.c: Likewise.
17416 * sysdeps/i386/bsd-_setjmp.S: Likewise.
17417 * sysdeps/i386/bsd-setjmp.S: Likewise.
17418 * sysdeps/i386/__longjmp.S: Likewise.
17419 * sysdeps/i386/setjmp.S: Likewise.
17420 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17421 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17422 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17423 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17424 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17425 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
17426 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17427 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17428 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17429 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
17430 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17431 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17432 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17433 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17434 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17435 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17436 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17437 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
17438 * sysdeps/ieee754/support.c: Likewise.
17439 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17440 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
17441 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
17442 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
17443 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
17444 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
17445 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
17446 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
17447 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
17448 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
17449 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
17450 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
17451 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
17452 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
17453 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
17454 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
17455 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
17458 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
17460 * posix/transbug.c: Remove executable mode.
17462 2013-06-05 Joseph Myers <joseph@codesourcery.com>
17464 * crypt/speeds.c: Remove trailing whitespace.
17465 * dlfcn/default.c: Likewise.
17466 * elf/ifuncdep2.c: Likewise.
17467 * elf/ifuncmain1.c: Likewise.
17468 * elf/ifuncmain1vis.c: Likewise.
17469 * elf/testobj.h: Likewise.
17470 * elf/tst-stackguard1.c: Likewise.
17471 * gmon/sys/gmon.h: Likewise.
17472 * hurd/hurdmsg.c: Likewise.
17473 * hurd/new-fd.c: Likewise.
17474 * hurd/ports-get.c: Likewise.
17475 * iconvdata/ibm1008_420.c: Likewise.
17476 * inet/tst-getni1.c: Likewise.
17477 * inet/tst-getni2.c: Likewise.
17478 * libio/ioungetc.c: Likewise.
17479 * libio/wfiledoalloc.c: Likewise.
17480 * manual/libm-err-tab.pl: Likewise.
17481 * math/w_dremf.c: Likewise.
17482 * misc/ftruncate.c: Likewise.
17483 * posix/bug-glob2.c: Likewise.
17484 * posix/tst-pcre.c: Likewise.
17485 * posix/wait4.c: Likewise.
17486 * resolv/README: Likewise.
17487 * resolv/res_debug.h: Likewise.
17488 * resolv/tst-inet_ntop.c: Likewise.
17489 * setjmp/bug269-setjmp.c: Likewise.
17490 * soft-fp/extended.h: Likewise.
17491 * soft-fp/op-1.h: Likewise.
17492 * soft-fp/op-2.h: Likewise.
17493 * soft-fp/op-4.h: Likewise.
17494 * soft-fp/op-8.h: Likewise.
17495 * soft-fp/testit.c: Likewise.
17496 * stdio-common/bug16.c: Likewise.
17497 * stdlib/random.c: Likewise.
17498 * sunrpc/rpcsvc/rquota.x: Likewise.
17499 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
17500 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17501 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17502 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17503 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17504 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17505 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17506 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17507 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17508 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17509 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17510 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17511 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17512 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17513 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17514 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17515 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17516 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17517 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17518 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17519 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17520 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17521 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
17522 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
17523 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17524 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17525 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17526 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
17527 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17528 * sysdeps/ieee754/s_lib_version.c: Likewise.
17529 * sysdeps/mach/hurd/check_fds.c: Likewise.
17530 * sysdeps/mach/hurd/getsockname.c: Likewise.
17531 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
17532 * sysdeps/mach/hurd/recvfrom.c: Likewise.
17533 * sysdeps/powerpc/bits/link.h: Likewise.
17534 * sysdeps/powerpc/dl-procinfo.c: Likewise.
17535 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
17536 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
17537 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
17538 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
17539 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
17540 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
17541 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
17542 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
17543 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
17544 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
17545 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
17546 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
17547 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
17548 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
17549 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
17550 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
17551 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
17552 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
17553 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
17554 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
17555 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
17556 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17557 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
17558 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
17559 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
17560 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
17561 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
17562 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
17563 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
17564 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
17565 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
17566 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17567 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17568 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
17569 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
17570 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
17571 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
17572 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
17573 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
17574 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
17575 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
17576 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
17577 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
17578 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
17579 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
17580 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
17581 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
17582 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
17583 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
17584 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17585 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17586 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
17587 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
17588 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
17589 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
17590 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
17591 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17592 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
17593 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
17594 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
17595 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
17596 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
17597 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
17598 * sysdeps/powerpc/sysdep.h: Likewise.
17599 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17600 * sysdeps/s390/s390-64/sub_n.S: Likewise.
17601 * sysdeps/sh/dl-trampoline.S: Likewise.
17602 * sysdeps/sh/memset.S: Likewise.
17603 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
17604 * sysdeps/sh/strlen.S: Likewise.
17605 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
17606 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
17607 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
17608 * sysdeps/sparc/sparc32/rem.S: Likewise.
17609 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
17610 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
17611 * sysdeps/sparc/sparc32/strchr.S: Likewise.
17612 * sysdeps/sparc/sparc32/udiv.S: Likewise.
17613 * sysdeps/sparc/sparc32/urem.S: Likewise.
17614 * sysdeps/sparc/sparc64/add_n.S: Likewise.
17615 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17616 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
17617 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
17618 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
17619 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
17620 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
17621 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
17622 * sysdeps/unix/bsd/times.c: Likewise.
17623 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
17624 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
17625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
17626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
17627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
17628 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
17629 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
17630 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
17631 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
17632 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
17633 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
17634 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
17635 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
17636 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17637 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
17638 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
17639 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
17640 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
17641 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
17642 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
17643 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
17644 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
17645 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17646 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
17647 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
17648 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
17649 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
17650 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17651 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
17652 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
17653 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
17654 * sysdeps/x86_64/strcspn.S: Likewise.
17656 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17658 * locale/C-translit.h: Revert #include <stdint.h> because this is a
17659 generated file. Regenerate properly from gen-translit.pl.
17660 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
17661 locale/C-translit.h.
17663 2013-06-05 Andreas Schwab <schwab@suse.de>
17666 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
17667 week as 6 instead of -1.
17668 * time/tst-strptime.c (day_tests): Add test case.
17670 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17672 * sysdeps/generic/math_private.h
17673 (libc_feholdexcept_setround_53bit): Replace with
17674 libc_feholdsetround_53bit.
17675 (libc_feupdateenv_53bit): Replace with
17676 libc_feresetround_53bit.
17677 (SET_RESTORE_ROUND_53BIT): Adjust.
17679 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
17681 * string/test-strchrnul.c: Add copyright header.
17683 * posix/tst-getaddrinfo4.c: Increase test timeout.
17685 2013-06-03 Carlos O'Donell <carlos@redhat.com>
17688 * math/libm-test.inc (MAX_EXP): Remove
17690 (ulp): Use MIN_EXP - MANT_DIG.
17691 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
17693 2013-05-31 Carlos O'Donell <carlos@redhat.com>
17695 * po/be.po: Revert last change.
17696 * po/zh_CN.po: Likewise.
17697 * po/header.pot: Likewise.
17699 2013-05-31 Joseph Myers <joseph@codesourcery.com>
17701 * Makefile ($(common-objpfx)linkobj/libc.so): Define
17702 link-libc-deps to empty as target-specific variable.
17703 * Makerules (link-libc-args): New variable.
17704 (libc-for-link): Likewise.
17705 (link-libc-deps): Likewise.
17706 (lib%.so): Depend on $(link-libc-deps). Link with
17708 (build-module): Link with $(link-libc-args).
17709 (build-module-asneeded): Likewise.
17710 (build-module-helper-objlist): Filter out $(link-libc-deps) from
17712 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
17713 target-specific variable.
17714 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
17715 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
17716 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
17718 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
17720 ($(objpfx)libpcprofile.so): Likewise.
17721 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
17723 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
17724 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
17725 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
17727 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
17728 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
17729 * login/Makefile ($(objpfx)libutil.so): Likewise.
17730 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
17731 * math/Makefile ($(objpfx)libm.so): Likewise.
17732 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
17733 $(objpfx)libnsl.so): Define libc-for-link as target-specific
17734 variable instead of depending directly on libc.
17735 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
17736 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
17738 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
17740 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
17741 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
17742 ($(objpfx)libanl.so): Likewise.
17743 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
17745 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
17747 * sysdeps/i386/fpu/Makefile: Remove file.
17748 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
17749 ($(objpfx)libm.so): Remove dependency on ld.so.
17751 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
17754 * nis/yp_xdr.c (XDRMAXNAME): Define.
17755 (XDRMAXRECORD): Define.
17756 (xdr_domainname): Use XDRMAXNAME.
17757 (xdr_mapname): Likewise.
17758 (xdr_peername): Likewise.
17759 (xdr_keydat): Use XDRMAXRECORD.
17760 (xdr_valdat): Likewise.
17762 2013-05-30 Jeff Law <law@redhat.com>
17765 * manual/errno.texi (ESTALE): Update to account for more than
17766 just NFS file systems.
17767 * sysdeps/gnu/errlist.c: Regenerated.
17769 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17772 * elf/Makefile (tests): Add tst-null-argv.
17773 (modules-names): Add tst-null-argv-lib.
17774 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
17775 (tst-null-argv-ENV): Set environment for tst-null-argv.
17776 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
17777 (RTLD_PROGNAME): New macro.
17778 * elf/tst-null-argv.c: New test case.
17779 * elf/tst-null-argv-lib.c: Library for test case.
17780 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
17781 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
17782 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
17783 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
17784 * elf/dl-init.c (call_init): Likewise.
17785 (_dl_init): Likewise.
17786 * elf/dl-load.c (print_search_path): Likewise.
17787 (_dl_map_object): Likewise.
17788 * elf/dl-lookup.c (do_lookup_x): Likewise.
17789 (add_dependency): Likewise.
17790 (_dl_lookup_symbol_x): Likewise.
17791 (_dl_debug_bindings): Likewise.
17792 * elf/dl-open.c (_dl_show_scope): Likewise.
17793 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
17794 * elf/dl-version.c (match_symbol): Likewise.
17795 (_dl_check_map_versions): Likewise.
17796 * elf/rtld.c (dl_main): Likewise.
17797 (print_unresolved): Use RTLD_PROGNAME.
17798 (print_missing_version): Likewise.
17799 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
17800 (elf_machine_rela): Likewise.
17801 * sysdeps/powerpc/powerpc32/dl-machine.c
17802 (__process_machine_rela): Likewise.
17803 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17805 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
17807 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
17809 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17810 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
17812 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
17814 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
17816 2013-05-28 Carlos O'Donell <carlos@redhat.com>
17818 * po/be.po: Add descriptive title.
17819 * po/zh_CN.po: Likewise.
17820 * po/header.pot: Likewise.
17822 2013-05-28 Mike Frysinger <vapier@gentoo.org>
17824 * locale/programs/locarchive.c (create_archive): Inlucde fname in
17826 (enlarge_archive): Likewise.
17828 2013-05-28 Ben North <ben@redfrontdoor.org>
17830 * manual/arith.texi (frexp): It is the magnitude of the return
17831 value which lies in [0.5, 1), not the return value itself.
17833 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17835 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17837 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
17839 * stdio-common/bug26.c (main): Correct fscanf template.
17841 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
17842 declare _dl_skip_args.
17844 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
17847 * manual/platform.texi: Add missing @end deftypefun.
17849 2013-05-24 Joseph Myers <joseph@codesourcery.com>
17852 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
17853 bit of mantissa of 2^16382.
17854 * math/libm-test.inc (hypot_test_data): Add more tests.
17856 * math/libm-test.inc: Add drem and pow10 to list of tested
17858 (pow10_test): New function.
17859 (drem_test): Likewise.
17860 (drem_test_tonearest): Likewise.
17861 (drem_test_towardzero): Likewise.
17862 (drem_test_downward): Likewise.
17863 (drem_test_upward): Likewise.
17864 (main): Call the new functions.
17866 * math/libm-test.inc (finite_test_data): Remove.
17867 (finite_test): Run tests from isfinite_test_data.
17868 (gamma_test_data): Remove.
17869 (gamma_test): Run tests from lgamma_test_data.
17870 * sysdeps/i386/fpu/libm-test-ulps: Update.
17871 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17873 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17875 * manual/platform.texi: Add PowerPC PPR function set documentation.
17876 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
17879 2013-05-24 Carlos O'Donell <carlos@redhat.com>
17881 * math/libm-test.inc (MAX_EXP): Define.
17883 (ulp): New function.
17884 (check_float_internal): Use ULPDIFF.
17885 (cpow_test): Disable failing test.
17886 (check_ulp): Test ulp() implemetnation.
17887 (main): Call check_ulp before starting tests.
17889 2013-05-24 Joseph Myers <joseph@codesourcery.com>
17891 * math/gen-libm-test.pl (generate_testfile): Do not handle
17892 START_DATA and END_DATA.
17893 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
17895 (acos_tonearest_test_data): Likewise.
17896 (acos_towardzero_test_data): Likewise.
17897 (acos_downward_test_data): Likewise.
17898 (acos_upward_test_data): Likewise.
17899 (acosh_test_data): Likewise.
17900 (asin_test_data): Likewise.
17901 (asin_tonearest_test_data): Likewise.
17902 (asin_towardzero_test_data): Likewise.
17903 (asin_downward_test_data): Likewise.
17904 (asin_upward_test_data): Likewise.
17905 (asinh_test_data): Likewise.
17906 (atan_test_data): Likewise.
17907 (atanh_test_data): Likewise.
17908 (atan2_test_data): Likewise.
17909 (cabs_test_data): Likewise.
17910 (cacos_test_data): Likewise.
17911 (cacosh_test_data): Likewise.
17912 (carg_test_data): Likewise.
17913 (casin_test_data): Likewise.
17914 (casinh_test_data): Likewise.
17915 (catan_test_data): Likewise.
17916 (catanh_test_data): Likewise.
17917 (cbrt_test_data): Likewise.
17918 (ccos_test_data): Likewise.
17919 (ccosh_test_data): Likewise.
17920 (ceil_test_data): Likewise.
17921 (cexp_test_data): Likewise.
17922 (cimag_test_data): Likewise.
17923 (clog_test_data): Likewise.
17924 (clog10_test_data): Likewise.
17925 (conj_test_data): Likewise.
17926 (copysign_test_data): Likewise.
17927 (cos_test_data): Likewise.
17928 (cos_tonearest_test_data): Likewise.
17929 (cos_towardzero_test_data): Likewise.
17930 (cos_downward_test_data): Likewise.
17931 (cos_upward_test_data): Likewise.
17932 (cosh_test_data): Likewise.
17933 (cosh_tonearest_test_data): Likewise.
17934 (cosh_towardzero_test_data): Likewise.
17935 (cosh_downward_test_data): Likewise.
17936 (cosh_upward_test_data): Likewise.
17937 (cpow_test_data): Likewise.
17938 (cproj_test_data): Likewise.
17939 (creal_test_data): Likewise.
17940 (csin_test_data): Likewise.
17941 (csinh_test_data): Likewise.
17942 (csqrt_test_data): Likewise.
17943 (ctan_test_data): Likewise.
17944 (ctan_tonearest_test_data): Likewise.
17945 (ctan_towardzero_test_data): Likewise.
17946 (ctan_downward_test_data): Likewise.
17947 (ctan_upward_test_data): Likewise.
17948 (ctanh_test_data): Likewise.
17949 (ctanh_tonearest_test_data): Likewise.
17950 (ctanh_towardzero_test_data): Likewise.
17951 (ctanh_downward_test_data): Likewise.
17952 (ctanh_upward_test_data): Likewise.
17953 (erf_test_data): Likewise.
17954 (erfc_test_data): Likewise.
17955 (exp_test_data): Likewise.
17956 (exp_tonearest_test_data): Likewise.
17957 (exp_towardzero_test_data): Likewise.
17958 (exp_downward_test_data): Likewise.
17959 (exp_upward_test_data): Likewise.
17960 (exp10_test_data): Likewise.
17961 (exp2_test_data): Likewise.
17962 (expm1_test_data): Likewise.
17963 (fabs_test_data): Likewise.
17964 (fdim_test_data): Likewise.
17965 (finite_test_data): Likewise.
17966 (floor_test_data): Likewise.
17967 (fma_test_data): Likewise.
17968 (fma_towardzero_test_data): Likewise.
17969 (fma_downward_test_data): Likewise.
17970 (fma_upward_test_data): Likewise.
17971 (fmax_test_data): Likewise.
17972 (fmin_test_data): Likewise.
17973 (fmod_test_data): Likewise.
17974 (fpclassify_test_data): Likewise.
17975 (frexp_test_data): Likewise.
17976 (gamma_test_data): Likewise.
17977 (hypot_test_data): Likewise.
17978 (ilogb_test_data): Likewise.
17979 (isfinite_test_data): Likewise.
17980 (isgreater_test_data): Likewise.
17981 (isgreaterequal_test_data): Likewise.
17982 (isinf_test_data): Likewise.
17983 (isless_test_data): Likewise.
17984 (islessequal_test_data): Likewise.
17985 (islessgreater_test_data): Likewise.
17986 (isnan_test_data): Likewise.
17987 (isnormal_test_data): Likewise.
17988 (issignaling_test_data): Likewise.
17989 (isunordered_test_data): Likewise.
17990 (j0_test_data): Likewise.
17991 (j1_test_data): Likewise.
17992 (jn_test_data): Likewise.
17993 (ldexp_test_data): Likewise.
17994 (lgamma_test_data): Likewise.
17995 (lrint_test_data): Likewise.
17996 (lrint_tonearest_test_data): Likewise.
17997 (lrint_towardzero_test_data): Likewise.
17998 (lrint_downward_test_data): Likewise.
17999 (lrint_upward_test_data): Likewise.
18000 (llrint_test_data): Likewise.
18001 (llrint_tonearest_test_data): Likewise.
18002 (llrint_towardzero_test_data): Likewise.
18003 (llrint_downward_test_data): Likewise.
18004 (llrint_upward_test_data): Likewise.
18005 (log_test_data): Likewise.
18006 (log10_test_data): Likewise.
18007 (log1p_test_data): Likewise.
18008 (log2_test_data): Likewise.
18009 (logb_test_data): Likewise.
18010 (logb_downward_test_data): Likewise.
18011 (lround_test_data): Likewise.
18012 (llround_test_data): Likewise.
18013 (modf_test_data): Likewise.
18014 (nearbyint_test_data): Likewise.
18015 (nextafter_test_data): Likewise.
18016 (nexttoward_test_data): Likewise.
18017 (pow_test_data): Likewise.
18018 (pow_tonearest_test_data): Likewise.
18019 (pow_towardzero_test_data): Likewise.
18020 (pow_downward_test_data): Likewise.
18021 (pow_upward_test_data): Likewise.
18022 (remainder_test_data): Likewise.
18023 (remainder_tonearest_test_data): Likewise.
18024 (remainder_towardzero_test_data): Likewise.
18025 (remainder_downward_test_data): Likewise.
18026 (remainder_upward_test_data): Likewise.
18027 (remquo_test_data): Likewise.
18028 (rint_test_data): Likewise.
18029 (rint_tonearest_test_data): Likewise.
18030 (rint_towardzero_test_data): Likewise.
18031 (rint_downward_test_data): Likewise.
18032 (rint_upward_test_data): Likewise.
18033 (round_test_data): Likewise.
18034 (scalb_test_data): Likewise.
18035 (scalbn_test_data): Likewise.
18036 (scalbln_test_data): Likewise.
18037 (signbit_test_data): Likewise.
18038 (sin_test_data): Likewise.
18039 (sin_tonearest_test_data): Likewise.
18040 (sin_towardzero_test_data): Likewise.
18041 (sin_downward_test_data): Likewise.
18042 (sin_upward_test_data): Likewise.
18043 (sincos_test_data): Likewise.
18044 (sinh_test_data): Likewise.
18045 (sinh_tonearest_test_data): Likewise.
18046 (sinh_towardzero_test_data): Likewise.
18047 (sinh_downward_test_data): Likewise.
18048 (sinh_upward_test_data): Likewise.
18049 (sqrt_test_data): Likewise.
18050 (tan_test_data): Likewise.
18051 (tan_tonearest_test_data): Likewise.
18052 (tan_towardzero_test_data): Likewise.
18053 (tan_downward_test_data): Likewise.
18054 (tan_upward_test_data): Likewise.
18055 (tanh_test_data): Likewise.
18056 (tgamma_test_data): Likewise.
18057 (trunc_test_data): Likewise.
18058 (y0_test_data): Likewise.
18059 (y1_test_data): Likewise.
18060 (yn_test_data): Likewise.
18061 (significand_test_data): Likewise.
18063 * math/gen-libm-test.pl (@functions): Remove variable.
18064 (generate_testfile): Don't handle START and END lines.
18065 * math/libm-test.inc (START): New macro.
18067 (END_COMPLEX): Likewise.
18068 (acos_test): Use END macro without arguments.
18069 (acos_test_tonearest): Likewise.
18070 (acos_test_towardzero): Likewise.
18071 (acos_test_downward): Likewise.
18072 (acos_test_upward): Likewise.
18073 (acosh_test): Likewise.
18074 (asin_test): Likewise.
18075 (asin_test_tonearest): Likewise.
18076 (asin_test_towardzero): Likewise.
18077 (asin_test_downward): Likewise.
18078 (asin_test_upward): Likewise.
18079 (asinh_test): Likewise.
18080 (atan_test): Likewise.
18081 (atanh_test): Likewise.
18082 (atan2_test): Likewise.
18083 (cabs_test): Likewise.
18084 (cacos_test): Use END_COMPLEX macro without arguments.
18085 (cacosh_test): Likewise.
18086 (carg_test): Use END macro without arguments.
18087 (casin_test): Use END_COMPLEX macro without arguments.
18088 (casinh_test): Likewise.
18089 (catan_test): Likewise.
18090 (catanh_test): Likewise.
18091 (cbrt_test): Use END macro without arguments.
18092 (ccos_test): Use END_COMPLEX macro without arguments.
18093 (ccosh_test): Likewise.
18094 (ceil_test): Use END macro without arguments.
18095 (cexp_test): Use END_COMPLEX macro without arguments.
18096 (cimag_test): Use END macro without arguments.
18097 (clog_test): Use END_COMPLEX macro without arguments.
18098 (clog10_test): Likewise.
18099 (conj_test): Likewise.
18100 (copysign_test): Use END macro without arguments.
18101 (cos_test): Likewise.
18102 (cos_test_tonearest): Likewise.
18103 (cos_test_towardzero): Likewise.
18104 (cos_test_downward): Likewise.
18105 (cos_test_upward): Likewise.
18106 (cosh_test): Likewise.
18107 (cosh_test_tonearest): Likewise.
18108 (cosh_test_towardzero): Likewise.
18109 (cosh_test_downward): Likewise.
18110 (cosh_test_upward): Likewise.
18111 (cpow_test): Use END_COMPLEX macro without arguments.
18112 (cproj_test): Likewise.
18113 (creal_test): Use END macro without arguments.
18114 (csin_test): Use END_COMPLEX macro without arguments.
18115 (csinh_test): Likewise.
18116 (csqrt_test): Likewise.
18117 (ctan_test): Likewise.
18118 (ctan_test_tonearest): Likewise.
18119 (ctan_test_towardzero): Likewise.
18120 (ctan_test_downward): Likewise.
18121 (ctan_test_upward): Likewise.
18122 (ctanh_test): Likewise.
18123 (ctanh_test_tonearest): Likewise.
18124 (ctanh_test_towardzero): Likewise.
18125 (ctanh_test_downward): Likewise.
18126 (ctanh_test_upward): Likewise.
18127 (erf_test): Use END macro without arguments.
18128 (erfc_test): Likewise.
18129 (exp_test): Likewise.
18130 (exp_test_tonearest): Likewise.
18131 (exp_test_towardzero): Likewise.
18132 (exp_test_downward): Likewise.
18133 (exp_test_upward): Likewise.
18134 (exp10_test): Likewise.
18135 (exp2_test): Likewise.
18136 (expm1_test): Likewise.
18137 (fabs_test): Likewise.
18138 (fdim_test): Likewise.
18139 (finite_test): Likewise.
18140 (floor_test): Likewise.
18141 (fma_test): Likewise.
18142 (fma_test_towardzero): Likewise.
18143 (fma_test_downward): Likewise.
18144 (fma_test_upward): Likewise.
18145 (fmax_test): Likewise.
18146 (fmin_test): Likewise.
18147 (fmod_test): Likewise.
18148 (fpclassify_test): Likewise.
18149 (frexp_test): Likewise.
18150 (gamma_test): Likewise.
18151 (hypot_test): Likewise.
18152 (ilogb_test): Likewise.
18153 (isfinite_test): Likewise.
18154 (isgreater_test): Likewise.
18155 (isgreaterequal_test): Likewise.
18156 (isinf_test): Likewise.
18157 (isless_test): Likewise.
18158 (islessequal_test): Likewise.
18159 (islessgreater_test): Likewise.
18160 (isnan_test): Likewise.
18161 (isnormal_test): Likewise.
18162 (issignaling_test): Likewise.
18163 (isunordered_test): Likewise.
18164 (j0_test): Likewise.
18165 (j1_test): Likewise.
18166 (jn_test): Likewise.
18167 (ldexp_test): Likewise.
18168 (lgamma_test): Likewise.
18169 (lrint_test): Likewise.
18170 (lrint_test_tonearest): Likewise.
18171 (lrint_test_towardzero): Likewise.
18172 (lrint_test_downward): Likewise.
18173 (lrint_test_upward): Likewise.
18174 (llrint_test): Likewise.
18175 (llrint_test_tonearest): Likewise.
18176 (llrint_test_towardzero): Likewise.
18177 (llrint_test_downward): Likewise.
18178 (llrint_test_upward): Likewise.
18179 (log_test): Likewise.
18180 (log10_test): Likewise.
18181 (log1p_test): Likewise.
18182 (log2_test): Likewise.
18183 (logb_test): Likewise.
18184 (logb_test_downward): Likewise.
18185 (lround_test): Likewise.
18186 (llround_test): Likewise.
18187 (modf_test): Likewise.
18188 (nearbyint_test): Likewise.
18189 (nextafter_test): Likewise.
18190 (nexttoward_test): Likewise.
18191 (pow_test): Likewise.
18192 (pow_test_tonearest): Likewise.
18193 (pow_test_towardzero): Likewise.
18194 (pow_test_downward): Likewise.
18195 (pow_test_upward): Likewise.
18196 (remainder_test): Likewise.
18197 (remainder_test_tonearest): Likewise.
18198 (remainder_test_towardzero): Likewise.
18199 (remainder_test_downward): Likewise.
18200 (remainder_test_upward): Likewise.
18201 (remquo_test): Likewise.
18202 (rint_test): Likewise.
18203 (rint_test_tonearest): Likewise.
18204 (rint_test_towardzero): Likewise.
18205 (rint_test_downward): Likewise.
18206 (rint_test_upward): Likewise.
18207 (round_test): Likewise.
18208 (scalb_test): Likewise.
18209 (scalbn_test): Likewise.
18210 (scalbln_test): Likewise.
18211 (signbit_test): Likewise.
18212 (sin_test): Likewise.
18213 (sin_test_tonearest): Likewise.
18214 (sin_test_towardzero): Likewise.
18215 (sin_test_downward): Likewise.
18216 (sin_test_upward): Likewise.
18217 (sincos_test): Likewise.
18218 (sinh_test): Likewise.
18219 (sinh_test_tonearest): Likewise.
18220 (sinh_test_towardzero): Likewise.
18221 (sinh_test_downward): Likewise.
18222 (sinh_test_upward): Likewise.
18223 (sqrt_test): Likewise.
18224 (tan_test): Likewise.
18225 (tan_test_tonearest): Likewise.
18226 (tan_test_towardzero): Likewise.
18227 (tan_test_downward): Likewise.
18228 (tan_test_upward): Likewise.
18229 (tanh_test): Likewise.
18230 (tgamma_test): Likewise.
18231 (trunc_test): Likewise.
18232 (y0_test): Likewise.
18233 (y1_test): Likewise.
18234 (yn_test): Likewise.
18235 (significand_test): Likewise.
18237 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
18240 * libio/genops.c (_IO_no_init): Initialize wide struct info.
18242 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
18245 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
18246 __ppc_mdoio and __ppc_mdoom.
18247 * manual/platform.texi: Document new functions __ppc_yield,
18248 __ppc_mdoio and __ppc_mdoom.
18250 2013-05-22 Carlos O'Donell <carlos@redhat.com>
18252 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
18253 (main): Mention "tls" pseudo-hwcap is legacy.
18254 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
18256 2013-05-22 Joseph Myers <joseph@codesourcery.com>
18258 * math/gen-libm-test.pl (parse_args): Output only string of
18259 arguments as text for test name, not full call or descriptions of
18260 tests for extra outputs.
18261 (generate_testfile): Do not pass function name to parse_args.
18262 Generate this_func variable from START.
18263 * math/libm-test.inc (struct test_f_f_data): Rename test_name
18265 (struct test_ff_f_data): Likewise.
18266 (test_ff_f_data_nexttoward): Likewise.
18267 (struct test_fi_f_data): Likewise.
18268 (struct test_fl_f_data): Likewise.
18269 (struct test_if_f_data): Likewise.
18270 (struct test_fff_f_data): Likewise.
18271 (struct test_c_f_data): Likewise.
18272 (struct test_f_f1_data): Likewise. Remove field extra_name.
18273 (struct test_fF_f1_data): Likewise.
18274 (struct test_ffI_f1_data): Likewise.
18275 (struct test_c_c_data): Rename test_name field to arg_str.
18276 (struct test_cc_c_data): Likewise.
18277 (struct test_f_i_data): Likewise.
18278 (struct test_ff_i_data): Likewise.
18279 (struct test_f_l_data): Likewise.
18280 (struct test_f_L_data): Likewise.
18281 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
18283 (COMMON_TEST_SETUP): New macro.
18284 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
18285 (COMMON_TEST_CLEANUP): Likewise.
18286 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
18287 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
18289 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
18290 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
18292 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
18293 (RUN_TEST_fff_f): Take argument string. Call new setup and
18295 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
18296 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
18298 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
18299 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
18301 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18302 (RUN_TEST_fF_f1): Take argument string. Call new setup and
18304 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18305 (RUN_TEST_fI_f1): Take argument string. Call new setup and
18307 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18308 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
18310 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18311 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
18313 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
18314 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
18316 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
18317 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
18319 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
18320 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
18322 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
18323 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
18325 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
18326 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
18328 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
18329 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
18331 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
18332 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
18334 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
18335 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
18337 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
18338 (RUN_TEST_fFF_11): Take argument string. Call new setup and
18340 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
18342 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
18344 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
18345 to _sifields.sigfault.
18346 (si_addr_lsb): Define new macro.
18347 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
18348 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18349 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
18351 2013-05-03 Carlos O'Donell <carlos at redhat.com>
18354 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
18356 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
18358 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
18359 loading the domain.
18361 2013-05-22 Joseph Myers <joseph@codesourcery.com>
18363 * math/gen-libm-test.pl (parse_args): Do not include expected
18364 result in test name.
18365 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
18366 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18367 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18368 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18369 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18370 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18372 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
18374 * benchtests/Makefile: Sort function entries.
18376 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
18377 tanh, asinh, acosh, atanh.
18378 * benchtests/acos-inputs: New file.
18379 * benchtests/acosh-inputs: New file.
18380 * benchtests/asin-inputs: New file.
18381 * benchtests/asinh-inputs: New file.
18382 * benchtests/atanh-inputs: New file.
18383 * benchtests/cosh-inputs: New file.
18384 * benchtests/log-inputs: New file.
18385 * benchtests/sinh-inputs: New file.
18386 * benchtests/tanh-inputs: New file.
18388 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
18391 * posix/tst-getaddrinfo4.c: New test.
18392 * posix/Makefile (tests): Add it.
18394 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18397 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
18398 when no services were used.
18399 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
18400 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
18402 2013-05-21 Andreas Schwab <schwab@suse.de>
18405 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
18406 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
18408 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
18409 redundant variable declarations and reallocation of buffer when
18410 parsing as IPv6 address. Always set NSS status when called from
18411 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
18412 buffer too small. Correct computation of needed size.
18413 * nss/Makefile (tests): Add test-digits-dots.
18414 * nss/test-digits-dots.c: New test.
18416 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18418 * benchtests/Makefile: Remove instructions for adding
18420 * benchtests/README: New file to explain how to execute and
18421 enhance the benchmark tests.
18423 2013-05-21 Andreas Schwab <schwab@suse.de>
18426 * setjmp/Makefile (tests): Add tst-sigsetjmp.
18427 * setjmp/tst-sigsetjmp.c: New test.
18429 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
18431 * sysdeps/x86_64/memset.S (memset): New implementation.
18432 (__bzero): Likewise.
18433 (__memset_tail): New function.
18435 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
18437 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
18438 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
18439 __memcpy_sse2_unaligned ifunc selection.
18440 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18441 Add memcpy-sse2-unaligned.S.
18442 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18443 Add: __memcpy_sse2_unaligned.
18445 2013-05-19 Joseph Myers <joseph@codesourcery.com>
18448 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
18449 math_force_eval before restoring floating-point envrionment.
18450 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
18451 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
18453 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
18455 (__nearbyintl): Use math_force_eval before restoring
18456 floating-point environment.
18457 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
18459 * math/gen-libm-test.pl (special_functions): Remove.
18460 (parse_args): Don't handle TEST_extra. Handle functions with no
18462 * math/libm-test.inc (struct test_sincos_data): Replace with
18463 struct test_fFF_11_data.
18464 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
18465 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
18466 (sincos_test_data): Change element type to struct
18467 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
18468 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
18469 RUN_TEST_LOOP_sincos.
18470 * math/README.libm-test: Don't mention special handling of
18471 individual functions.
18472 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
18473 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18474 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18475 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18476 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18477 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18479 * math/gen-libm-test.pl (get_variable): Remove function.
18480 (parse_args): Don't show pointer parameters to call in test
18481 names. Use "extra output N" in test names for extra outputs
18482 rather than naming variables.
18484 2013-05-18 Joseph Myers <joseph@codesourcery.com>
18487 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
18488 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
18489 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
18491 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
18493 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
18496 * math/gen-libm-test.pl (@tests): Remove variable.
18497 ($count): Likewise.
18498 (new_test): Remove function.
18499 (show_exceptions): New function.
18500 (special_functions): Use show_exceptions instead of new_test.
18501 (parse_args): Likewise.
18502 (generate_testfile): Pass only function name in generated call to
18503 print_max_error or print_complex_max_error.
18504 (get_ulps): Do not handle complex tests specially.
18505 (output_test): Rename to ...
18506 (get_all_ulps_for_test): ... this. Return a string rather than
18507 printing to a file. Require ulps to be present.
18508 (output_ulps): Generate arrays rather than #defines.
18509 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
18510 (struct ulp_data): New type.
18511 (BUILD_COMPLEX_ULP): Remove macro.
18512 (compare_ulp_data): New function.
18513 (find_ulps): Likewise.
18514 (find_test_ulps): Likewise.
18515 (find_function_ulps): Likewise.
18516 (find_complex_function_ulps): Likewise.
18517 (print_max_error): Determine allowed ulps using
18518 find_function_ulps.
18519 (print_complex_max_error): Determine allowed ulps using
18520 find_complex_function_ulps.
18521 (check_float_internal): Determine max ulps using find_test_ulps.
18522 (check_float): Do not take max_ulp parameter. Update call to
18523 check_float_internal.
18524 (check_complex): Likewise.
18525 (check_int): Do not take max_ulp parameter.
18526 (check_long): Likewise.
18527 (check_bool): Likewise.
18528 (check_longlong): Likewise.
18529 (struct test_f_f_data): Remove max_ulp field.
18530 (struct test_ff_f_data): Likewise.
18531 (struct test_ff_f_data_nexttoward): Likewise.
18532 (struct test_fi_f_data): Likewise.
18533 (struct test_fl_f_data): Likewise.
18534 (struct test_if_f_data): Likewise.
18535 (struct test_fff_f_data): Likewise.
18536 (struct test_c_f_data): Likewise.
18537 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
18538 (struct test_fF_f1_data): Likewise.
18539 (struct test_ffI_f1_data): Likewise.
18540 (struct test_c_c_data): Remove max_ulp field.
18541 (struct test_cc_c_data): Likewise.
18542 (struct test_f_i_data): Likewise.
18543 (struct test_ff_i_data): Likewise.
18544 (struct test_f_l_data): Likewise.
18545 (struct test_f_L_data): Likewise.
18546 (struct test_sincos_data): Likewise.
18547 (RUN_TEST_f_f): Do not handle ulps.
18548 (RUN_TEST_LOOP_f_f): Likewise.
18549 (RUN_TEST_2_f): Likewise.
18550 (RUN_TEST_LOOP_2_f): Likewise.
18551 (RUN_TEST_fff_f): Likewise.
18552 (RUN_TEST_LOOP_fff_f): Likewise.
18553 (RUN_TEST_c_f): Likewise.
18554 (RUN_TEST_LOOP_c_f): Likewise.
18555 (RUN_TEST_f_f1): Likewise.
18556 (RUN_TEST_LOOP_f_f1): Likewise.
18557 (RUN_TEST_fF_f1): Likewise.
18558 (RUN_TEST_LOOP_fF_f1): Likewise.
18559 (RUN_TEST_fI_f1): Likewise.
18560 (RUN_TEST_LOOP_fI_f1): Likewise.
18561 (RUN_TEST_ffI_f1): Likewise.
18562 (RUN_TEST_LOOP_ffI_f1): Likewise.
18563 (RUN_TEST_c_c): Likewise.
18564 (RUN_TEST_LOOP_c_c): Likewise.
18565 (RUN_TEST_cc_c): Likewise.
18566 (RUN_TEST_LOOP_cc_c): Likewise.
18567 (RUN_TEST_f_i): Likewise.
18568 (RUN_TEST_LOOP_f_i): Likewise.
18569 (RUN_TEST_f_i_tg): Likewise.
18570 (RUN_TEST_LOOP_f_i_tg): Likewise.
18571 (RUN_TEST_ff_i_tg): Likewise.
18572 (RUN_TEST_LOOP_ff_i_tg): Likewise.
18573 (RUN_TEST_f_b): Likewise.
18574 (RUN_TEST_LOOP_f_b): Likewise.
18575 (RUN_TEST_f_b_tg): Likewise.
18576 (RUN_TEST_LOOP_f_b_tg): Likewise.
18577 (RUN_TEST_f_l): Likewise.
18578 (RUN_TEST_LOOP_f_l): Likewise.
18579 (RUN_TEST_f_L): Likewise.
18580 (RUN_TEST_LOOP_f_L): Likewise.
18581 (RUN_TEST_sincos): Likewise.
18582 (RUN_TEST_LOOP_sincos): Likewise.
18584 2013-05-17 Joseph Myers <joseph@codesourcery.com>
18588 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
18589 main case of finite arguments, set rounding mode to FE_TONEAREST
18590 and discard exceptions.
18591 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
18593 (remainder_tonearest_test_data): New variable.
18594 (remainder_test_tonearest): New function.
18595 (remainder_towardzero_test_data): New variable.
18596 (remainder_test_towardzero): New function.
18597 (remainder_downward_test_data): New variable.
18598 (remainder_test_downward): New function.
18599 (remainder_upward_test_data): New variable.
18600 (remainder_test_upward): New function.
18601 (main): Call the new test functions.
18603 * math/libm-test.inc (struct test_f_f1_data): Remove field
18605 (struct test_fF_f1_data): Likewise.
18606 (struct test_ffI_f1_data): Likewise.
18607 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
18608 based on value of EXTRA_EXPECTED.
18609 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18610 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
18611 EXTRA_VAR based on value of EXTRA_EXPECTED.
18612 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18613 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
18614 EXTRA_VAR based on value of EXTRA_EXPECTED.
18615 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18616 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
18617 EXTRA_VAR based on value of EXTRA_EXPECTED.
18618 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18619 * math/gen-libm-test.pl (parse_args): Don't output initializers
18620 for extra output values.
18622 * math/libm-test.inc (check_int): Expect result to be exactly
18623 equal to expected value and do not handle ulps.
18624 (check_long): Likewise.
18625 (check_longlong): Likewise.
18627 * math/libm-test.inc (ceil_test_data): Test for "inexact"
18629 (cimag_test_data): Likewise.
18630 (conj_test_data): Likewise.
18631 (copysign_test_data): Likewise.
18632 (cproj_test_data): Likewise.
18633 (creal_test_data): Likewise.
18634 (fabs_test_data): Likewise.
18635 (fdim_test_data): Likewise.
18636 (finite_test_data): Likewise.
18637 (floor_test_data): Likewise.
18638 (fmax_test_data): Likewise.
18639 (fmin_test_data): Likewise.
18640 (fmod_test_data): Likewise.
18641 (fpclassify_test_data): Likewise.
18642 (frexp_test_data): Likewise.
18643 (ilogb_test_data): Likewise.
18644 (isfinite_test_data): Likewise.
18645 (isgreater_test_data): Likewise.
18646 (isgreaterequal_test_data): Likewise.
18647 (isinf_test_data): Likewise.
18648 (isless_test_data): Likewise.
18649 (islessequal_test_data): Likewise.
18650 (islessgreater_test_data): Likewise.
18651 (isnan_test_data): Likewise.
18652 (isnormal_test_data): Likewise.
18653 (issignaling_test_data): Likewise.
18654 (isunordered_test_data): Likewise.
18655 (ldexp_test_data): Likewise.
18656 (lrint_test_data): Likewise.
18657 (lrint_test_data) [TEST_FLOAT]: Disable one test.
18658 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
18659 (lrint_tonearest_test_data): Test for "inexact" exceptions.
18660 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18661 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
18662 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
18664 (lrint_towardzero_test_data): Test for "inexact" exceptions.
18665 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
18666 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
18667 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
18669 (lrint_downward_test_data): Test for "inexact" exceptions.
18670 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
18671 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
18672 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
18674 (lrint_upward_test_data): Test for "inexact" exceptions.
18675 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
18677 (llrint_test_data): Test for "inexact" exceptions.
18678 (llrint_test_data) [TEST_FLOAT]: Disable one test.
18679 (llrint_tonearest_test_data): Test for "inexact" exceptions.
18680 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18681 (llrint_towardzero_test_data): Test for "inexact" exceptions.
18682 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
18683 (llrint_downward_test_data): Test for "inexact" exceptions.
18684 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
18685 (llrint_upward_test_data): Test for "inexact" exceptions.
18686 (logb_test_data): Likewise.
18687 (logb_downward_test_data): Likewise.
18688 (nextafter_test_data): Likewise.
18689 (nexttoward_test_data): Likewise.
18690 (remainder_test_data): Likewise.
18691 (remquo_test_data): Likewise.
18692 (scalbn_test_data): Likewise.
18693 (scalbln_test_data): Likewise.
18694 (signbit_test_data): Likewise.
18695 (sqrt_test_data): Likewise.
18696 (significand_test_data): Likewise.
18698 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18701 * benchtests/bench-modf.c (struct args): Mark arg0 as
18703 * scripts/bench.pl: Mark members of struct args as volatile.
18705 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18708 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
18709 negative infinity on POWER6 or lower.
18710 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
18712 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
18715 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
18716 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
18717 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
18718 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
18719 (_FP_SETQNAN): New macro.
18720 (_FP_SETQNAN_SEMIRAW): Likewise.
18721 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
18722 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
18723 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
18724 (FP_EXTEND): Use _FP_FRAC_SNANP.
18725 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
18726 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
18728 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
18730 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
18733 2013-05-16 Joseph Myers <joseph@codesourcery.com>
18735 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
18736 with DIVIDE_BY_ZERO_EXCEPTION.
18737 (gamma_test_data): Likewise.
18738 (lgamma_test_data): Likewise.
18739 (log_test_data): Likewise.
18740 (log10_test_data): Likewise.
18741 (log2_test_data): Likewise.
18742 (tgamma_test_data): Likewise.
18744 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
18745 (acos_test_tonearest): Likewise.
18746 (acos_test_towardzero): Likewise.
18747 (acos_test_downward): Likewise.
18748 (acos_test_upward): Likewise.
18749 (acosh_test): Likewise.
18750 (asin_test): Likewise.
18751 (asin_test_tonearest): Likewise.
18752 (asin_test_towardzero): Likewise.
18753 (asin_test_downward): Likewise.
18754 (asin_test_upward): Likewise.
18755 (asinh_test): Likewise.
18756 (atan_test): Likewise.
18757 (atanh_test): Likewise.
18758 (atan2_test): Likewise.
18759 (cabs_test): Likewise.
18760 (cacos_test): Likewise.
18761 (cacosh_test): Likewise.
18762 (casin_test): Likewise.
18763 (casinh_test): Likewise.
18764 (catan_test): Likewise.
18765 (catanh_test): Likewise.
18766 (cbrt_test): Likewise.
18767 (ccos_test): Likewise.
18768 (ccosh_test): Likewise.
18769 (cexp_test): Likewise.
18770 (clog_test): Likewise.
18771 (clog10_test): Likewise.
18772 (cos_test): Likewise.
18773 (cos_test_tonearest): Likewise.
18774 (cos_test_towardzero): Likewise.
18775 (cos_test_downward): Likewise.
18776 (cos_test_upward): Likewise.
18777 (cosh_test): Likewise.
18778 (cosh_test_tonearest): Likewise.
18779 (cosh_test_towardzero): Likewise.
18780 (cosh_test_downward): Likewise.
18781 (cosh_test_upward): Likewise.
18782 (cpow_test): Likewise.
18783 (csin_test): Likewise.
18784 (csinh_test): Likewise.
18785 (csqrt_test): Likewise.
18786 (ctan_test): Likewise.
18787 (ctan_test_tonearest): Likewise.
18788 (ctan_test_towardzero): Likewise.
18789 (ctan_test_downward): Likewise.
18790 (ctan_test_upward): Likewise.
18791 (ctanh_test): Likewise.
18792 (ctanh_test_tonearest): Likewise.
18793 (ctanh_test_towardzero): Likewise.
18794 (ctanh_test_downward): Likewise.
18795 (ctanh_test_upward): Likewise.
18796 (erf_test): Likewise.
18797 (erfc_test): Likewise.
18798 (exp_test): Likewise.
18799 (exp_test_tonearest): Likewise.
18800 (exp_test_towardzero): Likewise.
18801 (exp_test_downward): Likewise.
18802 (exp_test_upward): Likewise.
18803 (exp10_test): Likewise.
18804 (exp2_test): Likewise.
18805 (expm1_test): Likewise.
18806 (fmod_test): Likewise.
18807 (gamma_test): Likewise.
18808 (hypot_test): Likewise.
18809 (j0_test): Likewise.
18810 (j1_test): Likewise.
18811 (jn_test): Likewise.
18812 (lgamma_test): Likewise.
18813 (log_test): Likewise.
18814 (log10_test): Likewise.
18815 (log1p_test): Likewise.
18816 (log2_test): Likewise.
18817 (logb_test_downward): Likewise.
18818 (pow_test): Likewise.
18819 (pow_test_tonearest): Likewise.
18820 (pow_test_towardzero): Likewise.
18821 (pow_test_downward): Likewise.
18822 (pow_test_upward): Likewise.
18823 (remainder_test): Likewise.
18824 (remquo_test): Likewise.
18825 (sin_test): Likewise.
18826 (sin_test_tonearest): Likewise.
18827 (sin_test_towardzero): Likewise.
18828 (sin_test_downward): Likewise.
18829 (sin_test_upward): Likewise.
18830 (sincos_test): Likewise.
18831 (sinh_test): Likewise.
18832 (sinh_test_tonearest): Likewise.
18833 (sinh_test_towardzero): Likewise.
18834 (sinh_test_downward): Likewise.
18835 (sinh_test_upward): Likewise.
18836 (sqrt_test): Likewise.
18837 (tan_test): Likewise.
18838 (tan_test_tonearest): Likewise.
18839 (tan_test_towardzero): Likewise.
18840 (tan_test_downward): Likewise.
18841 (tan_test_upward): Likewise.
18842 (tanh_test): Likewise.
18843 (tgamma_test): Likewise.
18844 (y0_test): Likewise.
18845 (y1_test): Likewise.
18846 (yn_test): Likewise.
18848 * math/gen-libm-test.pl (adjust_arg): Remove function.
18849 (special_function): Remove argument $in_func. Only handle
18850 generating output for tables of tests, not inside functions.
18851 (parse_args): Likewise.
18852 (generate_testfile): Remove variable $in_func. Update call to
18854 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
18855 (MINUS_ZERO_INIT): Rename macro to minus_zero.
18856 (PLUS_INFTY_INIT): Rename macro to plus_infty.
18857 (MINUS_INFTY_INIT): Rename macro to minus_infty.
18858 (QNAN_VALUE_INIT): Rename macro to qnan_value.
18859 (MAX_VALUE_INIT): Rename macro to max_value.
18860 (MIN_VALUE_INIT): Rename macro to min_value.
18861 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
18862 (plus_zero): Remove variable.
18863 (minus_zero): Likewise.
18864 (plus_infty): Likewise.
18865 (minus_infty): Likewise.
18866 (qnan_value): Likewise.
18867 (max_value): Likewise.
18868 (min_value): Likewise.
18869 (min_subnorm_value): Likewise.
18871 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18873 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
18874 uint64_t or uint32_t usage.
18875 * crypt/sha256-block.c: Likewise.
18876 * crypt/sha256-crypt.c: Likewise.
18877 * crypt/sha256.c: Likewise.
18878 * crypt/sha512-block.c: Likewise.
18879 * crypt/sha512-crypt.c: Likewise.
18880 * crypt/sha512.c: Likewise.
18881 * debug/backtrace-tst.c: Likewise.
18882 * debug/pcprofiledump.c: Likewise.
18883 * elf/cache.c: Likewise.
18884 * elf/dl-cache.c: Likewise.
18885 * elf/dl-misc.c: Likewise.
18886 * elf/dl-profile.c: Likewise.
18887 * elf/dl-support.c: Likewise.
18888 * elf/ldconfig.c: Likewise.
18889 * elf/sprof.c: Likewise.
18890 * iconv/dummy-repertoire.c: Likewise.
18891 * iconv/iconv_charmap.c: Likewise.
18892 * iconv/skeleton.c: Likewise.
18893 * iconvdata/8bit-generic.c: Likewise.
18894 * iconvdata/cp737.h: Likewise.
18895 * iconvdata/cp775.h: Likewise.
18896 * iconvdata/ibm1008.h: Likewise.
18897 * iconvdata/ibm1025.h: Likewise.
18898 * iconvdata/ibm1046.h: Likewise.
18899 * iconvdata/ibm1097.h: Likewise.
18900 * iconvdata/ibm1112.h: Likewise.
18901 * iconvdata/ibm1122.h: Likewise.
18902 * iconvdata/ibm1123.h: Likewise.
18903 * iconvdata/ibm1124.h: Likewise.
18904 * iconvdata/ibm1129.h: Likewise.
18905 * iconvdata/ibm1130.h: Likewise.
18906 * iconvdata/ibm1132.h: Likewise.
18907 * iconvdata/ibm1133.h: Likewise.
18908 * iconvdata/ibm1137.h: Likewise.
18909 * iconvdata/ibm1140.h: Likewise.
18910 * iconvdata/ibm1141.h: Likewise.
18911 * iconvdata/ibm1142.h: Likewise.
18912 * iconvdata/ibm1143.h: Likewise.
18913 * iconvdata/ibm1144.h: Likewise.
18914 * iconvdata/ibm1145.h: Likewise.
18915 * iconvdata/ibm1146.h: Likewise.
18916 * iconvdata/ibm1147.h: Likewise.
18917 * iconvdata/ibm1148.h: Likewise.
18918 * iconvdata/ibm1149.h: Likewise.
18919 * iconvdata/ibm1153.h: Likewise.
18920 * iconvdata/ibm1154.h: Likewise.
18921 * iconvdata/ibm1155.h: Likewise.
18922 * iconvdata/ibm1156.h: Likewise.
18923 * iconvdata/ibm1157.h: Likewise.
18924 * iconvdata/ibm1158.h: Likewise.
18925 * iconvdata/ibm1160.h: Likewise.
18926 * iconvdata/ibm1161.h: Likewise.
18927 * iconvdata/ibm1162.h: Likewise.
18928 * iconvdata/ibm1163.h: Likewise.
18929 * iconvdata/ibm1164.h: Likewise.
18930 * iconvdata/ibm1166.h: Likewise.
18931 * iconvdata/ibm1167.h: Likewise.
18932 * iconvdata/ibm12712.h: Likewise.
18933 * iconvdata/ibm1390.h: Likewise.
18934 * iconvdata/ibm1399.h: Likewise.
18935 * iconvdata/ibm16804.h: Likewise.
18936 * iconvdata/ibm4517.h: Likewise.
18937 * iconvdata/ibm4899.h: Likewise.
18938 * iconvdata/ibm4909.h: Likewise.
18939 * iconvdata/ibm4971.h: Likewise.
18940 * iconvdata/ibm5347.h: Likewise.
18941 * iconvdata/ibm803.h: Likewise.
18942 * iconvdata/ibm856.h: Likewise.
18943 * iconvdata/ibm901.h: Likewise.
18944 * iconvdata/ibm902.h: Likewise.
18945 * iconvdata/ibm9030.h: Likewise.
18946 * iconvdata/ibm9066.h: Likewise.
18947 * iconvdata/ibm921.h: Likewise.
18948 * iconvdata/ibm922.h: Likewise.
18949 * iconvdata/ibm9448.h: Likewise.
18950 * iconvdata/isiri-3342.h: Likewise.
18951 * iconvdata/jis0201.h: Likewise.
18952 * include/link.h: Likewise.
18953 * include/netdb.h: Likewise.
18954 * inet/check_native.c: Likewise.
18955 * inet/check_pf.c: Likewise.
18956 * inet/getipv4sourcefilter.c: Likewise.
18957 * inet/getnameinfo.c: Likewise.
18958 * inet/getsourcefilter.c: Likewise.
18959 * inet/htonl.c: Likewise.
18960 * inet/setipv4sourcefilter.c: Likewise.
18961 * inet/setsourcefilter.c: Likewise.
18962 * inet/test-inet6_opt.c: Likewise.
18963 * inet/tst-network.c: Likewise.
18964 * locale/C-collate.c: Likewise.
18965 * locale/C-ctype.c: Likewise.
18966 * locale/C-time.c: Likewise.
18967 * locale/C-translit.h: Likewise.
18968 * locale/loadarchive.c: Likewise.
18969 * locale/programs/3level.h: Likewise.
18970 * locale/programs/charmap.c: Likewise.
18971 * locale/programs/charmap.h: Likewise.
18972 * locale/programs/ld-address.c: Likewise.
18973 * locale/programs/ld-collate.c: Likewise.
18974 * locale/programs/ld-ctype.c: Likewise.
18975 * locale/programs/ld-identification.c: Likewise.
18976 * locale/programs/ld-measurement.c: Likewise.
18977 * locale/programs/ld-messages.c: Likewise.
18978 * locale/programs/ld-monetary.c: Likewise.
18979 * locale/programs/ld-name.c: Likewise.
18980 * locale/programs/ld-numeric.c: Likewise.
18981 * locale/programs/ld-paper.c: Likewise.
18982 * locale/programs/ld-telephone.c: Likewise.
18983 * locale/programs/ld-time.c: Likewise.
18984 * locale/programs/linereader.c: Likewise.
18985 * locale/programs/locale.c: Likewise.
18986 * locale/programs/locarchive.c: Likewise.
18987 * locale/programs/locfile.h: Likewise.
18988 * locale/programs/repertoire.c: Likewise.
18989 * locale/programs/simple-hash.c: Likewise.
18990 * locale/programs/simple-hash.h: Likewise.
18991 * malloc/memusage.c: Likewise.
18992 * malloc/memusagestat.c: Likewise.
18993 * nis/nis_defaults.c: Likewise.
18994 * nis/nis_hash.c: Likewise.
18995 * nis/nis_print.c: Likewise.
18996 * nis/nis_xdr.c: Likewise.
18997 * nscd/connections.c: Likewise.
18998 * nscd/hstcache.c: Likewise.
18999 * nscd/nscd_gethst_r.c: Likewise.
19000 * nscd/nscd_getserv_r.c: Likewise.
19001 * nscd/nscd_helper.c: Likewise.
19002 * nscd/servicescache.c: Likewise.
19003 * nss/makedb.c: Likewise.
19004 * nss/nss_db/db-XXX.c: Likewise.
19005 * nss/nss_db/db-initgroups.c: Likewise.
19006 * nss/nss_db/db-netgrp.c: Likewise.
19007 * nss/nss_files/files-network.c: Likewise.
19008 * nss/nss_files/files-parse.c: Likewise.
19009 * posix/bug-regex5.c: Likewise.
19010 * posix/fnmatch_loop.c: Likewise.
19011 * posix/regcomp.c: Likewise.
19012 * posix/regexec.c: Likewise.
19013 * posix/tst-rfc3484-2.c: Likewise.
19014 * posix/tst-rfc3484-3.c: Likewise.
19015 * posix/tst-rfc3484.c: Likewise.
19016 * resolv/nss_dns/dns-canon.c: Likewise.
19017 * resolv/nss_dns/dns-network.c: Likewise.
19018 * resolv/res_init.c: Likewise.
19019 * resolv/res_mkquery.c: Likewise.
19020 * resolv/tst-aton.c: Likewise.
19021 * stdlib/cxa_atexit.c: Likewise.
19022 * stdlib/cxa_finalize.c: Likewise.
19023 * stdlib/gen-fpioconst.c: Likewise.
19024 * stdlib/strtol_l.c: Likewise.
19025 * string/tst-endian.c: Likewise.
19026 * sunrpc/auth_des.c: Likewise.
19027 * sunrpc/clnt_udp.c: Likewise.
19028 * sunrpc/rtime.c: Likewise.
19029 * sunrpc/svcauth_des.c: Likewise.
19030 * sunrpc/xdr.c: Likewise.
19031 * sunrpc/xdr_intXX_t.c: Likewise.
19032 * sunrpc/xdr_rec.c: Likewise.
19033 * sysdeps/generic/ldconfig.h: Likewise.
19034 * sysdeps/generic/ldsodefs.h: Likewise.
19035 * sysdeps/generic/memusage.h: Likewise.
19036 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
19037 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
19038 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
19039 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
19040 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19041 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19042 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
19043 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
19044 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19045 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19046 * sysdeps/posix/getaddrinfo.c: Likewise.
19047 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19048 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19049 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
19050 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19051 * sysdeps/powerpc/test-gettimebase.c: Likewise.
19052 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
19053 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
19054 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
19055 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
19056 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
19057 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
19058 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
19059 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
19060 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
19061 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
19062 * sysdeps/x86_64/dl-tls.h: Likewise.
19063 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
19064 * time/alt_digit.c: Likewise.
19065 * time/era.c: Likewise.
19066 * wcsmbs/tst-c16c32-1.c: Likewise.
19068 2013-05-16 Joseph Myers <joseph@codesourcery.com>
19070 * math/libm-test.inc (struct test_sincos_data): New type.
19071 (RUN_TEST_LOOP_sincos): New macro.
19072 (sincos_test_data): New variable.
19073 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
19075 2013-05-16 Richard Henderson <rth@redhat.com>
19077 * math/atest-exp2.c (LIMB64): New macro.
19078 (CONSTSZ): New macro.
19079 (mp_exp1, mp_exp_m1, mp_log2): New variables.
19081 (print_mpn_fp): ... to function scope.
19082 (read_mpn_hex): Remove.
19083 (get_log2): Remove.
19084 (exp2_mpn): Use mp_log2.
19085 (main): Use mp_exp1.
19087 2013-05-16 Joseph Myers <joseph@codesourcery.com>
19089 * math/libm-test.inc: Remove comment about not testing "inexact"
19091 (INEXACT_EXCEPTION): New macro.
19092 (NO_INEXACT_EXCEPTION): Likewise.
19093 (INVALID_EXCEPTION_OK): Update value.
19094 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19095 (OVERFLOW_EXCEPTION_OK): Likewise.
19096 (UNDERFLOW_EXCEPTION_OK): Likewise.
19097 (IGNORE_ZERO_INF_SIGN): Likewise.
19098 (ERRNO_UNCHANGED): Likewise.
19099 (ERRNO_EDOM): Likewise.
19100 (ERRNO_ERANGE): Likewise.
19101 (test_exceptions): Handle testing "inexact" exceptions.
19102 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
19103 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
19104 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
19105 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
19107 (rint_towardzero_test_data): Likewise.
19108 (rint_downward_test_data): Likewise.
19109 (rint_upward_test_data): Likewise.
19111 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
19112 with OVERFLOW_EXCEPTION.
19113 (exp10_test_data): Likewise.
19114 (exp2_test_data): Likewise.
19115 (expm1_test_data): Likewise.
19116 (lgamma_test_data): Likewise.
19117 (pow_test_data): Likewise.
19118 (tgamma_test_data): Likewise.
19119 (yn_test_data): Remove duplicate test of overflow.
19121 * math/libm-test.inc (struct test_cc_c_data): New type.
19122 (RUN_TEST_LOOP_cc_c): New macro.
19123 (cpow_test_data): New variable.
19124 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
19126 * math/libm-test.inc (struct test_f_L_data): New type.
19127 (RUN_TEST_LOOP_f_L): New macro.
19128 (llrint_test_data): New variable.
19129 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
19130 (llrint_tonearest_test_data): New variable.
19131 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
19132 (llrint_towardzero_test_data): New variable.
19133 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
19134 (llrint_downward_test_data): New variable.
19135 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
19136 (llrint_upward_test_data): New variable.
19137 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
19138 (llround_test_data): New variable.
19139 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
19141 2013-05-13 Peter Collingbourne <pcc@google.com>
19143 * math/atest-exp2.c (get_log2): Remove const attribute.
19145 2013-05-15 Joseph Myers <joseph@codesourcery.com>
19147 * math/libm-test.inc (struct test_f_l_data): New type.
19148 (RUN_TEST_LOOP_f_l): New macro.
19149 (lrint_test_data): New variable.
19150 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
19151 (lrint_tonearest_test_data): New variable.
19152 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
19153 (lrint_towardzero_test_data): New variable.
19154 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
19155 (lrint_downward_test_data): New variable.
19156 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
19157 (lrint_upward_test_data): New variable.
19158 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
19159 (lround_test_data): New variable.
19160 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
19162 2013-05-15 Peter Collingbourne <pcc@google.com>
19164 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
19165 (EXTRACT_WORDS64) Use where appropriate.
19166 (INSERT_WORDS64) Likewise.
19168 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
19169 constraints with x constraints.
19170 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
19172 * malloc/obstack.c (_obstack_compat): Add initializer.
19174 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
19176 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
19177 si_trapno and add si_addr_lsb to _sifields.sigfault.
19178 (si_trapno): Remove macro.
19179 (si_addr_lsb): Define new macro.
19180 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19182 2013-05-15 Joseph Myers <joseph@codesourcery.com>
19184 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
19185 instead of TEST_f_l.
19186 (llrint_test_tonearest): Likewise.
19187 (llrint_test_towardzero): Likewise.
19188 (llrint_test_downward): Likewise.
19189 (llrint_test_upward): Likewise.
19190 (llround_test): Likewise.
19192 * math/libm-test.inc (struct test_f_i_data): Add comment.
19193 (RUN_TEST_LOOP_f_b): New macro.
19194 (RUN_TEST_LOOP_f_b_tg): Likewise.
19195 (finite_test_data): New variable.
19196 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
19197 (isfinite_test_data): New variable.
19198 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19199 (isinf_test_data): New variable.
19200 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19201 (isnan_test_data): New variable.
19202 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19203 (isnormal_test_data): New variable.
19204 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19205 (issignaling_test_data): New variable.
19206 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19207 (signbit_test_data): New variable.
19208 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19210 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
19211 with INVALID_EXCEPTION.
19212 (acosh_test_data): Likewise.
19213 (asin_test_data): Likewise.
19214 (atanh_test_data): Likewise.
19215 (fmod_test_data): Likewise.
19216 (log_test_data): Likewise.
19217 (log10_test_data): Likewise.
19218 (log2_test_data): Likewise.
19219 (pow_test_data): Likewise.
19220 (sqrt_test_data): Likewise.
19221 (y0_test_data): Likewise.
19222 (y1_test_data): Likewise.
19223 (yn_test_data): Likewise.
19225 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
19228 * math/libm-test.inc (struct test_ff_i_data): New type.
19229 (RUN_TEST_LOOP_ff_i_tg): New macro.
19230 (isgreater_test_data): New variable.
19231 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19232 (isgreaterequal_test_data): New variable.
19233 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19234 (isless_test_data): New variable.
19235 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19236 (islessequal_test_data): New variable.
19237 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19238 (islessgreater_test_data): New variable.
19239 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19240 (isunordered_test_data): New variable.
19241 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19243 2013-05-14 David S. Miller <davem@davemloft.net>
19245 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19247 2013-05-14 Joseph Myers <joseph@codesourcery.com>
19249 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
19251 * math/libm-test.inc (struct test_fF_f1_data): Change type of
19253 (struct test_f_i_data): Change type of max_ulp to int.
19255 * math/libm-test.inc (test_ffI_f1_data): New type.
19256 (RUN_TEST_LOOP_ffI_f1): New macro.
19257 (remquo_test_data): New variable.
19258 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
19260 * setjmp/tst-setjmp-fp.c: New file.
19261 * setjmp/Makefile (tests): Add tst-setjmp-fp.
19262 (link-libm): New variable.
19263 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
19265 * math/libm-test.inc (struct test_f_i_data): New type.
19266 (RUN_TEST_LOOP_f_i): New macro.
19267 (RUN_TEST_LOOP_f_i_tg): Likewise.
19268 (fpclassify_test_data): New variable.
19269 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
19270 (ilogb_test_data): New variable.
19271 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
19273 * math/libm-test.inc (scalbln_test): Correct function name in END
19276 * math/libm-test.inc (struct test_f_f1_data): Add comment.
19277 (RUN_TEST_LOOP_fI_f1): New macro.
19278 (frexp_test_data): New variable.
19279 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
19281 * math/libm-test.inc (struct test_fF_f1_data): New type.
19282 (RUN_TEST_LOOP_fF_f1): New macro.
19283 (modf_test_data): New variable.
19284 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
19286 * math/libm-test.inc (struct test_f_f1_data): New type.
19287 (RUN_TEST_LOOP_f_f1): New macro.
19288 (gamma_test_data): New variable.
19289 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
19290 (lgamma_test_data): New variable.
19291 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
19293 2013-05-13 Carlos O'Donell <carlos@redhat.com>
19295 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
19296 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
19297 (main): Comment "tls" pseudo-hwcap.
19299 2013-05-13 Joseph Myers <joseph@codesourcery.com>
19301 * math/libm-test.inc (struct test_fl_f_data): New type.
19302 (RUN_TEST_LOOP_fl_f): New variable.
19303 (scalbln_test_data): New variable.
19304 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
19306 * math/libm-test.inc (struct test_fi_f_data): New type.
19307 (RUN_TEST_LOOP_fi_f): New macro.
19308 (ldexp_test_data): New variable.
19309 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
19310 (scalbn_test_data): New variable.
19311 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
19313 * math/libm-test.inc (struct test_c_f_data): New type.
19314 (RUN_TEST_LOOP_c_f): New macro.
19315 (cabs_test_data): New variable.
19316 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
19317 (carg_test_data): New variable.
19318 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
19319 (cimag_test_data): New variable.
19320 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
19321 (creal_test_data): New variable.
19322 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
19324 * math/libm-test.inc (struct test_if_f_data): New type.
19325 (RUN_TEST_LOOP_if_f): New macro.
19326 (jn_test_data): New variable.
19327 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
19328 (yn_test_data): New variable.
19329 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
19331 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
19333 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19335 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
19336 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
19338 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
19340 * benchtests/Makefile (CPPFLAGS-nonlib): Add
19341 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
19342 (bench-deps): Add bench-timing.h.
19343 * benchtests-bench-skeleton.c: Include bench-timing.h.
19344 (main): Use TIMING_* macros instead of clock_gettime.
19345 * benchtests/bench-timing.h: New file.
19348 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
19349 Renamed from _LIB_VERSION.
19350 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
19352 2013-05-12 Joseph Myers <joseph@codesourcery.com>
19354 * math/libm-test.inc (struct test_fff_f_data): New type.
19355 (RUN_TEST_LOOP_fff_f): New macro.
19356 (fma_test_data): New variable.
19357 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
19358 (fma_towardzero_test_data): New variable.
19359 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
19360 (fma_downward_test_data): New variable.
19361 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
19362 (fma_upward_test_data): New variable.
19363 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
19365 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
19366 (struct test_c_c_data): New type.
19367 (RUN_TEST_LOOP_c_c): New macro.
19368 (cacos_test_data): New variable.
19369 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
19370 (cacosh_test_data): New variable.
19371 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
19372 (casin_test_data): New variable.
19373 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
19374 (casinh_test_data): New variable.
19375 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
19376 (catan_test_data): New variable.
19377 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
19378 (catanh_test_data): New variable.
19379 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
19380 (ccos_test_data): New variable.
19381 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
19382 (ccosh_test_data): New variable.
19383 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
19384 (cexp_test_data): New variable.
19385 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
19386 (clog_test_data): New variable.
19387 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
19388 (clog10_test_data): New variable.
19389 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
19390 (conj_test_data): New variable.
19391 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
19392 (cproj_test_data): New variable.
19393 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
19394 (csin_test_data): New variable.
19395 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
19396 (csinh_test_data): New variable.
19397 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
19398 (csqrt_test_data): New variable.
19399 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
19400 (ctan_test_data): New variable.
19401 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
19402 (ctan_tonearest_test_data): New variable.
19403 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19404 (ctan_towardzero_test_data): New variable.
19405 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19406 (ctan_downward_test_data): New variable.
19407 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19408 (ctan_upward_test_data): New variable.
19409 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19410 (ctanh_test_data): New variable.
19411 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
19412 (ctanh_tonearest_test_data): New variable.
19413 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19414 (ctanh_towardzero_test_data): New variable.
19415 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19416 (ctanh_downward_test_data): New variable.
19417 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19418 (ctanh_upward_test_data): New variable.
19419 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19420 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
19423 * math/libm-test.inc (struct test_ff_f_data): New type.
19424 (struct test_ff_f_data_nexttoward): Likewise.
19425 (RUN_TEST_LOOP_2_f): New macro.
19426 (RUN_TEST_LOOP_ff_f): Likewise.
19427 (atan2_test_data): New variable.
19428 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
19429 (copysign_test_data): New variable.
19430 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
19431 (fdim_test_data): New variable.
19432 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
19433 (fmax_test_data): New variable.
19434 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
19435 (fmin_test_data): New variable.
19436 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
19437 (fmod_test_data): New variable.
19438 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
19439 (hypot_test_data): New variable.
19440 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
19441 (nextafter_test_data): New variable.
19442 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
19443 (nexttoward_test_data): New variable.
19444 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
19445 (pow_test_data): New variable.
19446 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
19447 (pow_tonearest_test_data): New variable.
19448 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
19449 (pow_towardzero_test_data): New variable.
19450 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
19451 (pow_downward_test_data): New variable.
19452 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
19453 (pow_upward_test_data): New variable.
19454 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
19455 (remainder_test_data): New variable.
19456 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
19457 (scalb_test_data): New variable.
19458 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
19459 * sysdeps/i386/fpu/libm-test-ulps: Update.
19461 2013-05-11 Joseph Myers <joseph@codesourcery.com>
19463 * math/libm-test.inc (fma_test): Use max_value instead of local
19465 (nextafter_test): Likewise.
19467 * math/libm-test.inc (acos_towardzero_test_data): New variable.
19468 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19469 (acos_downward_test_data): New variable.
19470 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19471 (acos_upward_test_data): New variable.
19472 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19473 (acosh_test_data): New variable.
19474 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
19475 (asin_test_data): New variable.
19476 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
19477 (asin_tonearest_test_data): New variable.
19478 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19479 (asin_towardzero_test_data): New variable.
19480 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19481 (asin_downward_test_data): New variable.
19482 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19483 (asin_upward_test_data): New variable.
19484 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19485 (asinh_test_data): New variable.
19486 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
19487 (atan_test_data): New variable.
19488 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
19489 (atanh_test_data): New variable.
19490 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
19491 (cbrt_test_data): New variable.
19492 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
19493 (ceil_test_data): New variable.
19494 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
19495 (cos_test_data): New variable.
19496 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
19497 (cos_tonearest_test_data): New variable.
19498 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19499 (cos_towardzero_test_data): New variable.
19500 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19501 (cos_downward_test_data): New variable.
19502 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19503 (cos_upward_test_data): New variable.
19504 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19505 (cosh_test_data): New variable.
19506 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
19507 (cosh_tonearest_test_data): New variable.
19508 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19509 (cosh_towardzero_test_data): New variable.
19510 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19511 (cosh_downward_test_data): New variable.
19512 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19513 (cosh_upward_test_data): New variable.
19514 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19515 (erf_test_data): New variable.
19516 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
19517 (erfc_test_data): New variable.
19518 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
19519 (exp_test_data): New variable.
19520 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
19521 (exp_tonearest_test_data): New variable.
19522 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19523 (exp_towardzero_test_data): New variable.
19524 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19525 (exp_downward_test_data): New variable.
19526 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19527 (exp_upward_test_data): New variable.
19528 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19529 (exp10_test_data): New variable.
19530 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
19531 (exp2_test_data): New variable.
19532 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
19533 (expm1_test_data): New variable.
19534 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
19535 (fabs_test_data): New variable.
19536 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
19537 (floor_test_data): New variable.
19538 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
19539 (j0_test_data): New variable.
19540 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
19541 (j1_test_data): New variable.
19542 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
19543 (log_test_data): New variable.
19544 (log_test): Run tests with RUN_TEST_LOOP_f_f.
19545 (log10_test_data): New variable.
19546 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
19547 (log1p_test_data): New variable.
19548 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
19549 (log2_test_data): New variable.
19550 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
19551 (logb_test_data): New variable.
19552 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
19553 (logb_downward_test_data): New variable.
19554 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19555 (nearbyint_test_data): New variable.
19556 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
19557 (rint_test_data): New variable.
19558 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
19559 (rint_tonearest_test_data): New variable.
19560 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19561 (rint_towardzero_test_data): New variable.
19562 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19563 (rint_downward_test_data): New variable.
19564 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19565 (rint_upward_test_data): New variable.
19566 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19567 (round_test_data): New variable.
19568 (round_test): Run tests with RUN_TEST_LOOP_f_f.
19569 (sin_test_data): New variable.
19570 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
19571 (sin_tonearest_test_data): New variable.
19572 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19573 (sin_towardzero_test_data): New variable.
19574 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19575 (sin_downward_test_data): New variable.
19576 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19577 (sin_upward_test_data): New variable.
19578 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19579 (sinh_test_data): New variable.
19580 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
19581 (sinh_tonearest_test_data): New variable.
19582 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19583 (sinh_towardzero_test_data): New variable.
19584 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19585 (sinh_downward_test_data): New variable.
19586 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19587 (sinh_upward_test_data): New variable.
19588 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19589 (sqrt_test_data): New variable.
19590 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
19591 (tan_test_data): New variable.
19592 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
19593 (tan_tonearest_test_data): New variable.
19594 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19595 (tan_towardzero_test_data): New variable.
19596 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19597 (tan_downward_test_data): New variable.
19598 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19599 (tan_upward_test_data): New variable.
19600 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19601 (tanh_test_data): New variable.
19602 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
19603 (tgamma_test_data): New variable.
19604 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
19605 (trunc_test_data): New variable.
19606 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
19607 (y0_test_data): New variable.
19608 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
19609 (y1_test_data): New variable.
19610 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
19611 (significand_test_data): New variable.
19612 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
19614 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
19617 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
19619 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
19621 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
19623 2013-05-10 Andreas Jaeger <aj@suse.de>
19626 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
19627 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
19629 2013-05-10 Joseph Myers <joseph@codesourcery.com>
19631 * math/gen-libm-test.pl (adjust_arg): New function.
19632 (special_functions): Handle generating output in both functions
19634 (parse_args): Likewise.
19635 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
19636 $in_func argument to parse_args.
19637 * math/libm-test.inc (struct test_f_f_data): New type.
19638 (IF_ROUND_INIT_): New macro.
19639 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
19640 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
19641 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
19642 (IF_ROUND_INIT_FE_UPWARD): Likewise.
19643 (ROUND_RESTORE_): Likewise.
19644 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
19645 (ROUND_RESTORE_FE_TONEAREST): Likewise.
19646 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
19647 (ROUND_RESTORE_FE_UPWARD): Likewise.
19648 (RUN_TEST_LOOP_f_f): New macro.
19649 (acos_test_data): New variable.
19650 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
19651 (acos_tonearest_test_data): New variable.
19652 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19654 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19656 * benchtests/bench-skeleton.c (startup): Fix coding style.
19658 2013-05-10 Joseph Myers <joseph@codesourcery.com>
19661 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
19662 negative infinity argument.
19663 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
19664 negative infinity argument.
19665 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
19666 negative infinity argument.
19667 * math/libm-test.inc (tgamma_test): Expect errno to be set for
19670 2013-05-10 Florian Weimer <fweimer@redhat.com>
19672 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
19673 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
19674 * iconv/iconv_prog.c (main): Likewise.
19675 * locale/programs/charmap-dir.c (charmap_readdir)
19676 (fopen_uncompressed): Likewise.
19677 * locale/programs/locfile.c (siblings_uncached)
19678 (write_locale_data): Use lstat64 instead of lstat.
19679 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
19682 2013-05-10 Andreas Jaeger <aj@suse.de>
19685 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
19687 Include <locale.h>.
19689 2013-05-09 Carlos O'Donell <carlos@redhat.com>
19691 * elf/dl-close.c (_dl_close_worker): Add comments.
19693 2013-05-09 Joseph Myers <joseph@codesourcery.com>
19696 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
19698 (__ieee754_rem_pio2l): Update comments.
19701 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
19703 (__ieee754_rem_pio2l): Update comments.
19705 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
19706 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
19708 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
19711 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
19712 (M_PI_34_LOG10El): Likewise.
19713 (M_PI2_LOG10El): Likewise.
19714 (M_PI4_LOG10El): Likewise.
19715 (M_PI_LOG10El): Likewise.
19717 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19719 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19721 2013-05-08 Joseph Myers <joseph@codesourcery.com>
19723 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
19724 (MINUS_ZERO_INIT): Likewise.
19725 (PLUS_INFTY_INIT): Likewise.
19726 (MINUS_INFTY_INIT): Likewise.
19727 (QNAN_VALUE_INIT): Likewise.
19728 (MAX_VALUE_INIT): Likewise.
19729 (MIN_VALUE_INIT): Likewise.
19730 (MIN_SUBNORM_VALUE_INIT): Likewise.
19731 (plus_zero): Initialize with PLUS_ZERO_INIT.
19732 (minus_zero): Initialize with MINUS_ZERO_INIT.
19733 (plus_infty): Initialize with PLUS_INFTY_INIT.
19734 (minus_infty): Initialize with MINUS_INFTY_INIT.
19735 (qnan_value): Initialize with QNAN_VALUE_INIT.
19736 (max_value): Initialize with MAX_VALUE_INIT.
19737 (min_value): Initialize with MIN_VALUE_INIT.
19738 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
19740 * math/libm-test.inc (RUN_TEST_if_f): New macro.
19741 (jn_test): Use TEST_if_f instead of TEST_ff_f.
19742 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
19743 (yn_test): Use TEST_if_f instead of TEST_ff_f.
19745 * math/libm-test.inc (RUN_TEST_f_f): New macro.
19746 (RUN_TEST_2_f): Likewise.
19747 (RUN_TEST_ff_f): Likewise.
19748 (RUN_TEST_fi_f): Likewise.
19749 (RUN_TEST_fl_f): Likewise.
19750 (RUN_TEST_fff_f): Likewise.
19751 (RUN_TEST_c_f): Likewise.
19752 (RUN_TEST_f_f1): Likewise.
19753 (RUN_TEST_fF_f1): Likewise.
19754 (RUN_TEST_fI_f1): Likewise.
19755 (RUN_TEST_ffI_f1): Likewise.
19756 (RUN_TEST_c_c): Likewise.
19757 (RUN_TEST_cc_c): Likewise.
19758 (RUN_TEST_f_i): Likewise.
19759 (RUN_TEST_f_i_tg): Likewise.
19760 (RUN_TEST_ff_i_tg): Likewise.
19761 (RUN_TEST_f_b): Likewise.
19762 (RUN_TEST_f_b_tg): Likewise.
19763 (RUN_TEST_f_l): Likewise.
19764 (RUN_TEST_f_L): Likewise.
19765 (RUN_TEST_sincos): Likewise.
19766 * math/gen-libm-test.pl (new_test): Take new argument to indicate
19767 whether to show exceptions. Do not include ");\n" in return
19769 (special_functions): Output call to RUN_TEST_sincos instead of
19770 check_float calls. Update calls to new_test.
19771 (parse_args): Output call to single RUN_TEST_* macro instead of
19772 check_* calls and other assignments. Update calls to new_test.
19778 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
19779 input to result for tgamma overflow.
19780 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
19781 (gamma_coeff): New variable.
19782 (NCOEFF): New macro.
19783 (gamma_positive): New function.
19784 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
19785 underflow here. Use gamma_positive instead of exp (lgamma) for
19787 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
19788 (gamma_coeff): New variable.
19789 (NCOEFF): New macro.
19790 (gammaf_positive): New function.
19791 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
19792 underflow here. Use gamma_positive instead of exp (lgamma) for
19794 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
19795 (gamma_coeff): New variable.
19796 (NCOEFF): New macro.
19797 (gammal_positive): New function.
19798 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
19799 underflow here. Use gamma_positive instead of exp (lgamma) for
19801 * sysdeps/ieee754/ldbl-128ibm/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, overflow and
19806 underflow here. Handle NaN the same as positive infinity. Remove
19807 check x < 0xffffffff for negative integers. Use gamma_positive
19808 instead of exp (lgamma) for other arguments.
19809 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
19810 (gamma_coeff): New variable.
19811 (NCOEFF): New macro.
19812 (gammal_positive): New function.
19813 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
19814 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
19815 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
19816 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
19817 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
19818 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
19819 * sysdeps/generic/math_private.h (__gamma_productf): New
19821 (__gamma_product): Likewise.
19822 (__gamma_productl): Likewise.
19823 * math/Makefile (libm-calls): Add gamma_product.
19824 * math/libm-test.inc (tgamma_test): Add more tests.
19825 * sysdeps/i386/fpu/libm-test-ulps: Update.
19826 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19828 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
19830 * benchtests/bench-skeleton.c (main): Preheat CPU.
19832 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
19834 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
19836 2013-05-07 Roland McGrath <roland@hack.frob.com>
19838 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
19839 and _dl_skip_args_internal.
19841 2013-05-07 Carlos O'Donell <carlos@redhat.com>
19843 * manual/message.texi (Message Translation): Talk about users.
19844 Message to key mapping impacts design.
19846 2013-05-06 Roland McGrath <roland@hack.frob.com>
19848 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
19850 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
19852 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
19853 * sysdeps/wordsize-64/glob64.c: ... here.
19855 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
19856 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
19859 * debug/getlogin_r_chk.c: Moved to ...
19860 * login/getlogin_r_chk.c: ... here.
19861 * debug/Makefile (routines): Move getlogin_r_chk to ...
19862 * login/Makefile (routines): ... here.
19863 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
19864 * login/Versions (libc: GLIBC_2.4): ... here.
19866 * io/poll.c (__poll): Renamed from poll.
19867 Add libc_hidden_def.
19868 (poll): Define as weak alias.
19870 * debug/ptsname_r_chk.c: Moved to ...
19871 * login/ptsname_r_chk.c: ... here.
19872 * debug/Makefile (routines): Move ptsname_r_chk to ...
19873 * login/Makefile (routines): ... here.
19874 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
19875 * login/Versions (libc: GLIBC_2.4): ... here.
19877 * posix/getlogin.c: Moved to ...
19878 * login/getlogin.c: ... here.
19879 * posix/getlogin_r.c: Moved to ...
19880 * login/getlogin_r.c: ... here.
19881 * posix/getlogin_r.c: Moved to ...
19882 * login/getlogin_r.c: ... here.
19883 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
19884 * login/Makefile (routines): ... here.
19885 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
19886 * login/Versions (libc: GLIBC_2.0): ... here.
19888 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
19889 (setrlimit): Define as weak alias.
19891 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
19892 Call __ names for open, ftruncate, and close.
19893 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
19894 (truncate): Define as weak alias.
19896 2013-05-06 Joseph Myers <joseph@codesourcery.com>
19898 * math/gen-libm-test.pl (parse_args): Initialize x before each
19899 test of frexp, modf and remquo.
19901 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
19902 test signgam value.
19904 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19908 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
19910 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19912 2013-05-06 Roland McGrath <roland@hack.frob.com>
19914 * elf/dl-writev.h: New file.
19915 * elf/dl-misc.c: Include it.
19916 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
19917 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
19919 2013-05-04 Joseph Myers <joseph@codesourcery.com>
19921 * math/libm-test.inc (noXFails): Remove variable.
19922 (noXPasses): Likewise.
19923 (BUILD_COMPLEX_INT): Remove macro.
19924 (print_screen): Remove xfail argument.
19925 (print_screen_max_error): Likewise.
19926 (update_stats): Likewise.
19927 (print_max_error): Likewise. Update calls to other affected
19929 (print_complex_max_error): Likewise.
19930 (test_single_exception): Update calls to print_screen.
19931 (test_single_errno): Likewise.
19932 (check_float_internal): Remove xfail argument. Update calls to
19933 other affected functions.
19934 (check_float): Likewise.
19935 (check_complex): Likewise.
19936 (check_int): Likewise.
19937 (check_long): Likewise.
19938 (check_bool): Likewise.
19939 (check_longlong): Likewise.
19940 (main): Don't print noXFails and noXPasses.
19941 * math/gen-libm-test.pl (top level): Don't mention expected
19942 failure handling in comment.
19943 (new_test): Don't handle expected failures.
19944 (parse_args): Don't mention expected failure handling in comment.
19945 (generate_testfile): Don't handle expected failures.
19946 (parse_ulps): Likewise.
19947 (print_ulps_file): Likewise.
19948 (get_failure): Remove function.
19949 (output_test): Don't handle expected failures.
19950 * make/README.libm-test: Don't mention expected failure handling.
19952 * math/libm-test.inc (plus_zero): Make const. Add initializer.
19953 (minus_zero): Likewise.
19954 (plus_infty): Likewise.
19955 (minus_infty): Likewise.
19956 (qnan_value): Likewise.
19957 (max_value): Likewise.
19958 (min_value): Likewise.
19959 (min_subnorm_value): Likewise.
19960 (initialize): Do not initialize those variables dynamically.
19962 2013-05-03 Roland McGrath <roland@hack.frob.com>
19964 * io/open.c (__open_2): Moved to ...
19965 * io/open_2.c: ... this new file.
19966 * io/open64.c (__open64_2): Moved to ...
19967 * io/open64_2.c: ... this new file.
19968 * io/openat.c (__openat_2): Moved to ...
19969 * io/openat_2.c: ... this new file.
19970 * io/openat64.c (__openat64_2): Moved to ...
19971 * io/openat64_2.c: ... this new file.
19972 * io/Makefile (routines): Add them.
19973 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
19974 * sysdeps/unix/sysv/linux/open_2.c: File removed.
19975 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
19976 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
19977 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
19978 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
19979 (__openat64): Add hidden_ver.
19980 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
19981 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
19983 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
19984 Separately conditionalize setting of GLRO(dl_sysinfo) so
19985 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
19986 as well, but the actual setting is only under [NEED_DL_SYSINFO].
19988 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19990 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
19991 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
19993 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
19994 * sysdeps/unix/sysv/linux/powerpc/init-first.c
19995 (_libc_vdso_platform_setup): Add __vdso_time initialization.
19996 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
19997 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
19999 2013-05-03 Joseph Myers <joseph@codesourcery.com>
20001 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
20002 test signgam value.
20004 * math/libm-test.inc (hypot_test): Do not use
20005 IGNORE_ZERO_INF_SIGN.
20007 2013-05-03 Andreas Jaeger <aj@suse.de>
20009 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
20011 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
20012 (PF_MAX): Adjust for VSOCK change.
20014 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20016 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20018 2013-05-02 Carlos O'Donell <carlos@redhat.com>
20021 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
20022 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
20023 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
20025 2013-05-02 David S. Miller <davem@davemloft.net>
20027 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20029 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
20031 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
20033 2013-05-01 Roland McGrath <roland@hack.frob.com>
20035 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
20037 2013-05-01 Richard Smith <richard@metafoo.co.uk>
20040 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
20041 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20042 Use __attribute__ ((__gnu_inline__)).
20043 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20044 Don't use __attribute__ ((__gnu_inline__)).
20046 2013-05-01 Joseph Myers <joseph@codesourcery.com>
20049 * math/s_catan.c (__catan): Handle small real or imaginary part of
20050 input specially to avoid spurious underflow.
20051 * math/s_catanf.c (__catanf): Likewise.
20052 * math/s_catanh.c (__catanh): Likewise.
20053 * math/s_catanhf.c (__catanhf): Likewise.
20054 * math/s_catanhl.c (__catanhl): Likewise.
20055 * math/s_catanl.c (__catanl): Likewise.
20056 * math/libm-test.inc (catan_test): Add more tests.
20057 (catanh_test): Likewise.
20058 * sysdeps/i386/fpu/libm-test-ulps: Update.
20059 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20061 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20063 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20065 2013-04-30 Joseph Myers <joseph@codesourcery.com>
20068 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
20069 accurately for denominator in atan2.
20070 * math/s_catanf.c (__catanf): Likewise.
20071 * math/s_catanh.c (__catanh): Likewise.
20072 * math/s_catanhf.c (__catanhf): Likewise.
20073 * math/s_catanhl.c (__catanhl): Likewise.
20074 * math/s_catanl.c (__catanl): Likewise.
20075 * math/libm-test.inc (catan_test): Add more tests.
20076 (catanh_test): Likewise.
20077 * sysdeps/i386/fpu/libm-test-ulps: Update.
20078 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20080 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20082 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
20084 * benchtests/Makefile (bench): Remove slow benchmarks.
20085 * benchtests/atan-inputs: Add slow benchmark inputs.
20086 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
20087 (BENCH_FUNC): Accept variant offset.
20089 * benchtests/bench-skeleton.c (main): Run benchmark for each
20091 * benchtests/cos-inputs: Add slow benchmark inputs.
20092 * benchtests/exp-inputs: Likewise.
20093 * benchtests/pow-inputs: Likewise.
20094 * benchtests/sin-inputs: Likewise.
20095 * benchtests/slowatan-inputs: Remove.
20096 * benchtests/slowatan.c: Remove.
20097 * benchtests/slowcos-inputs: Remove.
20098 * benchtests/slowcos.c: Remove.
20099 * benchtests/slowexp-inputs: Remove.
20100 * benchtests/slowexp.c: Remove.
20101 * benchtests/slowpow-inputs: Remove.
20102 * benchtests/slowpow.c: Remove.
20103 * benchtests/slowsin-inputs: Remove.
20104 * benchtests/slowsin.c: Remove.
20105 * benchtests/slowtan-inputs: Remove.
20106 * benchtests/slowtan.c: Remove.
20107 * benchtests/tan-inputs: Add slow benchmark inputs.
20108 * scripts/bench.pl: Parse comments and directives.
20110 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
20112 ($(objpfx)bench-%.c): Remove *-ITER.
20113 * benchtests/bench-modf.c: Remove definition of ITER.
20114 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
20115 (main): Loop for DURATION seconds instead of fixed number of
20117 * scripts/bench.pl: Don't expect iterations in parameters.
20119 2013-04-29 Roland McGrath <roland@hack.frob.com>
20121 * io/fchdir.c (__fchdir): Renamed from fchdir.
20122 (fchdir): Define as weak alias.
20124 2013-04-29 Joseph Myers <joseph@codesourcery.com>
20126 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
20127 (ERRNO_EDOM): Likewise.
20128 (ERRNO_ERANGE): Likewise.
20129 (noErrnoTests): New variable.
20130 (init_max_error): Set errno to 0.
20131 (test_single_errno): New function.
20132 (test_errno): Likewise.
20133 (check_float_internal): Call test_errno. Set errno to 0.
20134 (check_complex): Refer to errno tests in comment.
20135 (check_int): Call test_errno. Set errno to 0.
20136 (check_long): Likewise.
20137 (check_bool): Likewise.
20138 (check_longlong): Likewise.
20139 (cos_test): Use ERRNO_* flags for errno tests instead of
20141 (expm1_test): Likewise.
20142 (fmod_test): Likewise.
20143 (ilogb_test): Likewise.
20144 (lgamma_test): Likewise.
20145 (pow_test): Likewise.
20146 (remainder_test): Likewise.
20147 (sin_test): Likewise.
20148 (tan_test): Likewise.
20149 (yn_test): Likewise.
20150 (initialize): Set errno to 0.
20151 (main): Print number of errno tests.
20152 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
20154 2013-04-29 Andreas Jaeger <aj@suse.de>
20157 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
20161 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
20162 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
20166 * stdlib/random.c (__initstate): Return NULL if
20170 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
20171 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
20174 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20176 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20178 2013-04-29 Joseph Myers <joseph@codesourcery.com>
20180 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
20181 of individual tests.
20182 (casin_test): Likewise.
20183 (casinh_test): Likewise.
20185 2013-04-27 Joseph Myers <joseph@codesourcery.com>
20188 * math/s_catan.c (__catan): Handle arguments with large real or
20189 imaginary part separately without squaring.
20190 * math/s_catanf.c (__catanf): Likewise.
20191 * math/s_catanh.c (__catanh): Likewise.
20192 * math/s_catanhf.c (__catanhf): Likewise.
20193 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20195 (__catanhl): Handle arguments with large real or imaginary part
20196 separately without squaring.
20197 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20199 (__catanl): Handle arguments with large real or imaginary part
20200 separately without squaring.
20201 * math/libm-test.inc (catan_test): Add more tests.
20202 (catanh_test): Likewise.
20203 * sysdeps/i386/fpu/libm-test-ulps: Update.
20204 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20206 2013-04-27 Andreas Jaeger <aj@suse.de>
20209 * stdlib/stdlib.h: Update guards for qecvt.
20210 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
20213 2013-04-27 Allan McRae <allan@archlinux.org>
20215 * sysdeps/i386/fpu/libm-test-ulps: Update.
20217 2013-04-26 Joseph Myers <joseph@codesourcery.com>
20220 * math/s_catan.c: Include <float.h>.
20221 (__catan): Ensure underflow exception occurs for underflowed
20223 * math/s_catanf.c: Include <float.h>.
20224 (__catanf): Ensure underflow exception occurs for underflowed
20226 * math/s_catanh.c: Include <float.h>.
20227 (__catanh): Ensure underflow exception occurs for underflowed
20229 * math/s_catanhf.c: Include <float.h>.
20230 (__catanhf): Ensure underflow exception occurs for underflowed
20232 * math/s_catanhl.c: Include <float.h>.
20233 (__catanhl): Ensure underflow exception occurs for underflowed
20235 * math/s_catanl.c: Include <float.h>.
20236 (__catanl): Ensure underflow exception occurs for underflowed
20238 * math/libm-test.inc (catan_test): Add more tests.
20239 (catanh_test): Likewise.
20242 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
20243 underflowed result.
20244 * math/s_ccoshf.c (__ccoshf): Likewise.
20245 * math/s_ccoshl.c (__ccoshl): Likewise.
20246 * math/s_csin.c (__csin): Likewise.
20247 * math/s_csinf.c (__csinf): Likewise.
20248 * math/s_csinh.c (__csinh): Likewise.
20249 * math/s_csinhf.c (__csinhf): Likewise.
20250 * math/s_csinhl.c (__csinhl): Likewise.
20251 * math/s_csinl.c (__csinl): Likewise.
20252 * math/libm-test.inc (ccos_test): Add more tests.
20253 (ccosh_test): Likewise.
20254 (csin_test): Likewise.
20255 (csinh_test): Likewise.
20257 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20259 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
20260 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
20261 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
20262 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
20263 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
20264 powerpc/power5+/fpu folders.
20265 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
20268 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
20270 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20272 2013-04-25 Joseph Myers <joseph@codesourcery.com>
20274 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
20275 additions to variable.
20276 [$(config-machine) = x86_64] (modules-names): Likewise.
20277 ($(objpfx)tst-audit3): Remove dependency.
20278 ($(objpfx)tst-audit3.out): Likewise.
20279 ($(objpfx)tst-audit4): Likewise.
20280 ($(objpfx)tst-audit4.out): Likewise.
20281 ($(objpfx)tst-audit5): Likewise.
20282 ($(objpfx)tst-audit5.out): Likewise.
20283 ($(objpfx)tst-audit6): Likewise.
20284 ($(objpfx)tst-audit6.out): Likewise.
20285 ($(objpfx)tst-audit7): Likewise.
20286 ($(objpfx)tst-audit7.out): Likewise.
20287 (tst-audit3-ENV): Remove variable.
20288 (tst-audit4-ENV): Likewise.
20289 (tst-audit5-ENV): Likewise.
20290 (tst-audit6-ENV): Likewise.
20291 (tst-audit7-ENV): Likewise.
20292 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
20293 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
20294 addition to variable.
20295 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
20296 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
20297 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
20298 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
20299 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
20300 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
20301 tst-audit3, tst-audit4 and tst-audit5.
20302 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
20303 tst-audit6 and tst-audit7.
20304 [$(subdir) = elf] (modules-names): Add audit modules for those
20306 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
20307 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
20308 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
20309 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
20310 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
20311 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
20312 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
20313 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
20314 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
20315 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
20316 [$(subdir) = elf] (tst-audit3-ENV): New variable.
20317 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
20318 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
20319 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
20320 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
20321 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
20323 [$(subdir) = elf && $(config-cflags-avx) = yes]
20324 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
20325 [$(subdir) = elf && $(config-cflags-avx) = yes]
20326 (CFLAGS-tst-auditmod4a.c): Likewise.
20327 [$(subdir) = elf && $(config-cflags-avx) = yes]
20328 (CFLAGS-tst-auditmod4b.c): Likewise.
20329 [$(subdir) = elf && $(config-cflags-avx) = yes]
20330 (CFLAGS-tst-auditmod6b.c): Likewise.
20331 [$(subdir) = elf && $(config-cflags-avx) = yes]
20332 (CFLAGS-tst-auditmod6c.c): Likewise.
20333 [$(subdir) = elf && $(config-cflags-avx) = yes]
20334 (CFLAGS-tst-auditmod7b.c): Likewise.
20335 * elf/tst-audit3.c: Move to ...
20336 * sysdeps/x86_64/tst-audit3.c: ... here.
20337 * elf/tst-audit4.c: Move to ...
20338 * sysdeps/x86_64/tst-audit4.c: ... here.
20339 * elf/tst-audit5.c: Move to ...
20340 * sysdeps/x86_64/tst-audit5.c: ... here.
20341 * elf/tst-audit6.c: Move to ...
20342 * sysdeps/x86_64/tst-audit6.c: ... here.
20343 * elf/tst-audit7.c: Move to ...
20344 * sysdeps/x86_64/tst-audit7.c: ... here.
20345 * elf/tst-auditmod3a.c: Move to ...
20346 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
20347 * elf/tst-auditmod3b.c: Move to ...
20348 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
20349 * elf/tst-auditmod4a.c: Move to ...
20350 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
20351 * elf/tst-auditmod4b.c: Move to ...
20352 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
20353 * elf/tst-auditmod5a.c: Move to ...
20354 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
20355 * elf/tst-auditmod5b.c: Move to ...
20356 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
20357 * elf/tst-auditmod6a.c: Move to ...
20358 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
20359 * elf/tst-auditmod6b.c: Move to ...
20360 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
20361 * elf/tst-auditmod6c.c: Move to ...
20362 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
20363 * elf/tst-auditmod7a.c: Move to ...
20364 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
20365 * elf/tst-auditmod7b.c: Move to ...
20366 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
20368 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
20371 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
20372 define unconditionally.
20373 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
20374 define unconditionally.
20375 (INT8_C, INT16_C, etc.): Likewise.
20377 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
20379 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
20380 __ehdr_start with hidden visibility.
20382 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
20384 2013-04-24 Carlos O'Donell <carlos@redhat.com>
20386 * math/libm-test.inc (cos_test): Use accurate hex constants.
20387 (sincost_test): Likewise.
20389 2013-04-24 Joseph Myers <joseph@codesourcery.com>
20391 * math/libm-test.inc (catan_test): Add more tests.
20392 (catanh_test): Likewise.
20394 * math/s_catanf.c (__catanf): Use suffixed floating-point
20396 * math/s_catanhf.c (__catanhf): Likewise.
20397 * math/s_catanhl.c (__catanhl): Likewise.
20398 * math/s_catanl.c (__catanl): Likewise.
20401 * math/s_catan.c (__catan): Calculate imaginary part of result
20402 with log1p not log unless computing log of number close to 0.
20403 * math/s_catanf.c (__catanf): Likewise.
20404 * math/s_catanl.c (__catanl): Likewise.
20405 * math/s_catanh.c (__catanh): Calculate real part of result with
20406 log1p not log unless computing log of number close to 0.
20407 * math/s_catanhf.c (__catanhf): Likewise.
20408 * math/s_catanhl.c (__catanhl): Likewise.
20409 * math/libm-test.inc (catan_test): Add more tests.
20410 (catanh_test): Likewise.
20411 * sysdeps/i386/fpu/libm-test-ulps: Update.
20412 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20414 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
20416 * benchtests/Makefile: Mention files in which fast and slow
20417 paths of math functions are implemented.
20419 2013-04-23 Roland McGrath <roland@hack.frob.com>
20421 * sysdeps/posix/timespec_get.c: New file.
20423 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20425 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
20427 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
20429 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
20430 powerpc/power5/fpu folders.
20431 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
20432 * benchtests/Makefile: Add modf testcase.
20433 * benchtests/bench-modf.c: New file: Benchmark test for mo
20435 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
20438 * time/Makefile (tests): Add tst-strptime-whitespace.
20439 * time/strptime_l.c (get_number): Use ISSPACE.
20440 (__strptime_internal): Likewise.
20441 * time/tst-strptime-whitespace.c: New test case.
20443 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
20445 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
20447 (_nss_files_init): Set it here.
20449 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
20451 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
20452 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
20455 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
20457 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
20459 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
20461 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
20464 2013-04-21 David S. Miller <davem@davemloft.net>
20466 * po/ru.po: Update Russion translation from translation project.
20468 2013-04-17 Adam Conrad <adconrad@0c3.net>
20470 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
20473 2013-04-17 Carlos O'Donell <carlos@redhat.com>
20475 * configure.in: Remove i386 configure warning. Remove i386 case.
20476 * configure: Regenerate.
20477 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
20478 Add example to error message.
20479 * sysdeps/i386/configure: Regenerate.
20481 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20483 * benchtests/Makefile (bench): Add cos, tan, slowcos and
20485 * benchtests/cos-inputs: New file.
20486 * benchtests/slowcos-inputs: New file.
20487 * benchtests/slowcos.c: New file.
20488 * benchtests/slowtan-inputs: New file.
20489 * benchtests/slowtan.c: New file.
20490 * benchtests/tan-inputs: New file.
20492 2013-04-16 Roland McGrath <roland@hack.frob.com>
20494 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
20497 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20499 * benchtests/Makefile: Include cppflags-iterator.mk to add
20500 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
20502 * Makefile.in (bench-clean): New target.
20503 * benchtests/Makefile (bench-clean): Likewise.
20505 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
20507 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
20509 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
20511 * stdio-common/tstdiomisc.c: Fix coding-style violation.
20513 2013-04-15 Andreas Schwab <schwab@suse.de>
20515 * nscd/grpcache.c (cache_addgr): Properly check for short write.
20516 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20517 * nscd/pwdcache.c (cache_addpw): Likewise.
20518 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
20521 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20523 * benchtests/Makefile (bench): Write all output to
20524 bench-out.tmp together.
20526 2013-04-15 Andreas Schwab <schwab@suse.de>
20528 * nscd/nscd.c (main): Don't fork again after closing files.
20530 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20532 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
20534 * benchtests/Rules (bench-deps): Collect dependencies into a
20535 single variable. Add Makefile to dependencies.
20536 ($(objpfx)bench-%.c): Depend on bench-deps.
20538 2013-04-12 Roland McGrath <roland@hack.frob.com>
20539 Xavier Roche <roche+kml2@exalead.com>
20542 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
20543 just that it's a file descriptor.
20544 * manual/llio.texi (Synchronizing AIO Operations): Update description
20545 for EBADF error from aio_fsync.
20547 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
20549 * Rules (bench): Move target definition...
20550 * benchtests/Makefile: ... here.
20552 2013-04-11 Carlos O'Donell <carlos@redhat.com>
20554 * math/libm-test.inc (cos_test): Fix PI/2 test.
20555 (sincos_test): Likewise.
20556 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
20557 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
20559 2013-04-11 Andreas Schwab <schwab@suse.de>
20562 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
20563 accept exponent character only when digits were seen.
20564 * stdio-common/Makefile (tests): Add bug26.
20565 * stdio-common/bug26.c: New file.
20568 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
20571 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20573 * Makeconfig (rtld-prefix): Define built linker prefix.
20574 * Rules (run-bench): Use it.
20575 * math/Makefile (run-regen-ulps): Likewise.
20577 * Rules (bench): Remove eval.
20579 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20580 Roland McGrath <roland@hack.frob.com>
20581 Ondrej Bilka <neleai@seznam.cz>
20584 * time/getdate.c: Include ctype.h and alloca.h.
20585 (__getdate_r): Trim leading and trailing spaces of input.
20586 * time/tst-getdate.c (tests): Add tests with leading and
20589 2013-04-08 Roland McGrath <roland@hack.frob.com>
20592 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
20593 when computing value.
20595 2013-04-06 Carlos O'Donell <carlos@redhat.com>
20597 * math/README.libm-test (How can I generate "libm-test-ulps"?):
20598 Use testrun.sh to run libm tests.
20601 * elf/dl-open.c (dl_open_worker): memset all of seen array.
20603 2013-04-06 Marko Myllynen <myllynen@redhat.com>
20606 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
20608 2013-04-06 Carlos O'Donell <carlos@redhat.com>
20610 * Makefile.in (regen-ulps): New target.
20611 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
20612 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
20613 [ifneq (no,$(PERL)] (regen-ulps): New target.
20614 [ifeq (no,$(PERL)] (regen-ulps): New target.
20615 * math/libm-test.inc (ulps_file_name): Define.
20616 (output_dir): New variable.
20617 (options): Add "output-dir" option.
20618 (parse_opt): Handle 'o' case.
20619 (main): If output_dir is non-NULL use it as a prefix
20621 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
20623 2013-04-06 Carlos O'Donell <carlos@redhat.com>
20625 [BZ #10060, #10062]
20626 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
20627 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
20628 fail configure if __sync_val_compare_and_swap is not inlined.
20629 * sysdeps/i386/configure: Regenerate.
20630 * configure.in: Build for i686 when configured for i386.
20631 * configure: Regenerate.
20632 * README: Remove i386 reference.
20634 2013-04-06 Carlos O'Donell <carlos@redhat.com>
20636 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
20637 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20639 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
20641 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
20642 (lmsnanval): New variables.
20643 (F): Add conversion tests.
20644 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
20645 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
20647 * stdio-common/tstdiomisc.c (F): Properly collect individual
20650 [BZ #14686, #15336]
20651 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
20652 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
20653 Instead, use input NaN values or generate a qNaN by arithmetic
20654 operation. Also fix bugs to comply with the standard.
20655 * math/libm-test.inc (remainder_test): Add more tests.
20657 [BZ #15335, #15342]
20658 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
20659 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
20660 input NaN values or generate a qNaN by arithmetic operation.
20662 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
20665 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
20668 2013-04-03 Joseph Myers <joseph@codesourcery.com>
20671 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
20672 underflowed result.
20673 * math/s_cexpf.c (__cexpf): Likewise.
20674 * math/s_cexpl.c (__cexpl): Likewise.
20675 * math/libm-test.inc (cexp_test): Add more tests.
20677 2013-04-03 Andreas Schwab <schwab@suse.de>
20680 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
20681 order arrays from heap if bigger than alloca cutoff.
20683 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
20685 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
20686 (SNAN_TESTS_double): Refer to GCC PR56831.
20687 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
20690 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
20692 * Rules (bench): Move bench.out after the run is complete.
20694 * Rules (bench): Echo currently running benchmark.
20696 * benchtests/Makefile (bench): Add atan and slowatan.
20697 * benchtests/atan-inputs: New file.
20698 * benchtests/slowatan-inputs: New file.
20699 * benchtests/slowatan.c: New file.
20701 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
20702 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
20706 * sysdeps/unix/sysv/linux/kernel-features.h
20707 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
20708 __ASSUME_XFS_RESTRICTED_CHOWN.
20709 * sysdeps/unix/sysv/linux/pathconf.c
20710 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
20711 Save and restore errno.
20713 2013-04-02 Joseph Myers <joseph@codesourcery.com>
20716 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
20717 arguments using __kernel_casinh.
20718 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
20719 arguments using __kernel_casinhf.
20720 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
20721 arguments using __kernel_casinhl.
20722 * math/libm-test.inc (cacosh_test): Add more tests.
20723 * sysdeps/i386/fpu/libm-test-ulps: Update.
20724 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20726 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20728 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
20729 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
20731 * bench/Makefile (bench): Add sin and slowsin.
20732 * benchtests/sin-inputs: New file.
20733 * benchtests/slowsin-inputs: New file.
20734 * benchtests/slowsin.c: New file.
20736 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
20737 (bench): Add slowexp and slowpow.
20738 (exp-ITER): Increase iterations.
20739 (pow-ITER): Likewise.
20740 * benchtests/exp-inputs: Change input.
20741 * benchtests/pow-inputs: Likewise.
20742 * benchtests/slowexp-inputs: New file.
20743 * benchtests/slowexp.c: New file.
20744 * benchtests/slowpow-inputs: New file.
20745 * benchtests/slowpow.c: New file.
20747 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20749 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
20751 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
20752 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
20753 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
20754 * benchtests/Makefile: Add rint benchtest.
20755 * benchtests/rint-inputs: Input for rint benchtest.
20757 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
20759 * Versions.def (libm): Add GLIBC_2.18.
20760 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
20761 hidden libm prototypes.
20762 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
20763 * math/Makefile (libm-calls): Add s_issignaling.
20764 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
20765 __issignalingf, __issignalingl. Adjust all libm.abilist files.
20766 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
20768 * math/math.h [__USE_GNU] (issignaling): New macro.
20769 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
20770 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
20771 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
20772 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
20773 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
20774 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
20775 * manual/arith.texi (issignaling): New section.
20776 * manual/libm-err-tab.pl (@all_functions): Update comment.
20777 * math/gen-libm-test.pl (parse_args): Apply special handling for
20779 * math/libm-test.inc (print_float, issignaling_test): New
20781 (check_float_internal): Add issignaling checks.
20782 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
20783 default definition.
20784 * sysdeps/powerpc/math-tests.h: New file.
20785 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
20787 * math/test-snan.c (TEST_FUNC): Likewise.
20789 2013-03-30 David S. Miller <davem@davemloft.net>
20791 * po/de.po: Update from translation team.
20793 2013-03-30 Joseph Myers <joseph@codesourcery.com>
20796 * math/k_casinh.c (__kernel_casinh): Handle arguments with
20797 imaginary part less than 1.0 and real part less than 0.5
20799 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20800 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20801 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
20802 (cacos_test): Add more tests.
20803 (casin_test): Likewise.
20804 (casinh_test): Likewise.
20805 * sysdeps/i386/fpu/libm-test-ulps: Update.
20806 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20808 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20810 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
20811 ONE with its value.
20813 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
20814 (__pow_mp): Replace ONE and MONE with their values.
20815 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20816 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
20817 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20818 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
20819 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20820 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20822 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
20824 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
20825 (__pow_mp): Replace ZERO and MZERO with their values.
20826 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
20827 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20828 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20829 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20830 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20831 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
20834 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
20836 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
20838 2013-03-28 Roland McGrath <roland@hack.frob.com>
20840 * include/stdlib.h [!SHARED] (__call_tls_dtors):
20841 Declare with __attribute__ ((weak)).
20842 * stdlib/exit.c (__libc_atexit) [!SHARED]:
20843 Call __call_tls_dtors only if it's not NULL.
20845 2013-03-28 Roland McGrath <roland@hack.frob.com>
20847 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
20848 didn't do it already, then set _dl_phdr and _dl_phnum based on the
20849 magic __ehdr_start linker symbol if it's defined.
20850 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
20851 them up here if it was already done.
20853 * elf/dl-support.c (_dl_phdr): Make pointer to const.
20854 (_dl_aux_init): Use const in cast when setting it.
20855 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
20856 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
20857 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
20859 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
20861 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
20862 * csu/libc-tls.c: Nor here.
20863 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
20865 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
20866 (__libc_message): Never call vsyslog.
20868 2013-03-28 Alan Modra <amodra@gmail.com>
20870 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
20872 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
20875 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20878 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
20880 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20882 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20885 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
20886 Don't add gid passed as argument.
20888 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
20890 2013-03-27 Joseph Myers <joseph@codesourcery.com>
20893 * math/k_casinh.c (__kernel_casinh): Handle arguments with
20894 imaginary part between 1.0 and 1.5 and real part less than 0.5
20896 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20897 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20898 * math/libm-test.inc (cacos_test): Add more tests.
20899 (casin_test): Likewise.
20900 (casinh_test): Likewise.
20901 * sysdeps/i386/fpu/libm-test-ulps: Update.
20902 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20904 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20906 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
20909 (denorm): Likewise.
20910 (__dbl_mp): Likewise.
20911 (add_magnitudes): Likewise.
20912 (sub_magnitudes): Likewise.
20920 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
20922 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
20923 (__dubcos): Likewise.
20924 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
20925 (__ieee754_acos): Likewise.
20926 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
20927 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
20928 (__exp1): Likewise.
20929 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20930 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
20932 (my_log2): Likewise.
20933 (checkint): Likewise.
20934 * sysdeps/ieee754/dbl-64/e_remainder.c
20935 (__ieee754_remainder): Likewise.
20936 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20937 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
20938 (bsloww): Likewise.
20939 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20941 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
20942 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
20943 MANTISSA_STORE_T to store computations on mantissa. Use
20944 macros for rounding and division.
20945 (denorm): Likewise.
20946 (__dbl_mp): Likewise.
20947 (add_magnitudes): Likewise.
20948 (sub_magnitudes): Likewise.
20951 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
20952 powers of two in terms of TWOPOW macro.
20953 (mp_no): Make type of mantissa as MANTISSA_T.
20954 [!RADIXI]: Define RADIXI.
20955 [!TWO52]: Define TWO52.
20956 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
20958 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20960 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
20961 llroundl symbol when building for PPC32.
20963 2013-03-24 Mark H Weaver <mhw@netris.org>
20965 * manual/arith.texi (Normalization Functions): Fix prototypes for
20966 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
20968 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20971 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
20972 high value to check if expl overflow.
20973 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
20974 to check for underflow and overflow.
20975 * math/libm-test.inc: Add exp test.
20977 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
20980 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
20983 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20985 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
20988 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
20990 * math/gen-libm-test.pl (parse_args, special_functions): Properly
20991 wrap blocks consisting of several statements.
20993 * sysdeps/generic/math-tests.h: New file.
20994 * sysdeps/i386/fpu/math-tests.h: Likewise.
20995 * math/test-snan.c: Include it.
20996 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
20998 2013-03-21 Joseph Myers <joseph@codesourcery.com>
21001 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
21002 (__ieee754_j0l): Do not improve calculations using cos of twice
21003 input for inputs above LDBL_MAX / 2.0L.
21004 (__ieee754_y0l): Likewise.
21005 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
21006 (__ieee754_j1l): Do not improve calculations using cos of twice
21007 input for inputs above LDBL_MAX / 2.0L.
21008 (__ieee754_y1l): Likewise.
21009 * math/libm-test.inc (j0_test): Add another test.
21010 (j1_test): Likewise.
21011 (y0_test): Likewise.
21012 (y1_test): Likewise.
21013 * sysdeps/i386/fpu/libm-test-ulps: Update.
21015 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21017 * Rules ($(objpfx)bench-%.c): Include code from a C source
21020 2013-03-21 Joseph Myers <joseph@codesourcery.com>
21023 * math/k_casinh.c (__kernel_casinh): Handle arguments with
21024 imaginary part 1.0 and real part less than 0.5 specially.
21025 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21026 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21027 * math/libm-test.inc (cacos_test): Add more tests.
21028 (casin_test): Likewise.
21029 (casinh_test): Likewise.
21030 * sysdeps/i386/fpu/libm-test-ulps: Update.
21031 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21033 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21035 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
21036 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
21038 2013-03-20 Joseph Myers <joseph@codesourcery.com>
21040 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
21041 * config.make.in (config-cflags-sse4): Remove variable.
21042 (config-cflags-avx): Likewise.
21043 (config-cflags-sse2avx): Likewise.
21044 (config-cflags-novzeroupper): Likewise.
21045 (config-asflags-i686): Likewise.
21046 (have-mfma4): Likewise.
21047 (have-as-vis3): Likewise.
21049 * configure.in (MIG): Do not AC_SUBST.
21050 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
21051 (libc_cv_cc_sse4): Do not AC_SUBST.
21052 (libc_cv_cc_avx): Likewise.
21053 (libc_cv_cc_sse2avx): Likewise.
21054 (libc_cv_cc_novzeroupper): Likewise.
21055 (libc_cv_cc_fma4): Likewise.
21056 (libc_cv_as_i686): Likewise.
21057 (libc_cv_sparc_as_vis3): Likewise.
21058 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
21060 (config-asflags-i686): Likewise.
21061 (config-cflags-avx): Likewise.
21062 (config-cflags-sse2avx): Likewise.
21063 (have-mfma4): Likewise.
21064 (config-cflags-novzeroupper): Likewise.
21065 * sysdeps/mach/configure.in (MIG): Likewise.
21066 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
21067 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
21069 (config-cflags-avx): Likewise.
21070 (config-cflags-sse2avx): Likewise.
21071 (have-mfma4): Likewise.
21072 (config-cflags-novzeroupper): Likewise.
21073 * configure: Regenerated.
21074 * sysdeps/i386/configure: Likewise.
21075 * sysdeps/mach/configure: Likewise.
21076 * sysdeps/sparc/configure: Likewise.
21077 * sysdeps/x86_64/configure: Likewise.
21079 2013-03-20 Roland McGrath <roland@hack.frob.com>
21082 * locale/programs/localedef.c (options): Put N_ translation marker
21083 on argument names, not just descriptions.
21085 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21087 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
21089 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
21092 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
21094 2013-03-19 Roland McGrath <roland@hack.frob.com>
21096 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
21097 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
21098 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
21099 [!BEFORE_ABORT] (before_abort): New function.
21100 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
21101 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
21102 (writev_for_fatal): New function.
21103 (WRITEV_FOR_FATAL): New macro; call that.
21104 (backtrace_and_maps): New function.
21105 (BEFORE_ABORT): New macro; call that.
21106 (struct str_list): Type removed.
21107 (__libc_message, __libc_fatal): Functions removed.
21108 Include <sysdeps/posix/libc_fatal.c> instead.
21110 2013-03-19 Joseph Myers <joseph@codesourcery.com>
21112 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
21114 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
21117 2013-03-19 Andreas Schwab <schwab@suse.de>
21119 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
21120 * sysdeps/gnu/configure: Regenerate.
21122 * configure.in: Substitute libc_cv_rtlddir.
21123 * configure: Regenerate.
21124 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
21125 * Makeconfig (rtlddir, inst_rtlddir): New variables.
21126 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
21127 * elf/Makefile (install-others, CFLAGS-interp.c)
21128 (ldso_install, common-ldd-rewrite): Likewise.
21129 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
21130 $(inst_slibdir)/$(rtld-installed-name).
21131 * scripts/rellns-sh: Add -p option.
21132 * Makerules (make-shlib-link): Use rellns-sh to get relative name
21135 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21137 * manual/nptl.texi: Renamed to ...
21138 * manual/threads.texi: ... this.
21139 * manual/Makefile (chapters): Update.
21141 2013-03-18 Roland McGrath <roland@hack.frob.com>
21144 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
21145 on argument names, not just descriptions.
21146 * malloc/memusagestat.c (options): Likewise.
21147 * nss/getent.c (options): Likewise.
21149 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
21152 * iconv/iconv_prog.c (options): Put N_ translation marker
21153 on argument names, not just descriptions.
21154 * iconv/iconvconfig.c (options): Likewise.
21156 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
21158 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
21159 implementation which is faster on all x86_64 architectures.
21160 Tested on AMD, Intel Nehalem, SNB, IVB.
21161 * sysdeps/x86_64/strnlen.S: Likewise.
21163 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21164 Remove all multiarch strlen and strnlen versions.
21165 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
21166 Remove strlen and strnlen related parts.
21168 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
21169 Inline strlen part.
21170 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
21172 * sysdeps/x86_64/multiarch/strlen.S: Remove.
21173 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
21174 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
21175 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
21176 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
21177 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
21179 2013-03-17 Carlos O'Donell <carlos@redhat.com>
21181 * manual/memory.texi (Malloc Tunable Parameters):
21182 Sort parameters alphabetically. Add comments for missing entries.
21184 2013-03-17 David S. Miller <davem@davemloft.net>
21186 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21188 2013-03-16 Joseph Myers <joseph@codesourcery.com>
21191 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
21192 for arguments at most half maximum finite value.
21193 * math/libm-test.inc (j0_test): Add more tests.
21194 (j1_test): Likewise.
21195 (y0_test): Likewise.
21196 (y1_test): Likewise.
21197 * sysdeps/i386/fpu/libm-test-ulps: Update.
21198 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21201 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
21202 1 / x and functions P and Q for arguments above 0x1p256L.
21203 (__ieee754_y0l): Likewise.
21204 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
21205 (__ieee754_y1l): Likewise.
21206 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
21207 (j1_test): Likewise.
21208 (y0_test): Likewise.
21209 (y1_test): Likewise.
21211 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
21213 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
21216 2013-03-15 Roland McGrath <roland@hack.frob.com>
21218 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
21219 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
21220 zero since it's initialized to EXEC_PAGESIZE.
21222 * sysdeps/unix/sysv/linux/ldsodefs.h
21223 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
21224 * sysdeps/generic/ldsodefs.h: ... here.
21226 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
21228 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
21230 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
21232 * math/test-snan.c: Renamed from
21233 sysdeps/powerpc/fpu/test-powerpc-snan.c.
21234 * math/Makefile (tests): Add test-snan.
21235 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
21238 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
21239 SUFFIX. Initialize qNaN_var with __builtin_nan family of
21241 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
21242 __builtin_nan family of functions.
21243 * math/libm-test.inc (initialize): Initialize qnan_value with
21244 __builtin_nan family of functions.
21245 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
21247 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
21249 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
21250 storage class. Initialize qNaN_var and sNaN_var with
21251 __builtin_nan and __builtin_nans families of functions,
21254 * math/libm-test.inc (acosh_test): Also test with qNaN input.
21255 (sqrt_test): Remove duplicate test with qNaN input.
21256 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
21257 (round_test, signbit_test, significand_test): Note missing +/-Inf
21258 as well as qNaN tests.
21260 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
21261 qNaN_var. Fix a few strings, too.
21262 * math/libm-test.inc (nan_value): Rename to qnan_value.
21263 * math/gen-libm-test.pl (%beautify): Adjust to that.
21264 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
21265 * math/test-misc.c (main): Likewise.
21266 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
21267 to __qnan_bytes, and __qnan_union, respectively.
21268 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
21270 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
21271 and lqnanval, respectively.
21272 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
21273 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
21274 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
21275 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
21277 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
21278 * math/test-misc.c (main) [__x86_64__]: Enable test for long
21281 * math/test-misc.c (main): Fix copy'n'pastos.
21282 * misc/tst-efgcvt.c (special): Likewise.
21284 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
21285 Remove declarations.
21287 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21289 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
21290 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
21291 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
21292 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
21294 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21296 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
21297 macro to return vdso values correctly in IFUNC implementations.
21298 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
21299 Optimization by using IFUNC.
21301 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21302 Richard Henderson <rth@redhat.com>
21303 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21305 * Makefile.in (bench): New target.
21306 * NEWS: Mention the benchmark framework.
21307 * Rules (bench): Likewise.
21308 (binaries-bench): Generate binaries for functions to
21310 * benchtests/Makefile: New makefile for benchmark tests.
21311 * benchtests/bench-skeleton.c: New skeleton file for benchmark
21313 * benchtests/exp-inputs: New input file for EXP function.
21314 * benchtests/pow-inputs: New input file for POW function.
21315 * scripts/bench.pl: New script to generate source files for
21316 benchmark programs.
21318 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21320 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21321 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
21322 computations on mantissa. Use macros for rounding and
21324 (denorm): Likewise.
21325 (__dbl_mp): Likewise.
21326 (add_magnitudes): Likewise.
21327 (sub_magnitudes): Likewise.
21330 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
21331 powers of two in terms of TWOPOW macro.
21332 (mp_no): Make type of mantissa as MANTISSA_T.
21333 [!RADIXI]: Define RADIXI.
21334 [!TWO52]: Define TWO52.
21335 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21337 * manual/nptl.texi (cindex): Modify threads to pthreads.
21339 2013-03-15 Joseph Myers <joseph@codesourcery.com>
21341 * sysdeps/x86_64/preconfigure: Regenerated.
21343 2013-03-14 Joseph Myers <joseph@codesourcery.com>
21346 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
21348 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
21349 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
21351 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
21352 * math/libm-test.inc (j0_test): Do not allow one spurious
21353 underflow exception.
21354 (y1_test): Likewise.
21356 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21358 * manual/Makefile (chapters): Add nptl.
21359 * manual/debug.texi (Debugging Support): Add link to Threads
21361 * manual/nptl.texi: New file.
21363 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
21365 2013-03-14 Petr Baudis <pasky@ucw.cz>
21367 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
21368 for non-NULL pointer before the memory validity test. Pointed
21369 out by Holger Brunck <holger.brunck@keymile.com>.
21371 2013-03-13 Andreas Schwab <schwab@suse.de>
21373 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
21376 2013-03-13 Joseph Myers <joseph@codesourcery.com>
21378 * timezone/zic.c: Update from tzcode 2013b.
21380 2013-03-12 Carlos O'Donell <carlos@redhat.com>
21382 * manual/install.texi (Configuring and compiling):
21383 Mention i686 and i586.
21384 * INSTALL: Regenerate.
21386 2013-03-12 Roland McGrath <roland@hack.frob.com>
21388 * sysdeps/init_array/elf-init.c: New file.
21390 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
21391 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
21393 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
21394 __gmon_start__ as global, but as static with a .preinit_array pointer.
21395 * sysdeps/init_array/gmon-start.c: New file. Use that.
21396 * sysdeps/init_array/crti.S: New file, empty except for comments.
21397 * sysdeps/init_array/crtn.S: Likewise.
21399 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
21401 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
21403 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21404 Remove Prefer_SSE_for_memop.
21405 * sysdeps/x86_64/multiarch/init-arch.h: Remove
21406 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
21407 HAS_PREFER_SSE_FOR_MEMOP.
21408 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
21410 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21411 Remove bzero, memset ifunc support.
21412 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
21413 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
21414 * sysdeps/x86_64/multiarch/memset.S: Likewise.
21415 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21417 2013-03-11 Andreas Schwab <schwab@suse.de>
21420 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
21422 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
21423 (GLIBC_2.16): Remove pthread_atfork.
21425 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
21427 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
21428 (ptestcases.h): Likewise.
21430 2013-03-08 Roland McGrath <roland@hack.frob.com>
21432 * Makeconfig ($(common-objpfx)config.status): Depend on
21433 sysdeps/*/preconfigure{,.in} too.
21435 2013-03-08 Joseph Myers <joseph@codesourcery.com>
21437 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
21438 (__free_hook): Use void * instead of __malloc_ptr_t.
21439 (__malloc_hook): Likewise.
21440 (__realloc_hook): Likewise.
21441 (__memalign_hook): Likewise.
21442 (__after_morecore_hook): Likewise.
21443 * malloc/arena.c (save_malloc_hook): Likewise.
21444 (save_free_hook): Likewise.
21445 * malloc/hooks.c (malloc_hook_ini): Likewise.
21446 (realloc_hook_ini): Likewise.
21447 (memalign_hook_ini): Likewise.
21448 * malloc/malloc.c (malloc_hook_ini): Likewise.
21449 (realloc_hook_ini): Likewise.
21450 (memalign_hook_ini): Likewise.
21451 (__free_hook): Likewise.
21452 (__malloc_hook): Likewise.
21453 (__realloc_hook): Likewise.
21454 (__memalign_hook): Likewise.
21455 (__libc_malloc): Likewise.
21456 (__libc_free): Likewise.
21457 (__libc_realloc): Likewise.
21458 (__libc_memalign): Likewise.
21459 (__libc_valloc): Likewise.
21460 (__libc_pvalloc): Likewise.
21461 (__libc_calloc): Likewise.
21462 (__posix_memalign): Likewise.
21463 * malloc/morecore.c (__sbrk): Likewise.
21464 (__default_morecore): Likewise.
21466 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
21468 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
21469 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
21470 __malloc_ptrdiff_t.
21472 * malloc/malloc.h (__malloc_size_t): Remove macro.
21473 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
21475 (old_memalign_hook): Likewise.
21476 (old_realloc_hook): Likewise.
21477 (struct hdr): Likewise.
21479 (mallochook): Likewise.
21480 (memalignhook): Likewise.
21481 (reallochook): Likewise.
21482 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
21483 (tr_old_realloc_hook): Likewise.
21484 (tr_old_memalign_hook): Likewise.
21485 (tr_mallochook): Likewise.
21486 (tr_reallochook): Likewise.
21487 (tr_memalignhook): Likewise.
21489 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21491 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
21492 default_ldbl_pack and using as default implementation.
21493 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
21495 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
21496 redundant definition.
21497 (ldbl_insert_mantissa): Likewise.
21498 (ldbl_canonicalize): Likewise.
21499 (ldbl_nearbyint): Likewise.
21500 (ldbl_pack): Rename to ldbl_pack_ppc.
21501 (ldbl_unpack): Rename to ldbl_unpack_ppc.
21502 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
21503 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
21505 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
21507 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
21508 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
21509 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
21510 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
21511 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
21512 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
21513 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
21514 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
21516 2013-03-07 Andreas Jaeger <aj@suse.de>
21518 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21521 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
21523 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
21524 Include mpa.h and declare __MPEXP.
21525 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
21526 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21527 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21528 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
21529 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21530 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21531 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
21533 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
21534 (__slowpow): Use long double EXPL and LOGL functions to
21536 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21537 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21538 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
21539 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21540 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21541 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
21543 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
21544 intermediate variable to calculate exponent.
21546 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
21550 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
21551 [!NO__SQR]: Define __sqr.
21552 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
21553 and NO__SQR. Remove all code except __mul and __sqr. Include
21554 sysdeps/ieee754/dbl-64/mpa.c.
21555 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21558 * posix/Makefile (tests): Add tst-pathconf.
21559 * posix/tst-pathconf.c: New test case.
21560 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
21562 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
21564 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
21566 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
21568 2013-03-06 Andreas Jaeger <aj@suse.de>
21570 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
21571 definition via __MAP_ANONYMOUS.
21573 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
21574 it's not part of Linux headers.
21576 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
21577 (MAP_HUGE_MASK): Define.
21579 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21581 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21582 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21584 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21585 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21587 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21588 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
21590 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21592 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
21593 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
21594 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
21595 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
21596 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
21597 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
21599 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
21602 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21603 Handle f2fs and efivarfs.
21605 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
21608 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
21609 (EFIVARFS_MAGIC): Add.
21610 (F2FS_LINK_MAX): Add.
21612 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21614 * stdio-common/vfprintf.c: Replace __builtin_expect with
21617 2013-03-06 Joseph Myers <joseph@codesourcery.com>
21620 * sysdeps/generic/bp-sym.h: Remove file.
21621 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
21622 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
21623 <bp-sym.h> and <bp-asm.h>.
21624 (__longjmp): Don't use BP_SYM.
21625 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
21627 (memcpy): Don't use BP_SYM.
21628 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
21629 <bp-sym.h> and <bp-asm.h>.
21630 (memcpy): Don't use BP_SYM.
21631 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
21633 (memcpy): Don't use BP_SYM.
21634 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
21636 (memset): Don't use BP_SYM.
21637 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21638 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21639 (__bzero): Don't use BP_SYM.
21640 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21641 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21642 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
21643 <bp-sym.h> and <bp-asm.h>.
21644 (memcmp): Don't use BP_SYM. Remove comment about bounded
21646 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
21647 <bp-sym.h> and <bp-asm.h>.
21648 (memcpy): Don't use BP_SYM.
21649 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
21650 <bp-sym.h> and <bp-asm.h>.
21651 (memset): Don't use BP_SYM.
21652 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21653 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21654 (__bzero): Don't use BP_SYM.
21655 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21656 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21657 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
21658 <bp-sym.h> and <bp-asm.h>.
21659 (strncmp): Don't use BP_SYM. Remove comment about bounded
21661 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
21662 <bp-sym.h> and <bp-asm.h>.
21663 (memcpy): Don't use BP_SYM.
21664 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
21665 <bp-sym.h> and <bp-asm.h>.
21666 (memset): Don't use BP_SYM.
21667 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21668 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21669 (__bzero): Don't use BP_SYM.
21670 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21671 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21672 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
21673 <bp-sym.h> and <bp-asm.h>.
21674 (__memchr): Don't use BP_SYM.
21675 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
21676 <bp-sym.h> and <bp-asm.h>.
21677 (memcmp): Don't use BP_SYM. Remove comment about bounded
21679 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
21680 <bp-sym.h> and <bp-asm.h>.
21681 (memcpy): Don't use BP_SYM.
21682 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
21683 <bp-sym.h> and <bp-asm.h>.
21684 (__mempcpy): Don't use BP_SYM.
21685 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
21686 <bp-sym.h> and <bp-asm.h>.
21687 (__memrchr): Don't use BP_SYM.
21688 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
21689 <bp-sym.h> and <bp-asm.h>.
21690 (memset): Don't use BP_SYM.
21691 (__bzero): Likewise.
21692 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
21693 <bp-sym.h> and <bp-asm.h>.
21694 (__rawmemchr): Don't use BP_SYM.
21695 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
21696 <bp-sym.h> and <bp-asm.h>.
21697 (__STRCMP): Don't use BP_SYM.
21698 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
21699 <bp-sym.h> and <bp-asm.h>.
21700 (strchr): Don't use BP_SYM.
21701 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
21702 <bp-sym.h> and <bp-asm.h>.
21703 (__strchrnul): Don't use BP_SYM.
21704 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
21705 <bp-sym.h> and <bp-asm.h>.
21706 (strlen): Don't use BP_SYM.
21707 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
21708 <bp-sym.h> and <bp-asm.h>.
21709 (strncmp): Don't use BP_SYM. Remove comment about bounded
21711 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
21712 <bp-sym.h> and <bp-asm.h>.
21713 (__strnlen): Don't use BP_SYM.
21714 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
21715 <bp-sym.h> and <bp-asm.h>.
21716 (__GI__setjmp): Don't use BP_SYM.
21717 (_setjmp): Likewise.
21718 (__sigsetjmp): Likewise.
21719 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
21720 (L(start_addresses)): Don't use BP_SYM.
21721 (_start): Likewise.
21722 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
21724 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
21725 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
21726 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21727 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21728 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
21730 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
21731 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
21732 about bounded pointers.
21733 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21734 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21735 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
21737 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
21738 about bounded pointers. Remove GKM FIXME comments.
21739 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21740 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
21742 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
21743 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
21744 Remove GKM FIXME comments.
21745 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21746 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21747 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
21749 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
21750 about bounded pointers. Remove GKM FIXME comment.
21751 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
21753 (strncmp): Don't use BP_SYM. Remove comment about bounded
21755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
21756 <bp-sym.h> and <bp-asm.h>.
21757 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
21758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
21759 <bp-sym.h> and <bp-asm.h>.
21760 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
21763 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21765 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
21768 2013-03-05 David S. Miller <davem@davemloft.net>
21770 * po/es.po: Update from translation team.
21772 2013-03-05 Andreas Jaeger <aj@suse.de>
21774 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
21775 <bits/mman-linux.h>.
21776 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21778 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
21779 <bits/mman-linux.h> to end of file.
21780 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21782 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
21783 <bits/mman-linux.h> to end of file.
21784 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21786 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
21787 <bits/mman-linux.h> to end of file.
21789 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
21790 (MCL_CURRENT, MCL_FUTURE): Define here.
21792 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21795 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
21797 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
21799 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21801 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
21802 fourth parameter needed for rt_sigprocmask syscall.
21803 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
21804 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
21805 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
21806 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
21807 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
21808 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
21810 2013-03-04 Joseph Myers <joseph@codesourcery.com>
21813 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
21814 comment about bounded pointers.
21815 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
21816 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
21818 2013-03-04 Andreas Jaeger <aj@suse.de>
21820 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
21821 common definitions.
21823 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
21824 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
21825 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
21826 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21827 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
21828 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21830 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21833 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
21834 __ieee754_sqrl instead of __sqrl.
21836 2013-03-01 Joseph Myers <joseph@codesourcery.com>
21838 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
21839 * sysdeps/powerpc/fpu_control.h: ... here.
21840 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
21841 * sysdeps/powerpc/bits/fenvinline.h: ... here.
21842 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
21843 * sysdeps/powerpc/bits/mathinline.h: ... here.
21845 2013-03-01 Roland McGrath <roland@hack.frob.com>
21847 * elf/dl-hwcaps.c (_dl_important_hwcaps):
21848 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
21849 to just [NEED_DL_SYSINFO_DSO].
21850 * elf/dl-support.c: Likewise.
21851 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
21852 * elf/rtld.c (dl_main): Likewise.
21853 * elf/setup-vdso.h (setup_vdso): Likewise.
21854 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
21855 * sysdeps/unix/sysv/linux/dl-sysdep.c
21856 (_dl_discover_osversion): Likewise.
21858 2013-03-01 Carlos O'Donell <carlos@redhat.com>
21860 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
21861 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
21863 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
21865 * NEWS: Mention libm performance improvements and non-x86 PI
21868 * csu/libc-start.c (__pthread_initialize_minimal): Change
21869 function arguments.
21870 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
21872 2013-02-28 Joseph Myers <joseph@codesourcery.com>
21875 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
21876 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
21877 <bp-sym.h> and <bp-asm.h>.
21878 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21879 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
21881 (memcpy): Don't use BP_SYM.
21882 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
21884 (__mpn_add_n): Don't use BP_SYM.
21885 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
21886 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
21888 (__mpn_addmul_1): Don't use BP_SYM.
21889 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21890 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
21892 (_setjmp): Don't use BP_SYM.
21893 (__novmx_setjmp): Likewise.
21894 (__GI__setjmp): Likewise.
21895 (__vmx_setjmp): Likewise.
21896 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
21898 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
21899 (__bzero): Don't use BP_SYM.
21900 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21901 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21902 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
21903 <bp-sym.h> and <bp-asm.h>.
21904 (memcpy): Don't use BP_SYM.
21905 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
21906 <bp-sym.h> and <bp-asm.h>.
21907 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21908 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
21909 <bp-sym.h> and <bp-asm.h>.
21910 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21911 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
21913 (__mpn_lshift): Don't use BP_SYM.
21914 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21915 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
21917 (memset): Don't use BP_SYM.
21918 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21919 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21920 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
21922 (__mpn_mul_1): Don't use BP_SYM.
21923 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21924 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
21925 <bp-sym.h> and <bp-asm.h>.
21926 (memcmp): Don't use BP_SYM.
21927 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
21928 <bp-sym.h> and <bp-asm.h>.
21929 (memcpy): Don't use BP_SYM.
21930 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
21931 <bp-sym.h> and <bp-asm.h>.
21932 (memset): Don't use BP_SYM.
21933 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
21934 <bp-sym.h> and <bp-asm.h>.
21935 (strncmp): Don't use BP_SYM.
21936 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
21937 <bp-sym.h> and <bp-asm.h>.
21938 (memcpy): Don't use BP_SYM.
21939 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
21940 <bp-sym.h> and <bp-asm.h>.
21941 (memset): Don't use BP_SYM.
21942 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
21943 <bp-sym.h> and <bp-asm.h>.
21944 (__memchr): Don't use BP_SYM.
21945 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
21946 <bp-sym.h> and <bp-asm.h>.
21947 (memcmp): Don't use BP_SYM.
21948 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
21949 <bp-sym.h> and <bp-asm.h>.
21950 (memcpy): Don't use BP_SYM.
21951 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
21952 <bp-sym.h> and <bp-asm.h>.
21953 (__mempcpy): Don't use BP_SYM.
21954 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
21955 <bp-sym.h> and <bp-asm.h>.
21956 (__memrchr): Don't use BP_SYM.
21957 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
21958 <bp-sym.h> and <bp-asm.h>.
21959 (memset): Don't use BP_SYM.
21960 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
21961 <bp-sym.h> and <bp-asm.h>.
21962 (__rawmemchr): Don't use BP_SYM.
21963 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
21964 <bp-sym.h> and <bp-asm.h>.
21965 (__STRCMP): Don't use BP_SYM.
21966 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
21967 <bp-sym.h> and <bp-asm.h>.
21968 (strchr): Don't use BP_SYM.
21969 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
21970 <bp-sym.h> and <bp-asm.h>.
21971 (__strchrnul): Don't use BP_SYM.
21972 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
21973 <bp-sym.h> and <bp-asm.h>.
21974 (strlen): Don't use BP_SYM.
21975 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
21976 <bp-sym.h> and <bp-asm.h>.
21977 (strncmp): Don't use BP_SYM.
21978 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
21979 <bp-sym.h> and <bp-asm.h>.
21980 (__strnlen): Don't use BP_SYM.
21981 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
21983 (__mpn_rshift): Don't use BP_SYM.
21984 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21985 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
21986 <bp-sym.h> and <bp-asm.h>.
21987 (__sigsetjmp): Don't use BP_SYM.
21988 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
21989 (L(start_addresses)): Don't use BP_SYM.
21990 (_start): Likewise.
21991 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
21993 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
21994 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21995 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21996 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
21998 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
21999 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22000 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22001 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
22003 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
22005 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22006 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
22008 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
22010 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22011 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22012 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
22014 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
22016 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
22018 (strncmp): Don't use BP_SYM,
22019 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
22021 (__mpn_sub_n): Don't use BP_SYM.
22022 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22023 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
22025 (__mpn_submul_1): Don't use BP_SYM.
22026 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
22028 <bp-sym.h> and <bp-asm.h>.
22029 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
22030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
22031 <bp-sym.h> and <bp-asm.h>.
22032 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
22035 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22037 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
22038 Use ZK to minimize writes to Z.
22039 (sub_magnitudes): Simplify code a bit.
22040 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
22041 Use ZK to minimize writes to Z.
22042 (sub_magnitudes): Simplify code a bit.
22044 2013-02-27 Roland McGrath <roland@hack.frob.com>
22046 * csu/gmon-start.c: Add special exception to license text.
22048 2013-02-27 Richard Henderson <rth@redhat.com>
22050 * scripts/config.guess: Update from config.git.
22051 * scripts/config.sub: Likewise.
22053 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22055 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
22057 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
22059 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
22061 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
22063 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
22065 2013-02-26 Roland McGrath <roland@hack.frob.com>
22067 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
22068 [$(build-shared = yes].
22070 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22072 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
22073 (__mul): Reduce iterations for calculating mantissa.
22075 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
22077 (__mpranred): Likewise.
22080 * malloc/memusagestat.c (main): Draw graphs for heap and stack
22081 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
22083 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
22085 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
22086 Define __attribute__.
22088 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22090 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
22092 * posix/regex_internal.h (__attribute): Remove.
22093 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
22094 (re_string_context_at): Likewise.
22095 (bitset_not): Use __attribute__ and mark function as possibly
22097 (bitset_merge): Likewise.
22098 (bitset_mask): Likewise.
22099 (re_string_char_size_at): Likewise.
22100 (re_string_wchar_at): Likewise.
22101 (re_string_elem_size_at): Likewise.
22103 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22105 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
22109 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
22113 (denorm): Likewise.
22114 (__dbl_mp): Likewise.
22115 (add_magnitudes): Likewise.
22116 (sub_magnitudes): Likewise.
22120 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
22123 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
22126 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
22129 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
22130 up changes with default code.
22131 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
22134 2013-02-24 Allan McRae <allan@archlinux.org>
22136 * manual/socket.texi (The Internet Namespace): Order menu items
22137 to match that in the file.
22139 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
22140 node listing of the info page menu.
22142 2013-02-21 Joseph Myers <joseph@codesourcery.com>
22145 * sysdeps/i386/bp-asm.h: Remove file.
22146 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22147 (PARMS): Do not use macros from bp-asm.h.
22151 (__mpn_add_n): Do not use BP_SYM
22152 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
22154 (PARMS): Do not use macros from bp-asm.h.
22157 (__mpn_addmul_1): Do not use BP_SYM
22158 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
22160 (PARMS): Do not use macros from bp-asm.h.
22161 (SIGMSK): Likewise.
22162 (_setjmp): Likewise. Do not use BP_SYM.
22163 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
22165 (PARMS): Do not use macros from bp-asm.h.
22166 (SIGMSK): Likewise.
22167 (setjmp): Likewise. Do not use BP_SYM.
22168 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
22170 (PARMS): Do not use macros from bp-asm.h.
22171 (__frexp): Do not use BP_SYM.
22173 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
22175 (PARMS): Do not use macros from bp-asm.h.
22176 (__frexpf): Do not use BP_SYM.
22177 (frexpf): Likewise.
22178 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
22180 (PARMS): Do not use macros from bp-asm.h.
22181 (__frexpl): Do not use BP_SYM.
22182 (frexpl): Likewise.
22183 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
22185 (PARMS): Do not use macros from bp-asm.h.
22186 (__remquo): Do not use BP_SYM.
22187 (remquo): Likewise.
22188 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
22190 (PARMS): Do not use macros from bp-asm.h.
22191 (__remquof): Do not use BP_SYM.
22192 (remquof): Likewise.
22193 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
22195 (PARMS): Do not use macros from bp-asm.h.
22196 (__remquol): Do not use BP_SYM.
22197 (remquol): Likewise.
22198 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
22200 (PARMS): Do not use macros from bp-asm.h.
22203 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
22204 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
22206 (PARMS): Do not use macros from bp-asm.h.
22207 (strlen): Do not use BP_SYM.
22208 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
22210 (PARMS): Do not use macros from bp-asm.h.
22214 (__mpn_add_n): Do not use BP_SYM.
22215 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
22217 (PARMS): Do not use macros from bp-asm.h.
22220 (__mpn_addmul_1): Do not use BP_SYM.
22221 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
22224 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
22226 (PARMS): Do not use macros from bp-asm.h.
22229 (__mpn_lshift): Do not use BP_SYM.
22230 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
22232 (PARMS): Do not use macros from bp-asm.h.
22236 (memcpy): Likewise. Do not use BP_SYM.
22237 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
22238 libc_hidden_def and weak_alias.
22239 (mempcpy): Do not use BP_SYM in weak_alias.
22240 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
22242 (PARMS): Do not use macros from bp-asm.h.
22245 [!BZERO_P] (CHR): Likewise.
22246 (memset): Likewise. Do not use BP_SYM.
22247 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
22249 (PARMS): Do not use macros from bp-asm.h.
22252 (__mpn_mul_1): Do not use BP_SYM.
22253 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
22255 (PARMS): Do not use macros from bp-asm.h.
22258 (__mpn_rshift): Do not use BP_SYM.
22259 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
22261 (PARMS): Do not use macros from bp-asm.h.
22264 (strchr): Likewise. Do not use BP_SYM.
22265 (index): Do not use BP_SYM in weak_alias.
22266 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
22268 (PARMS): Do not use macros from bp-asm.h.
22271 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
22272 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
22274 (PARMS): Do not use macros from bp-asm.h.
22275 (strlen): Do not use BP_SYM.
22276 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
22278 (PARMS): Do not use macros from bp-asm.h.
22282 (__mpn_sub_n): Do not use BP_SYM.
22283 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
22285 (PARMS): Do not use macros from bp-asm.h.
22288 (__mpn_submul_1): Do not use BP_SYM.
22289 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
22291 (PARMS): Do not use macros from bp-asm.h.
22295 (__mpn_add_n): Do not use BP_SYM.
22296 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
22299 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
22301 (PARMS): Do not use macros from bp-asm.h.
22304 (memcmp): Do not use BP_SYM.
22305 (bcmp): Do not use BP_SYM in weak_alias.
22306 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
22308 (PARMS): Do not use macros from bp-asm.h.
22312 (memcpy): Likewise. Do not use BP_SYM.
22313 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
22315 (PARMS): Do not use macros from bp-asm.h.
22319 (memmove): Likewise. Do not use BP_SYM.
22320 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
22322 (PARMS): Do not use macros from bp-asm.h.
22326 (__mempcpy): Likewise. Do not use BP_SYM.
22327 (mempcpy): Do not use BP_SYM in weak_alias.
22328 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
22330 (PARMS): Do not use macros from bp-asm.h.
22333 [!BZERO_P] (CHR): Likewise.
22334 (memset): Likewise. Do not use BP_SYM.
22335 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
22337 (PARMS): Do not use macros from bp-asm.h.
22339 (strcmp): Do not use BP_SYM.
22340 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
22342 (PARMS): Do not use macros from bp-asm.h.
22345 [USE_AS_STRTOK_R] (SAVE): Likewise.
22346 (FUNCTION): Likewise. Do not use BP_SYM.
22347 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
22349 (strtok_r): Likewise.
22350 (__GI___strtok_r): Likewise.
22351 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22352 (PARMS): Do not use macros from bp-asm.h.
22355 (__mpn_lshift): Do not use BP_SYM.
22356 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22357 (PARMS): Do not use macros from bp-asm.h.
22360 (__memchr): Do not use BP_SYM.
22361 (memchr): Do not use BP_SYM in weak_alias.
22362 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22363 (PARMS): Do not use macros from bp-asm.h.
22366 (memcmp): Do not use BP_SYM.
22367 (bcmp): Do not use BP_SYM in weak_alias.
22368 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
22369 (PARMS): Do not use macros from bp-asm.h.
22372 (__mpn_mul_1): Do not use BP_SYM.
22373 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
22375 (PARMS): Do not use macros from bp-asm.h.
22378 (__rawmemchr): Do not use BP_SYM.
22379 (rawmemchr): Do not use BP_SYM in weak_alias.
22380 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22381 (PARMS): Do not use macros from bp-asm.h.
22384 (__mpn_rshift): Do not use BP_SYM.
22385 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22386 (PARMS): Do not use macros from bp-asm.h.
22387 (SIGMSK): Likewise.
22388 (__sigsetjmp): Likewise. Do not use BP_SYM.
22389 * sysdeps/i386/start.S: Do not include "bp-sym.h".
22390 (_start): Do not use BP_SYM.
22391 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
22392 (PARMS): Do not use macros from bp-asm.h.
22395 (__stpcpy): Likewise. Do not use BP_SYM.
22396 (stpcpy): Do not use BP_SYM in weak_alias.
22397 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
22399 (PARMS): Do not use macros from bp-asm.h.
22403 (__stpncpy): Likewise. Do not use BP_SYM.
22404 (stpncpy): Do not use BP_SYM in weak_alias.
22405 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22406 (PARMS): Do not use macros from bp-asm.h.
22409 (strchr): Likewise. Do not use BP_SYM.
22410 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
22412 (PARMS): Do not use macros from bp-asm.h.
22415 (__strchrnul): Likewise. Do not use BP_SYM.
22416 (strchrnul): Do not use BP_SYM in weak_alias.
22417 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
22419 (PARMS): Do not use macros from bp-asm.h.
22421 (strcspn): Do not use BP_SYM.
22422 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
22424 (PARMS): Do not use macros from bp-asm.h.
22427 (strpbrk): Likewise. Do not use BP_SYM.
22428 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
22430 (PARMS): Do not use macros from bp-asm.h.
22433 (strrchr): Likewise. Do not use BP_SYM.
22434 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
22435 (PARMS): Do not use macros from bp-asm.h.
22437 (strspn): Do not use BP_SYM.
22438 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
22439 (PARMS): Do not use macros from bp-asm.h.
22443 (FUNCTION): Likewise. Do not use BP_SYM.
22444 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
22446 (strtok_r): Likewise.
22447 (__GI___strtok_r): Likewise.
22448 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22449 (PARMS): Do not use macros from bp-asm.h.
22453 (__mpn_sub_n): Do not use BP_SYM.
22454 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
22456 (PARMS): Do not use macros from bp-asm.h.
22459 (__mpn_submul_1): Do not use BP_SYM.
22460 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
22462 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
22464 (PARMS): Do not use macros from bp-asm.h.
22469 (__clone): Do not use BP_SYM.
22470 (clone): Do not use BP_SYM in weak_alias.
22471 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
22473 (PARMS): Do not use macros from bp-asm.h.
22475 (__mmap64): Do not use BP_SYM.
22476 (mmap64): Do not use BP_SYM in weak_alias.
22477 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
22478 <bp-sym.h> and <bp-asm.h>.
22479 (PARMS): Do not use macros from bp-asm.h.
22480 (__posix_fadvise64_l64): Do not use BP_SYM.
22481 * sysdeps/unix/sysv/linux/i386/semtimedop.S
22482 (PARMS): Do not use macros from bp-asm.h.
22484 (semtimedop): Do not use BP_SYM.
22485 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
22488 2013-02-21 Allan McRae <allan@archlinux.org>
22490 * manual/message.texi (Charset conversion in gettext):
22491 Move @end statement to beginning of line.
22493 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22495 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
22497 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
22500 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
22501 (denorm): Likewise.
22502 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
22503 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
22505 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22507 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
22508 tail-call to the resolved function if pltexit isn't needed.
22510 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22512 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
22513 or Y being zero as being unlikely.
22514 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
22517 2013-02-20 Carlos O'Donell <carlos@redhat.com>
22519 * manual/nss.texi (System Databases and Name Service Switch):
22520 Remove frobnicate @pxref.
22522 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
22524 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22525 __attribute__ ((unused)) to __attribute__ ((__unused__)).
22527 2013-02-20 Petr Machata <pmachata@redhat.com>
22529 * elf/elf.h (R_ARM_TARGET1): New macro.
22530 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
22531 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
22532 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
22533 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
22534 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
22535 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
22536 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
22537 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
22538 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
22539 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
22540 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
22541 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
22542 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
22543 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
22544 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
22545 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
22546 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
22547 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
22548 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
22549 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
22550 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
22551 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
22552 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
22553 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
22554 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
22555 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
22556 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
22557 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
22558 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
22559 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
22560 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
22561 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
22562 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
22563 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
22564 (R_ARM_THM_GOT_BREL12): Likewise.
22565 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
22566 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
22567 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
22568 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
22569 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
22570 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
22571 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
22572 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
22573 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
22575 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
22577 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22578 __attribute_used__ to __attribute__ ((unused)).
22580 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22582 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
22584 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
22585 comment formatting.
22586 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
22588 2013-02-19 Joseph Myers <joseph@codesourcery.com>
22591 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
22593 (ENTER): Remove both macro definitions.
22595 (CHECK_BOUNDS_LOW): Likewise.
22596 (CHECK_BOUNDS_HIGH): Likewise.
22597 (CHECK_BOUNDS_BOTH): Likewise.
22598 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
22599 (RETURN_BOUNDED_POINTER): Likewise.
22600 (RETURN_NULL_BOUNDED_POINTER): Likewise.
22601 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
22602 (POP_ERRNO_LOCATION_RETURN): Likewise.
22603 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
22604 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22605 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
22607 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22608 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
22609 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
22610 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
22611 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
22612 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
22613 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
22614 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
22615 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
22616 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
22617 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
22618 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
22619 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22620 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
22622 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22623 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
22625 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22626 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
22627 * sysdeps/i386/i586/memset.S (memset): Likewise.
22628 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
22629 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22630 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
22632 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22633 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
22634 Change uses of L(2) to L(out).
22635 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
22636 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
22637 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
22638 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22639 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
22641 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22642 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
22644 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22645 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
22646 (RETURN): Do not use macro LEAVE.
22647 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
22648 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
22649 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
22650 * sysdeps/i386/i686/memset.S (memset): Likewise.
22651 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
22652 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
22653 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22654 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
22656 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22657 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
22658 L(1_2) and L(1_3) into L(1).
22659 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22660 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
22661 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22662 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
22663 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22664 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
22665 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
22666 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22667 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
22669 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
22670 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22671 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
22672 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
22673 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
22674 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22675 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
22676 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
22677 * sysdeps/i386/strcspn.S (strcspn): Likewise.
22678 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
22679 * sysdeps/i386/strrchr.S (strrchr): Likewise.
22680 * sysdeps/i386/strspn.S (strspn): Likewise.
22681 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
22683 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22684 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
22685 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22686 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
22687 L(1_3) into L(1_1).
22688 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
22689 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22690 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
22692 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22694 2013-02-19 Jakub Jelinek <jakub@redhat.com>
22696 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
22699 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22701 * math/atest-exp.c (exp_mpn): Remove ROUND.
22702 * math/atest-exp2.c (exp_mpn): Likewise.
22703 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
22705 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
22706 * stdlib/tst-tls-atexit-lib.c: Likewise.
22707 * stdlib/tst-tls-atexit.c: Likewise.
22709 2013-02-18 Mike Frysinger <vapier@gentoo.org>
22711 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
22712 and __attribute_alloc_size__.
22714 2013-02-18 Mike Frysinger <vapier@gentoo.org>
22716 * include/programs/xmalloc.h: Change __attribute_alloc_size to
22717 __attribute_alloc_size__.
22718 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
22719 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
22721 2013-02-18 Mike Frysinger <vapier@gentoo.org>
22723 * include/programs/xmalloc.h: New file.
22724 * catgets/gencat.c: Include it.
22725 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
22726 * elf/pldd.c: Likewise.
22727 * iconv/iconv_charmap.c: Likewise.
22728 * iconv/iconvconfig.c: Likewise.
22729 * iconv/strtab.c: Likewise.
22730 * locale/programs/locale.c: Likewise.
22731 * locale/programs/localedef.h: Likewise.
22732 * locale/programs/simple-hash.c: Likewise.
22733 * nscd/nscd.h: Likewise.
22734 * nss/makedb.c: Likewise.
22735 * sysdeps/generic/ldconfig.h: Likewise.
22737 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22739 * Versions.def: Add GLIBC_2.18.
22740 * include/link.h (struct link_map): New member l_tls_dtor_count.
22741 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
22742 (__call_tls_dtors): Likewise.
22743 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
22744 __cxa_thread_atexit_impl.
22745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22749 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
22751 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
22753 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22754 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
22756 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
22758 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22759 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
22761 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
22762 (tests): Add test case tst-tls-atexit.
22763 (modules-names): Add shared library for tst-tls-atexit.
22764 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
22765 (GLIBC_PRIVATE): Add __call_tls_dtors.
22766 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
22768 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
22769 * stdlib/tst-tls-atexit.c: New test case.
22770 * stdlib/tst-tls-atexit-lib.c: New test case.
22772 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
22774 * elf/Versions (ld): Add _dl_find_dso_for_object.
22775 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
22776 * elf/dl-open.c (_dl_find_dso_for_object): New function.
22777 (dl_open_worker): Use _dl_find_dso_for_object.
22778 * elf/dl-sym.c (do_sym): Likewise.
22779 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
22781 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22783 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
22784 Syntactic changes only.
22785 (_dl_runtime_profile): Do a tail-call to the resolved function.
22787 2013-02-17 Joseph Myers <joseph@codesourcery.com>
22790 * sysdeps/x86_64/bp-asm.h: Remove file.
22791 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
22792 <bp-sym.h> and <bp-asm.h>.
22793 (__clone): Do not use BP_SYM.
22794 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
22795 <bp-sym.h> and <bp-asm.h>.
22796 * sysdeps/unix/x86_64/sysdep.S: Likewise.
22797 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
22799 (_setjmp): Do not use BP_SYM.
22800 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
22802 (setjmp): Do not use BP_SYM.
22803 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
22805 (mempcpy): Do not use BP_SYM in weak_alias.
22806 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
22808 (strchr): Do not use BP_SYM.
22809 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
22811 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
22812 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
22813 (_start): Do not use BP_SYM.
22814 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
22816 (strcat): Do not use BP_SYM.
22817 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
22819 (STRCMP): Do not use BP_SYM.
22820 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
22822 (STRCPY): Do not use BP_SYM.
22823 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
22825 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
22827 (FUNCTION): Do not use BP_SYM.
22828 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
22830 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
22832 2013-02-17 Andreas Jaeger <aj@suse.de>
22834 * time/Versions: Sort entries.
22835 * string/Versions: Likewise.
22836 * resolv/Versions: Likewise.
22837 * posix/Versions: Likewise.
22838 * iconv/Versions: Likewise.
22839 * elf/Versions: Likewise.
22840 * wcsmbs/Versions: Likewise.
22842 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22844 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
22845 loop termination condition.
22847 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
22848 variable to calculate EZ.
22851 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
22852 the lower precision input.
22854 2013-02-15 Joseph Myers <joseph@codesourcery.com>
22857 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
22858 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
22859 (run-via-rtld-prefix): Do not handle %-bp tests.
22860 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
22861 (all-object-suffixes): Remove .ob.
22862 (bppfx): Remove variable.
22863 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
22864 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
22865 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
22866 [$(build-bounded) = yes] (libtype.ob): Likewise.
22867 * Makerules (elide-routines.ob): Remove variable.
22868 (do-tests-clean): Do not handle *-bp.out.
22869 (common-mostlyclean): Do not handle *-bp and *-bp.out.
22870 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
22871 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
22872 (tests): Do not include $(tests-bp.out).
22873 (xtests): Do not include $(xtests-bp.out).
22874 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
22875 [$(build-bounded) = yes] ($(addprefix
22876 $(objpfx),$(binaries-bounded))): Remove rule.
22877 ($(objpfx)%-bp.out): Remove rule.
22878 * config.make.in (build-bounded): Remove variable.
22879 * crypt/Makefile [$(build-bounded) = yes]
22880 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
22881 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
22882 append to variable.
22883 [$(build-bounded) = yes] (install-lib): Likewise.
22884 [$(build-bounded) = yes] (generated): Likewise.
22885 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
22887 * intl/Makefile [$(build-bounded) = yes]
22888 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
22889 * math/Makefile [$(build-bounded) = yes]
22890 ($(tests:%=$(objpfx)%-bp): Likewise.
22891 * misc/Makefile [$(build-bounded) = yes]
22892 ($(objpfx)tst-tsearch-bp): Likewise.
22893 * nptl/Makeconfig (bounded-thread-library): Remove variable.
22894 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
22896 * string/Makefile (o-objects.ob): Remove variable.
22897 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
22898 (CFLAGS-.ob): Remove variable.
22899 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
22900 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
22901 both definitions of variable.
22902 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
22903 (ASFLAGS-.ob): Remove variable.
22905 2013-02-14 Joseph Myers <joseph@codesourcery.com>
22908 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
22909 Remove __BOUNDED_POINTERS__ from condition.
22910 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
22911 * string/bits/string2.h [!__NO_STRING_INLINES &&
22912 !__BOUNDED_POINTERS__]: Likewise.
22913 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
22915 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
22916 Remove conditional code.
22917 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
22918 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
22919 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
22923 * csu/libc-start.c: Do not include <bp-sym.h>.
22924 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
22925 * elf/dl-open.c: Do not include <bp-sym.h>.
22926 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
22927 * math/fegetenv.c: Do not include <bp-sym.h>.
22928 (fegetenv): Do not use BP_SYM in versioned symbols.
22929 * nptl/sysdeps/pthread/bits/libc-lockP.h
22930 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
22932 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22933 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
22934 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22935 (__pthread_mutex_destroy): Likewise.
22936 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22937 (__pthread_mutex_lock): Likewise.
22938 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22939 (__pthread_mutex_trylock): Likewise.
22940 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22941 (__pthread_mutex_unlock): Likewise.
22942 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22943 (__pthread_mutexattr_init): Likewise.
22944 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22945 (__pthread_mutexattr_destroy): Likewise.
22946 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22947 (__pthread_mutexattr_settype): Likewise.
22948 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22949 (__pthread_rwlock_init): Likewise.
22950 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22951 (__pthread_rwlock_destroy): Likewise.
22952 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22953 (__pthread_rwlock_rdlock): Likewise.
22954 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22955 (__pthread_rwlock_tryrdlock): Likewise.
22956 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22957 (__pthread_rwlock_wrlock): Likewise.
22958 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22959 (__pthread_rwlock_trywrlock): Likewise.
22960 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22961 (__pthread_rwlock_unlock): Likewise.
22962 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22963 (__pthread_key_create): Likewise.
22964 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22965 (__pthread_setspecific): Likewise.
22966 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22967 (__pthread_getspecific): Likewise.
22968 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
22970 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22971 (_pthread_cleanup_push_defer): Likewise.
22972 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22973 (_pthread_cleanup_pop_restore): Likewise.
22974 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22975 (pthread_setcancelstate): Likewise.
22976 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
22978 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
22979 (memchr): Do not use BP_SYM in weak_alias.
22980 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
22981 (fegetenv): Do not use BP_SYM in versioned symbols.
22982 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
22983 (fesetenv): Do not use BP_SYM in versioned symbols.
22984 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
22985 (feupdateenv): Do not use BP_SYM in versioned symbols.
22986 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
22987 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
22988 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
22989 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
22990 (open64): Do not use BP_SYM in weak_alias.
22991 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
22992 (fegetenv): Do not use BP_SYM in versioned symbols.
22993 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
22994 (fesetenv): Do not use BP_SYM in versioned symbols.
22995 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
22996 (feupdateenv): Do not use BP_SYM in versioned symbols.
22997 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
22998 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
22999 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
23000 (feraiseexcept): Do not use BP_SYM in versioned symbols.
23001 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23002 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23003 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
23005 (__libc_start_main): Do not use BP_SYM.
23007 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23009 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
23010 redundant return line.
23012 (denorm): Likewise.
23013 (dbl_mp): Likewise.
23014 (sub_magnitudes): Likewise.
23020 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
23022 (denorm): Likewise.
23023 (dbl_mp): Likewise.
23024 (sub_magnitudes): Likewise.
23031 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
23033 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
23034 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
23037 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
23038 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
23039 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
23040 of __mul for squares.
23041 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
23043 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
23045 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
23046 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23048 2013-02-13 Joseph Myers <joseph@codesourcery.com>
23051 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
23053 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
23054 prototype or function definition. Rename ubp_* variables and
23055 parameters. Remove argv definitions conditional on
23056 [__BOUNDED_POINTERS__].
23057 * debug/backtrace.c (__backtrace): Do not use __unbounded.
23058 * elf/dl-runtime.c (_dl_fixup): Likewise.
23059 * include/set-hooks.h (RUN_HOOK): Likewise.
23060 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
23062 * string/strcpy.c (strcpy): Do not use __unbounded.
23063 * sysdeps/generic/frame.h (struct layout): Likewise.
23064 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
23065 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
23066 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
23067 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
23068 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
23069 (__backtrace): Likewise.
23070 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
23072 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
23073 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
23074 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
23076 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
23077 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
23078 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
23079 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23080 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
23081 Do not use __unbounded.
23082 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
23083 Rename __unboundedrlimits parameter to rlimits in prototype.
23084 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
23085 Do not use __unbounded.
23086 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
23087 not use __ptrvalue.
23088 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23089 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
23090 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23091 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
23092 __ptrvalue or __unbounded.
23093 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
23094 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
23096 (__new_msgctl): Do not use __ptrvalue.
23097 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
23099 (__libc_msgrcv): Do not use __ptrvalue.
23100 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
23101 startup_info): Do not use __unbounded.
23102 (__libc_start_main): Likewise. Rename ubp_* variables and
23103 parameters. Remove argv definitions conditional on
23104 [__BOUNDED_POINTERS__].
23105 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
23107 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
23109 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
23111 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
23113 (__new_shmctl): Do not use __ptrvalue.
23114 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
23115 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
23117 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
23118 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
23119 (__libc_sigaction): Likewise.
23120 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
23121 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
23123 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23125 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
23127 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
23129 * string/mempcpy.c: Implement by calling memcpy.
23131 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
23133 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
23135 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
23138 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
23139 values in the mantissa.
23141 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
23142 minimize writes to Z.
23143 (sub_magnitudes): Simplify code a bit.
23145 2013-02-12 Roland McGrath <roland@hack.frob.com>
23147 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
23148 from the message. The linker prefixes all warnings with that already.
23150 2013-02-12 Andreas Schwab <schwab@suse.de>
23153 * posix/regexec.c (extend_buffers): Add parameter min_len.
23154 (check_matching): Pass minimum needed length.
23155 (clean_state_log_if_needed): Likewise.
23156 (get_subexp): Likewise.
23157 * posix/Makefile (tests): Add bug-regex34.
23158 (bug-regex34-ENV): Define.
23159 * posix/bug-regex34.c: New file.
23162 * posix/regcomp.c (parse_bracket_exp): When looking up collating
23163 elements compare against the byte sequence of it, not its name.
23164 * posix/Makefile (tests): Add bug-regex35.
23165 (bug-regex35-ENV): Define.
23166 * posix/bug-regex35.c: New file.
23168 2013-02-11 Tom de Vries <tom@codesourcery.com>
23170 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
23172 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
23173 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
23174 (CHECK_EOL): Add undef.
23176 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
23178 * bits/stdlib-bsearch.h: New file.
23179 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
23180 * stdlib/stdlib.h: Likewise.
23182 2013-02-11 Roland McGrath <roland@hack.frob.com>
23184 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
23185 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
23187 * manual/search.texi (Array Search Function): Add missing const in
23189 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
23190 declaration to use rlim_t.
23191 (Basic Scheduling Functions): Remove erroneous const from
23192 sched_getparam prototype. Remove erroneous * from
23193 sched_get_priority_max and sched_get_priority_min prototypes.
23194 (Resource Usage): Fix summary @comment on vtimes to refer to
23195 sys/vtimes.h rather than vtimes.h.
23196 Add missing *s in vtimes prototype.
23197 (Limits on Resources): Fix ulimit prototype to return long int.
23198 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
23199 prototypes to use long int rather than double.
23200 (BSD Random): Fix initstate and setstate to use char *, not void *.
23201 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
23202 prototype to make second argument 'struct aiocb64 *const[]'.
23203 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
23204 (Status of AIO Operations): Remove erroneous const in aio_return and
23205 aio_return64 prototypes.
23206 (Synchronizing I/O): Fix sync prototype to return void.
23207 * manual/startup.texi (Suboptions): Remove an erroneous const in
23208 getsubopt prototype.
23209 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
23210 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
23211 use size_t rather than int.
23212 (Scanning All Users): Likewise for getpwent_r.
23213 (Setting Groups): Add missing const to setgroups prototype.
23214 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
23215 * manual/socket.texi (Host Names): Fix gethostbyaddr and
23216 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
23217 'const void *' rather than 'const char *'.
23218 (Host Address Functions): Likewise for inet_ntop.
23219 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
23220 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
23221 ssize_t for return value.
23222 (Sending Data): Likewise for send, sendto, sendmsg.
23223 (Socket Option Functions): Add a missing const in setsockopt prototype.
23224 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
23225 use wchar_t for the argument.
23226 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
23227 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
23229 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
23230 double/float/long double for second argument.
23231 Fix return types of significand, significandf, significandl.
23232 * manual/filesys.texi (Setting Permissions): Use mode_t for second
23233 argument in fchmod prototype.
23234 (File Owner): Use uid_t and gid_t in fchown prototype.
23235 (File Times): Add const to utimes, futimes, and lutimes prototypes.
23236 (Making Special Files): Use mode_t and dev_t in mknod prototype.
23237 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
23238 use 'const struct dirent **' as argument types to CMP function pointer
23240 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
23241 (File Times): Fix summary magic @comment for struct utimbuf and utime
23242 to refer to utime.h, not time.h.
23243 * manual/string.texi (Argz Functions): Add missing const in
23244 argz_extract and argz_next prototypes.
23245 (Finding Tokens in a String): Likewise for basename.
23246 (String/Array Comparison): Fix typo in wcscasecmp prototype.
23247 (Copying and Concatenation): Fix typo in wmemmove prototype.
23248 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
23249 (Signal Stack): Remove erroneous const in sigstack prototype.
23250 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
23252 (Simple Calendar Time): Likewise for stime.
23253 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
23255 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
23256 say sys/sysctl.h instead.
23257 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
23258 and vsyslog prototypes.
23260 2013-02-11 Tom de Vries <tom@codesourcery.com>
23262 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
23265 2013-02-11 Roland McGrath <roland@hack.frob.com>
23267 * misc/sys/mman.h: Fix typo in mremap comment.
23269 2013-02-08 Roland McGrath <roland@hack.frob.com>
23271 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
23272 the '\0' terminator.
23274 2013-02-08 Joseph Myers <joseph@codesourcery.com>
23277 * debug/segfault.c: Don't include <bp-checks.h>.
23278 * sysdeps/generic/bp-checks.h: Remove file.
23279 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
23280 (__GETDENTS): Don't use CHECK_N.
23281 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
23282 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
23283 (__getgroups): Don't use CHECK_N.
23284 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
23285 (setgroups): Don't use CHECK_N.
23286 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
23287 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
23288 (__libc_msgrcv): Don't use CHECK_N.
23289 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
23290 (__libc_msgsnd): Don't use CHECK_N.
23291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
23293 (__libc_pread): Don't use CHECK_N.
23294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
23295 include <bp-checks.h>.
23296 (__libc_pread64): Don't use CHECK_N.
23297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
23298 include <bp-checks.h>.
23299 (__libc_pwrite): Don't use CHECK_N.
23300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
23301 include <bp-checks.h>.
23302 (__libc_pwrite64): Don't use CHECK_N.
23303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
23305 (__libc_pread): Don't use CHECK_N.
23306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
23307 include <bp-checks.h>.
23308 (__libc_pread64): Don't use CHECK_N.
23309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
23310 include <bp-checks.h>.
23311 (__libc_pwrite): Don't use CHECK_N.
23312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
23313 include <bp-checks.h>.
23314 (__libc_pwrite64): Don't use CHECK_N.
23315 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
23316 (do_pread): Don't use CHECK_N.
23317 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
23318 (do_pread64): Don't use CHECK_N.
23319 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
23320 (do_pwrite): Don't use CHECK_N.
23321 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
23322 (do_pwrite64): Don't use CHECK_N.
23323 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
23324 (__libc_readv): Don't use CHECK_N.
23325 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
23326 (semop): Don't use CHECK_N.
23327 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
23329 (semtimedop): Don't use CHECK_N.
23330 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
23331 (__libc_pread): Don't use CHECK_N.
23332 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
23334 (__libc_pread64): Don't use CHECK_N.
23335 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
23337 (__libc_pwrite): Don't use CHECK_N.
23338 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
23340 (__libc_pwrite64): Don't use CHECK_N.
23341 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
23343 (__libc_msgrcv): Don't use CHECK_N.
23344 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
23345 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
23346 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
23347 (__libc_writev): Don't use CHECK_N.
23349 2013-02-08 Roland McGrath <roland@hack.frob.com>
23351 * string/strcpy.c: Removed unused variable.
23353 * Makeconfig (+sysdep-includes): Define with := rather than =.
23354 Use an existing include/ subdir of each sysdeps dir before it.
23356 2013-02-08 Carlos O'Donell <carlos@redhat.com>
23358 * nscd/connection.c (register_traced_file): Comment function.
23359 [HAVE_INOTIFY] (union __inev): Define.
23360 [HAVE_INOTIFY] (inotify_check_files): New function.
23361 [HAVE_INOTIFY] (clear_db_cache): Likewise.
23362 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
23364 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
23366 2013-02-08 Carlos O'Donell <carlos@redhat.com>
23368 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
23369 loaded if not already and that a failure is permanent.
23371 2013-02-08 Carlos O'Donell <carlos@redhat.com>
23374 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
23375 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
23377 2013-02-08 Joseph Myers <joseph@codesourcery.com>
23380 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
23381 (CHECK_1_NULL_OK): Likewise.
23382 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
23383 (__fxstat): Do not use CHECK_1.
23384 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
23386 (___fxstat64): Do not use CHECK_1.
23387 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
23389 (__fxstatat): Do not use CHECK_1.
23390 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
23392 (__fxstatat64): Do not use CHECK_1.
23393 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
23395 (__fxstat): Do not use CHECK_1.
23396 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
23398 (__fxstatat): Do not use CHECK_1.
23399 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
23401 (__getresgid): Do not use CHECK_1.
23402 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
23404 (__getresuid): Do not use CHECK_1.
23405 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
23407 (__lxstat): Do not use CHECK_1.
23408 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
23410 (__old_msgctl): Do not use CHECK_1.
23411 (__new_msgctl): Likewise.
23412 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
23414 (__new_setrlimit): Do not use CHECK_1.
23415 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
23417 (__old_shmctl): Do not use CHECK_1.
23418 (__new_shmctl): Likewise.
23419 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
23421 (__xstat): Do not use CHECK_1.
23422 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
23423 (__lxstat): Do not use CHECK_1.
23424 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
23426 (___lxstat64): Do not use CHECK_1.
23427 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
23428 (__old_msgctl): Do not use CHECK_1.
23429 (__new_msgctl): Likewise.
23430 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
23432 (__gettimeofday): Do not use CHECK_1.
23433 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
23434 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
23435 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
23437 (__gettimeofday): Do not use CHECK_1.
23438 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
23439 (__old_shmctl): Do not use CHECK_1_NULL_OK.
23440 (__new_shmctl): Do not use CHECK_1.
23441 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
23443 (do_sigtimedwait): Do not use CHECK_1.
23444 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
23446 (do_sigwaitinfo): Do not use CHECK_1.
23447 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
23449 (msgctl): Do not use CHECK_1.
23450 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
23452 (shmctl): Do not use CHECK_1.
23453 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
23454 (ustat): Do not use CHECK_1.
23455 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
23457 (__fxstat): Do not use CHECK_1.
23458 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
23460 (__fxstatat): Do not use CHECK_1.
23461 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
23463 (__lxstat): Do not use CHECK_1.
23464 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
23466 (__xstat): Do not use CHECK_1.
23467 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
23468 (__xstat): Do not use CHECK_1.
23469 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
23470 (___xstat64): Do not use CHECK_1.
23473 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
23475 (CHECK_BOUNDS_HIGH): Likewise.
23476 * string/strcpy.c: Do not include <bp-checks.h>.
23477 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
23479 2013-02-07 Roland McGrath <roland@hack.frob.com>
23481 * nscd/nscd-client.h (__nscd_drop_map_ref):
23482 Add __attribute__ ((unused)).
23483 * nis/nss-nisplus.h (niserr2nss): Likewise.
23485 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
23486 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
23488 * csu/libc-tls.c (init_static_tls, init_slotinfo):
23489 Remove inline keyword.
23490 * include/rounding-mode.h (round_away): Likewise.
23491 * libio/wfileops.c (adjust_wide_data): Likewise.
23492 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
23493 (__m128i_strloadu_tolower): Likewise.
23494 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
23495 (__m128i_strloadu_tolower): Likewise.
23496 * time/mktime.c (ydhms_diff): Likewise.
23497 * locale/elem-hash.h (elem_hash): Likewise.
23498 * locale/setlocale.c (setdata): Likewise.
23499 * posix/regex_internal.h (re_string_char_size_at): Likewise.
23500 (re_string_wchar_at): Likewise.
23501 (bitset_not, bitset_merge, bitset_mask): Likewise.
23502 [!(__GNUC__ > 3)] (inline): Remove macro.
23503 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
23504 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
23505 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
23506 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
23507 * string/memcmp.c (memcmp_bytes): Likewise.
23508 * locale/programs/locarchive.c (compute_hashval): Likewise.
23509 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
23510 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
23511 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
23512 * nss/getent.c (print_rpc, print_protocols): Likewise.
23513 (print_passwd, print_group, print_aliases): Likewise.
23514 * nis/nss-nisplus.h (niserr2nss): Likewise.
23515 * nscd/connections.c (restart_p): Likewise.
23516 Change return type to bool.
23518 2013-02-05 Roland McGrath <roland@hack.frob.com>
23520 * Makeconfig (all-Depend-files): Add existing
23521 $(sorted-subdirs:=/Depend) files.
23522 (all-subdirs): Remove nss.
23523 * sysdeps/unix/inet/Subdirs: Add it here instead.
23524 * hesiod/Depend: New file.
23526 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
23527 instead of calling alloca.
23529 * io/lseek.c (__lseek): Rename to __libc_lseek.
23530 Define __lseek as an alias.
23532 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
23534 2013-02-04 Carlos O'Donell <carlos@redhat.com>
23536 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
23537 else clause and remove check for non-standard endianness.
23539 2013-02-04 David S. Miller <davem@davemloft.net>
23541 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23543 2013-02-04 Joseph Myers <joseph@codesourcery.com>
23546 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
23547 (__ubp_memchr): Remove prototype.
23548 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
23549 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23550 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
23551 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23552 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
23554 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
23555 (__ubp_memchr): Likewise.
23556 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
23557 (__ubp_memchr): Likewise.
23558 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
23559 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
23560 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
23561 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
23563 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
23564 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
23565 (__getcwd): Do not use CHECK_STRING.
23566 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
23568 (__real_chown): Do not use CHECK_STRING.
23569 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
23571 (fchownat): Do not use CHECK_STRING.
23572 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
23574 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
23576 (__lchown): Do not use CHECK_STRING.
23577 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23578 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23579 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23580 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
23581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
23582 include <bp-checks.h>.
23583 (truncate64): Do not use CHECK_STRING.
23584 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
23586 (__real_chown): Do not use CHECK_STRING.
23587 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
23589 (__lchown): Do not use CHECK_STRING.
23590 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
23592 (__chown): Do not use CHECK_STRING.
23593 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
23595 (truncate64): Do not use CHECK_STRING.
23596 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
23598 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
23599 (__xmknod): Do not use CHECK_STRING.
23600 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
23602 (__xmknodat): Do not use CHECK_STRING.
23603 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23604 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
23606 2013-02-04 Andreas Schwab <schwab@suse.de>
23609 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
23610 * include/netdb.h: Likewise for h_errno.
23611 * elf/tst-stackguard1.c: Include <tls.h>.
23613 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
23615 * elf/link.h (struct link_map): Extend the l_addr comment.
23616 * include/link.h (struct link_map): Likewise.
23618 2013-02-01 Joseph Myers <joseph@codesourcery.com>
23621 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
23622 (BOUNDED_1): Remove macro.
23623 * debug/backtrace.c: Don't include <bp-checks.h>.
23624 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
23625 (__backtrace): Likewise.
23626 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
23628 (__backtrace): Don't use BOUNDED_1.
23629 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
23631 (__backtrace): Don't use BOUNDED_1.
23632 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
23633 (__backtrace): Don't use BOUNDED_1.
23634 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
23635 (shmat): Don't use BOUNDED_N.
23637 2013-01-31 Joseph Myers <joseph@codesourcery.com>
23640 * sysdeps/generic/bp-start.h: Remove file.
23641 * csu/libc-start.c: Don't include <bp-start.h>.
23642 (LIBC_START_MAIN): Set up __environ directly instead of using
23643 INIT_ARGV_and_ENVIRON.
23644 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
23648 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
23650 (CHECK_FCNTL): Likewise.
23651 (CHECK_N_PAGES): Likewise.
23654 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
23656 (CHECK_SIGSET_NULL_OK): Likewise.
23657 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
23659 (sigpending): Don't use CHECK_SIGSET.
23660 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
23662 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23663 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
23665 (do_sigsuspend): Don't use CHECK_SIGSET.
23666 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
23668 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
23669 (do_sigwait): Don't use CHECK_SIGSET.
23670 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
23672 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
23673 include <bp-checks.h>.
23674 (sigpending): Don't use CHECK_SIGSET.
23675 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
23676 include <bp-checks.h>.
23677 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23678 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
23680 (sigpending): Don't use CHECK_SIGSET.
23681 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
23683 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23686 * sysdeps/generic/bp-semctl.h: Remove file.
23687 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
23688 <bp-checks.h> and <bp-semctl.h>.
23689 (__old_semctl): Don't use CHECK_SEMCTL.
23690 (__new_semctl): Likewise.
23691 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
23693 (__old_semctl): Don't use CHECK_SEMCTL.
23694 (__new_semctl): Likewise.
23695 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
23696 <bp-checks.h> and <bp-semctl.h>.
23697 (__old_semctl): Don't use CHECK_SEMCTL.
23698 (__new_semctl): Likewise.
23699 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
23700 <bp-checks.h> and <bp-semctl.h>.
23701 (semctl): Don't use CHECK_SEMCTL.
23704 * Makerules (elide-bp-thunks): Remove variable.
23705 (elide-routines.oS): Don't use $(elide-bp-thunks).
23706 (elide-routines.os): Likewise.
23707 (elide-routines.o): Likewise.
23708 (elide-routines.op): Likewise.
23709 (elide-routines.og): Likewise.
23710 (objects): Don't use $(bp-thunks).
23711 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
23713 (common-generated): Do not add s-proto-bp.d.
23714 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
23717 Do not generate makefile rules for bounded-pointer thunks.
23718 * sysdeps/generic/bp-thunks.h: Remove file.
23719 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
23720 * sysdeps/unix/s-proto-bp.S: Likewise.
23723 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
23724 parts of result separately when argument is not close to line from
23725 -i to i and one part of argument is small.
23726 * math/k_casinhf.c (__kernel_casinhf): Likewise.
23727 * math/k_casinhl.c (__kernel_casinhl): Likewise.
23728 * math/libm-test.inc (cacos_test): Add more tests.
23729 (casin_test): Likewise.
23730 (casinh_test): Likewise.
23731 * sysdeps/i386/fpu/libm-test-ulps: Update.
23732 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23734 2013-01-31 David S. Miller <davem@davemloft.net>
23736 * po/de.po: Update from translation team.
23738 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
23740 * time/tzfile.c: Include stdint.h for SIZE_MAX.
23742 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
23744 * configure.in (_AC_PROG_CC_C89): New definition.
23745 * configure: Regenerate.
23747 * configure.in (AC_PROG_CPP): New definition.
23748 * configure: Regenerate.
23750 2013-01-23 Joseph Myers <joseph@codesourcery.com>
23752 * debug/tst-backtrace.h: New file.
23753 * debug/tst-backtrace2.c: Include tst-backtrace.h.
23754 (ret): Remove variable.
23756 (FAIL): Remove macro.
23757 (NO_INLINE): Likewise.
23758 (fn1): Use match function instead of strstr.
23759 * debug/tst-backtrace3.c: Include tst-backtrace.h.
23760 (ret): Remove variable.
23762 (FAIL): Remove macro.
23763 (NO_INLINE): Likewise.
23764 (fn): Use match function instead of strstr.
23765 * debug/tst-backtrace4.c: Include tst-backtrace.h.
23766 (ret): Remove variable.
23768 (FAIL): Remove macro.
23769 (NO_INLINE): Likewise.
23770 (handle_signal): Use match function instead of strstr.
23771 * debug/tst-backtrace5.c: Include tst-backtrace.h.
23772 (ret): Remove variable.
23774 (FAIL): Remove macro.
23775 (NO_INLINE): Likewise.
23776 (handle_signal): Use match function instead of strstr.
23778 2013-01-23 Roland McGrath <roland@hack.frob.com>
23780 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
23782 2013-01-23 David S. Miller <davem@davemloft.net>
23784 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
23785 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
23786 argument of CAS if possible.
23787 * sysdeps/sparc/sparc64/bits/atomic.h
23788 (__arch_compare_and_exchange_val_32_acq): Likewise.
23789 (__arch_compare_and_exchange_val_64_acq): Likewise.
23791 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
23793 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
23794 * sysdeps/posix/ulimit.c: ... this.
23795 Include <limits.h>.
23796 * sysdeps/unix/bsd/ulimit.c: Remove file.
23798 2013-01-23 Adam Conrad <adconrad@0c3.net>
23800 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
23801 (LDFLAGS-tst-array5): Likewise.
23803 2013-01-23 Joseph Myers <joseph@codesourcery.com>
23806 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
23807 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
23808 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
23809 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
23811 2013-01-21 David S. Miller <davem@davemloft.net>
23813 * sysdeps/sparc/backtrace.c: New file.
23814 * sysdeps/sparc/sparc32/backtrace.h: New file.
23815 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
23816 * sysdeps/sparc/sparc64/backtrace.h: New file.
23817 * sysdeps/sparc/sparc64/backtrace.c: Delete.
23818 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
23821 2013-01-21 Andreas Schwab <schwab@suse.de>
23824 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
23827 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
23829 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
23831 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23833 2013-01-18 Joseph Myers <joseph@codesourcery.com>
23834 Mark Mitchell <mark@codesourcery.com>
23835 Tom de Vries <tom@codesourcery.com>
23836 Paul Pluzhnikov <ppluzhnikov@google.com>
23838 * debug/tst-backtrace2.c: New file.
23839 * debug/tst-backtrace3.c: Likewise.
23840 * debug/tst-backtrace4.c: Likewise.
23841 * debug/tst-backtrace5.c: Likewise.
23842 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
23843 (CFLAGS-tst-backtrace3.c): Likewise.
23844 (CFLAGS-tst-backtrace4.c): Likewise.
23845 (CFLAGS-tst-backtrace5.c): Likewise.
23846 (LDFLAGS-tst-backtrace2): Likewise.
23847 (LDFLAGS-tst-backtrace3): Likewise.
23848 (LDFLAGS-tst-backtrace4): Likewise.
23849 (LDFLAGS-tst-backtrace5): Likewise.
23850 (tests): Add new tests tst-backtrace2, tst-backtrace3,
23851 tst-backtrace4 and tst-backtrace5.
23853 2013-01-18 Anton Blanchard <anton@samba.org>
23854 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23856 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
23857 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
23858 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
23859 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
23860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23861 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
23862 "+r" and remove output regs list as redundant. Add explicit inline
23863 asm to specify register of return val to work around compiler codegen
23864 bug. Remove (int) cast on return value. Add return type parameter to
23865 use in macro so that this macro does not truncate return value for
23867 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
23868 pass to INTERNAL_VSYSCALL_NCS.
23869 (INLINE_VSYSCALL): Add 'long int' as return type to
23870 INTERNAL_VSYSCALL_NCS macro invocation.
23871 (INTERNAL_VSYSCALL): Add 'long int' as return type to
23872 INTERNAL_VSYSCALL_NCS macro invocation.
23873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23875 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23878 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
23879 Fix application of SIMD FP exception mask.
23881 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
23882 mp_no from a power of two.
23883 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
23884 __mpexp_twomm1. Use __pow_mp.
23886 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
23889 2013-01-17 David S. Miller <davem@davemloft.net>
23891 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23893 2013-01-17 Joseph Myers <joseph@codesourcery.com>
23896 * include/complex.h: Condition contents on [!_COMPLEX_H].
23897 (__kernel_casinhf): New prototype.
23898 (__kernel_casinh): Likewise.
23899 (__kernel_casinhl): Likewise.
23900 * math/Makefile (libm_calls): Add k_casinh.
23901 * math/k_casinh.c: New file.
23902 * math/k_casinhf.c: Likewise.
23903 * math/k_casinhl.c: Likewise.
23904 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
23905 finite nonzero arguments.
23906 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
23907 finite nonzero arguments.
23908 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
23909 finite nonzero arguments.
23910 * math/s_casinh.c: Do not include <float.h>.
23911 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
23912 * math/s_casinhf.c: Do not include <float.h>.
23913 (__casinhf): Move code for finite nonzero arguments to
23915 * math/s_casinhl.c: Do not include <float.h>.
23916 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
23918 (__casinhl): Move code for finite nonzero arguments to
23920 * math/libm-test.inc (cacos_test): Add more tests.
23921 * sysdeps/i386/fpu/libm-test-ulps: Update.
23922 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23924 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
23926 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
23927 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
23928 [!HAVE_MREMAP]: Remove [defined linux] case.
23929 * malloc/arena.c: Do not include <malloc-sysdep.h>.
23931 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
23933 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
23935 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
23937 * elf/elf.h (R_386_SIZE32): New relocation.
23938 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
23940 (elf_machine_rela): Likewise.
23941 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
23942 R_X86_64_SIZE64 and R_X86_64_SIZE32.
23944 2013-01-17 Joseph Myers <joseph@codesourcery.com>
23946 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
23947 (FP_FAST_FMA): Do not define.
23948 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
23949 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
23950 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
23951 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
23952 !_SOFT_FLOAT]: Likewise.
23953 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
23954 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
23956 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
23957 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
23958 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
23959 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
23960 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
23961 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
23964 2013-01-16 Andreas Schwab <schwab@suse.de>
23967 * include/stdlib.h (__mktemp): Add declaration.
23968 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
23969 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
23971 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23973 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
23975 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
23976 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
23977 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
23979 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
23980 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
23982 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
23984 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
23985 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
23986 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
23988 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
23989 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
23991 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
23993 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
23995 2013-01-15 David S. Miller <davem@davemloft.net>
23997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23998 trunc{,f} to libm-sysdep_routes.
23999 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
24002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
24003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
24005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
24007 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
24008 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
24009 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
24010 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
24011 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
24012 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
24013 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
24014 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
24016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24017 nearbyint{,f} to libm-sysdep_routes.
24018 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
24021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
24023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
24025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
24027 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
24028 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
24029 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
24031 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
24032 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
24034 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
24035 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
24036 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
24038 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
24039 libc_feholdexcept and libc_fesetenv.
24041 2013-01-15 Mike Frysinger <vapier@gentoo.org>
24043 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
24045 2013-01-14 David S. Miller <davem@davemloft.net>
24047 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
24048 (SPARC_ASM_VIS2_IFUNC): Likewise.
24049 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
24050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
24051 use of 'siam' instruction.
24052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
24054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
24056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
24058 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
24059 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
24060 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
24061 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
24062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
24064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
24066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
24068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
24070 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
24071 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
24072 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
24073 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
24074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
24076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
24077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
24080 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
24081 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
24082 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
24083 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
24084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
24085 routines to libm-sysdep_routines.
24086 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24089 fdim/fdimf to libm-sysdep_routines.
24090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
24092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
24093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
24095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
24096 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
24097 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
24098 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
24099 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
24100 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
24101 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
24103 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24105 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
24106 to optimize copies.
24108 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
24109 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24110 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24112 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
24113 local variable MPTWO.
24114 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24117 2013-01-13 Mike Frysinger <vapier@gentoo.org>
24119 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
24122 2013-01-13 Mike Frysinger <vapier@gentoo.org>
24124 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
24126 2013-01-13 Mike Frysinger <vapier@gentoo.org>
24128 * manual/pattern.texi (glob_t): Document gl_flags.
24129 (glob64_t): Likewise.
24131 2013-01-11 David S. Miller <davem@davemloft.net>
24133 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
24134 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
24135 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
24136 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
24137 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
24138 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
24139 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
24140 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
24141 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
24142 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
24143 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
24144 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
24145 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
24147 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24148 sparc V9 rather than using V8 code.
24149 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24150 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24152 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
24154 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
24157 2013-01-11 Roland McGrath <roland@hack.frob.com>
24159 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
24160 not in the main loop.
24161 * configure: Regenerated.
24163 2013-01-11 Joseph Myers <joseph@codesourcery.com>
24165 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
24166 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
24168 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
24169 [!__GLIBC_HAVE_LONG_LONG] case.
24170 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
24171 condition to just #else.
24172 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
24173 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
24174 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
24175 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
24177 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
24178 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24179 #elif condition to just #else.
24180 * sysdeps/unix/sysv/linux/sys/sysmacros.h
24181 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
24182 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24183 #elif condition to just #else.
24185 2013-01-11 Steve Ellcey <sellcey@mips.com>
24187 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
24188 (EF_MIPS_ARCH_64): Fix value.
24189 (EF_MIPS_ARCH_32R2): New.
24190 (EF_MIPS_ARCH_64R2): New.
24192 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
24194 * Makeconfig (+link-pie-before-libc): New.
24195 (+link-pie-after-libc): Likewise.
24196 (+link-pie-tests): Likewise.
24197 (+link-pie): Rewritten.
24198 (link-before-libc): Remove $(config-LDFLAGS).
24199 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
24200 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
24201 (config-LDFLAGS): Renamed to ...
24202 (rtld-LDFLAGS): This.
24203 (rtld-tests-LDFLAGS): New macro.
24204 (link-libc-rpath-link): Likewise.
24205 (link-libc-tests-rpath-link): Likewise.
24206 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
24207 (link-libc): Prepand $(link-libc-rpath-link).
24208 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
24209 (test-program-prefix): New macro.
24210 (test-via-rtld-prefix): Likewise.
24211 (test-program-cmd): Likewise.
24212 (host-test-program-cmd): Likewise.
24213 * Makefile ($(common-objpfx)testrun.sh): Replace
24214 $(run-program-prefix) with $(test-program-prefix).
24215 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
24217 ($(common-objpfx)shlib.lds): Likewise.
24218 (build-module-helper): Likewise.
24219 ($(common-objpfx)format.lds): Likewise.
24220 * Rules (binaries-pie-tests): New.
24221 (binaries-pie-notests): Likewise.
24222 (binaries-pie): Rewritten.
24223 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
24224 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
24225 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
24226 (make-test-out): Replace $(host-built-program-cmd) with
24227 $(host-test-program-cmd).
24228 * config.make.in (build-hardcoded-path-in-tests): New variable.
24229 * configure.in (--enable-hardcoded-path-in-tests): New configure
24231 (hardcoded_path_in_tests): New AC_SUBST.
24232 * configure: Regenerated.
24233 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
24234 $(built-program-cmd) with $(test-program-cmd).
24235 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
24236 (test_program_cmd): This.
24237 * elf/Makefile ($(objpfx)order.out): Run test with
24238 $(test-program-prefix).
24239 ($(objpfx)order2.out): Likewise.
24240 ($(objpfx)tst-initorder.out): Likewise.
24241 ($(objpfx)tst-initorder2.out): Likewise.
24242 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
24243 $(test-program-cmd).
24244 ($(objpfx)tst-array1-static.out): Likewise.
24245 ($(objpfx)tst-array2.out): Likewise.
24246 ($(objpfx)tst-array3.out): Likewise.
24247 ($(objpfx)tst-array4.out): Likewise.
24248 ($(objpfx)tst-array5.out): Likewise.
24249 ($(objpfx)tst-array5-static.out): Likewise.
24250 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
24251 $(test-program-cmd).
24252 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
24253 $(run-program-prefix) with $(test-program-prefix).
24254 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
24255 (test_program_prefix): This.
24256 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
24257 $(run-program-prefix) with $(test-program-prefix).
24258 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
24259 (test_program_prefix): This.
24260 * iconvdata/tst-tables.sh: Likewise.
24261 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
24262 $(run-program-prefix) with $(test-program-prefix).
24263 ($(objpfx)tst-translit.out): Likewise.
24264 ($(objpfx)tst-gettext2.out): Likewise.
24265 ($(objpfx)tst-gettext4.out): Likewise.
24266 ($(objpfx)tst-gettext6.out): Likewise.
24267 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
24268 (test_program_prefix): This.
24269 * intl/tst-gettext2.sh: Likewise.
24270 * intl/tst-gettext4.sh Likewise.
24271 * intl/tst-gettext6.sh: Likewise.
24272 * intl/tst-translit.sh: Likewise.
24273 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
24274 with $(test-program-cmd).
24275 * libio/Makefile ($(objpfx)test-freopen.out): Replace
24276 $(run-program-prefix) with $(test-program-prefix).
24277 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
24278 (test_program_prefix): This.
24279 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
24280 $(run-program-prefix) with $(test-program-prefix).
24281 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
24282 (test_program_prefix): This.
24283 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
24284 * posix/Makefile ($(objpfx)globtest.out): Replace
24285 $(run-via-rtld-prefix) and $(test-wrapper) with
24286 $(test-program-prefix) and $(test-via-rtld-prefix).
24287 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
24288 $(test-program-prefix).
24289 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
24290 $(host-test-program-cmd).
24291 (tst-spawn-ARGS): Likewise.
24292 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
24293 $(test-program-prefix).
24294 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
24295 (test_via_rtld_prefix): This.
24296 (test_wrapper): Renamed to ...
24297 (test_program_prefix): This.
24298 (run_program_prefix): Replaced by test_program_prefix.
24299 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
24300 (test_program_prefix): This.
24301 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
24302 with $(host-test-program-cmd).
24303 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
24304 $(run-program-prefix) with $(test-program-prefix).
24305 ($(objpfx)tst-printf.out): Likewise.
24306 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
24307 $(test-program-cmd).
24308 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
24309 (test_program_prefix): This.
24310 * stdio-common/tst-unbputc.sh: Likewise.
24311 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
24312 $(run-program-prefix) with $(test-program-prefix).
24313 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
24314 (test_program_prefix): This.
24315 * string/Makefile ($(objpfx)tst-svc.out): Replace
24316 $(built-program-cmd) with $(test-program-cmd).
24318 2013-01-11 Andreas Jaeger <aj@suse.de>
24321 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
24322 value. Sync with Linux 3.7.
24324 2013-01-10 David S. Miller <davem@davemloft.net>
24326 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
24327 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24328 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24330 2013-01-10 Roland McGrath <roland@hack.frob.com>
24332 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
24334 * configure: Regenerated.
24336 2013-01-10 David S. Miller <davem@davemloft.net>
24338 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24339 sparc V9 rather than using V8 code.
24340 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24341 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24343 2013-01-10 Roland McGrath <roland@hack.frob.com>
24345 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
24346 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
24347 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
24348 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
24349 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
24350 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
24351 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
24352 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
24353 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
24354 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
24355 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
24356 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
24357 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
24358 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
24359 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
24360 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
24361 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
24362 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
24363 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
24364 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
24365 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
24366 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
24367 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
24368 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
24369 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
24370 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
24371 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
24373 2013-01-10 David S. Miller <davem@davemloft.net>
24375 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24377 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
24379 * posix/Makefile (tests-static): New variable.
24380 (tests): Add $(tests-static).
24381 (tst-exec-static-ARGS): New variable.
24382 (tst-spawn-static-ARGS): Likewise.
24383 * posix/tst-exec-static.c: New file.
24384 * posix/tst-spawn-static.c: Likewise.
24385 * posix/tst-exec.c: Support run directly.
24386 * posix/tst-spawn.c: Likewise.
24388 2013-01-10 Joseph Myers <joseph@codesourcery.com>
24390 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
24392 * math/bits/mathcalls.h (llrint): Likewise.
24393 (llround): Likewise.
24394 * stdlib/stdlib.h (struct drand48_data): Likewise.
24395 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
24396 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
24397 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
24399 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
24401 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
24402 (elf_greg_t): Likewise.
24403 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
24404 (__jmp_buf): Likewise.
24405 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
24407 (llrint): Likewise, for all definitions.
24408 (llrintl): Likewise.
24410 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
24411 Remove [__GNUC__] condition.
24412 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
24413 condition to just [__USE_ISOC99].
24414 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
24416 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
24419 * sysdeps/unix/sysv/linux/x86/bits/environments.h
24420 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
24422 (_POSIX_V6_ILP32_OFF32): Likewise.
24423 (_XBS5_ILP32_OFF32): Likewise.
24424 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
24425 (__ILP32_OFFBIG_LDFLAGS): Likewise.
24427 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24429 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
24431 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
24432 doubles __mpexp_twomm1. Adjust usage.
24433 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
24436 2013-01-10 Andreas Schwab <schwab@suse.de>
24439 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
24440 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
24442 2013-01-09 David S. Miller <davem@davemloft.net>
24445 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
24446 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
24447 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
24448 (TCP_FASTOPEN): Define.
24449 (tcp_repair_opt): New structure.
24450 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
24452 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
24453 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
24454 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
24455 (tcp_cookie_transactions): New structure.
24457 2013-01-09 Anton Blanchard <anton@samba.org>
24459 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
24460 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
24461 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
24462 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
24464 2013-01-09 Joseph Myers <joseph@codesourcery.com>
24466 * include/features.h (__USE_ANSI): Remove.
24468 2013-01-09 Roland McGrath <roland@hack.frob.com>
24470 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
24472 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
24474 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
24476 * sysdeps/s390/fpu/libm-test-ulps: Update.
24478 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24480 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
24484 (denorm): Likewise.
24485 (__mp_dbl): Likewise.
24486 (__dbl_mp): Likewise.
24487 (add_magnitudes): Likewise.
24488 (sub_magnitudes): Likewise.
24494 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
24498 (denorm): Likewise.
24499 (__mp_dbl): Likewise.
24500 (__dbl_mp): Likewise.
24501 (add_magnitudes): Likewise.
24502 (sub_magnitudes): Likewise.
24508 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
24512 (denorm): Likewise.
24513 (__mp_dbl): Likewise.
24514 (__dbl_mp): Likewise.
24515 (add_magnitudes): Likewise.
24516 (sub_magnitudes): Likewise.
24523 2013-01-08 Joseph Myers <joseph@codesourcery.com>
24525 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
24526 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
24527 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
24528 2 && __USE_EXTERN_INLINES]: Likewise.
24530 2013-01-08 Andreas Jaeger <aj@suse.de>
24533 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
24535 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24536 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24538 2013-01-07 Anton Blanchard <anton@samba.org>
24540 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
24541 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
24542 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
24543 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
24544 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
24545 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24546 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
24547 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
24548 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24549 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24550 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24551 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24552 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24553 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24554 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
24555 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24556 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24557 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24558 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
24559 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
24560 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
24561 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
24562 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24563 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
24564 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
24565 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
24566 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24567 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
24568 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
24569 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24570 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
24571 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24572 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24573 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24574 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24575 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24576 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24577 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24578 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
24579 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
24580 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
24581 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24582 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24584 2013-01-07 Joseph Myers <joseph@codesourcery.com>
24586 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
24587 (__MALLOC_PMT): Likewise.
24588 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
24589 [__GNUC__], only on [_LIBC].
24590 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24591 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
24592 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24593 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
24594 forward declaration.
24595 (realloc_hook_ini): Likewise.
24596 (memalign_hook_ini): Likewise.
24597 (__libc_memalign): Do not use __MALLOC_PMT in variable
24599 (__libc_valloc): Likewise.
24600 (__libc_pvalloc): Likewise.
24601 (__libc_calloc): Likewise.
24602 (__posix_memalign): Likewise.
24605 * math/s_casinh.c: Include <float.h>.
24606 (__casinh): Do not do computation with squaring and square root
24607 for large arguments.
24608 * math/s_casinhf.c: Include <float.h>.
24609 (__casinhf): Do not do computation with squaring and square root
24610 for large arguments.
24611 * math/s_casinhl.c: Include <float.h>.
24612 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
24613 (__casinhl): Do not do computation with squaring and square root
24614 for large arguments.
24615 * math/libm-test.inc (casin_test): Add more tests.
24616 (casinh_test): Likewise.
24617 * sysdeps/i386/fpu/libm-test-ulps: Update.
24618 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24620 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
24622 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
24623 (__x86_64_raw_data_cache_size): Likewise.
24624 (__x86_64_data_cache_size_half): Likewise.
24625 (__x86_64_raw_data_cache_size_half): Likewise.
24626 (__x86_64_shared_cache_size): Likewise.
24627 (__x86_64_raw_shared_cache_size): Likewise.
24628 (__x86_64_shared_cache_size_half): Likewise.
24629 (__x86_64_raw_shared_cache_size_half): Likewise.
24630 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
24632 (__x86_data_cache_size): This.
24633 (__x86_64_raw_data_cache_size): Renamed to ...
24634 (__x86_raw_data_cache_size): This.
24635 (__x86_64_data_cache_size_half): Renamed to ...
24636 (__x86_data_cache_size_half): This.
24637 (__x86_64_raw_data_cache_size_half): Renamed to ...
24638 (__x86_raw_data_cache_size_half): This.
24639 (__x86_64_shared_cache_size): Renamed to ...
24640 (__x86_shared_cache_size): This.
24641 (__x86_64_raw_shared_cache_size): Renamed to ...
24642 (__x86_raw_shared_cache_size): This.
24643 (__x86_64_shared_cache_size_half): Renamed to ...
24644 (__x86_shared_cache_size_half): This.
24645 (__x86_64_raw_shared_cache_size_half): Renamed to ...
24646 (__x86_raw_shared_cache_size_half): This.
24647 * sysdeps/x86_64/memcpy.S: Updated.
24648 * sysdeps/x86_64/memset.S: Likewise.
24649 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24650 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24651 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24653 2013-01-04 David S. Miller <davem@davemloft.net>
24655 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24657 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
24659 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
24660 1 to avoid redefinition warning.
24661 (__USE_GNU): Don't define.
24662 (init_signaling_nan): Protoize.
24664 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24666 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24668 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
24669 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
24670 (__cpymn): Likewise.
24671 (norm): Remove commented code.
24672 (denorm): Likewise.
24673 (__mp_dbl): Likewise.
24675 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
24676 (__cpymn): Likewise.
24677 (norm): Remove commented code.
24678 (denorm): Likewise.
24679 (__mp_dbl): Likewise.
24682 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
24683 mp_no value for 1.0 and 2.0.
24684 (norm): Use RADIXI instead of radixi.d.
24685 (denorm): Likewise.
24686 (__mul): Use 0.0 instead of zero.d.
24687 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
24688 mp_no value for 1.0 and 2.0.
24689 (norm): Use RADIXI instead of radixi.d.
24690 (denorm): Likewise.
24691 (__mul): Use 0.0 instead of zero.d.
24693 2013-01-04 Joseph Myers <joseph@codesourcery.com>
24696 * math/s_casinh.c (__casinh): Reduce finite argument to first
24697 quadrant then set signs of results at the end.
24698 * math/s_casinhf.c (__casinhf): Likewise.
24699 * math/s_casinhl.c (__casinhl): Likewise.
24700 * math/libm-test.inc (casin_test): Add more tests.
24701 (casinh_test): Likewise.
24702 * sysdeps/i386/fpu/libm-test-ulps: Update.
24703 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24705 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24707 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
24709 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
24711 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
24713 (denorm): Likewise.
24714 (__mp_dbl): Likewise.
24717 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
24718 and adjust the header comment.
24720 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
24721 variable name from declaration.
24723 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
24725 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24726 Initialize COMMON_CPUID_INDEX_7 element.
24727 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
24728 (CPUID_RTM): Likewise.
24729 (HAS_RTM): Likewise.
24730 (COMMON_CPUID_INDEX_7): New enum.
24732 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
24735 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
24736 size is zero, record memory as freed.
24738 2013-01-03 Andreas Jaeger <aj@suse.de>
24740 * po/ia.po: Add new Interlingua translation.
24742 2012-01-03 Allan McRae <allan@archlinux.org>
24744 * locale/programs/localedef.c: Fix description of '--posix' flag.
24746 2013-01-02 Joseph Myers <joseph@codesourcery.com>
24748 * NEWS: Update dates in second copyright notice.
24749 * README: Update copyright dates in example.
24750 * manual/libc.texinfo: Update copyright dates.
24751 * scripts/test-installation.pl: Update copyright date in --version
24754 * hurd/ctty-input.c: Fix copyright notice formatting.
24755 * hurd/ctty-output.c: Likewise.
24756 * hurd/dtable.c: Likewise.
24757 * hurd/hurd-raise.c: Likewise.
24758 * hurd/hurdprio.c: Likewise.
24759 * hurd/msgportdemux.c: Likewise.
24760 * misc/sys/file.h: Likewise.
24761 * misc/sys/ioctl.h: Likewise.
24762 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
24763 * sysdeps/mach/hurd/chdir.c: Likewise.
24764 * sysdeps/mach/hurd/fchdir.c: Likewise.
24765 * sysdeps/mach/hurd/rename.c: Likewise.
24766 * sysdeps/mach/hurd/rmdir.c: Likewise.
24767 * sysdeps/mach/hurd/seekdir.c: Likewise.
24768 * sysdeps/mach/hurd/setsid.c: Likewise.
24769 * sysdeps/posix/wait3.c: Likewise.
24771 * All files with FSF copyright notices: Update copyright dates
24772 using scripts/update-copyrights.
24773 * intl/plural.c: Regenerated.
24774 * locale/programs/charmap-kw.h: Likewise.
24775 * locale/programs/locfile-kw.h: Likewise.
24777 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
24779 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
24782 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
24783 calculation loop and add branch prediction.
24785 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
24786 check access beyond bounds of m1np.
24788 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
24790 (__inv): Remove local variable MPTWO to use the global
24792 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
24793 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
24795 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
24796 MP3HALFS static const.
24798 2013-01-01 David S. Miller <davem@davemloft.net>
24800 * po/ca.po: Update from translation team.
24802 2013-01-01 Joseph Myers <joseph@codesourcery.com>
24804 * scripts/update-copyrights: New file.
24805 * Makeconfig: Reformat copyright notice.
24806 * ctype/ctype.h: Likewise.
24807 * debug/swprintf_chk.c: Likewise.
24808 * elf/dl-cache.c: Likewise.
24809 * elf/dl-debug.c: Likewise.
24810 * elf/dl-object.c: Likewise.
24811 * grp/initgroups.c: Likewise.
24812 * hurd/Makefile: Likewise.
24813 * hurd/hurd/signal.h: Likewise.
24814 * hurd/hurdfault.c: Likewise.
24815 * hurd/hurdioctl.c: Likewise.
24816 * hurd/hurdlookup.c: Likewise.
24817 * hurd/intr-msg.c: Likewise.
24818 * iconv/gconv_open.c: Likewise.
24819 * libio/swprintf.c: Likewise.
24820 * locale/lc-ctype.c: Likewise.
24821 * locale/nl_langinfo.c: Likewise.
24822 * mach/Machrules: Likewise.
24823 * mach/Makefile: Likewise.
24824 * malloc/obstack.h: Likewise.
24825 * manual/Makefile: Likewise.
24826 * manual/tsort.awk: Likewise.
24827 * misc/bits/stab.def: Likewise.
24828 * nis/nis_print_group_entry.c: Likewise.
24829 * nis/nis_table.c: Likewise.
24830 * nis/nss_compat/compat-pwd.c: Likewise.
24831 * nis/nss_compat/compat-spwd.c: Likewise.
24832 * po/Makefile: Likewise.
24833 * posix/fnmatch.c: Likewise.
24834 * posix/regex.h: Likewise.
24835 * resolv/Makefile: Likewise.
24836 * resolv/nss_dns/dns-network.c: Likewise.
24837 * resolv/res_hconf.c: Likewise.
24838 * scripts/gen-sorted.awk: Likewise.
24839 * soft-fp/soft-fp.h: Likewise.
24840 * stdio-common/printf.h: Likewise.
24841 * stdlib/monetary.h: Likewise.
24842 * stdlib/random.c: Likewise.
24843 * stdlib/random_r.c: Likewise.
24844 * sysdeps/generic/Makefile: Likewise.
24845 * sysdeps/gnu/Makefile: Likewise.
24846 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
24847 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24848 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24849 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24850 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24851 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24852 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24853 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24854 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24855 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24856 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
24857 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
24858 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
24859 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
24860 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
24861 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
24862 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
24863 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24864 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24865 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24866 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
24867 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
24868 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
24869 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
24870 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
24871 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
24872 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
24873 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
24874 * sysdeps/mach/hurd/errnos.awk: Likewise.
24875 * sysdeps/mach/hurd/fork.c: Likewise.
24876 * sysdeps/mach/hurd/getcwd.c: Likewise.
24877 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
24878 * sysdeps/mach/hurd/mmap.c: Likewise.
24879 * sysdeps/mach/hurd/utimes.c: Likewise.
24880 * sysdeps/mach/hurd/xmknod.c: Likewise.
24881 * sysdeps/posix/profil.c: Likewise.
24882 * sysdeps/posix/readdir_r.c: Likewise.
24883 * sysdeps/powerpc/bits/mathdef.h: Likewise.
24884 * sysdeps/powerpc/bits/setjmp.h: Likewise.
24885 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
24886 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
24887 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24888 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
24889 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24890 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
24891 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24892 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
24893 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24894 * sysdeps/pthread/lio_listio.c: Likewise.
24895 * sysdeps/sparc/dl-procinfo.h: Likewise.
24896 * sysdeps/unix/i386/sysdep.S: Likewise.
24897 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
24898 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
24899 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
24900 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
24901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24902 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
24903 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
24904 * sysdeps/unix/sysv/linux/speed.c: Likewise.
24905 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
24906 * sysdeps/wordsize-32/divdi3.c: Likewise.
24907 * time/sys/time.h: Likewise.
24908 * wcsmbs/Makefile: Likewise.
24910 2013-01-01 David S. Miller <davem@davemloft.net>
24912 * po/fr.po: Update from translation team.
24914 * catgets/gencat.c: Update copyright year.
24915 * csu/version.c: Likewise.
24916 * debug/catchsegv.sh: Likewise.
24917 * debug/pcprofiledump.c: Likewise.
24918 * debug/xtrace.sh: Likewise.
24919 * elf/ldconfig.c: Likewise.
24920 * elf/ldd.bash.in: Likewise.
24921 * elf/pldd.c: Likewise.
24922 * elf/sotruss.ksh: Likewise.
24923 * elf/sprof.c: Likewise.
24924 * iconv/iconv_prog.c: Likewise.
24925 * iconv/iconvconfig.c: Likewise.
24926 * locale/programs/locale.c: Likewise.
24927 * locale/programs/localedef.c: Likewise.
24928 * login/programs/pt_chown.c: Likewise.
24929 * malloc/memusage.sh: Likewise.
24930 * malloc/memusagestat.c: Likewise.
24931 * malloc/mtrace.pl: Likewise.
24932 * nscd/nscd.c: Likewise.
24933 * nss/getent.c: Likewise.
24934 * nss/makedb.c: Likewise.
24935 * posix/getconf.c: Likewise.
24937 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
24939 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
24942 2012-12-30 Mike Frysinger <vapier@gentoo.org>
24944 * math/bits/mathcalls.h (modf): Use __nonnull.
24946 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24948 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
24949 (split): Use macro CN instead of the bare value.
24950 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
24952 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
24953 instead of the bare value.
24954 (power1): Likewise.
24956 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24958 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
24960 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24962 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
24964 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
24965 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24966 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
24967 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
24969 2012-12-28 Andreas Jaeger <aj@suse.de>
24971 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
24972 values are from Linux 3.7.
24974 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
24975 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
24977 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24979 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
24982 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
24984 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
24985 variables with preprocessor constants.
24986 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24987 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
24988 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
24990 2012-12-27 Bruno Haible <bruno@clisp.org>
24993 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
24996 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
24998 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
24999 and use variable directly.
25000 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
25002 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
25004 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
25005 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25007 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25008 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
25009 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
25010 include directive. Remove local variable MPONE.
25011 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
25012 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
25013 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25015 2012-12-25 David S. Miller <davem@davemloft.net>
25017 * version.h (RELEASE): Set to "development".
25018 (VERSION): Set to "2.17.90".
25019 * NEWS: Add 2.18 section.
25021 2012-12-21 David S. Miller <davem@davemloft.net>
25023 * po/hr.po: Update from translation team.
25025 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25027 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
25029 2012-12-19 Steve Ellcey <sellcey@mips.com>
25031 * NEWS: Mention new memcpy for MIPS.
25033 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25035 * manual/contrib.texi (Contributors): Spelling correction.
25037 2012-12-15 David S. Miller <davem@davemloft.net>
25039 * po/ru.po: Update from translation team.
25041 2012-12-13 David S. Miller <davem@davemloft.net>
25043 * NEWS: Mention IFUNC testsuite enhancements.
25045 * po/pl.po: Update from translation team.
25046 * po/bg.po: Likewise.
25048 * manual/contrib.texi (Contributors): Update entries for Hongjiu
25049 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
25051 2012-12-11 David S. Miller <davem@davemloft.net>
25053 * po/sv.po: Update from translation team.
25055 * po/vi.po: Update from translation team.
25057 * po/cs.po: Update from translation team.
25059 * po/de.po: Update from translation team.
25060 * po/eo.po: Likewise.
25061 * po/nl.po: Likewise.
25063 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25066 * manual/argp.texi (Argp Helper Functions): Move node to follow
25067 Argp Parsing State.
25070 * manual/conf.texi (Limits on File System Capacity): Mention if
25071 terminating null is included in the max size.
25073 2012-12-10 Andreas Jaeger <aj@suse.de>
25075 * po/cs.po: Update from translation team.
25077 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
25079 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
25080 void pointer and cast to uintptr_t.
25081 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
25083 * sysdeps/s390/s390-64/memcpy.S: Likewise.
25084 * sysdeps/s390/s390-64/memset.S: Likewise.
25086 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
25089 * menual/message.texi (Message Translation): Fix typos.
25090 (Helper programs for gettext): Likewise.
25092 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
25095 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
25098 2012-12-07 David S. Miller <davem@davemloft.net>
25100 * po/libc.pot: Update.
25102 2012-12-07 Richard Henderson <rth@redhat.com>
25105 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
25106 normal/normal case to before the switch.
25107 (_FP_DIV): Likewise.
25109 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
25110 Mike Frysinger <vapier@gentoo.org>
25112 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
25113 check for __NR_fadvise64_64.
25115 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
25117 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
25118 0, not just to plain "0" as a statement.
25119 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
25122 2012-12-06 Joseph Myers <joseph@codesourcery.com>
25124 * NEWS: Use sourceware.org in Bugzilla URL.
25126 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
25128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
25129 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25131 * stdio-common/tst-put-error.c (do_test): Add newline to the
25132 padded test to ensure flush.
25134 2012-12-05 Jeff Law <law@redhat.com>
25136 * sunrpc/etc.rpc (fedfs_admin): Add entry.
25138 2012-12-05 Joseph Myers <joseph@codesourcery.com>
25140 * README: Don't refer to ports add-on as distributed separately.
25141 Mention AArch64 in list of systems supported in the ports add-on.
25143 * LICENSES: Add more non-FSF copyright and license notices.
25145 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
25148 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
25150 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
25151 10000 as width of padded output.
25153 2012-12-04 Joseph Myers <joseph@codesourcery.com>
25155 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
25157 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
25158 variable LX with __attribute__ ((unused)).
25159 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
25161 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
25162 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25163 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
25164 with __attribute__ ((unused)).
25166 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
25168 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
25170 2012-12-04 Joseph Myers <joseph@codesourcery.com>
25172 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
25173 (CFLAGS-nldbl-acos.c): New variable.
25174 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
25175 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
25176 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
25177 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
25178 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
25179 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
25180 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
25181 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
25182 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
25183 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
25184 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
25185 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
25186 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
25187 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
25188 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
25189 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
25190 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
25191 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
25192 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
25193 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
25194 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
25195 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
25196 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
25197 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
25198 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
25199 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
25200 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
25201 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
25202 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
25203 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
25204 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
25205 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
25206 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
25207 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
25208 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
25209 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
25210 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
25211 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
25212 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
25213 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
25214 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
25215 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
25216 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
25217 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
25218 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
25219 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
25220 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
25221 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
25222 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
25223 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
25224 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
25225 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
25226 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
25227 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
25228 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
25229 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
25230 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
25231 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
25232 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
25233 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
25234 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
25235 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
25236 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
25237 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
25238 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
25239 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
25240 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
25241 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
25242 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
25243 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
25244 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
25245 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
25246 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
25247 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
25248 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
25249 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
25250 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
25251 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
25252 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
25253 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
25254 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
25255 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
25256 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
25257 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
25258 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
25259 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
25260 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
25261 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
25262 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
25263 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
25264 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
25265 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
25266 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
25267 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
25268 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
25269 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
25270 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
25272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25273 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25276 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
25277 whole low double instead of just low 47 bits when splitting values
25280 2012-12-03 Allan McRae <allan@archlinux.org>
25282 * manual/stdio.texi (Predefined Printf Handlers): Remove
25283 @hsep and @vsep usage.
25285 2012-12-03 Mike Frysinger <vapier@gentoo.org>
25287 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
25288 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
25290 2012-12-03 Jeff Law <law@redhat.com>
25292 * time/sys/time.h (settimeofday): Do not mark TV argument
25295 2012-12-01 Mike Frysinger <vapier@gentoo.org>
25297 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
25298 when currently writing and seek to current position when not.
25299 * libio/Makefile (tests): Remove bug-fclose1.
25300 * libio/bug-fclose1.c: Delete.
25302 2012-12-01 Joseph Myers <joseph@codesourcery.com>
25304 * manual/arith.texi (feenableexcept): Fix typo.
25305 (fedisableexcept): Likewise.
25307 2012-11-30 Roland McGrath <roland@hack.frob.com>
25309 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
25310 second, differently-typed declaration, rather than a cast.
25312 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
25314 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
25315 * include/rpc/svc.h: ... here.
25317 2012-11-30 Aurelien Jarno <aurel32@debian.org>
25320 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
25321 depending n and resplen2 to catch cases where answer
25324 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
25326 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
25327 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
25329 2012-11-29 Mike Frysinger <vapier@gentoo.org>
25331 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
25333 2012-11-29 Roland McGrath <roland@hack.frob.com>
25335 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
25337 2012-11-28 Jeff Law <law@redhat.com>
25340 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
25341 dataset_temporary. Track alloca usage into alloca_used.
25342 If dataset is large allocate and release it via malloc/free.
25344 2012-06-04 Florian Weimer <fweimer@redhat.com>
25347 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
25349 2012-11-28 David S. Miller <davem@davemloft.net>
25351 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25353 2012-11-28 Joseph Myers <joseph@codesourcery.com>
25356 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
25357 of pi/2 rounded to nearest to 64 bits.
25358 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
25359 nearest to 64 bits.
25360 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
25363 2012-11-28 Jeff Law <law@redhat.com>
25364 Martin Osvald <mosvald@redhat.com>
25367 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
25368 * sunrpc/svc.c: Include time.h.
25369 (__svc_accept_failed): New function.
25370 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
25371 any reason other than EINTR, call __svc_accept_failed.
25372 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
25373 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
25375 2012-11-28 Andreas Schwab <schwab@suse.de>
25377 * scripts/abilist.awk: Also handle indirect functions in .opd
25380 2012-11-28 Joseph Myers <joseph@codesourcery.com>
25383 * sysdeps/x86/fpu/powl_helper.c: New file.
25384 * sysdeps/x86/fpu/Makefile: Likewise.
25385 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
25387 (__ieee754_powl): Use __powl_helper for finite arguments except
25388 integer exponents below 8.
25389 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
25391 (__ieee754_powl): Use __powl_helper for finite arguments except
25392 integer exponents below 8.
25393 * math/libm-test.inc (pow_test): Add more tests and enable some
25394 previously disabled tests.
25395 * sysdeps/i386/fpu/libm-test-ulps: Update.
25396 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25398 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25399 Carlos O'Donell <carlos_odonell@mentor.com>
25401 * nss/makedb.c (is_prime): Assert that input is odd and greater
25402 than 4. Note that fact in a comment too.
25403 (next_prime): Add 4 to input.
25405 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25408 * libio/Makefile (tests): Add test case tst-fwrite-error.
25409 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
25410 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
25411 * libio/tst-fwrite-error.c: New test case.
25413 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
25415 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
25416 before casting to void *.
25417 * include/libc-internal.h (__pointer_type): New macro.
25418 (__integer_if_pointer_type_sub): Likewise.
25419 (__integer_if_pointer_type): Likewise.
25420 (cast_to_integer): Likewise.
25421 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
25422 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
25423 before casting to atomic64_t.
25424 (atomic_exchange_acq): Likewise.
25425 (__arch_exchange_and_add_body): Likewise.
25426 (__arch_add_body): Likewise.
25427 (atomic_add_negative): Likewise.
25428 (atomic_add_zero): Likewise.
25430 2012-11-26 Joseph Myers <joseph@codesourcery.com>
25432 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
25433 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
25434 (add_fdes): Likewise.
25435 (linear_search_fdes): Likewise.
25436 (binary_search_unencoded_fdes): Likewise.
25438 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
25440 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
25442 2012-11-24 Adam Conrad <adconrad@0c3.net>
25444 * configure.in: Autodetect C++ header directories.
25445 * configure: Regenerated.
25447 2012-11-23 Mike Frysinger <vapier@gentoo.org>
25449 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
25451 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
25453 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25455 2012-11-22 Joseph Myers <joseph@codesourcery.com>
25457 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
25458 LDBL_MANT_DIG == 106]: Disable some tests.
25459 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
25461 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
25465 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
25466 input for small inputs. Return +/- pi/2 for large inputs.
25467 * math/libm-test.inc (atan_test): Add more tests.
25469 * sysdeps/generic/unwind-dw2-fde-glibc.c
25470 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
25471 __attribute__ ((unused)).
25474 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
25475 x * y if x and y are nonzero and z is zero.
25478 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
25479 nonzero exponents with absolute value below 0x1p-117 to +/-
25483 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
25484 up arguments below 2**-450, not just those below 2**-500.
25485 * math/libm-test.inc (hypot_test): Add another test.
25488 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
25489 Return a+b for ratio over 2**120, not 2**60.
25490 * math/libm-test.inc (hypot_test): Add another test.
25492 * math/libm-test.inc (clog_test): Use
25493 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
25494 (clog10_test): Likewise.
25497 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
25499 2012-11-22 Andreas Schwab <schwab@suse.de>
25501 * sysdeps/i386/fpu/libm-test-ulps: Update.
25503 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
25505 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
25506 printf output with newline.
25508 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
25511 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
25512 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
25513 -z nodlopen, -z initfirst and -z execstack support.
25514 * configure: Regenerated.
25516 * elf/elf.h (DF_1_NODIRECT): New macro.
25517 (DF_1_IGNMULDEF): Likewise.
25518 (DF_1_NOKSYMS): Likewise.
25519 (DF_1_NOHDR): Likewise.
25520 (DF_1_EDITED): Likewise.
25521 (DF_1_NORELOC): Likewise.
25522 (DF_1_SYMINTPOSE): Likewise.
25523 (DF_1_GLOBAUDIT): Likewise.
25524 (DF_1_SINGLETON): Likewise.
25525 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
25526 DT_1_SUPPORTED_MASK bits.
25527 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
25529 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
25531 * sysdeps/unix/make-syscalls.sh: Document prefixes.
25533 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
25535 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
25538 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
25539 (sendmmsg): Move declarations...
25540 * socket/sys/socket.h: ... here.
25541 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
25542 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
25544 * socket/recvmmsg.c: ... this new file.
25545 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
25546 (sendmmsg): Rename to __sendmmsg, create weak alias and make
25547 definition of __sendmmsg hidden.
25548 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
25549 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
25550 Move ENOSYS stub into and include it from...
25551 * socket/sendmmsg.c: ... this new file.
25552 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
25553 (sysdep_routines): Move recvmmsg and sendmmsg...
25554 * socket/Makefile (routines): ... here.
25555 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
25556 (GLIBC_PRIVATE): Add __sendmmsg.
25557 * include/sys/socket.h (__sendmmsg): Add declarations.
25558 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
25561 2012-11-20 Joseph Myers <joseph@codesourcery.com>
25563 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
25564 variable I1 with __attribute__ ((unused)).
25565 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
25567 2012-11-19 Joseph Myers <joseph@codesourcery.com>
25569 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
25570 DUMMY variables with __attribute__ ((unused)).
25572 * bits/byteswap.h: Include <bits/types.h>.
25573 (__bswap_64): Use __uint64_t instead of unsigned long long int.
25575 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
25577 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
25578 string_t. Do not manually set errno.
25579 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
25580 length with __strnlen. Make sure to both set errno and return it on
25583 2012-11-19 David S. Miller <davem@davemloft.net>
25585 With help from Joseph Myers.
25586 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
25587 very large arguments properly.
25588 * math/libm-test.inc (atan_test): New tests.
25589 (atan2_test): New tests.
25590 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25591 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25593 2012-11-19 Joseph Myers <joseph@codesourcery.com>
25596 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
25599 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
25600 [POSIX] (EADDRNOTAVAIL): Likewise.
25601 [POSIX] (EAFNOSUPPORT): Likewise.
25602 [POSIX] (EALREADY): Likewise.
25603 [POSIX] (ECONNABORTED): Likewise.
25604 [POSIX] (ECONNREFUSED): Likewise.
25605 [POSIX] (ECONNRESET): Likewise.
25606 [POSIX] (EDESTADDRREQ): Likewise.
25607 [POSIX] (EDQUOT): Likewise.
25608 [POSIX] (EHOSTUNREACH): Likewise.
25609 [POSIX] (EIDRM): Likewise.
25610 [POSIX] (EISCONN): Likewise.
25611 [POSIX] (ELOOP): Likewise.
25612 [POSIX] (EMULTIHOP): Likewise.
25613 [POSIX] (ENETDOWN): Likewise.
25614 [POSIX] (ENETUNREACH): Likewise.
25615 [POSIX] (ENOBUFS): Likewise.
25616 [POSIX] (ENODATA): Likewise.
25617 [POSIX] (ENOLINK): Likewise.
25618 [POSIX] (ENOMSG): Likewise.
25619 [POSIX] (ENOPROTOOPT): Likewise.
25620 [POSIX] (ENOSR): Likewise.
25621 [POSIX] (ENOSTR): Likewise.
25622 [POSIX] (ENOTCONN): Likewise.
25623 [POSIX] (ENOTSOCK): Likewise.
25624 [POSIX] (EOPNOTSUPP): Likewise.
25625 [POSIX] (EOVERFLOW): Likewise.
25626 [POSIX] (EPROTO): Likewise.
25627 [POSIX] (EPROTONOSUPPORT): Likewise.
25628 [POSIX] (EPROTOTYPE): Likewise.
25629 [POSIX] (ESTALE): Likewise.
25630 [POSIX] (ETIME): Likewise.
25631 [POSIX] (ETXTBSY): Likewise.
25632 [POSIX] (EWOULDBLOCK): Likewise.
25633 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
25634 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
25635 [POSIX] (SEEK_CUR): Likewise.
25636 [POSIX] (SEEK_END): Likewise.
25637 [POSIX || UNIX98] (mode_t): Do not require.
25638 [POSIX] (off_t): Likewise.
25639 [POSIX] (pid_t): Likewise.
25640 [POSIX] (sys/stat.h): Do not allow header.
25641 [POSIX] (unistd.h): Likewise.
25642 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
25643 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
25644 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
25645 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
25647 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
25648 sigevent): Specify elements.
25649 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
25651 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
25652 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
25654 * conform/data/cpio.h-data [POSIX]: Disable whole file.
25655 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
25656 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
25657 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
25658 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
25659 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
25660 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
25661 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
25662 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
25663 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
25664 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
25665 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
25666 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
25667 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
25669 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
25671 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
25673 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
25675 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
25676 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
25677 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
25678 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
25679 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
25680 Specify lower bound on value.
25681 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
25682 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
25683 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
25684 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
25685 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
25686 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
25687 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
25688 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
25690 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
25692 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
25693 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
25694 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
25695 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
25696 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
25697 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
25698 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
25699 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
25700 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
25701 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
25702 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
25703 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
25704 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
25705 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
25706 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
25707 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
25709 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
25711 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
25712 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
25713 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
25714 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
25715 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
25716 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
25718 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
25719 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
25720 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
25721 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
25722 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
25723 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
25724 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
25726 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
25727 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
25728 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
25729 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
25730 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
25731 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
25732 specify as optional.
25733 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
25734 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
25735 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
25736 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
25737 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
25738 [XPG3] (NL_LANGMAX): Likewise.
25739 [POSIX || XPG3] (NL_MSGMAX): Likewise.
25740 [POSIX || XPG3] (NL_NMAX): Likewise.
25741 [POSIX || XPG3] (NL_SETMAX): Likewise.
25742 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
25743 [XPG3] (NZERO): Likewise.
25744 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
25745 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
25746 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
25747 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
25748 (REG_ERANGE): Expect.
25749 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
25751 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
25752 Use (void) in prototype.
25753 [POSIX] (*_t): Allow.
25754 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
25755 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
25756 (WRDE_BADVAL): Expect.
25758 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
25760 [XPG3 || XPG4] (O_RSYNC): Likewise.
25761 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
25763 [XPG3 || XPG4] (pthread_sigmask): Likewise.
25764 [XPG3 || XPG4] (sigqueue): Likewise.
25765 [XPG3 || XPG4] (sigtimedwait): Likewise.
25766 [XPG3 || XPG4] (sigwaitinfo): Likewise.
25767 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
25768 [XPG3 || XPG4] (vsnprintf): Likewise.
25769 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
25771 [XPG3 || XPG4] (blksize_t): Likewise.
25772 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
25774 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
25775 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
25776 [XPG3 || XPG4] (struct itimerspec): Likewise.
25777 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
25778 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
25779 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
25780 [XPG3 || XPG4] (clockid_t): Likewise.
25781 [XPG3 || XPG4] (timer_t): Likewise.
25782 [XPG3 || XPG4] (clock_getres): Likewise.
25783 [XPG3 || XPG4] (clock_gettime): Likewise.
25784 [XPG3 || XPG4] (clock_settime): Likewise.
25785 [XPG3 || XPG4] (nanosleep): Likewise.
25786 [XPG3 || XPG4] (timer_create): Likewise.
25787 [XPG3 || XPG4] (timer_delete): Likewise.
25788 [XPG3 || XPG4] (timer_gettime): Likewise.
25789 [XPG3 || XPG4] (timer_getoverrun): Likewise.
25790 [XPG3 || XPG4] (timer_settime): Likewise.
25791 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
25792 [XPG3 || XPG4] (getlogin_r): Likewise.
25793 [XPG3 || XPG4] (pread): Likewise.
25794 [XPG3 || XPG4] (pthread_atfork): Likewise.
25795 [XPG3 || XPG4] (pwrite): Likewise.
25798 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
25801 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
25803 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
25804 finalizing MALLSTREAM.
25806 * sysdeps/mach/hurd/syncfs.c: New file.
25808 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25811 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
25812 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
25813 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
25814 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
25815 (_nss_dns_gethostbyname4_r): Likewise.
25816 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
25817 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
25819 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
25822 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
25824 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
25826 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
25827 * elf/cache.c (print_entry): Print ",AArch64" for
25830 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
25831 * elf/cache.c (print_entry): Print ",hard-float" for
25834 2012-11-18 David S. Miller <davem@davemloft.net>
25836 With help from Joseph Myers.
25837 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
25839 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
25841 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
25842 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
25844 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
25845 * math/libm-test.inc (y0_test): New tests.
25846 (y1_test): New tests.
25847 * sysdeps/i386/fpu/libm-test-ulps: Update.
25848 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25849 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25851 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
25853 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
25855 * configure: Regenerated.
25857 2012-11-17 David S. Miller <davem@davemloft.net>
25860 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
25861 nonzero exponents with absolute value below 0x1p-128 to +/-
25864 2012-11-17 Joseph Myers <joseph@codesourcery.com>
25866 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
25868 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
25870 * posix/getconf-speclist.c: New file.
25871 * posix/posix-envs.def: Likewise.
25872 * posix/confstr.c (START_ENV_GROUP): New macro.
25873 (END_ENV_GROUP): Likewise.
25874 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
25875 (KNOWN_PRESENT_ENV_STRING): Likewise.
25876 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
25877 (UNKNOWN_ENVIRONMENT): Likewise.
25878 (confstr): Include posix-envs.def instead of handling
25879 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
25880 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
25881 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
25882 (END_ENV_GROUP): Likewise.
25883 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
25884 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
25885 (UNKNOWN_ENVIRONMENT): Likewise.
25886 (__sysconf): Include posix-envs.def instead of handling associated
25887 cases directly here.
25888 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
25889 preprocessing getconf-speclist.c rather than running getconf or
25890 generating empty file.
25892 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
25894 * scripts/check-local-headers.sh: Ignore 'mach' headers.
25896 2012-11-16 Andrej Lajovic <natrij@gmail.com>
25899 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
25901 2012-11-16 David S. Miller <davem@davemloft.net>
25903 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
25904 smaller than LDBL_EPSILON/2.0L, just return xm1.
25906 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
25908 * elf/tst-array1.c (init): Set constructor priority to 1000.
25909 (fini): Set destructor priority to 1000.
25910 * elf/tst-array2dep.c: Likewise.
25912 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25915 * libio/fileops.c (_IO_new_file_write): Correctly return error.
25916 (_IO_new_file_xsputn): Also return EOF if none of the input
25917 data was written when overflow failed.
25918 * libio/iopadn.c (_IO_padn): Likewise.
25919 * libio/iowpadn.c (_IO_wpadn): Likewise.
25920 * stdio-common/tst-put-error.c: Add copyright notice.
25921 (do_test): Add case for printing padded string.
25922 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
25923 _IO_padn returned error.
25924 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
25925 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
25928 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25930 * libio/libioP.h: Add comment note that the references to C++
25931 bits are now obsolete.
25933 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25935 * math/libm-test.inc (check_complex): Use asprintf.
25937 2012-11-14 Joseph Myers <joseph@codesourcery.com>
25939 * debug/pcprofiledump.c (print_version): Update copyright year.
25940 * malloc/memusagestat.c (print_version): Likewise.
25942 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
25945 * elf/Makefile (tests): Add tst-audit8.
25946 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
25947 ($(objpfx)tst-audit8.out): New target.
25948 (tst-audit8-ENV): New variable.
25949 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
25950 audit if l_reloc_result is NULL.
25951 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
25952 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
25953 * elf/tst-audit8.c: New file.
25955 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25957 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
25958 * misc/Makefile (CFLAGS-select.c): Define.
25959 * posix/Makefile (CFLAGS-pause.c): Define.
25961 2012-11-13 David S. Miller <davem@davemloft.net>
25963 * crypt/Makefile: Move test targets after toplevel Rules
25964 inclusion. Grab any necessary sysdep routines when linking.
25965 * crypt/md5.c (md5_process_block): Remove define, we will always
25966 name it __md5_process_block.
25967 (md5_finish_ctx): Update md5_process_block call.
25968 (md5_stream): Likewise.
25969 (md5_process_bytes): Likewise.
25970 (md5_process_block): Rename to __md5_process_block and move to ...
25971 * crypt/md5-block.c: ... here.
25972 * crypt/sha256.c (sha256_process_block): Move to ...
25973 * crypt/sha256-block.c: ... here.
25974 * crypt/sha512.c (sha512_process_block): Move to ...
25975 * crypt/sha512-block.c: ... here.
25976 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
25978 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
25979 * sysdeps/sparc/sparc64/multiarch/Makefile
25980 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
25982 (localedef-aux): Add md5 crypto assembler when in locale subdir.
25983 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
25985 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
25986 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
25987 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
25988 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
25989 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
25990 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
25991 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
25992 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
25993 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
25995 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
25996 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
25998 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
26000 2012-11-13 Joseph Myers <joseph@codesourcery.com>
26002 * timezone/tzselect.ksh: Update from tzcode git revision
26003 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
26004 * timezone/zdump.c: Likewise.
26005 * timezone/zic.c: Likewise.
26006 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
26007 in TZVERSION setting, not $(PKGVERSION).
26008 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
26009 REPORT_BUGS_TO settings.
26012 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
26015 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26017 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
26018 detection to immediately after _FP_ROUND().
26019 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
26022 2012-11-11 David S. Miller <davem@davemloft.net>
26024 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
26026 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
26027 __close rather than their public counterparts.
26029 2012-11-10 Joseph Myers <joseph@codesourcery.com>
26031 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
26033 [UNIX98] (sem_timedwait): Do not expect.
26034 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
26035 [XPG4 || UNIX98] (sockatmark): Do not expect.
26036 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
26037 (clock_getcpuclockid): Do not expect.
26038 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
26039 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
26041 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
26042 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
26043 [UNIX98] (vwscanf): Likewise.
26044 [UNIX98] (vswscanf): Likewise.
26046 2012-11-09 Joseph Myers <joseph@codesourcery.com>
26048 * timezone/version.h: Remove file.
26049 * timezone/README: Do not refer to version.h.
26050 * timezone/Makefile ($(objpfx)zic.o): New dependency on
26051 $(objpfx)version.h.
26052 ($(objpfx)zdump.o): Likewise.
26053 ($(objpfx)version.h): New target.
26055 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
26057 * timezone/README: Don't mention modification to tzselect.ksh.
26058 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
26059 work on unmodified tzselect.ksh. Substitute version numbers in
26062 * Makefile (format-me): Remove.
26063 (INSTALL): Adjust indentation. Use commands directly instead of
26064 using $(format-me).
26066 * aclocal.m4 (ACX_PKGVERSION): New macro.
26067 (ACX_BUGURL): Likewise.
26068 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
26069 (PKGVERSION): New AC_DEFINE_UNQUOTED.
26070 (REPORT_BUGS_TO): Likewise.
26071 * configure: Regenerated.
26072 * config.h.in (PKGVERSION): New macro.
26073 (REPORT_BUGS_TO): Likewise.
26074 * config.make.in (PKGVERSION): New variable.
26075 (PKGVERSION_TEXI): Likewise.
26076 (REPORT_BUGS_TO): Likewise.
26077 (REPORT_BUGS_TEXI): Likewise.
26078 * Makefile (format-me): Use -I$(common-objpfx)manual.
26079 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
26080 ($(common-objpfx)manual/%): New target.
26081 (manual/%): Remove target.
26082 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
26083 (print_version): Use PKGVERSION.
26084 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
26085 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
26086 and REPORT_BUGS_TO.
26087 ($(objpfx)xtrace): Likewise.
26088 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
26089 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
26090 (print_version): Use PKGVERSION.
26091 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
26092 (do_version): Use PKGVERSION.
26093 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
26095 (common-ldd-rewrite): Likewise.
26096 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
26097 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
26098 (print_version): Use PKGVERSION.
26099 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
26100 * elf/pldd.c (argp_program_bug_address): Remove variable.
26101 (more_help): New function.
26102 (argp): Use more_help.
26103 (print_version): Use PKGVERSION.
26104 * elf/sln.c (main): Use PKGVERSION.
26105 (usage): Use REPORT_BUGS_TO.
26106 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
26107 (top level): Use PKGVERSION.
26108 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
26109 (print_version): Use PKGVERSION.
26110 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
26111 (print_version): Use PKGVERSION.
26112 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
26113 (print_version): Use PKGVERSION.
26114 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
26115 (print_version): Use PKGVERSION.
26116 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
26117 (print_version): Use PKGVERSION.
26118 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
26119 (print_version): Use PKGVERSION.
26120 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
26122 ($(objpfx)memusage): Likewise.
26123 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
26124 (do_version): Use PKGVERSION.
26125 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
26126 (print_version): Use PKGVERSION.
26127 * malloc/mtrace.pl ($PACKAGE): Remove variable.
26128 ($PKGVERSION): New variable.
26129 ($REPORT_BUGS_TO): Likewise.
26130 (usage): Use $REPORT_BUGS_TO.
26131 (top level): Use $PKGVERSION.
26132 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
26133 ($(objpfx)pkgvers.texi): New rule.
26134 ($(objpfx)stamp-pkgvers): Likewise.
26135 * manual/install.texi: Include pkgvers.texi.
26136 (--with-pkgversion): Document new configure option.
26137 (--with-bugurl): Likewise.
26138 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
26139 than necessarily for this particular distribution. Use
26140 REPORT_BUGS_TO for where to report bugs.
26141 * INSTALL: Regenerated.
26142 * manual/libc.texinfo: Include pkgvers.texi.
26143 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
26144 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
26145 (print_version): Use PKGVERSION.
26146 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
26147 (print_version): Use PKGVERSION.
26148 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
26149 (print_version): Use PKGVERSION.
26150 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
26151 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
26153 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
26154 (print_version): Use PKGVERSION.
26155 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
26156 (print_version): Use PKGVERSION.
26157 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
26160 * timezone/checktab.awk: Update from tzcode 2012i.
26161 * timezone/ialloc.c: Likewise.
26162 * timezone/private.h: Likewise.
26163 * timezone/scheck.c: Likewise.
26164 * timezone/tzfile.h: Likewise.
26165 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
26166 (TZVERSION): Hardcode tzcode version number.
26167 * timezone/zdump.c: Update from tzcode 2012i.
26168 * timezone/zic.c: Likewise.
26169 * timezone/version.h: New file.
26170 * timezone/README: Describe version.h. Update upstream location.
26173 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
26174 (mktemp): Enable declaration.
26175 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
26176 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
26177 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
26178 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
26180 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
26182 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
26184 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
26186 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
26188 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
26192 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
26193 offset in buffer as u_int32_t not u_long. Consistently use memcpy
26194 for copies of such integer values.
26195 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
26196 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
26198 2012-11-09 Andreas Jaeger <aj@suse.de>
26200 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
26201 definitions and declarations that are provided by
26202 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
26204 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26206 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
26207 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
26208 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
26211 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26213 * elf/elf.h: Update comment before AArch64 relocations.
26215 2012-11-07 David S. Miller <davem@davemloft.net>
26217 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
26218 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
26219 (__start_context): Declare.
26220 (__makecontext_ret): Delete.
26221 (__makecontext): Hook up __start_context instead of
26223 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
26224 (sysdep_routines): Add __start_context when in stdlib.
26226 2012-11-07 Joseph Myers <joseph@codesourcery.com>
26228 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
26229 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
26230 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
26232 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
26233 (READELF): New variable. Use it instead of hardcoded "readelf".
26235 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
26237 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
26238 * sysdeps/x86/Makefile: Here.
26239 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
26240 * sysdeps/x86/tst-xmmymm.sh: This.
26242 2012-11-07 Joseph Myers <joseph@codesourcery.com>
26244 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
26246 [UNIX98] (pthread_barrier_t): Do not expect.
26247 [UNIX98] (pthread_barrierattr_t): Likewise.
26248 [UNIX98] (pthread_spinlock_t): Likewise.
26249 [UNIX98] (pthread_barrier_destroy): Likewise.
26250 [UNIX98] (pthread_barrier_init): Likewise.
26251 [UNIX98] (pthread_barrier_wait): Likewise.
26252 [UNIX98] (pthread_barrierattr_destroy): Likewise.
26253 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
26254 [UNIX98] (pthread_barrierattr_init): Likewise.
26255 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
26256 [UNIX98] (pthread_getcpuclockid): Likewise.
26257 [UNIX98] (pthread_mutex_timedlock): Likewise.
26258 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
26259 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
26260 [UNIX98] (pthread_sigmask): Likewise.
26261 [UNIX98] (pthread_spin_destroy): Likewise.
26262 [UNIX98] (pthread_spin_init): Likewise.
26263 [UNIX98] (pthread_spin_lock): Likewise.
26264 [UNIX98] (pthread_spin_trylock): Likewise.
26265 [UNIX98] (pthread_spin_unlock): Likewise.
26266 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
26268 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
26269 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
26270 [XPG3 || XPG4] (pthread_cond_t): Likewise.
26271 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
26272 [XPG3 || XPG4] (pthread_key_t): Likewise.
26273 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
26274 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
26275 [XPG3 || XPG4] (pthread_once_t): Likewise.
26276 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
26277 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
26278 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
26279 [XPG3 || XPG4] (pthread_t): Likewise.
26281 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
26283 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
26285 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
26286 Change function return type to int.
26288 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
26289 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
26290 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
26291 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
26292 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
26293 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
26294 [!POSIX] (posix_madvise): Likewise.
26295 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
26297 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
26298 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
26299 (mode_t): Likewise.
26300 (posix_mem_offset): Likewise.
26301 (posix_typed_mem_get_info): Likewise.
26302 (posix_typed_mem_open): Likewise.
26304 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
26305 Change condition to [XOPEN2K8].
26307 * conform/conformtest.pl: Preprocess allow-header data with -x c
26308 instead of from stdin.
26309 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
26310 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
26311 [C99-based standards] (cerfc): Likewise.
26312 [C99-based standards] (cexp2): Likewise.
26313 [C99-based standards] (cexpm1): Likewise.
26314 [C99-based standards] (clog10): Likewise.
26315 [C99-based standards] (clog1p): Likewise.
26316 [C99-based standards] (clog2): Likewise.
26317 [C99-based standards] (clgamma): Likewise.
26318 [C99-based standards] (ctgamma): Likewise.
26319 [C99-based standards] (cerff): Likewise.
26320 [C99-based standards] (cerfcf): Likewise.
26321 [C99-based standards] (cexp2f): Likewise.
26322 [C99-based standards] (cexpm1f): Likewise.
26323 [C99-based standards] (clog10f): Likewise.
26324 [C99-based standards] (clog1pf): Likewise.
26325 [C99-based standards] (clog2f): Likewise.
26326 [C99-based standards] (clgammaf): Likewise.
26327 [C99-based standards] (ctgammaf): Likewise.
26328 [C99-based standards] (cerfl): Likewise.
26329 [C99-based standards] (cerfcl): Likewise.
26330 [C99-based standards] (cexp2l): Likewise.
26331 [C99-based standards] (cexpm1l): Likewise.
26332 [C99-based standards] (clog10l): Likewise.
26333 [C99-based standards] (clog1pl): Likewise.
26334 [C99-based standards] (clog2l): Likewise.
26335 [C99-based standards] (clgammal): Likewise.
26336 [C99-based standards] (ctgammal): Likewise.
26337 * conform/data/inttypes.h-data [C99-based standards]: Include
26338 stdint.h-data. Remove all expectations for stdint.h contents.
26339 [C99-based standards] (PRI*): Do not allow.
26340 [C99-based standards] (SCN*): Likewise.
26341 [C99-based standards] (*_t): Likewise.
26342 [C99-based-standards] (PRId8): Expect macro.
26343 [C99-based-standards] (PRIi8): Likewise.
26344 [C99-based-standards] (PRIo8): Likewise.
26345 [C99-based-standards] (PRIu8): Likewise.
26346 [C99-based-standards] (PRIx8): Likewise.
26347 [C99-based-standards] (PRIX8): Likewise.
26348 [C99-based-standards] (SCNd8): Likewise.
26349 [C99-based-standards] (SCNi8): Likewise.
26350 [C99-based-standards] (SCNo8): Likewise.
26351 [C99-based-standards] (SCNu8): Likewise.
26352 [C99-based-standards] (SCNx8): Likewise.
26353 [C99-based-standards] (PRIdLEAST8): Likewise.
26354 [C99-based-standards] (PRIiLEAST8): Likewise.
26355 [C99-based-standards] (PRIoLEAST8): Likewise.
26356 [C99-based-standards] (PRIuLEAST8): Likewise.
26357 [C99-based-standards] (PRIxLEAST8): Likewise.
26358 [C99-based-standards] (PRIXLEAST8): Likewise.
26359 [C99-based-standards] (SCNdLEAST8): Likewise.
26360 [C99-based-standards] (SCNiLEAST8): Likewise.
26361 [C99-based-standards] (SCNoLEAST8): Likewise.
26362 [C99-based-standards] (SCNuLEAST8): Likewise.
26363 [C99-based-standards] (SCNxLEAST8): Likewise.
26364 [C99-based-standards] (PRIdFAST8): Likewise.
26365 [C99-based-standards] (PRIiFAST8): Likewise.
26366 [C99-based-standards] (PRIoFAST8): Likewise.
26367 [C99-based-standards] (PRIuFAST8): Likewise.
26368 [C99-based-standards] (PRIxFAST8): Likewise.
26369 [C99-based-standards] (PRIXFAST8): Likewise.
26370 [C99-based-standards] (SCNdFAST8): Likewise.
26371 [C99-based-standards] (SCNiFAST8): Likewise.
26372 [C99-based-standards] (SCNoFAST8): Likewise.
26373 [C99-based-standards] (SCNuFAST8): Likewise.
26374 [C99-based-standards] (SCNxFAST8): Likewise.
26375 [C99-based-standards] (PRId16): Likewise.
26376 [C99-based-standards] (PRIi16): Likewise.
26377 [C99-based-standards] (PRIo16): Likewise.
26378 [C99-based-standards] (PRIu16): Likewise.
26379 [C99-based-standards] (PRIx16): Likewise.
26380 [C99-based-standards] (PRIX16): Likewise.
26381 [C99-based-standards] (SCNd16): Likewise.
26382 [C99-based-standards] (SCNi16): Likewise.
26383 [C99-based-standards] (SCNo16): Likewise.
26384 [C99-based-standards] (SCNu16): Likewise.
26385 [C99-based-standards] (SCNx16): Likewise.
26386 [C99-based-standards] (PRIdLEAST16): Likewise.
26387 [C99-based-standards] (PRIiLEAST16): Likewise.
26388 [C99-based-standards] (PRIoLEAST16): Likewise.
26389 [C99-based-standards] (PRIuLEAST16): Likewise.
26390 [C99-based-standards] (PRIxLEAST16): Likewise.
26391 [C99-based-standards] (PRIXLEAST16): Likewise.
26392 [C99-based-standards] (SCNdLEAST16): Likewise.
26393 [C99-based-standards] (SCNiLEAST16): Likewise.
26394 [C99-based-standards] (SCNoLEAST16): Likewise.
26395 [C99-based-standards] (SCNuLEAST16): Likewise.
26396 [C99-based-standards] (SCNxLEAST16): Likewise.
26397 [C99-based-standards] (PRIdFAST16): Likewise.
26398 [C99-based-standards] (PRIiFAST16): Likewise.
26399 [C99-based-standards] (PRIoFAST16): Likewise.
26400 [C99-based-standards] (PRIuFAST16): Likewise.
26401 [C99-based-standards] (PRIxFAST16): Likewise.
26402 [C99-based-standards] (PRIXFAST16): Likewise.
26403 [C99-based-standards] (SCNdFAST16): Likewise.
26404 [C99-based-standards] (SCNiFAST16): Likewise.
26405 [C99-based-standards] (SCNoFAST16): Likewise.
26406 [C99-based-standards] (SCNuFAST16): Likewise.
26407 [C99-based-standards] (SCNxFAST16): Likewise.
26408 [C99-based-standards] (PRId32): Likewise.
26409 [C99-based-standards] (PRIi32): Likewise.
26410 [C99-based-standards] (PRIo32): Likewise.
26411 [C99-based-standards] (PRIu32): Likewise.
26412 [C99-based-standards] (PRIx32): Likewise.
26413 [C99-based-standards] (PRIX32): Likewise.
26414 [C99-based-standards] (SCNd32): Likewise.
26415 [C99-based-standards] (SCNi32): Likewise.
26416 [C99-based-standards] (SCNo32): Likewise.
26417 [C99-based-standards] (SCNu32): Likewise.
26418 [C99-based-standards] (SCNx32): Likewise.
26419 [C99-based-standards] (PRIdLEAST32): Likewise.
26420 [C99-based-standards] (PRIiLEAST32): Likewise.
26421 [C99-based-standards] (PRIoLEAST32): Likewise.
26422 [C99-based-standards] (PRIuLEAST32): Likewise.
26423 [C99-based-standards] (PRIxLEAST32): Likewise.
26424 [C99-based-standards] (PRIXLEAST32): Likewise.
26425 [C99-based-standards] (SCNdLEAST32): Likewise.
26426 [C99-based-standards] (SCNiLEAST32): Likewise.
26427 [C99-based-standards] (SCNoLEAST32): Likewise.
26428 [C99-based-standards] (SCNuLEAST32): Likewise.
26429 [C99-based-standards] (SCNxLEAST32): Likewise.
26430 [C99-based-standards] (PRIdFAST32): Likewise.
26431 [C99-based-standards] (PRIiFAST32): Likewise.
26432 [C99-based-standards] (PRIoFAST32): Likewise.
26433 [C99-based-standards] (PRIuFAST32): Likewise.
26434 [C99-based-standards] (PRIxFAST32): Likewise.
26435 [C99-based-standards] (PRIXFAST32): Likewise.
26436 [C99-based-standards] (SCNdFAST32): Likewise.
26437 [C99-based-standards] (SCNiFAST32): Likewise.
26438 [C99-based-standards] (SCNoFAST32): Likewise.
26439 [C99-based-standards] (SCNuFAST32): Likewise.
26440 [C99-based-standards] (SCNxFAST32): Likewise.
26441 [C99-based-standards] (PRId64): Likewise.
26442 [C99-based-standards] (PRIi64): Likewise.
26443 [C99-based-standards] (PRIo64): Likewise.
26444 [C99-based-standards] (PRIu64): Likewise.
26445 [C99-based-standards] (PRIx64): Likewise.
26446 [C99-based-standards] (PRIX64): Likewise.
26447 [C99-based-standards] (SCNd64): Likewise.
26448 [C99-based-standards] (SCNi64): Likewise.
26449 [C99-based-standards] (SCNo64): Likewise.
26450 [C99-based-standards] (SCNu64): Likewise.
26451 [C99-based-standards] (SCNx64): Likewise.
26452 [C99-based-standards] (PRIdLEAST64): Likewise.
26453 [C99-based-standards] (PRIiLEAST64): Likewise.
26454 [C99-based-standards] (PRIoLEAST64): Likewise.
26455 [C99-based-standards] (PRIuLEAST64): Likewise.
26456 [C99-based-standards] (PRIxLEAST64): Likewise.
26457 [C99-based-standards] (PRIXLEAST64): Likewise.
26458 [C99-based-standards] (SCNdLEAST64): Likewise.
26459 [C99-based-standards] (SCNiLEAST64): Likewise.
26460 [C99-based-standards] (SCNoLEAST64): Likewise.
26461 [C99-based-standards] (SCNuLEAST64): Likewise.
26462 [C99-based-standards] (SCNxLEAST64): Likewise.
26463 [C99-based-standards] (PRIdFAST64): Likewise.
26464 [C99-based-standards] (PRIiFAST64): Likewise.
26465 [C99-based-standards] (PRIoFAST64): Likewise.
26466 [C99-based-standards] (PRIuFAST64): Likewise.
26467 [C99-based-standards] (PRIxFAST64): Likewise.
26468 [C99-based-standards] (PRIXFAST64): Likewise.
26469 [C99-based-standards] (SCNdFAST64): Likewise.
26470 [C99-based-standards] (SCNiFAST64): Likewise.
26471 [C99-based-standards] (SCNoFAST64): Likewise.
26472 [C99-based-standards] (SCNuFAST64): Likewise.
26473 [C99-based-standards] (SCNxFAST64): Likewise.
26474 [C99-based-standards] (PRIdMAX): Likewise.
26475 [C99-based-standards] (PRIiMAX): Likewise.
26476 [C99-based-standards] (PRIoMAX): Likewise.
26477 [C99-based-standards] (PRIuMAX): Likewise.
26478 [C99-based-standards] (PRIxMAX): Likewise.
26479 [C99-based-standards] (PRIXMAX): Likewise.
26480 [C99-based-standards] (SCNdMAX): Likewise.
26481 [C99-based-standards] (SCNiMAX): Likewise.
26482 [C99-based-standards] (SCNoMAX): Likewise.
26483 [C99-based-standards] (SCNuMAX): Likewise.
26484 [C99-based-standards] (SCNxMAX): Likewise.
26485 [C99-based-standards] (PRIdPTR): Likewise.
26486 [C99-based-standards] (PRIiPTR): Likewise.
26487 [C99-based-standards] (PRIoPTR): Likewise.
26488 [C99-based-standards] (PRIuPTR): Likewise.
26489 [C99-based-standards] (PRIxPTR): Likewise.
26490 [C99-based-standards] (PRIXPTR): Likewise.
26491 [C99-based-standards] (SCNdPTR): Likewise.
26492 [C99-based-standards] (SCNiPTR): Likewise.
26493 [C99-based-standards] (SCNoPTR): Likewise.
26494 [C99-based-standards] (SCNuPTR): Likewise.
26495 [C99-based-standards] (SCNxPTR): Likewise.
26496 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
26498 * conform/data/stdint.h-data: Update comments to clarify
26500 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
26502 [C99-based standards] (INT8_MAX): Likewise.
26503 [C99-based standards] (INT16_MIN): Likewise.
26504 [C99-based standards] (INT16_MAX): Likewise.
26505 [C99-based standards] (INT32_MIN): Likewise.
26506 [C99-based standards] (INT32_MAX): Likewise.
26507 [C99-based standards] (INT64_MIN): Likewise.
26508 [C99-based standards] (INT64_MAX): Likewise.
26509 [C99-based standards] (UINT8_MAX): Likewise.
26510 [C99-based standards] (UINT16_MAX): Likewise.
26511 [C99-based standards] (UINT32_MAX): Likewise.
26512 [C99-based standards] (UINT64_MAX): Likewise.
26513 [C99-based standards] (INT_LEAST8_MIN): Likewise.
26514 [C99-based standards] (INT_LEAST8_MAX): Likewise.
26515 [C99-based standards] (INT_LEAST16_MIN): Likewise.
26516 [C99-based standards] (INT_LEAST16_MAX): Likewise.
26517 [C99-based standards] (INT_LEAST32_MIN): Likewise.
26518 [C99-based standards] (INT_LEAST32_MAX): Likewise.
26519 [C99-based standards] (INT_LEAST64_MIN): Likewise.
26520 [C99-based standards] (INT_LEAST64_MAX): Likewise.
26521 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
26522 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
26523 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
26524 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
26525 [C99-based standards] (INT_FAST8_MIN): Likewise.
26526 [C99-based standards] (INT_FAST8_MAX): Likewise.
26527 [C99-based standards] (INT_FAST16_MIN): Likewise.
26528 [C99-based standards] (INT_FAST16_MAX): Likewise.
26529 [C99-based standards] (INT_FAST32_MIN): Likewise.
26530 [C99-based standards] (INT_FAST32_MAX): Likewise.
26531 [C99-based standards] (INT_FAST64_MIN): Likewise.
26532 [C99-based standards] (INT_FAST64_MAX): Likewise.
26533 [C99-based standards] (UINT_FAST8_MAX): Likewise.
26534 [C99-based standards] (UINT_FAST16_MAX): Likewise.
26535 [C99-based standards] (UINT_FAST32_MAX): Likewise.
26536 [C99-based standards] (UINT_FAST64_MAX): Likewise.
26537 [C99-based standards] (INTPTR_MIN): Likewise.
26538 [C99-based standards] (INTPTR_MAX): Likewise.
26539 [C99-based standards] (UINTPTR_MAX): Likewise.
26540 [C99-based standards] (INTMAX_MIN): Likewise.
26541 [C99-based standards] (INTMAX_MAX): Likewise.
26542 [C99-based standards] (UINTMAX_MAX): Likewise.
26543 [C99-based standards] (PTRDIFF_MIN): Likewise.
26544 [C99-based standards] (PTRDIFF_MAX): Likewise.
26545 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
26546 [C99-based standards] (SIZE_MAX): Likewise.
26547 [C99-based standards] (WCHAR_MAX): Likewise.
26548 [C99-based standards] (WINT_MAX): Likewise.
26549 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
26550 constraint on value.
26551 [C99-based standards] (WCHAR_MIN): Likewise.
26552 [C99-based standards] (WINT_MIN): Likewise.
26553 [C99-based standards] (*_t): Allow.
26554 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
26555 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
26556 Include math.h-data and complex.h-data. Remove all expectations
26557 of math.h and complex.h contents.
26558 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
26560 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
26561 (struct tm): Expect tag.
26562 [C99-based-standards] (wcstof): Expect function.
26563 [C99-based-standards] (wcstold): Likewise.
26564 [C99-based-standards] (wcstoll): Likewise.
26565 [C99-based-standards] (wcstoull): Likewise.
26566 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
26567 macro-int-constant. Specify type.
26568 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
26569 constraint on value.
26570 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26572 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
26574 [ISO C standards]: Do not allow headers.
26575 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
26576 wcs[abcdefghijklmnopqrstuvwxyz]*.
26577 [ISO C standards] (*_t): Do not allow.
26578 * conform/data/wctype.h-data [C99-based standards] (iswblank):
26580 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
26581 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26583 [ISO C standards]: Do not allow headers.
26584 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
26585 is[abcdefghijklmnopqrstuvwxyz]*.
26586 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
26587 to[abcdefghijklmnopqrstuvwxyz]*.
26588 [ISO C standards] (*_t): Do not allow.
26589 * conform/data/stdalign.h-data: New file.
26590 * conform/data/stdbool.h-data: Likewise.
26591 * conform/data/stdnoreturn.h-data: Likewise.
26593 2012-11-07 Roland McGrath <roland@hack.frob.com>
26596 * manual/filesys.texi (Directory Entries): Typo fix.
26597 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
26599 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26601 * elf/elf.h (EM_AARCH64): New macro.
26602 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
26603 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
26604 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
26605 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
26606 (R_AARCH64_TLSDESC): Likewise.
26607 (NT_ARM_TLS): Likewise.
26608 (NT_ARM_HW_BREAK): Likewise.
26609 (NT_ARM_HW_WATCH): Likewise.
26611 2012-11-07 Joseph Myers <joseph@codesourcery.com>
26614 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
26615 (__ieee754_powl): Saturate nonzero exponents with absolute value
26616 below 0x1p-79 to +/- 0x1p-79.
26617 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
26618 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
26619 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
26620 nonzero exponents with absolute value below 0x1p-32 to +/-
26622 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
26623 (__ieee754_powl): Saturate nonzero exponents with absolute value
26624 below 0x1p-79 to +/- 0x1p-79.
26625 * math/libm-test.inc (pow_test): Add more tests.
26627 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26629 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
26630 _dl_s390_cap_flags with kernel. Increase string length.
26631 (_dl_s390_platforms): Add z196 and zEC12.
26633 2012-11-07 Joseph Myers <joseph@codesourcery.com>
26635 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
26636 Change XOPEN21K to XOPEN2K.
26638 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
26640 * string/memmove.c: Use memcpy when possible.
26642 2012-11-06 Andreas Jaeger <aj@suse.de>
26644 * po/eo.po: Update from translation team.
26646 2012-11-06 Joseph Myers <joseph@codesourcery.com>
26649 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
26650 exponent and small x and y exponents, scale x or y up. Increase
26651 by 2 the exponent used in scaling up.
26652 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26653 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26654 * math/libm-test.inc (fma_test): Add more tests.
26655 (fma_test_towardzero): Likewise.
26656 (fma_test_downward): Likewise.
26657 (fma_test_upward): Likewise.
26659 2012-11-05 Joseph Myers <joseph@codesourcery.com>
26662 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
26666 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
26667 namespace for names of struct fields.
26668 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
26670 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
26671 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
26673 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
26676 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
26678 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
26680 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
26684 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
26687 2012-11-04 Joseph Myers <joseph@codesourcery.com>
26690 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
26691 definitely overflow as x * y not x * y + z.
26692 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26693 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26694 * math/libm-test.inc (fma_test): Add more tests.
26695 (fma_test_towardzero): Likewise.
26696 (fma_test_downward): Likewise.
26697 (fma_test_upward): Likewise.
26699 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
26703 * include/stub-tag.h: Remove file.
26704 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
26706 * manual/maint.texi (Porting): Don't reference it.
26707 * Makerules ($(objpfx)stubs): Likewise.
26708 * dirent/closedir.c: Don't include <stub-tag.h>.
26709 * dirent/dirfd.c: Likewise.
26710 * dirent/fdopendir.c: Likewise.
26711 * dirent/getdents.c: Likewise.
26712 * dirent/getdents64.c: Likewise.
26713 * dirent/opendir.c: Likewise.
26714 * dirent/readdir.c: Likewise.
26715 * dirent/readdir64.c: Likewise.
26716 * dirent/readdir64_r.c: Likewise.
26717 * dirent/readdir_r.c: Likewise.
26718 * dirent/rewinddir.c: Likewise.
26719 * dirent/seekdir.c: Likewise.
26720 * dirent/telldir.c: Likewise.
26721 * gmon/profil.c: Likewise.
26722 * grp/setgroups.c: Likewise.
26723 * inet/if_index.c: Likewise.
26724 * io/access.c: Likewise.
26725 * io/chdir.c: Likewise.
26726 * io/chmod.c: Likewise.
26727 * io/chown.c: Likewise.
26728 * io/close.c: Likewise.
26729 * io/dup.c: Likewise.
26730 * io/dup2.c: Likewise.
26731 * io/dup3.c: Likewise.
26732 * io/euidaccess.c: Likewise.
26733 * io/faccessat.c: Likewise.
26734 * io/fchdir.c: Likewise.
26735 * io/fchmod.c: Likewise.
26736 * io/fchmodat.c: Likewise.
26737 * io/fchown.c: Likewise.
26738 * io/fchownat.c: Likewise.
26739 * io/fcntl.c: Likewise.
26740 * io/flock.c: Likewise.
26741 * io/fstatfs.c: Likewise.
26742 * io/fstatfs64.c: Likewise.
26743 * io/fstatvfs.c: Likewise.
26744 * io/fstatvfs64.c: Likewise.
26745 * io/futimens.c: Likewise.
26746 * io/fxstat.c: Likewise.
26747 * io/fxstat64.c: Likewise.
26748 * io/fxstatat.c: Likewise.
26749 * io/fxstatat64.c: Likewise.
26750 * io/getcwd.c: Likewise.
26751 * io/isatty.c: Likewise.
26752 * io/lchmod.c: Likewise.
26753 * io/lchown.c: Likewise.
26754 * io/link.c: Likewise.
26755 * io/linkat.c: Likewise.
26756 * io/lseek.c: Likewise.
26757 * io/lseek64.c: Likewise.
26758 * io/lxstat64.c: Likewise.
26759 * io/mkdir.c: Likewise.
26760 * io/mkdirat.c: Likewise.
26761 * io/mkfifo.c: Likewise.
26762 * io/mkfifoat.c: Likewise.
26763 * io/open.c: Likewise.
26764 * io/open64.c: Likewise.
26765 * io/openat.c: Likewise.
26766 * io/openat64.c: Likewise.
26767 * io/pipe.c: Likewise.
26768 * io/pipe2.c: Likewise.
26769 * io/poll.c: Likewise.
26770 * io/posix_fadvise.c: Likewise.
26771 * io/posix_fadvise64.c: Likewise.
26772 * io/posix_fallocate.c: Likewise.
26773 * io/posix_fallocate64.c: Likewise.
26774 * io/read.c: Likewise.
26775 * io/readlink.c: Likewise.
26776 * io/readlinkat.c: Likewise.
26777 * io/rmdir.c: Likewise.
26778 * io/sendfile.c: Likewise.
26779 * io/sendfile64.c: Likewise.
26780 * io/statfs.c: Likewise.
26781 * io/statfs64.c: Likewise.
26782 * io/statvfs.c: Likewise.
26783 * io/statvfs64.c: Likewise.
26784 * io/symlink.c: Likewise.
26785 * io/symlinkat.c: Likewise.
26786 * io/ttyname.c: Likewise.
26787 * io/ttyname_r.c: Likewise.
26788 * io/umask.c: Likewise.
26789 * io/unlink.c: Likewise.
26790 * io/unlinkat.c: Likewise.
26791 * io/utime.c: Likewise.
26792 * io/utimensat.c: Likewise.
26793 * io/write.c: Likewise.
26794 * io/xmknod.c: Likewise.
26795 * io/xmknodat.c: Likewise.
26796 * io/xstat.c: Likewise.
26797 * io/xstat64.c: Likewise.
26798 * login/getpt.c: Likewise.
26799 * login/grantpt.c: Likewise.
26800 * login/unlockpt.c: Likewise.
26801 * math/e_acoshl.c: Likewise.
26802 * math/e_acosl.c: Likewise.
26803 * math/e_asinl.c: Likewise.
26804 * math/e_atan2l.c: Likewise.
26805 * math/e_atanhl.c: Likewise.
26806 * math/e_coshl.c: Likewise.
26807 * math/e_expl.c: Likewise.
26808 * math/e_fmodl.c: Likewise.
26809 * math/e_gammal_r.c: Likewise.
26810 * math/e_hypotl.c: Likewise.
26811 * math/e_j0l.c: Likewise.
26812 * math/e_j1l.c: Likewise.
26813 * math/e_jnl.c: Likewise.
26814 * math/e_lgammal_r.c: Likewise.
26815 * math/e_log10l.c: Likewise.
26816 * math/e_log2l.c: Likewise.
26817 * math/e_logl.c: Likewise.
26818 * math/e_powl.c: Likewise.
26819 * math/e_rem_pio2l.c: Likewise.
26820 * math/e_sinhl.c: Likewise.
26821 * math/e_sqrtl.c: Likewise.
26822 * math/fclrexcpt.c: Likewise.
26823 * math/fedisblxcpt.c: Likewise.
26824 * math/feenablxcpt.c: Likewise.
26825 * math/fegetenv.c: Likewise.
26826 * math/fegetexcept.c: Likewise.
26827 * math/fegetround.c: Likewise.
26828 * math/feholdexcpt.c: Likewise.
26829 * math/fesetenv.c: Likewise.
26830 * math/fesetround.c: Likewise.
26831 * math/feupdateenv.c: Likewise.
26832 * math/fgetexcptflg.c: Likewise.
26833 * math/fraiseexcpt.c: Likewise.
26834 * math/fsetexcptflg.c: Likewise.
26835 * math/ftestexcept.c: Likewise.
26836 * math/k_cosl.c: Likewise.
26837 * math/k_rem_pio2l.c: Likewise.
26838 * math/k_sinl.c: Likewise.
26839 * math/k_tanl.c: Likewise.
26840 * math/s_asinhl.c: Likewise.
26841 * math/s_atanl.c: Likewise.
26842 * math/s_cbrtl.c: Likewise.
26843 * math/s_erfl.c: Likewise.
26844 * math/s_expm1l.c: Likewise.
26845 * math/s_log1pl.c: Likewise.
26846 * math/s_tanhl.c: Likewise.
26847 * misc/acct.c: Likewise.
26848 * misc/brk.c: Likewise.
26849 * misc/chflags.c: Likewise.
26850 * misc/chroot.c: Likewise.
26851 * misc/fchflags.c: Likewise.
26852 * misc/fgetxattr.c: Likewise.
26853 * misc/flistxattr.c: Likewise.
26854 * misc/fremovexattr.c: Likewise.
26855 * misc/fsetxattr.c: Likewise.
26856 * misc/fsync.c: Likewise.
26857 * misc/ftruncate.c: Likewise.
26858 * misc/futimes.c: Likewise.
26859 * misc/futimesat.c: Likewise.
26860 * misc/getdomain.c: Likewise.
26861 * misc/getdtsz.c: Likewise.
26862 * misc/gethostid.c: Likewise.
26863 * misc/gethostname.c: Likewise.
26864 * misc/getloadavg.c: Likewise.
26865 * misc/getpagesize.c: Likewise.
26866 * misc/getsysstats.c: Likewise.
26867 * misc/getxattr.c: Likewise.
26868 * misc/gtty.c: Likewise.
26869 * misc/ioctl.c: Likewise.
26870 * misc/lgetxattr.c: Likewise.
26871 * misc/listxattr.c: Likewise.
26872 * misc/llistxattr.c: Likewise.
26873 * misc/lremovexattr.c: Likewise.
26874 * misc/lsetxattr.c: Likewise.
26875 * misc/lutimes.c: Likewise.
26876 * misc/madvise.c: Likewise.
26877 * misc/mincore.c: Likewise.
26878 * misc/mlock.c: Likewise.
26879 * misc/mlockall.c: Likewise.
26880 * misc/mmap.c: Likewise.
26881 * misc/mprotect.c: Likewise.
26882 * misc/msync.c: Likewise.
26883 * misc/munlock.c: Likewise.
26884 * misc/munlockall.c: Likewise.
26885 * misc/munmap.c: Likewise.
26886 * misc/preadv.c: Likewise.
26887 * misc/preadv64.c: Likewise.
26888 * misc/ptrace.c: Likewise.
26889 * misc/pwritev.c: Likewise.
26890 * misc/pwritev64.c: Likewise.
26891 * misc/readv.c: Likewise.
26892 * misc/reboot.c: Likewise.
26893 * misc/remap_file_pages.c: Likewise.
26894 * misc/removexattr.c: Likewise.
26895 * misc/revoke.c: Likewise.
26896 * misc/select.c: Likewise.
26897 * misc/setdomain.c: Likewise.
26898 * misc/setegid.c: Likewise.
26899 * misc/seteuid.c: Likewise.
26900 * misc/sethostid.c: Likewise.
26901 * misc/sethostname.c: Likewise.
26902 * misc/setregid.c: Likewise.
26903 * misc/setreuid.c: Likewise.
26904 * misc/setxattr.c: Likewise.
26905 * misc/sstk.c: Likewise.
26906 * misc/stty.c: Likewise.
26907 * misc/swapoff.c: Likewise.
26908 * misc/swapon.c: Likewise.
26909 * misc/sync.c: Likewise.
26910 * misc/syncfs.c: Likewise.
26911 * misc/syscall.c: Likewise.
26912 * misc/truncate.c: Likewise.
26913 * misc/ualarm.c: Likewise.
26914 * misc/usleep.c: Likewise.
26915 * misc/ustat.c: Likewise.
26916 * misc/utimes.c: Likewise.
26917 * misc/vhangup.c: Likewise.
26918 * misc/writev.c: Likewise.
26919 * posix/_exit.c: Likewise.
26920 * posix/alarm.c: Likewise.
26921 * posix/execve.c: Likewise.
26922 * posix/fexecve.c: Likewise.
26923 * posix/fork.c: Likewise.
26924 * posix/fpathconf.c: Likewise.
26925 * posix/getaddrinfo.c: Likewise.
26926 * posix/getegid.c: Likewise.
26927 * posix/geteuid.c: Likewise.
26928 * posix/getgid.c: Likewise.
26929 * posix/getgroups.c: Likewise.
26930 * posix/getlogin.c: Likewise.
26931 * posix/getlogin_r.c: Likewise.
26932 * posix/getpgid.c: Likewise.
26933 * posix/getpid.c: Likewise.
26934 * posix/getppid.c: Likewise.
26935 * posix/getresgid.c: Likewise.
26936 * posix/getresuid.c: Likewise.
26937 * posix/getsid.c: Likewise.
26938 * posix/getuid.c: Likewise.
26939 * posix/glob64.c: Likewise.
26940 * posix/nanosleep.c: Likewise.
26941 * posix/pathconf.c: Likewise.
26942 * posix/pause.c: Likewise.
26943 * posix/posix_madvise.c: Likewise.
26944 * posix/pread.c: Likewise.
26945 * posix/pread64.c: Likewise.
26946 * posix/pwrite.c: Likewise.
26947 * posix/pwrite64.c: Likewise.
26948 * posix/sched_getaffinity.c: Likewise.
26949 * posix/sched_getp.c: Likewise.
26950 * posix/sched_gets.c: Likewise.
26951 * posix/sched_primax.c: Likewise.
26952 * posix/sched_primin.c: Likewise.
26953 * posix/sched_rr_gi.c: Likewise.
26954 * posix/sched_setaffinity.c: Likewise.
26955 * posix/sched_setp.c: Likewise.
26956 * posix/sched_sets.c: Likewise.
26957 * posix/sched_yield.c: Likewise.
26958 * posix/setgid.c: Likewise.
26959 * posix/setlogin.c: Likewise.
26960 * posix/setpgid.c: Likewise.
26961 * posix/setresgid.c: Likewise.
26962 * posix/setresuid.c: Likewise.
26963 * posix/setsid.c: Likewise.
26964 * posix/setuid.c: Likewise.
26965 * posix/sleep.c: Likewise.
26966 * posix/spawni.c: Likewise.
26967 * posix/sysconf.c: Likewise.
26968 * posix/times.c: Likewise.
26969 * posix/wait.c: Likewise.
26970 * posix/wait3.c: Likewise.
26971 * posix/wait4.c: Likewise.
26972 * posix/waitpid.c: Likewise.
26973 * resolv/gai_sigqueue.c: Likewise.
26974 * resource/getpriority.c: Likewise.
26975 * resource/getrlimit.c: Likewise.
26976 * resource/getrusage.c: Likewise.
26977 * resource/nice.c: Likewise.
26978 * resource/setpriority.c: Likewise.
26979 * resource/setrlimit.c: Likewise.
26980 * resource/ulimit.c: Likewise.
26981 * rt/aio_cancel.c: Likewise.
26982 * rt/aio_fsync.c: Likewise.
26983 * rt/aio_read.c: Likewise.
26984 * rt/aio_sigqueue.c: Likewise.
26985 * rt/aio_suspend.c: Likewise.
26986 * rt/aio_write.c: Likewise.
26987 * rt/clock_getres.c: Likewise.
26988 * rt/clock_gettime.c: Likewise.
26989 * rt/clock_nanosleep.c: Likewise.
26990 * rt/clock_settime.c: Likewise.
26991 * rt/lio_listio.c: Likewise.
26992 * rt/mq_close.c: Likewise.
26993 * rt/mq_getattr.c: Likewise.
26994 * rt/mq_notify.c: Likewise.
26995 * rt/mq_open.c: Likewise.
26996 * rt/mq_receive.c: Likewise.
26997 * rt/mq_send.c: Likewise.
26998 * rt/mq_setattr.c: Likewise.
26999 * rt/mq_timedreceive.c: Likewise.
27000 * rt/mq_timedsend.c: Likewise.
27001 * rt/mq_unlink.c: Likewise.
27002 * rt/shm_open.c: Likewise.
27003 * rt/shm_unlink.c: Likewise.
27004 * rt/timer_create.c: Likewise.
27005 * rt/timer_delete.c: Likewise.
27006 * rt/timer_getoverr.c: Likewise.
27007 * rt/timer_gettime.c: Likewise.
27008 * rt/timer_settime.c: Likewise.
27009 * setjmp/__longjmp.c: Likewise.
27010 * setjmp/setjmp.c: Likewise.
27011 * signal/kill.c: Likewise.
27012 * signal/killpg.c: Likewise.
27013 * signal/raise.c: Likewise.
27014 * signal/sigaction.c: Likewise.
27015 * signal/sigaltstack.c: Likewise.
27016 * signal/sigblock.c: Likewise.
27017 * signal/sigignore.c: Likewise.
27018 * signal/sigintr.c: Likewise.
27019 * signal/signal.c: Likewise.
27020 * signal/sigpause.c: Likewise.
27021 * signal/sigpending.c: Likewise.
27022 * signal/sigqueue.c: Likewise.
27023 * signal/sigreturn.c: Likewise.
27024 * signal/sigset.c: Likewise.
27025 * signal/sigsetmask.c: Likewise.
27026 * signal/sigstack.c: Likewise.
27027 * signal/sigsuspend.c: Likewise.
27028 * signal/sigtimedwait.c: Likewise.
27029 * signal/sigvec.c: Likewise.
27030 * signal/sigwait.c: Likewise.
27031 * signal/sigwaitinfo.c: Likewise.
27032 * signal/sysv_signal.c: Likewise.
27033 * socket/accept.c: Likewise.
27034 * socket/accept4.c: Likewise.
27035 * socket/bind.c: Likewise.
27036 * socket/connect.c: Likewise.
27037 * socket/getpeername.c: Likewise.
27038 * socket/getsockname.c: Likewise.
27039 * socket/getsockopt.c: Likewise.
27040 * socket/isfdtype.c: Likewise.
27041 * socket/listen.c: Likewise.
27042 * socket/recv.c: Likewise.
27043 * socket/recvfrom.c: Likewise.
27044 * socket/recvmsg.c: Likewise.
27045 * socket/send.c: Likewise.
27046 * socket/sendmsg.c: Likewise.
27047 * socket/sendto.c: Likewise.
27048 * socket/setsockopt.c: Likewise.
27049 * socket/shutdown.c: Likewise.
27050 * socket/sockatmark.c: Likewise.
27051 * socket/socket.c: Likewise.
27052 * socket/socketpair.c: Likewise.
27053 * stdio-common/ctermid.c: Likewise.
27054 * stdio-common/cuserid.c: Likewise.
27055 * stdio-common/remove.c: Likewise.
27056 * stdio-common/rename.c: Likewise.
27057 * stdio-common/renameat.c: Likewise.
27058 * stdio-common/tempname.c: Likewise.
27059 * stdlib/getcontext.c: Likewise.
27060 * stdlib/makecontext.c: Likewise.
27061 * stdlib/setcontext.c: Likewise.
27062 * stdlib/swapcontext.c: Likewise.
27063 * stdlib/system.c: Likewise.
27064 * streams/fattach.c: Likewise.
27065 * streams/fdetach.c: Likewise.
27066 * streams/getmsg.c: Likewise.
27067 * streams/getpmsg.c: Likewise.
27068 * streams/putmsg.c: Likewise.
27069 * streams/putpmsg.c: Likewise.
27070 * sysdeps/unix/bsd/getpt.c: Likewise.
27071 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
27072 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
27073 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
27074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
27076 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
27077 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
27078 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
27079 * sysvipc/msgctl.c: Likewise.
27080 * sysvipc/msgget.c: Likewise.
27081 * sysvipc/msgrcv.c: Likewise.
27082 * sysvipc/msgsnd.c: Likewise.
27083 * sysvipc/semctl.c: Likewise.
27084 * sysvipc/semget.c: Likewise.
27085 * sysvipc/semop.c: Likewise.
27086 * sysvipc/semtimedop.c: Likewise.
27087 * sysvipc/shmat.c: Likewise.
27088 * sysvipc/shmctl.c: Likewise.
27089 * sysvipc/shmdt.c: Likewise.
27090 * sysvipc/shmget.c: Likewise.
27091 * termios/tcdrain.c: Likewise.
27092 * termios/tcflow.c: Likewise.
27093 * termios/tcflush.c: Likewise.
27094 * termios/tcgetattr.c: Likewise.
27095 * termios/tcgetpgrp.c: Likewise.
27096 * termios/tcsendbrk.c: Likewise.
27097 * termios/tcsetattr.c: Likewise.
27098 * termios/tcsetpgrp.c: Likewise.
27099 * time/adjtime.c: Likewise.
27100 * time/clock.c: Likewise.
27101 * time/getitimer.c: Likewise.
27102 * time/gettimeofday.c: Likewise.
27103 * time/setitimer.c: Likewise.
27104 * time/settimeofday.c: Likewise.
27105 * time/stime.c: Likewise.
27106 * time/time.c: Likewise.
27108 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
27110 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
27113 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
27115 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
27117 2012-11-03 Joseph Myers <joseph@codesourcery.com>
27120 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
27121 FE_TONEAREST before applying Dekker multiplication and Knuth
27122 addition. Clear inexact exceptions and check for exact zero
27123 results afterwards.
27124 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27125 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27126 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27127 * math/libm-test.inc (fma_test): Add more tests.
27128 (fma_test_towardzero): Likewise.
27129 (fma_test_downward): Likewise.
27130 (fma_test_upward): Likewise.
27131 * sysdeps/generic/math_private.h (default_libc_fesetround): New
27133 (libc_fesetround): New macro.
27134 (libc_fesetroundf): Likewise.
27135 (libc_fesetroundl): Likewise.
27136 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
27138 (libc_fesetround_387): Likewise.
27139 (libc_fesetroundf): New macro.
27140 (libc_fesetround): Likewise.
27141 (libc_fesetroundl): Likewise.
27142 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
27144 (libc_fesetroundf): New macro.
27145 (libc_fesetround): Likewise.
27146 (libc_fesetroundl): Likewise.
27147 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
27148 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
27149 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
27151 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
27152 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
27154 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
27155 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
27157 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
27161 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
27162 integer constant usable in #if and use that to give value to enum
27164 (FE_DIVBYZERO): Likewise.
27165 (FE_UNDERFLOW): Likewise.
27166 (FE_OVERFLOW): Likewise.
27167 (FE_INVALID): Likewise.
27168 (FE_INVALID_SNAN): Likewise.
27169 (FE_INVALID_ISI): Likewise.
27170 (FE_INVALID_IDI): Likewise.
27171 (FE_INVALID_ZDZ): Likewise.
27172 (FE_INVALID_IMZ): Likewise.
27173 (FE_INVALID_COMPARE): Likewise.
27174 (FE_INVALID_SOFTWARE): Likewise.
27175 (FE_INVALID_SQRT): Likewise.
27176 (FE_INVALID_INTEGER_CONVERSION): Likewise.
27177 (FE_TONEAREST): Likewise.
27178 (FE_TOWARDZERO): Likewise.
27179 (FE_UPWARD): Likewise.
27180 (FE_DOWNWARD): Likewise.
27181 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
27182 (FE_DIVBYZERO): Likewise.
27183 (FE_OVERFLOW): Likewise.
27184 (FE_UNDERFLOW): Likewise.
27185 (FE_INEXACT): Likewise.
27186 (FE_TONEAREST): Likewise.
27187 (FE_DOWNWARD): Likewise.
27188 (FE_UPWARD): Likewise.
27189 (FE_TOWARDZERO): Likewise.
27190 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
27191 (FE_UNDERFLOW): Likewise.
27192 (FE_OVERFLOW): Likewise.
27193 (FE_DIVBYZERO): Likewise.
27194 (FE_INVALID): Likewise.
27195 (FE_TONEAREST): Likewise.
27196 (FE_TOWARDZERO): Likewise.
27197 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
27198 (FE_OVERFLOW): Likewise.
27199 (FE_UNDERFLOW): Likewise.
27200 (FE_DIVBYZERO): Likewise.
27201 (FE_INEXACT): Likewise.
27202 (FE_TONEAREST): Likewise.
27203 (FE_TOWARDZERO): Likewise.
27204 (FE_UPWARD): Likewise.
27205 (FE_DOWNWARD): Likewise.
27206 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
27207 (FE_DIVBYZERO): Likewise.
27208 (FE_OVERFLOW): Likewise.
27209 (FE_UNDERFLOW): Likewise.
27210 (FE_INEXACT): Likewise.
27211 (FE_TONEAREST): Likewise.
27212 (FE_DOWNWARD): Likewise.
27213 (FE_UPWARD): Likewise.
27214 (FE_TOWARDZERO): Likewise.
27216 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
27218 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
27220 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
27222 * scripts/cross-test-ssh.sh (command): Use newlines to separate
27223 commands. Quote $PWD.
27224 (blacklist_exports): Don't use remove_newlines. Replace "declare
27226 (remove_newlines): Remove.
27228 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
27230 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
27231 * stdlib/stdlib.h (atof): Moved to ...
27232 * include/bits/stdlib-float.h: Here. New file.
27233 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
27234 * stdlib/bits/stdlib-float.h: New file.
27235 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
27237 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
27240 2012-11-02 Joseph Myers <joseph@codesourcery.com>
27242 * conform/conformtest.pl (@headers): Add fenv.h.
27243 * conform/data/fenv.h-data: New file.
27244 * include/fenv.h [_ISOMAC]: Disable all contents of file except
27245 include of <math/fenv.h>.
27247 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
27248 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
27249 && !UNIX98]. Enables tests for XOPEN2K8.
27250 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
27251 POSIX2008]: Likewise.
27253 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
27254 (struct rusage): Do not expect type or its members.
27257 * math/math.h (FP_NAN): Define macro to integer constant usable in
27258 #if and use that to give value to enum constant.
27259 (FP_INFINITE): Likewise.
27260 (FP_ZERO): Likewise.
27261 (FP_SUBNORMAL): Likewise.
27262 (FP_NORMAL): Likewise.
27264 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
27266 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
27267 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
27270 2012-11-02 Roland McGrath <roland@hack.frob.com>
27272 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
27273 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
27274 autoconf-time if not.
27275 * configure.in: Remove AC_PREREQ.
27277 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27279 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
27280 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
27281 of the internal implementation.
27283 2012-11-02 Joseph Myers <joseph@codesourcery.com>
27285 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
27286 except include of <misc/sys/syslog.h>.
27288 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
27290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
27291 function returns with a NULL context exit with zero.
27293 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27295 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
27297 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
27299 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
27300 (run_program_cmd): This.
27301 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
27302 (tst_langinfo): New variable. Use it.
27304 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
27306 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
27307 floating point opcodes.
27309 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
27311 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
27314 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
27316 * sysdeps/mach/hurd/powerpc: Remove directory.
27317 * sysdeps/mach/powerpc: Likewise.
27319 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
27321 * scripts/check-local-headers.sh: Ignore c++ headers.
27323 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
27325 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
27326 __libc_cleanup_region_start argument.
27328 2012-11-01 Joseph Myers <joseph@codesourcery.com>
27332 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
27333 x * y using scaling, not as x * y + z.
27334 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27335 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27336 * math/libm-test.inc (fma_test): Add more tests.
27337 (fma_test_towardzero): Likewise.
27338 (fma_test_downward): Likewise.
27339 (fma_test_upward): Likewise.
27341 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
27343 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
27345 2012-10-31 Joseph Myers <joseph@codesourcery.com>
27347 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
27350 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
27352 * rt/tst-shm.c (worker): Correct checking for mmap failure.
27354 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
27356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27361 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27364 Fix the order of the list for glibc 2.17.
27365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27368 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
27370 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27372 2012-10-31 Joseph Myers <joseph@codesourcery.com>
27375 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
27376 for low part of x being zero before using __atanl (y).
27377 * math/libm-test.inc (atan2_test): Add another test.
27379 * manual/install.texi (Configuring and compiling): Document
27380 general use of test-wrapper and test-wrapper-env.
27381 * INSTALL: Regenerated.
27383 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
27384 (__fma): Do not extract and scale down low bits on after-rounding
27385 systems when result rounded to normal precision would have normal
27387 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
27388 (__fmal): Do not extract and scale down low bits on after-rounding
27389 systems when result rounded to normal precision would have normal
27391 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
27392 (__fmal): Do not extract and scale down low bits on after-rounding
27393 systems when result rounded to normal precision would have normal
27395 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
27397 (fma_test): Add more tests.
27398 (fma_test_towardzero): Likewise.
27399 (fma_test_downward): Likewise.
27400 (fma_test_upward): Likewise.
27402 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
27404 * sysdeps/i386/tininess.h: Renamed to ...
27405 * sysdeps/x86/tininess.h: This.
27406 * sysdeps/x86_64/tininess.h: Removed.
27408 2012-10-30 Joseph Myers <joseph@codesourcery.com>
27410 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
27411 input. Use $(build-program-cmd).
27412 ($(objpfx)tst-array1-static.out): Likewise.
27413 ($(objpfx)tst-array2.out): Likewise.
27414 ($(objpfx)tst-array3.out): Likewise.
27415 ($(objpfx)tst-array4.out): Likewise.
27416 ($(objpfx)tst-array5.out): Likewise.
27417 ($(objpfx)tst-array5-static.out): Likewise.
27419 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
27421 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
27424 * nss/nsswitch.h (nss_interface_function): Provide new
27425 macro for use with NSS functions.
27426 * grp/initgroups.c: Use new macro.
27427 * nss/getXXbyYY.c: Likewise.
27428 * nss/getXXbyYY_r.c: Likewise.
27429 * nss/getXXent.c: Likewise.
27430 * nss/getXXent_r.c: Likewise.
27431 * sysdeps/posix/getaddrinfo.c: Likewise.
27433 2012-10-30 Andreas Jaeger <aj@suse.de>
27435 * po/ru.po: Update Russion translation from translation project.
27437 2012-10-30 Joseph Myers <joseph@codesourcery.com>
27441 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
27442 result and shift together with sticky bit instead of replicating
27443 round-to-nearest rounding.
27444 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27445 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27446 * math/libm-test.inc (fma_test): Add more tests. Do not permit
27447 missing underflow exceptions.
27448 (fma_test_towardzero): Add more tests.
27449 (fma_test_downward): Likewise.
27450 (fma_test_upward): Likewise.
27453 * sysdeps/generic/tininess.h: New file.
27454 * sysdeps/i386/tininess.h: Likewise.
27455 * sysdeps/sh/tininess.h: Likewise.
27456 * sysdeps/x86_64/tininess.h: Likewise.
27457 * stdlib/tst-strtod-underflow.c: Likewise.
27458 * stdlib/tst-tininess.c: Likewise.
27459 * stdlib/strtod_l.c: Include <tininess.h>.
27460 (round_and_return): Do not set errno for exact underflow cases.
27461 Force an underflow exception when setting errno for underflow.
27462 Determine underflow based on rounding to normal precision if
27463 TININESS_AFTER_ROUNDING.
27464 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
27465 ERANGE for exact underflow cases.
27466 * stdlib/Makefile (tests): Add tst-tininess and
27467 tst-strtod-underflow.
27468 ($(objpfx)tst-tininess): Use $(link-libm).
27469 ($(objpfx)tst-strtod-underflow): Likewise.
27471 2012-10-30 Andreas Jaeger <aj@suse.de>
27474 * elf/Makefile (tests): Remove conditional for have-initfini-array
27475 since this is now always required and the variable does not exist
27477 (tests-static): Likewise.
27478 (modules-names): Likewise.
27480 * po/eo.po: Add Esperanto translation from translation project.
27482 * elf/tst-array1.c (fini_array): Make writeable so that it can be
27483 merged with constructor/destructor.
27484 (init_array): Likewise.
27485 * elf/tst-array2dep.c (fini_array): Likewise.
27486 (init_array): Likewise.
27488 2012-10-29 Mike Frysinger <vapier@gentoo.org>
27490 * manual/message.texi: Delete @cartouche tags.
27492 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
27494 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
27496 * sysdeps/mach/hurd/fsync.c: Likewise.
27498 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
27499 [_POSIX_REALTIME_SIGNALS]: Change condition to
27500 [_POSIX_REALTIME_SIGNALS > 0].
27502 2012-10-27 Andreas Jaeger <aj@suse.de>
27504 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
27505 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
27506 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
27507 [__WORDSIZE != 64]: Likewise.
27509 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
27511 * iconvdata/tst-table.sh: Remove ${SHELL}.
27512 * iconvdata/tst-tables.sh: Likewise.
27514 2012-10-25 David S. Miller <davem@davemloft.net>
27516 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27517 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
27520 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
27522 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27523 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
27524 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
27527 2012-10-25 Roland McGrath <roland@hack.frob.com>
27529 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27530 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
27533 2012-10-25 Joseph Myers <joseph@codesourcery.com>
27534 Jim Blandy <jimb@codesourcery.com>
27536 * scripts/cross-test-ssh.sh: New file.
27537 * manual/install.texi (Configuring and compiling): Document use of
27539 * INSTALL: Regenerated.
27541 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
27543 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
27546 2012-10-25 Joseph Myers <joseph@codesourcery.com>
27548 * Makeconfig (run-program-prefix): Fix comment.
27550 2012-10-24 Joseph Myers <joseph@codesourcery.com>
27551 Jim Blandy <jimb@codesourcery.com>
27553 * Makeconfig (test-wrapper): New variable,
27554 (test-wrapper-env): Likewise.
27555 [$(cross-compiling) = yes && $(test-wrapper) != ""]
27556 (run-built-tests): Define to yes.
27557 (run-program-prefix): Use $(test-wrapper).
27558 (built-program-cmd): Likewise.
27559 * Rules (make-test-out): Use $(test-wrapper-env) and
27560 $(host-built-program-cmd).
27561 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
27562 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
27564 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
27565 $(test-wrapper-env) to tst-rtld-load-self.sh.
27566 ($(objpfx)order2.out): Use $(test-wrapper).
27567 ($(objpfx)tst-initorder.out): Likewise.
27568 ($(objpfx)tst-initorder2.out): Likewise.
27569 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
27570 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
27571 (test_wrapper_env): New variable. Use it to run ld.so.
27572 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
27573 Use it to run ld.so.
27574 (test_wrapper_env): Likewise.
27575 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
27576 $(test-wrapper) to run-iconv-test.sh.
27577 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
27578 (ICONV): Use $test_wrapper.
27579 * posix/Makefile ($(objpfx)globtest.out): Pass
27580 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
27581 globtest.sh, not $(run-program-prefix).
27582 * posix/globtest.sh (run_via_rtld_prefix): New variable.
27583 (test_wrapper): Likewise.
27584 (test_wrapper_env): Likewise. Use it to run globtest with HOME
27585 set together with run_via_rtld_prefix.
27586 (run_program_prefix): Define in terms of test_wrapper and
27587 run_via_rtld_prefix.
27589 2012-10-24 Roland McGrath <roland@hack.frob.com>
27591 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
27592 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
27596 * include/time.h: Remove librt_hidden_proto (clock_gettime).
27597 Declare __clock_getres, __clock_gettime, __clock_settime,
27598 __clock_nanosleep, and __clock_getcpuclockid.
27599 * rt/clock_gettime.c: Define __clock_gettime as an alias.
27600 Remove librt_hidden_def (clock_gettime).
27601 * sysdeps/unix/clock_gettime.c: Likewise.
27602 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
27603 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
27604 * rt/clock_getres.c: Define __clock_getres as an alias.
27605 * sysdeps/posix/clock_getres.c: Likewise.
27606 * rt/clock_settime.c: Define __clock_settime as an alias.
27607 * sysdeps/unix/clock_settime.c: Likewise.
27608 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
27609 * sysdeps/unix/clock_nanosleep.c: Likewise.
27610 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
27611 * rt/clock-compat.c: New file.
27612 * rt/Makefile (librt-routines): Add clock-compat and move
27613 $(clock-routines) to ...
27614 (routines): ... here, new variable.
27615 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
27616 Don't add get_clockfreq here.
27617 * rt/Versions (libc: GLIBC_2.17): New version set.
27618 Add clock_* symbols here.
27619 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
27620 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
27621 (GLIBC_2.17): Add clock_* symbols.
27622 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
27623 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
27624 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27629 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27630 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
27631 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27632 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27633 * NEWS: Mention the move.
27635 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
27636 Use __open, __read, __close rather than their public counterparts.
27637 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27638 (__get_clockfreq_via_cpuinfo): Likewise.
27639 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
27640 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
27642 * config.h.in (HAVE_IFUNC): New #undef.
27643 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
27645 * configure: Regenerated.
27647 2012-10-24 Mike Frysinger <vapier@gentoo.org>
27649 * configure.in: Move READELF check to start of file.
27650 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
27651 libc_cv_asm_gnu_indirect_function in the process.
27652 * configure: Regenerated.
27654 2012-10-24 Mike Frysinger <vapier@gentoo.org>
27656 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
27657 send the output to /dev/null.
27658 (libc_cv_cc_with_libunwind): Likewise.
27659 (libc_cv_as_noexecstack): Likewise.
27660 * configure: Regenerate.
27662 2012-10-24 Joseph Myers <joseph@codesourcery.com>
27664 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
27666 * posix/globtest.sh (TMPDIR): Do not set.
27667 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
27668 (testout): Likewise.
27670 2012-10-24 Andreas Jaeger <aj@suse.de>
27672 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
27673 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
27674 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
27675 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
27676 posix_fadvise64, posix_fallocate64.
27678 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
27679 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
27680 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
27682 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
27684 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
27686 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
27687 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
27688 <bits/fcntl-linux.h>.
27689 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
27691 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
27692 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
27693 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
27694 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
27695 [__WORDSIZE != 64]: Likewise.
27697 2012-10-23 Joseph Myers <joseph@codesourcery.com>
27699 * Makeconfig (run-built-tests): New variable.
27700 * Rules [$(cross-compiling) = yes]: Change condition to
27701 [$(run-built-tests) = no].
27702 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
27703 to [$(run-built-tests) = yes].
27704 * elf/Makefile [$(cross-compiling) = no]: Likewise
27705 * grp/Makefile [$(cross-compiling) = no]: Likewise.
27706 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
27707 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
27708 * intl/Makefile [$(cross-compiling) = no]: Likewise.
27709 * io/Makefile [$(cross-compiling) = no]: Likewise.
27710 * libio/Makefile [$(cross-compiling) = no]: Likewise.
27711 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
27712 * misc/Makefile [$(cross-compiling) = no]: Likewise.
27713 * posix/Makefile [$(cross-compiling) = no]: Likewise.
27714 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
27715 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
27716 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
27717 * string/Makefile [$(cross-compiling) = no]: Likewise.
27719 * posix/Makefile ($(objpfx)globtest.out): Pass
27720 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
27721 $(rtld-installed-name).
27722 * posix/globtest.sh (elf_objpfx): Remove variable.
27723 (rtld_installed_name): Likewise.
27724 (library_path): Likewise.
27725 (run_program_prefix): New variable. Use for running globtest
27728 2012-10-23 Jim Blandy <jimb@codesourcery.com>
27729 Joseph Myers <joseph@codesourcery.com>
27731 * Makeconfig (host-built-program-cmd): New variable.
27732 * elf/Makefile (tst-stackguard1-ARGS): Use
27733 $(host-built-program-cmd).
27734 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
27735 (tst-spawn-ARGS): Likewise.
27736 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
27738 2012-10-23 Joseph Myers <joseph@codesourcery.com>
27739 Jim Blandy <jimb@codesourcery.com>
27741 * Makeconfig (run-via-rtld-prefix): New variable.
27742 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
27743 (built-program-cmd): Likewise.
27745 2012-10-22 Andreas Jaeger <aj@suse.de>
27747 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
27748 __O_RSYNC if it exists, otherwise to O_SYNC.
27750 2012-10-22 Jim Blandy <jimb@codesourcery.com>
27751 Joseph Myers <joseph@codesourcery.com>
27753 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
27755 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
27757 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
27760 2012-10-22 Andreas Jaeger <aj@suse.de>
27762 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
27764 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
27766 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27767 bits/fcntl-linux.h.
27769 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
27770 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
27772 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
27774 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
27777 2012-10-21 Jim Blandy <jimb@codesourcery.com>
27778 Joseph Myers <joseph@codesourcery.com>
27780 * config.make.in (NM): New variable.
27782 2012-10-21 Andreas Jaeger <aj@suse.de>
27784 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
27785 definitions and declarations that are provided by
27786 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
27788 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
27791 * elf/Makefile (tests-static): Add tst-leaks1-static.
27792 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
27793 ($(objpfx)tst-leaks1-static): New rule.
27794 ($(objpfx)tst-leaks1-static-mem): Likewise.
27795 (tst-leaks1-static-ENV): New macro.
27796 * elf/dl-open.c (dl_open_worker): Check the main application
27797 only if SHARED is defined.
27798 * elf/tst-leaks1-static.c: New file.
27800 2012-10-20 Andreas Jaeger <aj@suse.de>
27802 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
27803 generic values for Linux.
27804 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
27805 and declarations that are provided by <bits/fcntl-linux.h> and
27806 include <bits/fcntl-linux.h>.
27807 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27808 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27810 2012-10-20 Roland McGrath <roland@hack.frob.com>
27812 * io/fcntl.h: Move include of <bits/types.h> to the top and
27813 include it unconditionally.
27815 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
27817 * wcsmbs/Makefile (tests-ifunc): New variable.
27818 (tests): Add $(tests-ifunc).
27819 * wcsmbs/test-wcschr-ifunc.c: New file.
27820 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
27821 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
27822 * wcsmbs/test-wcslen-ifunc.c: Likewise.
27823 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
27824 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
27826 * string/Makefile (tests-ifunc): New variable.
27827 (tests): Add $(tests-ifunc).
27828 * string/test-memccpy.c (TEST_NAME): New macro.
27829 * string/test-memchr.c (TEST_NAME): Likewise.
27830 * string/test-memcmp.c (TEST_NAME): Likewise.
27831 * string/test-memcpy.c (TEST_NAME): Likewise.
27832 * string/test-memmem.c (TEST_NAME): Likewise.
27833 * string/test-memmove.c (TEST_NAME): Likewise.
27834 * string/test-memset.c (TEST_NAME): Likewise.
27835 * string/test-rawmemchr.c (TEST_NAME): Likewise.
27836 * string/test-stpcpy.c (TEST_NAME): Likewise.
27837 * string/test-stpncpy.c (TEST_NAME): Likewise.
27838 * string/test-strcasecmp.c (TEST_NAME): Likewise.
27839 * string/test-strcasestr.c (TEST_NAME): Likewise.
27840 * string/test-strcat.c (TEST_NAME): Likewise.
27841 * string/test-strchr.c (TEST_NAME): Likewise.
27842 * string/test-strcmp.c(TEST_NAME): Likewise.
27843 * string/test-strcpy.c (TEST_NAME): Likewise.
27844 * string/test-strcspn.c (TEST_NAME): Likewise.
27845 * string/test-strlen.c (TEST_NAME): Likewise.
27846 * string/test-strncasecmp.c (TEST_NAME): Likewise.
27847 * string/test-strncmp.c (TEST_NAME): Likewise.
27848 * string/test-strncpy.c (TEST_NAME): Likewise.
27849 * string/test-strnlen.c (TEST_NAME): Likewise.
27850 * string/test-strpbrk.c (TEST_NAME): Likewise.
27851 * string/test-strrchr.c (TEST_NAME): Likewise.
27852 * string/test-strspn.c (TEST_NAME): Likewise.
27853 * string/test-strstr.c (TEST_NAME): Likewise.
27854 * string/test-bcopy-ifunc.c: New file.
27855 * string/test-bzero-ifunc.c: Likewise.
27856 * string/test-memccpy-ifunc.c: Likewise.
27857 * string/test-memchr-ifunc.c: Likewise.
27858 * string/test-memcmp-ifunc.c: Likewise.
27859 * string/test-memcpy-ifunc.c: Likewise.
27860 * string/test-memmem-ifunc.c: Likewise.
27861 * string/test-memmove-ifunc.c: Likewise.
27862 * string/test-mempcpy-ifunc.c: Likewise.
27863 * string/test-memset-ifunc.c: Likewise.
27864 * string/test-rawmemchr-ifunc.c: Likewise.
27865 * string/test-stpcpy-ifunc.c: Likewise.
27866 * string/test-stpncpy-ifunc.c: Likewise.
27867 * string/test-strcasecmp-ifunc.c: Likewise.
27868 * string/test-strcasestr-ifunc.c: Likewise.
27869 * string/test-strcat-ifunc.c: Likewise.
27870 * string/test-strchr-ifunc.c: Likewise.
27871 * string/test-strchrnul-ifunc.c: Likewise.
27872 * string/test-strcmp-ifunc.c: Likewise.
27873 * string/test-strcpy-ifunc.c: Likewise.
27874 * string/test-strcspn-ifunc.c: Likewise.
27875 * string/test-strlen-ifunc.c: Likewise.
27876 * string/test-strncasecmp-ifunc.c: Likewise.
27877 * string/test-strncat-ifunc.c: Likewise.
27878 * string/test-strncmp-ifunc.c: Likewise.
27879 * string/test-strncpy-ifunc.c: Likewise.
27880 * string/test-strnlen-ifunc.c: Likewise.
27881 * string/test-strpbrk-ifunc.c: Likewise.
27882 * string/test-strrchr-ifunc.c: Likewise.
27883 * string/test-strspn-ifunc.c: Likewise.
27884 * string/test-strstr-ifunc.c: Likewise.
27886 * debug/Makefile (tests-ifunc): New variable.
27887 (tests): Add $(tests-ifunc).
27888 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
27889 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
27890 * debug/test-stpcpy_chk-ifunc.c: New file.
27891 * debug/test-strcpy_chk-ifunc.c: Likewise.
27893 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
27896 * elf/dl-load.c (open_verify): Retry read if the entire ELF
27897 header is not read in.
27899 2012-10-19 Joseph Myers <joseph@codesourcery.com>
27901 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
27902 script to $(SHELL) as $<. Pass $(common-objpfx) to script
27903 directly. Pass built executable to script as
27904 $(built-program-cmd).
27905 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
27906 $testprogram without using LD_LIBRARY_PATH and $ldso.
27908 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
27909 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
27910 $(rtld-installed-name).
27911 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
27912 (rtld_installed_name): Likewise.
27913 (library_path): Likewise.
27914 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
27915 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
27916 $(run-program-prefix) to tst-tables.sh.
27917 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
27918 it to run tst-table-from and tst-table-to.
27919 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
27920 Pass it to tst-table.sh.
27921 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
27922 $(run-program-prefix) to tst-gettext.sh.
27923 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
27925 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
27927 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
27928 to run tst-gettext.
27929 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
27930 to run tst-gettext2.
27931 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
27932 to run tst-translit.
27933 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
27934 $(run-program-prefix) to tst-mtrace.sh.
27935 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
27937 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
27938 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
27939 $(rtld-installed-name).
27940 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
27941 (rtld_installed_name): Likewise.
27942 (run_program_prefix): New variable. Use it to run wordexp-test.
27944 * Makeconfig (ARCH): Remove all definitions.
27945 (machine): Likewise.
27946 [ARCH]: Remove conditional code.
27947 [!objdir]: Give error.
27948 [!objdir] (objpfx): Remove.
27949 [!objdir] (common-objpfx): Likewise.
27950 [!objdir] (common-objdir): Likewise.
27951 * configure.in (config_makefile): Remove. Hardcode Makefile in
27952 AC_CONFIG_FILES call.
27953 * configure: Regenerated.
27956 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
27958 (testout): Likewise.
27960 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
27961 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
27962 $(rtld-installed-name).
27963 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
27964 (rtld_installed_name): Likwise.
27965 (runit): Remove function.
27966 (run_getconf): New variable, Use it for running getconf binary.
27968 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
27971 * string/test-memmem.c (check_result): New function.
27972 (do_one_test): Use it.
27973 (check1): New function.
27974 (test_main): Use it.
27976 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
27978 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
27980 2012-10-18 Joseph Myers <joseph@codesourcery.com>
27982 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
27983 (_G_LSEEK64): Likewise.
27984 (_G_MMAP64): Likewise.
27985 (_G_FSTAT64): Likewise.
27986 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
27987 (_G_LSEEK64): Likewise.
27988 (_G_MMAP64): Likewise.
27989 (_G_FSTAT64): Likewise.
27990 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
27991 unconditional. Call __mmap64 directly.
27992 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
27993 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
27994 __lseek64 directly.
27995 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
27996 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
27998 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
27999 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
28000 __lseek64 directly.
28001 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
28002 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
28003 __lseek64 directly.
28004 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
28005 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
28006 __lseek64 directly.
28007 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
28008 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
28009 __fxstat64 directly.
28010 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
28011 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
28013 (freopen64) [!_G_OPEN64]: Remove conditional code.
28014 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
28016 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
28017 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
28019 (ftello64) [!_G_LSEEK64]: Remove conditional code.
28020 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
28022 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28023 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
28025 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
28026 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
28028 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28029 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
28031 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28032 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
28034 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28036 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28039 * manual/memory.texi (Malloc Tunable Parameters): Add note
28040 about free list pointers overwriting some perturb bytes.
28041 Wording suggested by Roland McGrath.
28043 2012-10-17 Joseph Myers <joseph@codesourcery.com>
28045 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
28046 (lgamma_test): Likewise.
28047 (tgamma_test): Likewise.
28049 2012-10-16 Florian Weimer <fweimer@redhat.com>
28052 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
28053 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
28055 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
28057 * NEWS: Mention BZ #14716.
28058 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
28059 when removing AVAILABLE1_USES_J macro.
28061 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
28063 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
28064 (__bswap_64): __uint64_t for unsigned 64-bit int.
28066 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
28068 * include/string.h (memmem): Declare libc hidden alias.
28069 * string/memmem.c (memmem): Define libc hidden alias.
28070 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
28071 __read, __close instead of open, read, close.
28073 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
28075 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
28076 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
28078 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
28079 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
28080 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
28082 (__rawmemchr_sse2): Likewise.
28083 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
28084 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
28085 (__strchr_sse2): Likewise.
28086 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
28087 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
28088 (__strcasecmp_sse2): Likewise.
28089 (__strncasecmp_sse2): Likewise.
28090 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
28091 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
28092 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
28093 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
28094 (__strrchr_sse2): Likewise.
28095 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
28097 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
28098 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
28099 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
28100 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
28101 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
28102 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
28103 * sysdeps/x86_64/multiarch/memset.S: Likewise.
28104 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28105 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
28106 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
28107 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
28108 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
28109 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
28110 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
28111 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
28112 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
28113 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
28114 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
28115 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
28116 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
28117 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
28118 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
28119 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
28120 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
28121 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
28122 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28123 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
28124 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
28125 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
28126 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
28128 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
28130 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
28131 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
28132 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
28133 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
28135 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
28137 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
28138 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
28139 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
28140 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
28142 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28143 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28144 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28145 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28146 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28147 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28148 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28149 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28150 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28151 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28152 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28153 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28154 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28155 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
28156 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
28157 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28158 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
28159 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
28160 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28161 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28162 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28163 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28164 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28165 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28166 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28167 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
28168 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
28169 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
28170 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
28171 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28172 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
28173 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28174 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28175 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
28176 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28177 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28178 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28179 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28180 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28181 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28182 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
28184 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
28185 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
28186 * include/ifunc-impl-list.h: New file.
28187 * misc/ifunc-impl-list.c: Likewise.
28188 * misc/Makefile (routines): Add ifunc-impl-list.
28189 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
28190 * string/test-string.h: Include <ifunc-impl-list.h>.
28191 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
28192 TEST_NAME]: New variables.
28193 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
28195 (test_init): Call __libc_ifunc_impl_list to initialize
28196 func_list if TEST_IFUNC and TEST_NAME are defined.
28198 * string/Makefile (strop-tests): Add bcopy and bzero.
28199 * string/test-bcopy.c: New file.
28200 * string/test-bzero.c: Likewise.
28201 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
28203 * string/test-memset.c: Support bzero test if TEST_BZERO is
28205 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
28207 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
28209 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
28212 2012-10-10 Joseph Myers <joseph@codesourcery.com>
28214 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
28215 * configure: Regenerated.
28217 * Makeconfig (+link-static-before-libc): Don't include
28218 $(link-static-libc).
28220 * libio/libio.h (_IO_pos_t): Remove.
28222 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
28224 * NEWS: Add note about FIPS mode. Wording suggested by Roland
28227 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
28229 * crypt/crypt-entry.c: Include fips-private.h.
28230 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
28231 * crypt/md5c-test.c (main): Tolerate disabled MD5.
28232 * sysdeps/unix/sysv/linux/fips-private.h: New file.
28233 * sysdeps/generic/fips-private.h: New file, dummy fallback.
28235 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
28237 * crypt/crypt-private.h: Include stdbool.h.
28238 (_ufc_setup_salt_r): Return bool.
28239 * crypt/crypt-entry.c: Include errno.h.
28240 (__crypt_r): Return NULL with EINVAL for bad salt.
28241 * crypt/crypt_util.c (bad_for_salt): New.
28242 (_ufc_setup_salt_r): Check that salt is long enough and within
28243 the specified alphabet.
28244 * crypt/badsalttest.c: New file.
28245 * crypt/Makefile (tests): Add it.
28246 ($(objpfx)badsalttest): New.
28248 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
28250 * NEWS: Add entry for BZ #14602.
28252 2012-10-09 Joseph Myers <joseph@codesourcery.com>
28254 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
28256 * math/libm-test.inc: Update comment listing what functions and
28258 (isgreater_test): New function.
28259 (isgreaterequal_test): Likewise.
28260 (isless_test): Likewise.
28261 (islessequal_test): Likewise.
28262 (islessgreater_test): Likewise.
28263 (isunordered_test): Likewise.
28264 (main): Call the new functions.
28266 2012-10-09 Roland McGrath <roland@hack.frob.com>
28268 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
28269 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
28270 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
28271 * sysdeps/i386/configure: Regenerated.
28272 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
28273 * sysdeps/mach/configure: Regenerated.
28274 * sysdeps/mach/hurd/configure: Regenerated.
28275 * sysdeps/powerpc/configure: Regenerated.
28276 * sysdeps/powerpc/powerpc32/configure: Regenerated.
28277 * sysdeps/powerpc/powerpc64/configure: Regenerated.
28278 * sysdeps/s390/s390-32/configure: Regenerated.
28279 * sysdeps/s390/s390-64/configure: Regenerated.
28280 * sysdeps/sh/configure: Regenerated.
28281 * sysdeps/sparc/configure: Regenerated.
28282 * sysdeps/unix/sysv/linux/configure: Regenerated.
28283 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
28284 * sysdeps/x86_64/configure: Regenerated.
28286 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
28287 defined. Don't check if MAP is NULL.
28289 2012-10-09 Joseph Myers <joseph@codesourcery.com>
28291 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
28292 (_G_stat64): Likewise.
28293 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
28294 (_G_stat64): Likewise.
28295 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
28296 instead of struct _G_stat64.
28297 * libio/fileops.c (mmap_remap_check): Likewise.
28298 (decide_maybe_mmap): Likewise.
28299 (_IO_new_file_seekoff): Likewise.
28300 (_IO_file_stat): Likewise.
28301 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
28303 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
28304 instead of struct _G_stat64.
28305 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
28307 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
28310 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28312 (CHECK_EOL): New macro.
28313 (two_way_short_needle): Check beginning of haystack for EOL. Use
28315 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28316 Replace with CHECK_EOL.
28317 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28318 Replace with CHECK_EOL.
28320 2012-10-08 Joseph Myers <joseph@codesourcery.com>
28322 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
28324 * math/libm-test.inc: Update comment listing what functions and
28326 (finite_test): New function.
28327 (isinf_test): Likewise.
28328 (isnan_test): Likewise.
28329 (fpclassify_test): Test subnormal input.
28330 (isfinite_test): Likewise.
28331 (isnormal_test): Likewise.
28332 (main): Call the new functions.
28334 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
28337 * Makerules (%.dynsym): Force C locale when running
28338 $(OBJDUMP) --dynamic-syms.
28340 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
28342 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
28345 2012-10-06 David S. Miller <davem@davemloft.net>
28347 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
28348 upper 32-bits of the length value in %o2 since we use branch-on-register
28349 tests which consider the entire 64-bit register.
28351 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
28353 * string/test-strstr.c (check2): Add a test for page boundary.
28355 2012-10-05 David S. Miller <davem@davemloft.net>
28357 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
28358 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
28360 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28362 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28363 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
28364 and bzero when HWCAP_SPARC_CRYPTO is present.
28366 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
28369 * string/test-strstr.c (check2): New function.
28370 (test_main): Call check2.
28372 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
28374 * string/bug-strcasestr1.c (do_test): Moved to ...
28375 * string/test-strcasestr.c (check1): Here. New function.
28376 (do_one_test): Break out result checking code into ...
28377 (check_result): This. New function.
28378 (do_one_test): Call check_result.
28379 (test_main): Call check1.
28380 * string/bug-strchr1.c (do_test): Moved to ...
28381 * string/test-strchr.c (check1): Here. New function.
28382 (do_one_test): Break out result checking code into ...
28383 (check_result): This. New function.
28384 (do_one_test): Call check_result.
28385 (test_main): Call check1.
28386 * string/bug-strstr1.c (main): Moved to ...
28387 * string/test-strstr.c (check1): Here. New function.
28388 (do_one_test): Break out result checking code into ...
28389 (check_result): This. New function.
28390 (do_one_test): Call check_result.
28391 (test_main): Call check1.
28392 * string/bug-strcasestr1.c: Removed.
28393 * string/bug-strchr1.c: Likewise.
28394 * string/bug-strstr1.c: Likewise.
28396 * elf/Makefile (dl-routines): Add hwcaps.
28397 * elf/dl-support.c (_dl_important_hwcaps): Removed.
28398 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
28399 (_dl_important_hwcaps): Moved to ...
28400 * elf/dl-hwcaps.c: Here. New file.
28401 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
28404 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
28405 if IS_IN_rtld isn't defined.
28407 * elf/dl-support.c (_dl_sysinfo_map): New.
28408 Include "get-dynamic-info.h" and "setup-vdso.h".
28409 (_dl_non_dynamic_init): Call setup_vdso.
28410 * elf/dynamic-link.h: Don't include <assert.h>.
28411 (elf_get_dynamic_info): Moved to ...
28412 * elf/get-dynamic-info.h: Here. New file.
28413 * elf/dynamic-link.h: Include "get-dynamic-info.h".
28414 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
28415 * elf/setup-vdso.h: Here. New file.
28416 * elf/rtld.c: Include "setup-vdso.h".
28417 (dl_main): Call setup_vdso.
28419 2012-10-05 Joseph Myers <joseph@codesourcery.com>
28421 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
28422 creal in comment listing functions tested. List finite, isinf,
28423 isnan, isless, islessequal, isgreater, isgreaterequal,
28424 islessgreater, isunordered, lgamma_r and pow10 as functions and
28425 macros not tested. Mention which functions not tested are aliases
28426 for other functions. Fix typo. Note that signs of NaNs are not
28429 * scripts/config.guess: Update from config.git.
28430 * scripts/config.sub: Likewise.
28432 2012-10-04 Roland McGrath <roland@hack.frob.com>
28434 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
28435 * misc/madvise.c (madvise): Renamed to __madvise.
28436 Make madvise a weak alias.
28437 * include/sys/mman.h: Declare __madvise.
28438 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
28439 * sysdeps/unix/syscalls.list
28440 (madvise): Make __madvise the strong name, and madvise a weak alias.
28441 * sysdeps/unix/sysv/linux/syscalls.list
28442 (madvise, mmap): Remove redundant entries.
28443 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
28444 * malloc/malloc.c (mtrim): Likewise.
28445 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
28447 2012-10-03 Roland McGrath <roland@hack.frob.com>
28449 * sysdeps/mach/hurd/dl-cache.c: File removed.
28450 * config.h.in (USE_LDCONFIG): New #undef.
28451 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
28452 * configure: Regenerated.
28453 * elf/Makefile (dl-routines): Add dl-cache only under
28454 [$(use-ldconfig) = yes].
28455 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
28456 cache on [USE_LDCONFIG].
28457 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
28459 * elf/rtld.c (dl_main): Likewise.
28461 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
28463 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
28464 _SC_LEVEL4_CACHE_LINESIZE.
28466 2012-10-03 Roland McGrath <roland@hack.frob.com>
28468 * sysdeps/unix/bsd/confstr.h: File removed.
28470 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
28472 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
28475 2012-10-02 Roland McGrath <roland@hack.frob.com>
28477 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
28478 Make 'mapoff' field ElfW(Off) rather than off_t.
28480 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
28482 * nscd/Makefile: Remove nscd-cflags and all its users.
28483 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
28484 (CFLAGS-nonlib): Add compiler flags for nscd modules.
28487 * malloc.c (malloc_printerr): Clarify error message.
28489 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
28492 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28493 Set bit_FMA_Usable if FMA is supported.
28494 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
28496 (bit_FMA4_Usable): Updated.
28497 (index_FMA_Usable): New macro.
28498 (CPUID_FMA): Likewise
28499 (HAS_FMA): Defined with bit_FMA_Usable.
28501 2012-10-01 Roland McGrath <roland@hack.frob.com>
28503 * bits/types.h (__swblk_t): Type removed.
28504 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
28505 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
28506 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28507 (__SWBLK_T_TYPE): Likewise.
28508 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28509 (__SWBLK_T_TYPE): Likewise.
28510 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28511 (__SWBLK_T_TYPE): Likewise.
28512 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28513 (__SWBLK_T_TYPE): Likewise.
28515 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
28516 Honza Horak <hhorak@redhat.com>
28518 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
28519 (xdr_mapname): Use YPMAXMAP as maxsize.
28520 (xdr_peername): Use YPMAXPEER as maxsize.
28521 (xdr_keydat): Use YPAXRECORD as maxsize.
28522 (xdr_valdat): Use YPMAXRECORD as maxsize.
28524 2012-10-01 Roland McGrath <roland@hack.frob.com>
28526 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
28528 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
28529 * csu/init-first.c: ... here.
28530 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
28531 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
28532 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
28533 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
28534 * sysdeps/i386/init-first.c: File removed.
28535 * sysdeps/sh/init-first.c: File removed.
28537 2012-10-01 Joseph Myers <joseph@codesourcery.com>
28540 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
28541 if x * y might underflow to zero and z is zero.
28542 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28543 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28544 * math/libm-test.inc (min_subnorm_value): New variable.
28545 (fma_test): Add more tests.
28546 (fma_test_towardzero): Likewise.
28547 (fma_test_downward): Likewise
28548 (fma_test_upward): Likewise.
28549 (initialize): Set min_subnorm_value.
28551 2012-09-29 Joseph Myers <joseph@codesourcery.com>
28554 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
28556 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
28557 mode for addition resulting in exact zero.
28558 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
28559 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
28561 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28562 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28563 * math/libm-test.inc (fma_test): Add more tests.
28564 (fma_test_towardzero): New function.
28565 (fma_test_downward): Likewise.
28566 (fma_test_upward): Likewise.
28567 (main): Call the new functions.
28569 2012-09-28 David S. Miller <davem@davemloft.net>
28571 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
28573 2012-09-28 Roland McGrath <roland@hack.frob.com>
28575 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
28576 instead of SIGALRM.
28578 * sysdeps/gnu/_G_config.h: Moved to ...
28579 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
28580 * sysdeps/mach/hurd/_G_config.h: Moved to ...
28581 * sysdeps/generic/_G_config.h: ... here.
28583 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
28585 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
28587 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
28588 Conditionalize target on [libnss_test1.so-version].
28590 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
28592 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
28593 (elfobjdir): Move out of conditionals.
28595 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
28596 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
28597 (__nss_lookup_function): Conditionalize label remove_from_tree on
28598 [!DO_STATIC_NSS || SHARED], matching its only use.
28600 2012-09-28 David S. Miller <davem@davemloft.net>
28602 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
28603 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
28605 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28607 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28608 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
28609 when HWCAP_SPARC_CRYPTO is present.
28611 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
28613 * io/tst-mknodat.c: Create a FIFO instead of a socket.
28615 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
28618 * stdio-common/vfprintf.c (process_string_arg): Revert
28621 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
28623 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
28625 * stdio-common/tst-sprintf.c: Include <locale.h>
28626 (main): Test sprintf's handling of incomplete multibyte
28629 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
28631 * elf/dl-runtime.c (VERSYMIDX): Removed.
28632 * elf/dl-version.c (VERSYMIDX): Likewise.
28633 * elf/do-rel.h (VERSYMIDX): Likewise.
28634 (VALIDX): Likewise.
28635 * elf/dynamic-link.h (VERSYMIDX): Likewise.
28636 * elf/rtld.c (VALIDX): Likewise.
28637 (ADDRIDX): Likewise.
28638 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
28639 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
28640 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
28641 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
28642 (VALIDX): Likewise.
28643 (ADDRIDX): Likewise.
28645 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
28647 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
28649 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
28652 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
28654 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
28655 addresses are in the same scope as 192.0.2/24.
28656 * posix/gai.conf: Document new scope table defaults.
28658 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28661 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
28662 for ftell. Compute offsets from write pointers instead.
28663 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
28665 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28668 * libio/Makefile (tests): New test case tst-fseek.
28669 * libio/tst-fseek.c: New test case to verify that fseek/ftell
28670 combination works in wide mode.
28671 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
28672 state when the external buffer state changes.
28674 2012-09-27 David S. Miller <davem@davemloft.net>
28677 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
28678 pass reloc->r_addend in as the 'high' argument to
28679 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
28681 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28683 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
28685 * rt/tst-aio2.c: Include <pthread.h>.
28686 * rt/tst-aio3.c: Likewise.
28688 2012-09-27 Steve Ellcey <sellcey@mips.com>
28690 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
28692 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
28694 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
28695 contents on [SHARED].
28697 2012-09-26 Marek Polacek <polacek@redhat.com>
28701 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
28702 for C++ and GCC <4.3 as well as for non GCC compilers.
28704 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
28706 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28708 2012-09-25 Roland McGrath <roland@hack.frob.com>
28710 * Makefile.in (all, install): Declare with .PHONY.
28711 Reported by Michael Hope <michael.hope@linaro.org>.
28713 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28715 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
28716 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
28718 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
28720 (sydep_routines): Add the new and the internal functions.
28721 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
28722 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
28723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
28724 (GLIBC_2.17): Add the new function.
28725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
28726 (GLIBC_2.17): Likewise.
28727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
28728 (GLIBC_2.17): Likewise.
28729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
28730 (GLIBC_2.17): Likewise.
28731 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
28733 2012-09-25 Alan Modra <amodra@gmail.com>
28735 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
28736 Add release barrier before setting once_control to say
28737 initialisation is done. Add hints on lwarx. Use macro in
28739 (clear_once_control): Add release barrier.
28741 2012-09-25 Joseph Myers <joseph@codesourcery.com>
28744 * math/s_clog.c (__clog): Handle more values close to |z| = 1
28746 * math/s_clog10.c (__clog10): Likewise.
28747 * math/s_clog10f.c (__clog10f): Likewise.
28748 * math/s_clog10l.c (__clog10l): Likewise.
28749 * math/s_clogf.c (__clogf): Likewise.
28750 * math/s_clogl.c (__clogl): Likewise.
28751 * math/Makefile (libm-calls): Add x2y2m1.
28752 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
28753 (__x2y2m1): Likewise.
28754 (__x2y2m1l): Likewise.
28755 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
28756 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
28757 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
28758 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
28759 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
28760 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
28761 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
28762 * sysdeps/i386/fpu/libm-test-ulps: Update.
28763 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28766 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
28767 int as type of variable DEPTH.
28768 (glob): Use size_t instead of int as type of variables NEWCOUNT
28771 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28773 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
28774 Add s_sincosf-sse2.
28775 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
28776 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
28777 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
28778 macros for using routine as __sincosf_ia32.
28779 Use macro for function declaration and weak_alias.
28780 * sysdeps/i386/fpu/libm-test-ulps: Update.
28782 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
28783 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28785 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
28786 subnormal argument.
28787 * math/s_cexpf.c (__cexpf): Likewise.
28788 * math/s_csinf.c (__csinf): Likewise.
28789 * math/s_csinhf.c (__csinhf): Likewise.
28790 * math/s_ctanf.c (__ctanf): Likewise.
28791 * math/s_ctanhf.c (__ctanhf): Likewise.
28792 * math/s_ccosh.c (__ccoshf): Likewise.
28793 * math/s_cexp.c (__cexpl): Likewise.
28794 * math/s_csin.c (__csin): Likewise.
28795 * math/s_csinh.c (__csinh): Likewise.
28796 * math/s_ctan.c (__ctan): Likewise.
28797 * math/s_ctanh.c (ctanh): Likewise.
28798 * math/s_ccoshl.c (__ccoshl): Likewise.
28799 * math/s_cexpl.c (__cexpl): Likewise.
28800 * math/s_csinl.c (__csinl): Likewise.
28801 * math/s_csinhl.c (__csinhl): Likewise.
28802 * math/s_ctanl.c (__ctanl): Likewise.
28803 * math/s_ctanhl.c (__ctanhl): Likewise.
28805 2012-09-25 Joseph Myers <joseph@codesourcery.com>
28807 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
28808 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
28809 (_IO_off_t): Define to __off_t, not _G_off_t.
28810 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
28811 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
28812 (_IO_wint_t): Define to wint_t, not _G_wint_t.
28813 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
28814 type of __dummy and __dummy2 fields.
28815 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
28816 (_G_ssize_t): Likewise.
28817 (_G_off_t): Likewise.
28818 (_G_pid_t): Likewise.
28819 (_G_uid_t): Likewise.
28820 (_G_wchar_t): Likewise.
28821 (_G_wint_t): Likewise.
28822 * sysdeps/gnu/_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/mach/hurd/_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.
28837 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
28839 * malloc/arena.c: Include malloc-sysdep.h.
28840 (shrink_heap): Use check_may_shrink_heap to decide if madvise
28841 is sufficient to shrink the heap or an unmap is needed.
28842 * sysdeps/generic/malloc-sysdep.h: New file. Define
28843 new function check_may_shrink_heap.
28844 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
28845 new function check_may_shrink_heap.
28847 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
28849 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
28852 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
28854 * catgets/test-gencat.sh: Add "set -e".
28855 * elf/tst-pathopt.sh: Likewise.
28856 * grp/tst_fgetgrent.sh: Likewise.
28857 * iconvdata/run-iconv-test.sh: Likewise.
28858 * intl/tst-gettext.sh: Likewise.
28859 * intl/tst-gettext2.sh: Likewise.
28860 * intl/tst-gettext4.sh: Likewise.
28861 * intl/tst-gettext6.sh: Likewise.
28862 * intl/tst-translit.sh: Likewise.
28863 * io/ftwtest-sh: Likewise.
28864 * libio/test-freopen.sh: Likewise.
28865 * malloc/tst-mtrace.sh: Likewise.
28866 * posix/globtest.sh: Likewise.
28867 * posix/tst-getconf.sh: Likewise.
28868 * posix/wordexp-tst.sh: Likewise.
28869 * stdio-common/tst-printf.sh: Likewise.
28870 * stdio-common/tst-unbputc.sh: Likewise.
28871 * stdlib/tst-fmtmsg.sh: Likewise.
28872 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
28873 * catgets/Makefile: Do not specify -e option when running
28874 testsuite shell scripts.
28875 * elf/Makefile: Likewise.
28876 * grp/Makefile: Likewise.
28877 * iconvdata/Makefile: Likewise.
28878 * intl/Makefile: Likewise.
28879 * io/Makefile: Likewise.
28880 * libio/Makefile: Likewise.
28881 * malloc/Makefile: Likewise.
28882 * posix/Makefile: Likewise.
28883 * stdio-common/Makefile: Likewise.
28884 * stdlib/Makefile: Likewise.
28885 * sysdeps/x86_64/Makefile: Likewise.
28887 * io/ftwtest-sh: Add copyright header.
28888 * posix/globtest.sh: Likewise.
28889 * posix/tst-getconf.sh: Likewise.
28890 * posix/wordexp-tst.sh: Likewise.
28891 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
28893 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
28896 * Makeconfig (+link): Defined as $(+link-static) if
28897 $(build-shared) isn't yes.
28898 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
28900 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
28902 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
28905 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
28906 new chunk size with MALLOC_ALIGN_MASK.
28908 2012-09-24 Joseph Myers <joseph@codesourcery.com>
28911 * stdio-common/printf_fphex.c: Include <stdbool.h> and
28913 (__printf_fphex): Determine rounding using get_rounding_mode and
28915 * stdio-common/tst-printf-round.c (struct hex_test): New
28917 (hex_tests): New variable.
28918 (test_hex_in_one_mode): New function.
28919 (do_test): Also run tests for hex float output.
28921 2012-09-21 Joseph Myers <joseph@codesourcery.com>
28923 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
28924 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
28925 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
28926 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
28927 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
28928 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
28929 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
28930 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
28932 2012-09-20 Joseph Myers <joseph@codesourcery.com>
28934 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
28935 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
28936 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
28937 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
28939 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
28942 * elf/rtld.c (dl_main): Limit the check for self loading to normal
28944 * elf/tst-rtld-load-self.sh: New test.
28945 * elf/Makefile: Run it.
28947 2012-09-18 Joseph Myers <joseph@codesourcery.com>
28949 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
28950 (tst-writev-ENV): Remove.
28951 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
28953 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
28955 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
28957 2012-09-17 Joseph Myers <joseph@codesourcery.com>
28959 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
28961 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
28963 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
28964 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
28965 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
28968 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
28971 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
28972 * config.make.in (have-cpp-asm-debuginfo): Removed.
28973 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
28974 * configure: Regenerated.
28976 2012-09-14 Joseph Myers <joseph@codesourcery.com>
28979 * stdio-common/printf_fp.c: Include <stdbool.h> and
28981 (___printf_fp): Determine rounding using get_rounding_mode and
28983 * stdio-common/tst-printf-round.c: New file.
28984 * stdio-common/Makefile (tests): Add tst-printf-round.
28985 (link-libm): New variable.
28986 ($(objpfx)tst-printf-round): Depend in $(link-libm).
28988 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
28991 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
28992 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
28994 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
28997 2012-09-13 Joseph Myers <joseph@codesourcery.com>
28999 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
29000 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29001 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29002 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29004 2012-09-12 Joseph Myers <joseph@codesourcery.com>
29007 * include/rounding-mode.h: New file.
29008 * sysdeps/generic/get-rounding-mode.h: Likewise.
29009 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
29010 * stdlib/strtod_l.c: Include <rounding-mode.h>.
29011 (MAX_VALUE): New macro.
29012 (MIN_VALUE): Likewise.
29013 (overflow_value): New function.
29014 (underflow_value): Likewise.
29015 (round_and_return): Use overflow_value and underflow_value to
29016 determine return values in overflow and underflow cases. Use
29017 round_away to determine rounding depending on rounding mode.
29018 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
29019 determine return values in overflow and underflow cases.
29020 * stdlib/tst-strtod-round.c: Include <fenv.h>.
29021 (struct test_results): New structure.
29022 (struct test): Use struct test_results to store expected results
29023 for all rounding modes.
29024 (TEST): Include expected results for all rounding modes.
29025 (test_in_one_mode): New function.
29026 (do_test): Use test_in_one_mode to compute and check results.
29027 Check results for all rounding modes.
29028 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
29031 2012-12-09 Allan McRae <allan@archlinux.org>
29033 * sysdeps/i386/fpu/libm-test-ulps: Update
29035 2012-09-11 Joseph Myers <joseph@codesourcery.com>
29037 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
29038 (_G_int32_t): Likewise.
29039 (_G_uint16_t): Likewise.
29040 (_G_uint32_t): Likewise.
29041 (_G_HAVE_BOOL): Likewise.
29042 (_G_HAVE_ATEXIT): Likewise.
29043 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29044 (_G_HAVE_IO_FILE_OPEN): Likewise.
29045 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
29046 (_G_int32_t): Likewise.
29047 (_G_uint16_t): Likewise.
29048 (_G_uint32_t): Likewise.
29049 (_G_HAVE_BOOL): Likewise.
29050 (_G_HAVE_ATEXIT): Likewise.
29051 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29052 (_G_HAVE_IO_FILE_OPEN): Likewise.
29053 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
29054 (_G_int32_t): Likewise.
29055 (_G_uint16_t): Likewise.
29056 (_G_uint32_t): Likewise.
29057 (_G_HAVE_BOOL): Likewise.
29058 (_G_HAVE_ATEXIT): Likewise.
29059 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29060 (_G_HAVE_IO_FILE_OPEN): Likewise.
29062 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
29064 * csu/libc-tls.c: Update copyright years.
29066 2012-09-10 Joseph Myers <joseph@codesourcery.com>
29068 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
29069 [!_G_USING_THUNKS]: Remove conditional code.
29070 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
29071 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
29073 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
29074 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
29075 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29076 (_G_VTABLE_LABEL_PREFIX): Likewise.
29077 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29078 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29079 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29080 (_G_VTABLE_LABEL_PREFIX): Likewise.
29081 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29082 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29083 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29084 (_G_VTABLE_LABEL_PREFIX): Likewise.
29085 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29087 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
29089 * libio/Makefile: Include ../Makeconfig before tests.
29090 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
29091 only if $(build-shared) is yes.
29093 * iconv/gconv_db.c: Update copyright years.
29095 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29097 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
29098 unwind info if defined PIC. Fix special cases description.
29099 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
29101 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
29103 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
29105 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
29107 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
29109 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
29112 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
29113 (LDLIBS-tst-chk4): This.
29114 (LDFLAGS-tst-chk5): Renamed to ...
29115 (LDLIBS-tst-chk5): This.
29116 (LDFLAGS-tst-chk6): Renamed to ...
29117 (LDLIBS-tst-chk6): This.
29118 (LDFLAGS-tst-lfschk4): Renamed to ...
29119 (LDLIBS-tst-lfschk4): This.
29120 (LDFLAGS-tst-lfschk5): Renamed to ...
29121 (LDLIBS-tst-lfschk5): This.
29122 (LDFLAGS-tst-lfschk6): Renamed to ...
29123 (LDLIBS-tst-lfschk6): This.
29125 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
29126 on $(common-objpfx)soversions.mk.
29128 2012-09-07 Joseph Myers <joseph@codesourcery.com>
29131 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
29134 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
29136 * malloc/arena.c (arena_get_retry): New function that gets
29137 another arena for the caller to try its request on.
29138 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
29139 current arena cannot fulfill the request.
29140 (__libc_memalign): Likewise.
29141 (__libc_memalign): Likewise.
29142 (__libc_pvalloc): Likewise.
29143 (__libc_calloc): Likewise.
29145 2012-09-05 John Tobey <john.tobey@gmail.com>
29148 * manual/arith.texi (Operations on Complex): Fix description
29149 of carg branch cut.
29151 2012-09-06 Joseph Myers <joseph@codesourcery.com>
29154 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
29158 * manual/memory.texi (Memory): Make order of menu items match
29161 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29163 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
29164 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
29165 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
29167 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29169 * csu/libc-tls.c (static_dtv): Renamed to ...
29170 (_dl_static_dtv): This. Make it global.
29171 (_dl_initial_dtv): Removed.
29172 (__libc_setup_tls): Updated.
29173 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
29174 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
29177 2012-09-06 Petr Machata <pmachata@redhat.com>
29179 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
29180 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
29181 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
29182 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
29184 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29187 * csu/libc-tls.c (_dl_initial_dtv): New variable.
29188 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
29191 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29194 * Makeconfig (link-static-before-libc): Replace $(+prector)
29196 (link-static-after-libc): Replace $(+postctor) with
29198 (link-bounded): Replace $(+prector)/$(+postctor) with
29199 $(+prectorT)/$(+postctorT).
29200 (+prectorT): New macro.
29201 (+postctorT): Likewise.
29203 2012-09-06 Joseph Myers <joseph@codesourcery.com>
29205 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
29206 (round_str): Handle values above the maximum for IBM long double
29208 * stdlib/tst-strtod-round.c (tests): Regenerated.
29210 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29212 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
29214 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
29215 zarch_nohighgprs around the zarch optimized routines.
29216 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
29217 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
29218 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
29221 2012-09-05 David S. Miller <davem@davemloft.net>
29223 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29225 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
29226 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
29227 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
29228 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
29231 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29233 * malloc/arena.c: Fold copyright years.
29234 * malloc/mcheck.c, malloc/memusage.c: Likewise.
29236 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29238 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
29240 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29242 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
29244 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29246 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
29247 change internal state upon failure.
29249 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29251 * malloc/mcheck.c (mcheck_check_all): Fix typo.
29252 * malloc/memusage.c (mmap): Likewise.
29253 (mmap64, mremap): Likewise. Adjust name in comment.
29255 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
29257 * libio/fileops.c: Fix typos in comments.
29258 * libio/oldfileops.c: Likewise.
29259 * libio/wfileops.c: Likewise.
29261 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
29264 * malloc/Makefile (tests): Add tst-malloc-usable test case.
29265 (tst-malloc-usable-ENV): Set environment for test case.
29266 * malloc/hooks.c (malloc_check_get_size): New function to get
29268 * malloc/malloc.c (musable): Use malloc_check_get_size.
29269 * malloc/tst-malloc-usable.c: New test case.
29271 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
29273 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
29275 2012-09-05 Allan McRae <allan@archlinux.org>
29278 * configure.in (CXX_SYSINCLUDES): Use compiler output to
29279 determine header location.
29280 * configure: Regenerated.
29282 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
29284 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
29286 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
29287 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
29289 (test): Regenerate.
29291 2012-09-04 David S. Miller <davem@davemloft.net>
29293 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
29294 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
29295 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
29297 2012-09-04 Florian Weimer <fweimer@redhat.com>
29299 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
29302 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
29304 2012-09-04 Joseph Myers <joseph@codesourcery.com>
29307 * libio/iogetdelim.c: Include <limits.h>.
29308 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
29309 + len + 1 would overflow.
29311 2012-09-03 Andreas Jaeger <aj@suse.de>
29313 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29314 * sysdeps/i386/fpu/libm-test-ulps: Update.
29316 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29318 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
29319 Add s_sinf-sse2, s_conf-sse2.
29321 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
29322 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
29323 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
29324 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
29326 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
29327 for using routine as __sinf_ia32.
29328 Use macro for function declaration and weak_alias.
29329 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
29330 for using routine as __cosf_ia32.
29331 Use macro for function declaration and weak_alias.
29333 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
29334 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
29336 * sysdeps/x86_64/fpu/s_sinf.S: New file.
29337 * sysdeps/x86_64/fpu/s_cosf.S: New file.
29338 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29340 * math/libm-test.inc (cos_test): Add more test cases.
29341 (sin_test): Likewise.
29342 (sincos_test): Likewise.
29344 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29346 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
29347 (IFUNC_RESOLVE): Make pointers to the specialized implementations
29349 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
29351 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
29354 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
29355 first element of the GOT.
29356 (elf_machine_load_address): Return the difference between
29357 the runtime address of _DYNAMIC and elf_machine_dynamic ().
29359 2012-09-01 Allan McRae <allan@archlinux.org>
29362 * configure.in (AWK): Require gawk version 3.0 or later.
29363 * configure: Regenerated.
29365 2012-09-01 Joseph Myers <joseph@codesourcery.com>
29367 * sysdeps/unix/sysv/linux/kernel-features.h
29368 (__ASSUME_POSIX_CPU_TIMERS): Remove.
29369 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29370 [__NR_clock_getres]: Make code unconditional.
29371 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
29372 (clock_getcpuclockid): Remove code left unreachable by removal of
29374 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
29375 code unconditional.
29376 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29377 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29378 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
29379 Make code unconditional.
29380 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29381 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29382 * sysdeps/unix/sysv/linux/clock_settime.c
29383 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
29385 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
29386 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29388 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
29391 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
29392 scripts/test-installation.pl.
29394 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
29395 and $ld_so_version if it is set.
29397 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29400 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
29401 failure if reading from procfs failed.
29402 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
29404 2012-08-27 Joseph Myers <joseph@codesourcery.com>
29406 * sysdeps/unix/sysv/linux/kernel-features.h
29407 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
29408 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29409 Remove conditional code.
29410 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29411 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
29412 Remove conditional code.
29413 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29414 * sysdeps/unix/sysv/linux/i386/fxstat.c
29415 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29416 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29417 * sysdeps/unix/sysv/linux/i386/fxstatat.c
29418 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29419 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29420 * sysdeps/unix/sysv/linux/i386/lxstat.c
29421 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29422 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29423 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
29424 Remove conditional code.
29425 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29426 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29427 Remove conditional code.
29428 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29429 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
29430 <kernel-features.h>.
29431 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
29433 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
29434 Remove conditional code.
29435 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29436 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
29437 Remove conditional.
29439 2012-08-27 Mike Frysinger <vapier@gentoo.org>
29442 * NEWS: Add fixed bug number.
29444 2012-08-27 Joseph Myers <joseph@codesourcery.com>
29447 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
29448 underflowing exponent in case of negative sign.
29449 * stdlib/tst-strtod-round-data: Add more tests.
29450 * stdlib/tst-strtod-round.c (tests): Regenerated.
29453 * stdlib/strtod_l.c (NDIG): Remove.
29454 (HEXNDIG): Likewise.
29455 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
29456 smallest representable value.
29457 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
29458 lie within an exact representation of 1/2 ulp of the result.
29459 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
29461 (TENS_P9_IDX): Define unconditionally.
29462 (TENS_P9_SIZE): Likewise.
29463 (TENS_P10_IDX): Likewise.
29464 (TENS_P10_SIZE): Likewise.
29465 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
29466 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
29467 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
29468 entries for 10^2^13 and 10^2^14.
29469 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
29470 (TENS_P13_IDX): Define.
29471 (TENS_P13_SIZE): Likewise.
29472 (TENS_P14_IDX): Likewise.
29473 (TENS_P14_SIZE): Likewise.
29474 (_fpioconst_pow10): Change array size to
29475 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
29477 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
29478 1024]: Add entries for 10^2^13 and 10^2^14.
29479 [LAST_POW10 > _LAST_POW10]: Remove #error.
29480 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
29481 (_fpioconst_pow10): Change array size to
29482 FPIOCONST_POW10_ARRAY_SIZE.
29483 * stdlib/gen-fpioconst.c: New file.
29484 * stdlib/gen-tst-strtod-round.c: Likewise.
29485 * stdlib/tst-strtod-round-data: Likewise.
29486 * stdlib/tst-strtod-round.c: Likewise.
29487 * stdlib/Makefile (tests): Add tst-strtod-round.
29490 * stdlib/strtod_l.c: Include <stdint.h>.
29491 (NDEBUG): Do not define.
29492 (round_and_return): Change EXPONENT parameter to type intmax_t.
29493 Rearrange calculations to avoid internal overflow possibilities.
29494 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
29495 Rearrange calculations to avoid internal overflow possibilities.
29496 Assert that number fits inside MPNSIZE limbs.
29497 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
29498 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
29499 calculations and add assertions to avoid internal overflow
29500 possibilities. Add casts to avoid signed/unsigned operations.
29501 * stdlib/tst-strtod-overflow.c: New file.
29502 * stdlib/Makefile (tests): Add tst-strtod-overflow.
29504 2012-08-25 Marek Polacek <polacek@redhat.com>
29506 * time/time.h: Fix some typos in comments.
29508 2012-08-23 Roland McGrath <roland@hack.frob.com>
29510 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
29511 * posix/tst-rfc3484-2.c: Likewise.
29512 * posix/tst-rfc3484-3.c: Likewise.
29514 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
29516 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
29517 (EF_ARM_ABI_FLOAT_HARD): Likewise.
29519 2012-08-23 Joseph Myers <joseph@codesourcery.com>
29521 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
29522 #include of fxstatat64.c.
29524 2012-08-22 Roland McGrath <roland@hack.frob.com>
29526 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
29527 * shadow/getspent_r.c: Likewise.
29528 * shadow/getspnam.c: Likewise.
29529 * shadow/getspnam_r.c: Likewise.
29530 * gshadow/getsgent.c: Likewise.
29531 * gshadow/getsgent_r.c: Likewise.
29532 * gshadow/getsgnam.c: Likewise.
29533 * gshadow/getsgnam_r.c: Likewise.
29534 * inet/getnetbyad.c: Likewise.
29535 * inet/getnetbyad_r.c: Likewise.
29536 * inet/getnetbynm.c: Likewise.
29537 * inet/getnetbynm_r.c: Likewise.
29538 * inet/getnetent.c: Likewise.
29539 * inet/getnetent_r.c: Likewise.
29540 * inet/getproto.c: Likewise.
29541 * inet/getproto_r.c: Likewise.
29542 * inet/getprtent.c: Likewise.
29543 * inet/getprtent_r.c: Likewise.
29544 * inet/getprtname.c: Likewise.
29545 * inet/getprtname_r.c: Likewise.
29546 * inet/getrpcbyname.c: Likewise.
29547 * inet/getrpcbyname_r.c: Likewise.
29548 * inet/getrpcbynumber.c: Likewise.
29549 * inet/getrpcbynumber_r.c: Likewise.
29550 * inet/getrpcent.c: Likewise.
29551 * inet/getrpcent_r.c: Likewise.
29552 * inet/getaliasent.c: Likewise.
29553 * inet/getaliasent_r.c: Likewise.
29554 * inet/getaliasname.c: Likewise.
29555 * inet/getaliasname_r.c: Likewise.
29556 * nscd/getgrgid_r.c: Likewise.
29557 * nscd/getgrnam_r.c: Likewise.
29558 * nscd/gethstbyad_r.c: Likewise.
29559 * nscd/gethstbynm3_r.c: Likewise.
29560 * nscd/getpwnam_r.c: Likewise.
29561 * nscd/getpwuid_r.c: Likewise.
29562 * nscd/getsrvbynm_r.c: Likewise.
29563 * nscd/getsrvbypt_r.c: Likewise.
29564 * nscd/gai.c: Likewise.
29566 * configure.in (build_nscd): New substituted variable, set
29567 by --disable-build-nscd and defaults to $use_nscd.
29568 * configure: Regenerated.
29569 * config.make.in (build-nscd): New substituted variable.
29570 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
29571 Change conditional to require [$(build-nscd) = yes] as well.
29572 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
29575 * configure.in (use_nscd): New substituted variable, set by
29576 --disable-nscd. If enabled, define USE_NSCD.
29577 * configure: Regenerated.
29578 * config.h.in: Add USE_NSCD.
29579 * config.make.in (use-nscd): New substituted variable.
29580 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
29581 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
29582 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
29583 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
29584 (CFLAGS-getgrnam_r.c): Likewise.
29585 (CFLAGS-initgroups.c): Likewise.
29586 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
29587 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
29589 * inet/getnetgrent_r.c
29590 (nscd_setnetgrent): New function, broken out of ...
29591 (setnetgrent): ... here. Call it.
29592 (innetgr): Conditionalize nscd bits on [USE_NSCD].
29593 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
29594 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
29595 * nscd/Makefile (routines, aux): Move definitions after include of
29596 Makeconfig. Conditionalize on [$(use-nscd) != no].
29597 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
29598 Conditionalize on [USE_NSCD].
29599 (is_nscd, nscd_init_cb): Likewise.
29600 (nss_load_library): Conditionalize init callback on [USE_NSCD].
29601 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
29602 * nss/nss_db/db-init.c: Likewise.
29603 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
29605 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
29606 (make_request): Use it.
29607 (cache_valid_p): New function.
29608 (__check_pf): Use it.
29609 * NEWS: Add item for --disable-nscd.
29611 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
29613 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
29614 to support sed >= 4.2.1-20-ga9bf076.
29615 * configure: Regenerated.
29617 2012-08-22 Roland McGrath <roland@hack.frob.com>
29619 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
29620 Conditionalize whole body on [IREL].
29622 2012-08-22 Jeff Law <law@redhat.com>
29625 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
29626 if the family is PF_UNSPEC.
29628 2012-08-22 Mike Frysinger <vapier@gentoo.org>
29630 * Makerules (lib-version): Rename from V.
29631 (install-lib-nosubdir): Change V to lib-version.
29633 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
29636 * powerpc32/power6/wcschr.c: New file.
29637 * powerpc32/power6/wcscpy.c: New file.
29638 * powerpc32/power6/wcsrchr.c: New file.
29639 * powerpc64/power6/wcschr.c: New file.
29640 * powerpc64/power6/wcscpy.c: New file.
29641 * powerpc64/power6/wcsrchr.c: New file.
29643 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
29645 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
29646 (two_way_short_needle): Use it.
29647 * string/strstr.c (AVAILABLE1_USES_J): Define.
29648 * string/strcasestr.c: Likewise.
29650 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
29652 * string/strcasestr.c (TOLOWER): Make side-effect safe.
29655 * NEWS: Add an entry.
29656 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
29657 define their defaults.
29658 (two_way_short_needle): Detect end-of-string on-the-fly.
29659 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
29660 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
29661 * string/bug-strcasestr1.c: New test.
29662 * string/Makefile: Run it.
29664 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
29667 * string/str-two-way.h (two_way_short_needle): Optimize matching of
29668 the first character.
29670 2012-08-21 Roland McGrath <roland@hack.frob.com>
29672 * csu/elf-init.c (__libc_csu_irel): Function removed.
29673 * csu/libc-start.c (apply_irel): New function.
29674 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
29676 2012-08-21 Joseph Myers <joseph@codesourcery.com>
29678 * sysdeps/unix/sysv/linux/kernel-features.h
29679 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
29680 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
29681 <kernel-features.h>.
29682 [__NR_fadvise64_64]: Make code unconditional.
29683 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
29684 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
29685 !__NR_fadvise64_64)]: Likewise.
29686 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
29687 !__NR_fadvise64_64))]: Likewise.
29688 [__NR_fadvise64]: Make code unconditional.
29689 [!__NR_fadvise64]: Remove conditional code.
29690 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
29691 <kernel-features.h>.
29692 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29694 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
29697 not include <kernel-features.h>.
29698 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29700 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29702 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
29703 include <kernel-features.h>.
29704 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29706 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29709 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
29711 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
29712 slight instruction rearrangements per scrollpipe analysis.
29713 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
29715 2012-08-20 Roland McGrath <roland@hack.frob.com>
29717 * manual/syslog.texi (syslog; vsyslog, closelog):
29718 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
29719 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
29721 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
29722 DSOCAPS to match condition on defining it.
29724 2012-08-20 Joseph Myers <joseph@codesourcery.com>
29726 * sysdeps/unix/sysv/linux/kernel-features.h
29727 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
29728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
29729 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29730 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
29732 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29733 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
29735 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29736 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29738 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
29739 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
29741 * sysdeps/unix/sysv/linux/kernel-features.h
29742 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
29743 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
29745 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29746 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
29747 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29748 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29749 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
29750 Make code unconditional.
29751 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29752 (__mmap64) [!__NR_mmap2]: Likewise.
29753 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
29754 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29755 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29756 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
29757 [__NR_mmap2]: Make code unconditional.
29758 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29759 (__mmap64) [!__NR_mmap2]: Likewise.
29761 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29763 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
29765 2012-08-18 Andreas Jaeger <aj@suse.de>
29767 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
29769 2012-08-18 Mike Frysinger <vapier@gentoo.org>
29771 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
29772 * include/unistd.h (__have_sock_cloexec): Likewise.
29773 (__have_pipe2): Likewise.
29774 (__have_dup3): Likewise.
29776 2012-08-18 Mike Frysinger <vapier@gentoo.org>
29779 * include/unistd.h (__have_pipe2): Change define into an extern int.
29780 (__have_dup3): Likewise.
29781 * socket/have_sock_cloexec.c: Include fcntl.h.
29782 (__have_pipe2): New variable.
29783 (__have_dup3): Likewise.
29785 2012-08-17 Mike Frysinger <vapier@gentoo.org>
29787 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
29789 2012-08-17 Marek Polacek <polacek@redhat.com>
29791 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
29792 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
29794 2012-08-17 Roland McGrath <roland@hack.frob.com>
29796 * configure.in: Add AC_SUBST for sysheaders.
29797 * configure: Regenerated.
29798 * config.make.in (sysheaders): New substituted variable.
29800 * sysdeps/unix/mkfifo.c: Moved ...
29801 * sysdeps/posix/mkfifo.c: ... here.
29802 * sysdeps/unix/mkfifoat.c: Moved ...
29803 * sysdeps/posix/mkfifoat.c: ... here.
29805 * sysdeps/unix/utime.c: Moved ...
29806 * sysdeps/posix/utime.c: ... here.
29808 * sysdeps/unix/time.c: Moved ...
29809 * sysdeps/posix/time.c: ... here.
29810 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
29811 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
29813 * sysdeps/unix/nice.c: Moved ...
29814 * sysdeps/posix/nice.c: ... here.
29816 * sysdeps/unix/alarm.c: Moved ...
29817 * sysdeps/posix/alarm.c: ... here.
29819 * intl/Makefile ($(codeset_mo)): Depend on the input file.
29821 2012-08-17 Jeff Law <law@redhat.com>
29823 * intl/Makefile (codeset_mo): New variable.
29824 ($(codeset_mo)): New target.
29825 (tst-codeset.out): Depend on that. Remove explicit rule.
29826 (tst-gettext3.out, tst-gettext5.out): Likewise.
29827 (LOCPATH-ENV, tst-codeset-ENV): New variables.
29828 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
29829 * intl/tst-codeset.sh: Remove.
29830 * intl/tst-gettext3.sh: Likewise.
29831 * intl/tst-gettext5.sh: Likewise.
29833 2012-08-17 Roland McGrath <roland@hack.frob.com>
29835 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
29836 * sysdeps/unix/syscalls.list: ... here.
29838 * sysdeps/posix/getaddrinfo.c
29839 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
29840 (gaiconf_init, gaiconf_reload): Use them.
29841 [!_STATBUF_ST_NSEC]
29842 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
29843 Define using time_t rather than struct timespec.
29845 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
29846 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
29848 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
29850 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
29851 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
29854 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
29855 __libc_cleanup_push argument.
29857 * bits/param.h: New file.
29858 * misc/sys/param.h: New file.
29859 * include/sys/param.h: New file.
29860 * misc/Makefile (headers): Add bits/param.h.
29861 * sysdeps/generic/sys/param.h: File removed.
29862 * sysdeps/unix/sysv/linux/bits/param.h: New file.
29863 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
29864 * sysdeps/mach/hurd/bits/param.h: New file.
29865 * sysdeps/mach/hurd/sys/param.h: File removed.
29867 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
29870 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
29872 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
29873 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
29876 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
29877 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
29878 rather than -D_IO_MTSAFE_IO conditionally.
29879 * stdio-common/Makefile (CPPFLAGS): Likewise.
29880 * wcsmbs/Makefile (CPPFLAGS): Likewise.
29881 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
29882 Use $(libio-mtsafe).
29883 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
29884 of -D_IO_MTSAFE_IO.
29885 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
29886 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
29887 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
29888 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
29889 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
29890 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
29891 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
29892 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
29893 (CFLAGS-fread_u_chk.c): Likewise.
29894 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
29895 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
29896 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
29897 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
29898 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
29899 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
29900 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
29901 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
29902 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
29904 * libio/Makefile: Test [$(libc-reentrant) = yes]
29905 instead of [$(filter %REENTRANT, $(defines)) nonempty].
29908 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
29909 * sysdeps/pthread/configure: File removed.
29910 * sysdeps/pthread/Makeconfig: New file.
29911 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
29912 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
29914 2012-08-16 Gary Benson <gbenson@redhat.com>
29916 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
29917 unmapping the first object in a namespace.
29919 2012-08-16 Roland McGrath <roland@hack.frob.com>
29921 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
29922 (__internal_setnetgrent): ... this. Add internal_function to
29923 definition. Add libc_hidden_def.
29924 (setnetgrent): Update caller.
29925 (internal_endnetgrent): Renamed to ...
29926 (__internal_endnetgrent): ... this. Add internal_function to
29927 definition. Add libc_hidden_def.
29928 (endnetgrent): Update caller.
29929 (internal_getnetgrent_r): Renamed to ...
29930 (__internal_getnetgrent_r): ... this. Add internal_function to
29931 definition. Add libc_hidden_def.
29932 (__getnetgrent_r): Update caller.
29933 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
29935 2012-08-16 Joseph Myers <joseph@codesourcery.com>
29937 * stdlib/longlong.h: Update from GCC.
29939 2012-08-16 Roland McGrath <roland@hack.frob.com>
29941 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
29942 on _QL, which is set by umul_ppmm but never used.
29943 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
29944 variables, which are set by GMP macros but never used.
29945 * stdio-common/_itowa.c (_itowa): Likewise.
29946 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
29947 * stdlib/mod_1.c (mpn_mod_1): Likewise.
29949 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
29951 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
29952 struct La_sh_regs is not constant.
29953 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
29954 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
29955 and struct La_sparc64_regs are not constant.
29957 2012-08-16 Joseph Myers <joseph@codesourcery.com>
29959 * sysdeps/unix/sysv/linux/kernel-features.h
29960 (__ASSUME_POSIX_TIMERS): Remove.
29961 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29962 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29963 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
29964 Make code unconditional.
29965 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29966 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
29967 Make code unconditional.
29968 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29969 * sysdeps/unix/sysv/linux/clock_nanosleep.c
29970 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
29971 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29972 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
29973 Make code unconditional.
29974 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29975 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
29976 (__libc_missing_posix_timers): Remove.
29978 2012-08-15 Roland McGrath <roland@hack.frob.com>
29980 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
29981 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
29983 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
29985 * elf/dl-sym.c: Include <stdlib.h>.
29987 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
29988 constants, which avoids warnings in 32-bit builds.
29990 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
29991 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
29993 * misc/lseek.c: File moved to ...
29994 * io/lseek.c: ... here.
29996 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
29998 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
29999 shifting LEN more than 31 bits at once.
30001 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30004 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
30005 segmentation fault for a case of two empty input strings.
30006 * string/test-strncasecmp.c (check1): Renamed to...
30007 (bz12205): ...this.
30008 (bz14195): Add new testcase for two empty input strings and N > 0.
30009 (test_main): Call new testcase, adapt for renamed function.
30011 2012-08-15 Andreas Jaeger <aj@suse.de>
30014 * crypt/md5test2.c: New test, based on test supplied by Serge
30015 Belyshev <belyshev@depni.sinp.msu.ru>.
30016 * crypt/Makefile (xtests): Add md5test-giant..
30017 * crypt/Makefile ($(objpfx)md5test-giant): Add.
30019 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
30022 * crypt/md5.c (md5_process_block): Don't assume the buffer
30023 length is less than 2**32.
30024 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
30025 length is less than 2**64.
30027 2012-08-15 Roland McGrath <roland@hack.frob.com>
30029 * string/str-two-way.h: Include <sys/param.h>.
30030 (MAX): Macro removed.
30032 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
30033 Move #define and #undef of memmove to just before and after
30034 including <string.h>.
30036 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
30037 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
30038 and after including <string.h>. Move declarations of
30039 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
30040 to before #include "string/memmove.c".
30042 * include/dirent.h: Declare __getdirentries.
30044 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
30045 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
30047 2012-08-14 Mike Frysinger <vapier@gentoo.org>
30049 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
30050 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
30051 * sysdeps/i386/configure: Regenerated.
30052 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
30053 STABS_CURRENT_FILE, and STABS_FUN.
30054 (END): Remove call to STABS_FUN_END.
30055 (STABS_CURRENT_FILE1): Delete.
30056 (STABS_CURRENT_FILE): Likewise.
30057 (STABS_FUN): Likewise.
30058 (STABS_FUN_END): Likewise.
30059 (STABS_FUN2): Likewise.
30060 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
30061 * sysdeps/x86_64/configure: Regenerated.
30063 2012-08-14 Roland McGrath <roland@hack.frob.com>
30065 * elf/dl-open.c: Include <atomic.h>.
30066 * elf/dl-lookup.c: Likewise.
30068 2012-08-14 Joseph Myers <joseph@codesourcery.com>
30070 * sysdeps/unix/sysv/linux/kernel-features.h
30071 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
30072 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
30074 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
30076 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
30077 condition on __ASSUME_CLONE_THREAD_FLAGS.
30079 2012-08-14 Andreas Jaeger <aj@suse.de>
30081 * sysdeps/i386/fpu/libm-test-ulps: Update.
30083 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
30085 * include/atomic.h (atomic_exchange_and_add): Split into ...
30086 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
30089 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
30091 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30093 2012-08-13 Jeff Law <law@redhat.com>
30095 * manual/stdio.texi (snprintf): Clarify handling of the trailing
30096 null byte in the output string.
30098 2012-08-10 Joseph Myers <joseph@codesourcery.com>
30100 * sysdeps/unix/sysv/linux/kernel-features.h
30101 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
30102 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
30103 (__ASSUME_ARG_MAX_STACK_BASED): Define.
30104 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
30105 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
30106 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
30107 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
30109 2012-08-09 Jeff Law <law@redhat.com>
30112 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
30113 When avoid_arena is set, don't retry in the that arena. Pick the
30114 next one, whatever it might be.
30115 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
30116 (arena_lock): Pass in new parameter to arena_get2.
30117 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
30119 (__libc_malloc): Unify retrying after main arena failure with
30120 __libc_memalign version.
30121 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
30123 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
30126 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
30127 to __redirect_strstr.
30128 (__strstr_sse42): Use typeof __redirect_strstr.
30129 (__strstr_ia32): Likewise.
30130 (__libc_strstr): New prototype.
30131 (strstr): Renamed to ...
30132 (__libc_strstr): This.
30133 (strstr): New strong alias of __libc_strstr.
30134 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
30135 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
30138 (__libc_time): New prototype.
30139 (time_ifunc): Replace time with __libc_time.
30140 (time): New strong alias and hidden definition of __libc_time.
30141 (__GI_time): Remove strong alias.
30142 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
30143 Include <stddef.h>.
30144 (memmove): Redefined to __redirect_memmove.
30145 (__memmove_sse2): Use typeof __redirect_memmove.
30146 (__memmove_ssse3): Likewise.
30147 (__memmove_ssse3_back): Likewise.
30148 (__libc_memmove): New prototype.
30149 (memmove): Renamed to ...
30150 (__libc_memmove): This.
30151 (memmove): New strong alias of __libc_memmove.
30153 2012-08-08 Mark Salter <msalter@redhat.com>
30156 (R_MN10300_TLS_GD): Define.
30157 (R_MN10300_TLS_LD): Likewise.
30158 (R_MN10300_TLS_LDO): Likewise.
30159 (R_MN10300_TLS_GOTIE): Likewise.
30160 (R_MN10300_TLS_IE): Likewise.
30161 (R_MN10300_TLS_LE): Likewise.
30162 (R_MN10300_TLS_DTPMOD): Likewise.
30163 (R_MN10300_TLS_DTPOFF): Likewise.
30164 (R_MN10300_TLS_TPOFF): Likewise.
30165 (R_MN10300_SYM_DIFF): Likewise.
30166 (R_MN10300_ALIGN): Likewise.
30167 (R_MN10300_NUM): Update.
30169 2012-08-08 Joseph Myers <joseph@codesourcery.com>
30171 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
30174 2012-08-08 Roland McGrath <roland@hack.frob.com>
30176 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
30178 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
30179 sysdeps/unix -> sysdeps/posix move.
30180 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
30182 2012-08-07 Allan McRae <allan@archlinux.org>
30185 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
30186 (SUNOS_CPP): Likewise.
30187 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
30189 (open_input): Call CPP using execvp.
30191 2012-08-07 Joseph Myers <joseph@codesourcery.com>
30193 * sysdeps/unix/sysv/linux/kernel-features.h
30194 (__ASSUME_PROT_GROWSUPDOWN): Remove.
30195 (__ASSUME_NO_CLONE_DETACHED): Likewise.
30196 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
30197 (__ASSUME_WAITID_SYSCALL): Likewise.
30198 * sysdeps/unix/sysv/linux/dl-execstack.c
30199 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
30200 code unconditional.
30201 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
30203 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
30204 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
30205 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
30207 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
30209 [__ASSUME_WAITID_SYSCALL]: Likewise.
30210 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
30212 2012-08-07 Roland McGrath <roland@hack.frob.com>
30214 * sysdeps/unix/closedir.c: Renamed to ...
30215 * sysdeps/posix/closedir.c: ... here.
30216 * sysdeps/unix/dirfd.c: Renamed to ...
30217 * sysdeps/posix/dirfd.c: ... here.
30218 * sysdeps/unix/dirstream.h: Renamed to ...
30219 * sysdeps/posix/dirstream.h: ... here.
30220 * sysdeps/unix/fdopendir.c: Renamed to ...
30221 * sysdeps/posix/fdopendir.c: ... here.
30222 * sysdeps/unix/opendir.c: Renamed to ...
30223 * sysdeps/posix/opendir.c: ... here.
30224 * sysdeps/unix/readdir.c: Renamed to ...
30225 * sysdeps/posix/readdir.c: ... here.
30226 * sysdeps/unix/readdir_r.c: Renamed to ...
30227 * sysdeps/posix/readdir_r.c: ... here.
30228 * sysdeps/unix/rewinddir.c: Renamed to ...
30229 * sysdeps/posix/rewinddir.c: ... here.
30230 * sysdeps/unix/seekdir.c: Renamed to ...
30231 * sysdeps/posix/seekdir.c: ... here.
30232 * sysdeps/unix/telldir.c: Renamed to ...
30233 * sysdeps/posix/telldir.c: ... here.
30234 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
30235 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
30236 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
30237 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
30239 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
30240 * bits/fcntl.h: ... here.
30242 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
30244 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
30245 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
30246 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
30247 (struct flock): Move l_start, l_len to the beginning.
30248 Use __pid_t for l_pid.
30249 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
30250 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
30251 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
30252 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
30253 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
30254 [__USE_LARGEFILE64] (struct flock64): New type.
30255 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
30257 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
30258 * bits/dirent.h: ... here.
30260 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
30261 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
30263 2012-08-07 Joseph Myers <joseph@codesourcery.com>
30265 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30266 Change from 2.6.0 to 2.6.16.
30267 * sysdeps/unix/sysv/linux/configure: Regenerated.
30268 * sysdeps/unix/sysv/linux/kernel-features.h
30269 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
30270 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
30272 (__ASSUME_UTIMES): Likewise.
30273 (__ASSUME_CLONE_STOPPED): Remove.
30274 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
30275 architectures, not kernel version.
30276 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
30277 (__ASSUME_NO_CLONE_DETACHED): Likewise.
30278 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
30279 (__ASSUME_WAITID_SYSCALL): Likewise.
30280 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
30281 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
30282 * README: State 2.6.16 as minimum Linux kernel version. Do not
30283 refer to older versions.
30285 2012-08-06 Roland McGrath <roland@hack.frob.com>
30287 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
30288 Define alphasort64 as an alias.
30289 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
30290 Define versionsort64 as an alias.
30291 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
30292 Define scandir64 as an alias.
30293 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
30294 Define scandirat64 as an alias.
30295 * dirent/alphasort64.c (alphasort64):
30296 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
30297 * dirent/versionsort64.c: Likewise.
30298 * dirent/scandir64.c: Likewise.
30299 * dirent/scandirat64.c: Likewise.
30300 * sysdeps/wordsize-64/alphasort.c: File removed.
30301 * sysdeps/wordsize-64/alphasort64.c: File removed.
30302 * sysdeps/wordsize-64/scandir.c: File removed.
30303 * sysdeps/wordsize-64/scandir64.c: File removed.
30304 * sysdeps/wordsize-64/scandirat.c: File removed.
30305 * sysdeps/wordsize-64/scandirat64.c: File removed.
30306 * sysdeps/wordsize-64/versionsort.c: File removed.
30307 * sysdeps/wordsize-64/versionsort64.c: File removed.
30308 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
30309 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
30310 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
30311 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
30312 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
30313 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
30314 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
30315 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
30317 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
30318 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
30319 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
30320 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30321 [defined __arch64__ || defined __sparcv9]
30322 (__INO_T_MATCHES_INO64_T): New macro.
30323 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30324 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
30325 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
30326 * sysdeps/unix/sysv/linux/bits/dirent.h
30327 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
30328 (_DIRENT_MATCHES_DIRENT64): New macro.
30330 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
30331 Define lockf64 as an alias.
30332 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
30333 Define fseeko64 as an alias.
30334 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
30335 Define ftello64 as an alias.
30336 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
30337 Define _IO_fgetpos64 and fgetpos64 as aliases.
30338 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
30339 Define _IO_fsetpos64 and fsetpos64 as aliases.
30340 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
30341 Conditionalize body on this.
30342 * libio/fseeko64.c: Likewise.
30343 * libio/ftello64.c: Likewise.
30344 * libio/iofgetpos64.c: Likewise.
30345 * libio/iofsetpos64.c: Likewise.
30346 * sysdeps/wordsize-64/lockf.c: File removed.
30347 * sysdeps/wordsize-64/lockf64.c: File removed.
30348 * sysdeps/wordsize-64/fseeko.c: File removed.
30349 * sysdeps/wordsize-64/fseeko64.c: File removed.
30350 * sysdeps/wordsize-64/ftello.c: File removed.
30351 * sysdeps/wordsize-64/ftello64.c: File removed.
30352 * sysdeps/wordsize-64/iofgetpos.c: File removed.
30353 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
30354 * sysdeps/wordsize-64/iofsetpos.c: File removed.
30355 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
30356 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
30357 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
30358 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
30359 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
30360 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
30361 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
30362 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
30363 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
30364 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
30365 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
30367 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30368 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
30369 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
30370 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30371 [defined __arch64__ || defined __sparcv9]
30372 (__OFF_T_MATCHES_OFF64_T): New macro.
30373 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30374 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30375 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30376 (__OFF_T_MATCHES_OFF64_T): New macro.
30378 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
30380 * stdlib/secure-getenv.c (__secure_getenv): Replace
30381 GLIBC_2_16 with GLIBC_2_17.
30383 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
30385 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
30386 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
30388 2012-08-03 David S. Miller <davem@davemloft.net>
30390 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30392 2012-08-03 Joseph Myers <joseph@codesourcery.com>
30394 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
30396 (__ASSUME_CORRECT_SI_PID): Likewise.
30397 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
30398 (__ASSUME_TMPFS_NAME): Likewise.
30399 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
30400 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
30401 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
30402 (HAVE_AUX_SECURE): Make definition unconditional.
30403 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
30404 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
30406 2012-08-03 Roland McGrath <roland@hack.frob.com>
30408 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
30409 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
30410 * sysdeps/mach/hurd/eloop-threshold.h: New file.
30411 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
30412 __eloop_threshold instead of SYMLOOP_MAX.
30414 * sysdeps/generic/eloop-threshold.h: New file.
30415 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
30417 * elf/chroot_canon.c (chroot_canon): Likewise.
30419 2012-08-03 Joseph Myers <joseph@codesourcery.com>
30422 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30423 Change to 2.6.0 everywhere.
30424 * sysdeps/unix/sysv/linux/configure: Regenerated.
30425 * sysdeps/unix/sysv/linux/kernel-features.h
30426 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
30427 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
30429 (__ASSUME_POSIX_TIMERS): Define unconditionally.
30430 (__ASSUME_FUTEX_REQUEUE): Remove.
30431 (__ASSUME_STATFS64): Define unconditionally.
30432 (__ASSUME_AT_SECURE): Likewise.
30433 (__ASSUME_CORRECT_SI_PID): Likewise.
30434 (__ASSUME_TGKILL): Define without depending on kernel version for
30436 (__ASSUME_UTIMES): Likewise.
30437 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
30439 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
30440 (__ASSUME_TMPFS_NAME): Likewise.
30441 * README: Update reference to Linux kernel versions.
30443 2012-08-02 Marek Polacek <polacek@redhat.com>
30446 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
30447 libc_cv_asm_type_prefix with %.
30448 * configure: Regenerated.
30449 * include/libc-symbols.h: Remove comment about
30450 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
30451 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
30452 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
30453 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
30454 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
30455 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
30456 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
30457 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
30458 * elf/tst-unique2mod1.c: Likewise.
30459 * elf/tst-unique1mod2.c: Likewise.
30460 * elf/tst-unique1mod1.c: Likewise.
30461 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
30462 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
30463 Replace ASM_TYPE_DIRECTIVE with .type.
30464 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30465 * sysdeps/i386/sysdep.h: Likewise.
30466 * sysdeps/x86_64/sysdep.h: Likewise.
30467 * sysdeps/sh/sysdep.h: Likewise.
30468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
30469 Do not define ASM_TYPE_DIRECTIVE.
30470 * sysdeps/powerpc/sysdep.h: Likewise.
30471 * sysdeps/powerpc/powerpc32/sysdep.h:
30472 Replace ASM_TYPE_DIRECTIVE with .type.
30473 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
30474 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30475 * sysdeps/i386/fpu/e_powf.S: Likewise.
30476 * sysdeps/i386/fpu/e_expl.S: Likewise.
30477 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30478 * sysdeps/i386/fpu/e_acosh.S: Likewise.
30479 * sysdeps/i386/fpu/e_pow.S: Likewise.
30480 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30481 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30482 * sysdeps/i386/fpu/s_expm1.S: Likewise.
30483 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30484 * sysdeps/i386/fpu/e_log2.S: Likewise.
30485 * sysdeps/i386/fpu/e_log2l.S: Likewise.
30486 * sysdeps/i386/fpu/e_scalb.S: Likewise.
30487 * sysdeps/i386/fpu/e_powl.S: Likewise.
30488 * sysdeps/i386/fpu/e_log10f.S: Likewise.
30489 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30490 * sysdeps/i386/fpu/e_logl.S: Likewise.
30491 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30492 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30493 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30494 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30495 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30496 * sysdeps/i386/fpu/e_log.S: Likewise.
30497 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30498 * sysdeps/i386/fpu/e_logf.S: Likewise.
30499 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30500 * sysdeps/i386/fpu/e_atanh.S: Likewise.
30501 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30502 * sysdeps/i386/fpu/e_log10.S: Likewise.
30503 * sysdeps/i386/fpu/s_frexp.S: Likewise.
30504 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30505 * sysdeps/i386/fpu/s_asinh.S: Likewise.
30506 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30507 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30508 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
30509 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30510 * sysdeps/i386/i686/strtok.S: Likewise.
30511 * sysdeps/i386/i386-mcount.S: Likewise.
30512 * sysdeps/i386/strtok.S: Likewise.
30513 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
30514 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30515 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30516 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30517 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
30518 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30519 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30520 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30521 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30522 * sysdeps/x86_64/_mcount.S: Likewise.
30523 * sysdeps/x86_64/strtok.S: Likewise.
30524 * sysdeps/sh/_mcount.S: Likewise.
30526 2012-08-01 Roland McGrath <roland@hack.frob.com>
30528 * libio/iofopen.c: Include <fcntl.h>.
30529 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
30530 (_IO_fopen64, fopen64): Define as aliases.
30531 * libio/iofopen64.c: Include <fcntl.h>.
30532 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
30533 Conditionalize body on this.
30534 * sysdeps/wordsize-64/iofopen.c: File removed.
30535 * sysdeps/wordsize-64/iofopen64.c: File removed.
30537 2012-08-01 Marek Polacek <polacek@redhat.com>
30539 * libc/Makeconfig: Use elf in place of binfmt-subdir.
30540 Use dlfcn directly instead of a variable.
30541 (binfmt-subdir): Do not define.
30544 2012-08-01 Joseph Myers <joseph@codesourcery.com>
30546 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
30547 Remove all definitions.
30548 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
30549 <kernel-features.h>.
30550 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30551 (miss_F_GETOWN_EX): Remove all definitions.
30552 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
30554 [!__ASSUME_FCNTL64]: Remove conditional code.
30555 [__ASSUME_FCNTL64]: Make code unconditional.
30556 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
30557 <kernel-features.h>.
30558 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30559 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
30560 (lockf64) [__NR_fcntl64]: Make code unconditional.
30561 (lockf64) [__ASSUME_FCNTL64]: Likewise.
30563 * sysdeps/unix/sysv/linux/kernel-features.h
30564 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
30565 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
30566 Make code unconditional.
30567 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30568 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
30570 [__NR_vfork]: Make code unconditional.
30571 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30572 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
30574 [__NR_vfork]: Make code unconditional.
30575 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30576 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30578 2012-08-01 Roland McGrath <roland@hack.frob.com>
30580 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
30581 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
30583 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30584 Define mkstemp64 as an alias.
30585 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30586 Define mkstemps64 as an alias.
30587 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30588 Define mkostemp64 as an alias.
30589 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30590 Define mkostemps64 as an alias.
30591 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
30592 Conditionalize body on this.
30593 * misc/mkostemp64.c: Likewise.
30594 * misc/mkostemps64.c: Likewise.
30595 * misc/mkstemps64.c: Likewise.
30596 * sysdeps/wordsize-64/mkstemp64.c: File removed.
30597 * sysdeps/wordsize-64/mkostemp64.c: File removed.
30598 * sysdeps/wordsize-64/mkostemp.c: File removed.
30599 * sysdeps/wordsize-64/mkstemp.c: File removed.
30600 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
30601 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
30602 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
30603 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
30606 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
30607 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
30608 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
30609 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
30611 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
30612 compat_symbol macros from <shlib-compat.h> rather than the underlying
30613 default_symbol_version and symbol_version macros, so that DEFAULT
30614 lines in shlib-versions are respected.
30615 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
30617 2012-08-01 Florian Weimer <fweimer@redhat.com>
30619 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
30620 Declare with warn_unused_result.
30621 (setgid, setregid, setegid, setresgid): Likewise.
30622 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
30624 * WUR-REPORT: Remove set*id functions.
30626 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
30628 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
30630 2012-07-31 Roland McGrath <roland@hack.frob.com>
30633 * include/sys/socket.h (__libc_accept, __libc_accept4):
30634 Add attribute_hidden.
30635 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
30637 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
30639 * inet/getnetgrent_r.c (setup): Likewise.
30641 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
30643 2012-07-31 David S. Miller <davem@davemloft.net>
30645 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30647 2012-07-31 Joseph Myers <joseph@codesourcery.com>
30650 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
30651 value between 1.0 and 2.0 and smaller part has absolute value less
30653 * math/s_clog10.c (__clog10): Likewise.
30654 * math/s_clog10f.c (__clog10f): Likewise.
30655 * math/s_clog10l.c (__clog10l): Likewise.
30656 * math/s_clogf.c (__clogf): Likewise.
30657 * math/s_clogl.c (__clogl): Likewise.
30658 * math/libm-test.inc (clog_test): Add more tests.
30659 (clog10_test): Likewise.
30660 * sysdeps/i386/fpu/libm-test-ulps: Update.
30661 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30663 2012-07-31 Florian Weimer <fweimer@redhat.com>
30665 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
30666 Exit with zero in case no suitable GID is found, and write a
30667 message to standard error.
30669 2012-07-30 Roland McGrath <roland@hack.frob.com>
30671 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
30673 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
30674 (MAXPATHLEN): Removed.
30675 (NOGROUP, NODEV): New macros.
30676 (setbit, clrbit, isset, isclr): New macros.
30677 (howmany, roundup, powerof2): New macros.
30678 (DEV_BSIZE): New macro.
30680 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
30681 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
30683 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
30684 definition on [!__NO_LONG_DOUBLE_MATH].
30686 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
30687 PTR_MANGLE and PTR_DEMANGLE.
30689 * socket/accept4.c (accept4): Rename to __libc_accept4.
30690 Define accept4 as a weak alias.
30692 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
30693 on [_DIRENT_HAVE_D_TYPE].
30694 * io/ftw.c (ftw_dir): Likewise.
30696 * io/xmknod.c (__xmknod): Don't check PATH for being null.
30698 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
30700 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
30701 Use the BSD numbers rather than the arbitrary ones we had.
30702 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
30703 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
30704 (SIGXCPU, SIGXFSZ): New macros.
30707 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
30708 initializer on [_LIBC_REENTRANT].
30710 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
30711 definitions inside [_POSIX_MAPPED_FILES].
30713 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
30715 * dirent/opendir.c: Include <fcntl.h>.
30717 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
30718 (__libc_getspecific): Likewise.
30719 (__libc_key_create): Likewise.
30721 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
30722 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
30723 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
30724 (tmpfile64): Define as alias.
30725 * sysdeps/wordsize-64/tmpfile.c: File removed.
30726 * sysdeps/wordsize-64/tmpfile64.c: File removed.
30727 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
30728 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
30730 * stdio-common/vfscanf.c: Include <stdbool.h>.
30731 * nss/makedb.c: Likewise.
30732 * stdio-common/_i18n_number.h: Likewise.
30733 * argp/argp-help.c: Likewise.
30734 * posix/wordexp.c: Likewise.
30735 * sysdeps/posix/spawni.c: Likewise.
30736 * nss/nss_files/files-initgroups.c: Likewise.
30737 * stdio-common/reg-modifier.c: Include <stdlib.h>.
30738 * nss/nss_files/files-initgroups.c: Likewise.
30739 * nss/nss_db/db-netgrp.c: Likewise.
30740 * nss/nss_db/db-initgroups.c: Likewise.
30741 * io/fchmodat.c: Include <sys/stat.h>.
30743 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
30744 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
30746 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
30749 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
30750 Add multiple inclusion protection.
30752 2012-07-27 David S. Miller <davem@davemloft.net>
30754 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30756 2012-07-27 Gary Benson <gbenson@redhat.com>
30759 * elf/rtld.c: Include <stap-probe.h>.
30760 (dl_main): Added static probes "init_start" and "init_complete".
30761 * elf/dl-load.c: Include <stap-probe.h>.
30762 (lose): Take new parameter "nsid".
30763 Added static probe "map_failed".
30764 (_dl_map_object_from_fd): Pass namespace id to lose.
30765 Added static probe "map_start".
30766 (open_verify): Pass namespace id to lose.
30767 * elf/dl-open.c: Include <stap-probe.h>.
30768 (dl_open_worker) Added static probes "map_complete", "reloc_start"
30769 and "reloc_complete".
30770 * elf/dl-close.c: Include <stap-probe.h>.
30771 (_dl_close_worker): Added static probes "unmap_start" and
30773 * elf/rtld-debugger-interface.txt: New file documenting the above.
30775 2012-07-26 Roland McGrath <roland@hack.frob.com>
30777 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
30778 rather than a string variable.
30779 * sunrpc/rpc_main.c (h_output): Likewise.
30780 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
30782 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
30784 * inet/check_native.c: New file.
30786 2012-07-26 Joseph Myers <joseph@codesourcery.com>
30789 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
30790 if larger part has absolute value 1.0.
30791 * math/s_clog10.c (__clog10): Likewise.
30792 * math/s_clog10f.c (__clog10f): Likewise.
30793 * math/s_clog10l.c (__clog10l): Likewise.
30794 * math/s_clogf.c (__clogf): Likewise.
30795 * math/s_clogl.c (__clogl): Likewise.
30796 * math/libm-test.inc (clog_test): Add more tests.
30797 (clog10_test): Likewise.
30798 * sysdeps/i386/fpu/libm-test-ulps: Update.
30799 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30801 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
30802 (pltexit): Likewise.
30803 (La_regs): Likewise.
30804 (La_retval): Likewise.
30805 (int_retval): Likewise.
30806 Update #error for removed macros to refer only to definitions in
30808 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
30810 (pltexit): Likewise.
30811 (La_regs): Likewise.
30812 (La_retval): Likewise.
30813 (int_retval): Likewise.
30814 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
30816 (pltexit): Likewise.
30817 (La_regs): Likewise.
30818 (La_retval): Likewise.
30819 (int_retval): Likewise.
30820 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
30822 (pltexit): Likewise.
30823 (La_regs): Likewise.
30824 (La_retval): Likewise.
30825 (int_retval): Likewise.
30826 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
30828 (pltexit): Likewise.
30829 (La_regs): Likewise.
30830 (La_retval): Likewise.
30831 (int_retval): Likewise.
30832 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
30834 (pltexit): Likewise.
30835 (La_regs): Likewise.
30836 (La_retval): Likewise.
30837 (int_retval): Likewise.
30838 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
30840 (pltexit): Likewise.
30841 (La_regs): Likewise.
30842 (La_retval): Likewise.
30843 (int_retval): Likewise.
30844 * sysdeps/generic/tst-audit.h: Update comment to refer only to
30845 macro definitions in tst-audit.h.
30846 * sysdeps/i386/tst-audit.h: New file.
30847 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
30848 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
30849 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
30850 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
30851 * sysdeps/sh/tst-audit.h: Likewise.
30852 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
30853 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
30854 * sysdeps/x86_64/tst-audit.h: Likewise.
30856 2012-07-26 Andreas Jaeger <aj@suse.de>
30858 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
30861 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
30862 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
30863 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
30865 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
30866 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
30867 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
30869 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
30872 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
30874 (si_call_addr, si_syscall, si_arch): Define new macro.
30875 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
30877 (si_call_addr, si_syscall, si_arch): Define new marcro.
30878 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
30880 (si_call_addr, si_syscall, si_arch): Define new macro.
30881 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
30883 (si_call_addr, si_syscall, si_arch): Define new macro.
30885 2012-07-25 Joseph Myers <joseph@codesourcery.com>
30888 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30889 Change to 2.4.21 where previously 2.4.1.
30890 * sysdeps/unix/sysv/linux/configure: Regenerated.
30891 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
30892 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
30893 Linux kernel version.
30894 (__ASSUME_STD_AUXV): Remove.
30895 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
30897 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
30898 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
30899 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
30900 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
30901 (__ASSUME_NETLINK_SUPPORT): Likewise.
30902 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
30903 (__no_netlink_support): Remove conditional definition.
30904 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
30906 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
30907 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
30908 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
30909 (if_nameindex_ioctl): Remove.
30910 (if_nameindex_netlink): Do not handle __no_netlink_support.
30911 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
30913 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
30914 Remove conditional code.
30915 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
30917 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
30919 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
30920 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
30921 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
30923 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
30924 [!__ASSUME_STD_AUXV]: Remove conditional code.
30925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
30926 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
30927 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
30928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
30929 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
30930 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
30932 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
30933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
30934 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
30935 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
30937 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
30938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
30939 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
30941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
30942 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
30944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
30945 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30946 code unconditional.
30947 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30949 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30951 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
30954 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30956 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
30959 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30960 code unconditional.
30961 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30963 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30965 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
30968 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30969 code unconditional.
30970 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30972 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30974 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30977 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
30979 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
30980 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
30981 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
30982 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
30983 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
30984 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
30985 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
30986 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
30987 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
30988 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
30989 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
30990 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
30991 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
30992 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
30993 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
30994 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
30995 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
30996 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
30997 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
30998 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
30999 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
31000 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
31001 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
31003 2012-07-25 Florian Weimer <fweimer@redhat.com>
31005 * Versions.def: Add GLIBC_2.17.
31006 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
31007 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
31008 Introduce __libc_secure_getenv.
31009 * stdlib/Versions (2.17): Add secure_getenv
31010 (GLIBC_PRIVATE): Add __libc_secure_getenv.
31011 * stdlib/secure-getenv.c: Rename __secure_getenv to
31012 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
31013 symbol __secure_getenv for GLIBC_2.0.
31014 * stdlib/tst-secure-getenv.c: New.
31015 * stdlib/Makefile (tests): Add testcase.
31016 * manual/startup.texi (Environment Access): Document
31018 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
31019 __libc_secure_getenv.
31020 * inet/ruserpass.c (ruserpass): Likewise.
31021 * malloc/mtrace.c (mtrace): Likewise.
31022 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
31023 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
31024 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
31025 * sysdeps/posix/tempname.c: Likewise. Evaluate
31026 HAVE_SECURE_GETENV.
31027 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
31028 __secure_getenv to __libc_secure_getenv.
31029 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
31030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31034 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
31035 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
31036 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31037 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
31038 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
31039 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31040 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
31042 2012-07-25 Joseph Myers <joseph@codesourcery.com>
31044 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
31045 (struct La_i86_retval): Likewise.
31046 (struct La_x86_64_regs): Likewise.
31047 (struct La_x86_64_retval): Likewise.
31048 (struct La_x32_regs): Likewise.
31049 (struct La_x32_retval): Likewise.
31050 (struct La_ppc32_regs): Likewise.
31051 (struct La_ppc32_retval): Likewise.
31052 (struct La_ppc64_regs): Likewise.
31053 (struct La_ppc64_retval): Likewise.
31054 (struct La_sh_regs): Likewise.
31055 (struct La_sh_retval): Likewise.
31056 (struct La_s390_32_regs): Likewise.
31057 (struct La_s390_32_retval): Likewise.
31058 (struct La_s390_64_regs): Likewise.
31059 (struct La_s390_64_retval): Likewise.
31060 (struct La_sparc32_regs): Likewise.
31061 (struct La_sparc32_retval): Likewise.
31062 (struct La_sparc64_regs): Likewise.
31063 (struct La_sparc64_retval): Likewise.
31064 (struct audit_ifaces): Remove architecture-specific pltenter and
31066 * sysdeps/i386/ldsodefs.h: New file.
31067 * sysdeps/powerpc/ldsodefs.h: Likewise.
31068 * sysdeps/s390/ldsodefs.h: Likewise.
31069 * sysdeps/sh/ldsodefs.h: Likewise.
31070 * sysdeps/sparc/ldsodefs.h: Likewise.
31071 * sysdeps/x86_64/ldsodefs.h: Likewise.
31073 2012-07-25 Marek Polacek <polacek@redhat.com>
31076 * math/libm-test.inc (yn_test): Add another test.
31077 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
31078 to ERANGE when the result is +-Inf.
31079 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
31080 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
31081 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
31082 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
31084 2012-07-24 Joseph Myers <joseph@codesourcery.com>
31086 * conform/data/time.h-data (NULL): Use macro-constant. Require
31088 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
31090 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
31092 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
31094 * configure.in <sysdeps resolving>: Correct printing
31096 * configure: Regenerate.
31098 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
31100 * math/w_ilogb.c: Include <limits.h>.
31101 * math/w_ilogbl.c: Likewise.
31103 2012-07-20 Joseph Myers <joseph@codesourcery.com>
31105 * manual/lang.texi (__va_copy): Document primarily as ISO C99
31106 va_copy. Document allowing for unavailable va_copy only as
31107 pre-C99 compatibility.
31108 * manual/string.texi (Copying and Concatenation): Use va_copy
31109 instead of __va_copy in concat example.
31111 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
31113 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
31114 (__sendto): Use create_address_port. Initialize APORT and deallocate
31117 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
31118 with O_NOLINK passed to __file_name_lookup.
31120 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
31121 with O_NOLINK passed to __file_name_lookup.
31123 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
31124 negative N or less than NGIDS.
31126 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
31127 type to string_t. Set ERANGE as errno and return it if NAME is not big
31128 enough. Use memcpy instead of strncpy.
31130 2012-07-20 Joseph Myers <joseph@codesourcery.com>
31132 * elf/Makefile (check-data): Remove.
31133 (localplt.data): New vpath directive.
31134 ($(objpfx)check-localplt.out): Use localplt.data from vpath
31135 instead of $(check-data).
31136 * scripts/data/localplt-generic.data: Move to ...
31137 * sysdeps/generic/localplt.data: ... here.
31138 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
31139 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
31140 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
31141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
31143 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
31144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
31146 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
31147 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
31149 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
31150 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
31152 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
31153 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
31155 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
31156 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
31159 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31161 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
31162 PPC32 and PPC64 files.
31163 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
31164 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
31166 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31168 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
31169 __makecontext_ret to ...
31170 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
31171 ... here and call exit if uc_link is NULL. New file.
31172 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
31173 __makecontext_ret.S.
31174 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
31175 __makecontext_ret to ...
31176 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
31177 ... here and call exit if uc_link is NULL. New file.
31178 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
31179 __makecontext_ret.S.
31181 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31183 * elf/elf.h (R_390_IRELATIVE): New definition.
31184 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
31185 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
31186 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
31187 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
31188 (elf_machine_lazy_rel): Likewise.
31189 * sysdeps/s390/dl-irel.h: New file.
31190 * sysdeps/s390/s390-64/memcpy.S: New asm code.
31191 * sysdeps/s390/s390-64/memset.S: New asm code.
31192 * sysdeps/s390/s390-64/memcmp.S: New asm code.
31193 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
31194 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
31195 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
31196 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
31197 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
31198 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
31199 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
31200 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
31201 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
31202 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
31203 * sysdeps/s390/s390-32/memcpy.S: New asm code.
31204 * sysdeps/s390/s390-32/memset.S: New asm code.
31205 * sysdeps/s390/s390-32/memcmp.S: New asm code.
31207 2012-07-17 Marek Polacek <polacek@redhat.com>
31210 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
31211 * sysdeps/s390/s390-64/configure.in: Likewise.
31212 * sysdeps/sparc/configure.in: Likewise.
31213 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
31214 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
31215 * sysdeps/i386/configure.in: Likewise.
31216 * sysdeps/x86_64/configure.in: Likewise.
31217 * sysdeps/sh/configure.in: Likewise.
31218 * sysdeps/s390/s390-32/configure: Regenerated.
31219 * sysdeps/s390/s390-64/configure: Likewise.
31220 * sysdeps/x86_64/configure: Likewise.
31221 * sysdeps/sh/configure: Likewise.
31222 * sysdeps/powerpc/powerpc64/configure: Likewise.
31223 * sysdeps/powerpc/powerpc32/configure: Likewise.
31224 * sysdeps/sparc/configure: Likwise.
31225 * sysdeps/i386/configure: Likewise.
31227 * elf/dl-open.c: Comment fixes.
31229 2012-07-17 Joseph Myers <joseph@codesourcery.com>
31231 * Makefile [CXX] (check-data): Remove.
31232 [CXX] (c++-types.data): New vpath directive.
31233 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
31234 vpath. Do not allow for C++ type data being missing.
31235 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
31236 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
31237 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
31238 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
31239 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
31240 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
31241 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
31242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
31244 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
31245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
31247 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
31248 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
31250 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
31251 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
31253 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
31254 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
31256 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
31257 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
31259 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
31260 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
31262 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
31263 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
31265 * elf/tls-macros.h (TLS_LE): Move architecture-specific
31266 definitions to architecture-specific files.
31267 (TLS_IE): Likewise.
31268 (TLS_LD): Likewise.
31269 (TLS_GD): Likewise.
31270 * sysdeps/i386/tls-macros.h: New file.
31271 * sysdeps/powerpc/tls-macros.h: Likewise.
31272 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
31273 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
31274 * sysdeps/sh/tls-macros.h: Likewise.
31275 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
31276 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
31277 * sysdeps/x86_64/tls-macros.h: Likewise.
31279 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
31281 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
31282 zero value for regular exit case.
31284 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
31285 (__start_context): Preserve zero value for regular exit case.
31287 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
31288 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31290 * manual/setjmp.texi (setcontext): Clarify normal process
31291 termination when uc_link is the null pointer.
31292 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
31295 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
31297 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
31298 preprocessor. Test for each exception mask separately.
31300 2012-07-16 Andreas Jaeger <aj@suse.de>
31302 * po/ru.po: Update from translation team.
31304 2012-07-15 Joseph Myers <joseph@codesourcery.com>
31306 * conform/data/string.h-data (NULL): Use macro-constant. Require
31308 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
31309 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
31310 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
31311 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
31312 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31314 2012-07-13 Andreas Jaeger <aj@suse.de>
31316 * po/fr.po: Update from translation team.
31318 2012-07-12 Marek Polacek <polacek@redhat.com>
31321 * math/libm-test.inc (yn_test): Add test for BZ #14173.
31322 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
31325 2012-07-12 Joseph Myers <joseph@codesourcery.com>
31328 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31329 Change to 2.4.1 where previously 2.4.0.
31330 * sysdeps/unix/sysv/linux/configure: Regenerated.
31331 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
31332 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
31334 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
31335 (__ASSUME_AT_CLKTCK): Remove.
31336 (__ASSUME_AT_PAGESIZE): Likewise.
31337 (__ASSUME_AT_XID): Likewise.
31338 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
31339 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
31340 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
31342 (HAVE_AUX_PAGESIZE): Likewise.
31343 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
31344 [__ASSUME_AT_CLKTCK]: Make code unconditional.
31345 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
31347 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
31350 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
31351 the temporary buffer used to invoke __gethostbyname2_r,
31352 __gethostbyaddr_r and gethostbyname4_r to make room for struct
31353 host_data / struct gaih_addrtuple.
31354 * resolv/nss_dns/dns-host.c (global scope): Move definition of
31355 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
31356 header file nss/nsswitch.h.
31357 * nss/nsswitch.h (global scope): Add definition of implementation
31358 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
31359 resolv/nss_dns/dns-host.c).
31361 2012-07-11 Andreas Jaeger <aj@suse.de>
31363 * po/fr.po: Update from translation team.
31365 * po/sv.po: Update from translation team
31366 * po/fr.po: Another update from translation team.
31368 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31370 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
31371 for subnormals or multiply small sinh result by itself.
31372 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
31373 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31375 2012-07-11 David S. Miller <davem@davemloft.net>
31377 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31379 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
31382 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
31383 (INTERNAL_MARK): Shift it here.
31385 2012-07-10 Marek Polacek <polacek@redhat.com>
31388 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
31389 libc_cv_asm_global_directive with .globl.
31390 * configure: Regenerated.
31391 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
31393 * sysdeps/i386/configure: Regenerated.
31394 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
31396 * sysdeps/x86_64/configure: Regenerated.
31397 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
31398 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
31399 * elf/tst-unique2mod2.c: Likewise.
31400 * elf/tst-unique2mod1.c: Likewise.
31401 * elf/tst-unique1mod2.c: Likewise.
31402 * elf/tst-unique1mod1.c: Likewise.
31403 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31404 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31405 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31406 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31407 * sysdeps/mach/sysdep.h: Likewise.
31408 * sysdeps/i386/sysdep.h: Likewise.
31409 * sysdeps/i386/i386-mcount.S: Likewise.
31410 * sysdeps/x86_64/_mcount.S: Likewise.
31411 * sysdeps/x86_64/sysdep.h: Likewise.
31412 * sysdeps/sh/_mcount.S: Likewise.
31413 * sysdeps/sh/sysdep.h: Likewise.
31414 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
31415 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
31416 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
31417 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31418 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
31419 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
31420 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
31421 * locale/localeinfo.h: Likewise.
31422 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
31423 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
31425 2012-07-09 Roland McGrath <roland@hack.frob.com>
31428 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
31430 * manual/message.texi (The Uniforum approach): Likewise.
31431 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
31432 (glibc iconv Implementation): Likewise.
31434 2012-07-09 Joseph Myers <joseph@codesourcery.com>
31437 * math/s_clog.c (__clog): Avoid scaling a value down where that
31438 could result in underflow.
31439 * math/s_clog10.c (__clog10): Likewise.
31440 * math/s_clog10f.c (__clog10f): Likewise.
31441 * math/s_clog10l.c (__clog10l): Likewise.
31442 * math/s_clogf.c (__clogf): Likewise.
31443 * math/s_clogl.c (__clogl): Likewise.
31444 * math/libm-test.inc (clog_test): Add more tests.
31445 (clog10_test): Likewise.
31446 * sysdeps/i386/fpu/libm-test-ulps: Update.
31447 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31449 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
31452 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
31453 by 7 not 8 to examine high bit of fractional part.
31456 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
31457 for call to __mcount_internal.
31458 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
31459 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
31460 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
31462 2012-07-06 Joseph Myers <joseph@codesourcery.com>
31465 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
31466 approximation for values within 0x1p-13f of an odd multiple of
31468 * math/libm-test.inc (tan_test): Do not allow spurious underflow
31469 exception. Add more tests.
31470 * sysdeps/i386/fpu/libm-test-ulps: Update.
31473 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
31474 inputs and return -1 for them. Do not check for +Inf in case not
31475 reachable for +Inf.
31476 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
31477 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
31478 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
31479 and return -1 for them. Do not check for +Inf in case not
31480 reachable for +Inf.
31481 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
31483 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
31484 and return -1 for them. Do not check for +Inf in case not
31485 reachable for +Inf.
31486 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
31487 spurious underflow.
31488 * sysdeps/i386/fpu/libm-test-ulps: Update.
31489 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31491 2012-07-06 Mike Frysinger <vapier@gentoo.org>
31493 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
31495 2012-07-05 Joseph Myers <joseph@codesourcery.com>
31499 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
31500 could result in spurious underflow. Scale down values above
31501 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
31502 * math/s_csqrtf.c (__csqrtf): Likewise.
31503 * math/s_csqrtl.c (__csqrtl): Likewise.
31504 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
31505 spurious underflow.
31506 * sysdeps/i386/fpu/libm-test-ulps: Update.
31507 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31509 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
31511 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
31513 * catgets/xopen-msg.awk: New file.
31514 * catgets/xopen-msg.sed: Removed.
31516 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
31518 * intl/po2test.awk: New file.
31519 * intl/po2test.sed: Removed.
31521 2012-07-04 Joseph Myers <joseph@codesourcery.com>
31524 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
31525 or multiply small sinh result by itself.
31526 * math/s_ctanf.c (__ctanf): Likewise.
31527 * math/s_ctanh.c (__ctanh): Likewise.
31528 * math/s_ctanhf.c (__ctanhf): Likewise.
31529 * math/s_ctanhl.c (__ctanhl): Likewise.
31530 * math/s_ctanl.c (__ctanl): Likewise.
31531 * math/libm-test.inc (ctan_test_tonearest): New function.
31532 (ctan_test_towardzero): Likewise.
31533 (ctan_test_downward): Likewise.
31534 (ctan_test_upward): Likewise.
31535 (ctanh_test_tonearest): Likewise.
31536 (ctanh_test_towardzero): Likewise.
31537 (ctanh_test_downward): Likewise.
31538 (ctanh_test_upward): Likewise.
31539 (main): Call these new functions.
31540 * sysdeps/i386/fpu/libm-test-ulps: Update.
31541 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31543 2012-07-03 Mike Frysinger <vapier@gentoo.org>
31545 * .gitignore: Delete /ports entry.
31547 2012-07-03 Andreas Jaeger <aj@suse.de>
31549 * po/bg.po: Update from translation team.
31550 * po/cs.po: Likewise.
31551 * po/de.po: Likewise.
31552 * po/hr.po: Likewise.
31553 * po/nl.pl: Likewise.
31554 * po/pl.po: Likewise.
31555 * po/vi.po: Likewise.
31557 2012-07-03 Joseph Myers <joseph@codesourcery.com>
31559 * Makeconfig [!+link] (+link-before-libc): New variable.
31560 [!+link] (+link-after-libc): Likewise.
31561 [!+link] (+link-tests): Likewise.
31562 [!+link] (+link): Define in terms of $(+link-before-libc) and
31563 $(+link-after-libc).
31564 [!+link-static] (+link-static-before-libc): New variable.
31565 [!+link-static] (+link-static-after-libc): Likewise.
31566 [!+link-static] (+link-static-tests): Likewise.
31567 [!+link-static] (+link-static): Define in terms of
31568 $(+link-static-before-libc) and $(+link-static-after-libc).
31569 [build-shared] (link-libc-before-gnulib): New variable.
31570 [build-shared] (link-libc-tests): Likewise.
31571 [build-shared] (link-libc): Define in terms of
31572 $(link-libc-before-gnulib).
31573 [!build-shared] (link-libc-tests): New variable.
31574 (link-libc-static-tests): New variable.
31575 [!gnulib] (gnulib-arch): New variable.
31576 [!gnulib] (gnulib-tests): Likewise.
31577 [!gnulib] (static-gnulib-arch): Likewise.
31578 [!gnulib] (static-gnulib-tests): Likewise.
31579 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
31580 Define with "=" instead of ":=".
31581 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
31582 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
31583 * Rules (binaries-all-notests): New variable.
31584 (binaries-all-tests): Likewise.
31585 (binaries-static-notests): Likewise.
31586 (binaries-static-tests): Likewise.
31587 (binaries-all): Define using $(binaries-all-notests) and
31588 $(binaries-all-tests).
31589 (binaries-static): Define using $(binaries-static-notests) and
31590 $(binaries-static-tests).
31591 (binaries-shared-tests): New variable.
31592 (binaries-shared-notests): Likewise.
31593 (binaries-shared): Remove variable.
31594 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
31595 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
31596 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
31597 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
31598 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
31599 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
31600 * elf/Makefile (sln-modules): New variable.
31601 (extra-objs): Add $(sln-modules:=.o).
31602 (ldconfig-modules): Add static-stubs.
31603 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
31604 * elf/static-stubs.c: New file.
31607 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
31608 by 7 not 8 to examine high bit of fractional part. Use volatile
31609 variables when splitting into final array of floats if
31610 __FLT_EVAL_METHOD__ != 0.
31611 * math/libm-test.inc (cos_test): Add another test.
31612 (sin_test): Likewise.
31613 * sysdeps/i386/fpu/libm-test-ulps: Update.
31616 * math/libm-test.inc (cosh_test): Add more tests.
31618 * version.h (RELEASE): Set to "development".
31619 (VERSION): Set to "2.16.90".
31621 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
31623 * NEWS: Update copyright. Remove last-updated date.
31624 Mention math library bug fixes and timezone data changes.
31625 * README: Mention GNU/Hurd, x32, and HPPA support status.
31627 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
31629 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
31631 2012-06-27 Andreas Jaeger <aj@suse.de>
31633 * manual/contrib.texi (Contributors): Add Samuel Thibault.
31635 2012-06-25 Andreas Jaeger <aj@suse.de>
31637 * sysdeps/s390/fpu/libm-test-ulps: Update.
31639 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
31640 Thomas Schwinge <thomas@codesourcery.com>
31642 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
31643 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
31644 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
31647 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
31649 * sysdeps/mach/start.c: Remove file.
31650 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
31651 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
31652 * sysdeps/sh/init-first.c: Likewise.
31654 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
31655 registers for frame unwinding purposes, add CFI directives.
31656 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31657 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
31658 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
31661 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
31662 __fortify_fail returning.
31663 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31665 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
31666 sysdeps/sh/____longjmp_chk.S.
31667 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
31668 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
31669 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
31670 (gen-as-const-headers): Append sigaltstack-offsets.sym.
31672 * sysdeps/sh/abort-instr.h: New file.
31673 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
31674 process in case exit returns.
31676 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
31677 initialize the GOT register before use.
31679 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
31680 calculation of ARGC > 4.
31682 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
31683 meaningful names to some local labels.
31685 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31686 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31688 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
31689 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
31690 (__arch_compare_and_exchange_val_16_acq): Likewise.
31691 (__arch_compare_and_exchange_val_32_acq): Likewise.
31692 (atomic_exchange_and_add): Fix gUSA sequence.
31693 (atomic_add): Likewise.
31694 (atomic_add_negative): Likewise.
31695 (atomic_add_zero): Likewise.
31696 (atomic_bit_test_set): Likewise.
31698 2012-06-22 Andreas Schwab <schwab@redhat.com>
31701 * include/link.h (struct link_map): Add l_free_initfini.
31702 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
31704 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
31705 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
31706 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
31709 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
31711 * configure.in: Use AC_LANG_SOURCE.
31712 * configure: Regenerate.
31714 2012-06-22 Roland McGrath <roland@hack.frob.com>
31716 * configure.in (libc_cv_localstatedir): New substituted variable.
31717 * configure: Regenerated.
31718 * config.make.in (localstatedir): New variable, substituted from
31719 libc_cv_localstatedir.
31720 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
31721 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
31722 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
31723 * sysdeps/gnu/configure: Regenerated.
31725 2012-06-21 Jeff Law <law@redhat.com>
31728 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
31729 free. Simplify list management for _LIBC case.
31731 2012-06-21 Joseph Myers <joseph@codesourcery.com>
31734 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
31735 Clear sign bit of 64-bit integer value before comparing against
31738 * sysdeps/mach/configure: Regenerated.
31740 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
31743 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
31745 2012-06-21 Jeff Law <law@redhat.com>
31748 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
31749 uint16_t for elements in the "seen" array to avoid char overflows.
31750 * elf/dl-fini.c (_dl_sort_fini): Likewise.
31751 * elf/dl-open.c (dl_open_worker): Likewise.
31753 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
31755 * scripts/list-sources.sh: Scan PORTS for translations.
31756 * po/libc.pot: Regenerated.
31758 2012-06-21 Andreas Jaeger <aj@suse.de>
31761 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
31763 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
31764 * bits/byteswap-16.h (__bswap_16): Likewise.
31765 * bits/byteswap.h (__bswap_constant_16): Likewise.
31767 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
31770 * sysdeps/i386/fpu_control.h: Removed.
31771 * sysdeps/x86_64/fpu_control.h: Moved to ...
31772 * sysdeps/x86/fpu_control.h: Here.
31774 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
31775 (_FPU_SETCW): Likewise.
31777 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
31780 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
31781 * sysdeps/x86/fpu/bits/mathinline.h: This.
31782 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
31786 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
31787 functions if __x86_64__ is defined.
31789 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
31791 * string/endian.h: Add !__ASSEMBLER__ condition for including
31792 conversion interfaces.
31794 2012-06-15 Joseph Myers <joseph@codesourcery.com>
31797 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
31798 of ABS(x) in calculating zero to negative powers other than odd
31800 * math/libm-test.inc (pow_test): Add more tests.
31802 2012-06-15 Andreas Jaeger <aj@suse.de>
31804 * manual/contrib.texi (Contributors): Update entry of Liubov
31805 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
31808 2012-06-15 Cyril Hrubis <metan@ucw.cz>
31810 * string/string.h: Add __wur to GNU version of strerror_r.
31812 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
31815 * string/Makefile (tests): Add tst-strtok_r.
31816 * string/tst-strtok_r.c: New file.
31817 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
31818 RAX_LP/RDX_LP on SAVE_PTR.
31820 2012-06-14 Roland McGrath <roland@hack.frob.com>
31822 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
31824 2012-06-14 Joseph Myers <joseph@codesourcery.com>
31826 * libm_test.inc (csqrt_test): Allow more spurious underflow
31828 (j0_test): Likewise.
31829 (j1_test): Likewise.
31830 (y0_test): Likewise.
31831 (y1_test): Likewise.
31833 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
31835 * po/Makefile (libc.pot): Use UTF-8 charset.
31837 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
31840 Suppress sign-conversion warning from FD_SET.
31841 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
31842 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
31843 not unsigned long int.
31844 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
31846 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
31850 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
31851 __extern_always_inline instead of __extern_inline.
31852 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
31853 (__signbit): Likewise.
31854 (__signbitl): Support C++ namespace.
31855 (lrintf): New inline function.
31857 (llrintf): Likewise.
31858 (llrint): Likewise.
31868 (floorf): Likewise.
31869 (nearbyint): Likewise.
31870 (nearbyintf): Likewise.
31872 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
31874 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
31875 non-default versions.
31877 2012-06-11 Roland McGrath <roland@hack.frob.com>
31880 * manual/argp.texi (Argp): Reword argp_parse description slightly.
31882 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
31884 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
31885 (FE_UPWARD, FE_DOWNWARD): Don't define.
31886 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
31887 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
31889 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
31891 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
31892 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31894 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31896 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31897 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
31898 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
31899 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
31901 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
31904 * sysdeps/i386/fpu/bits/fenv.h: Removed.
31905 * sysdeps/i386/fpu/Implies: New file.
31906 * sysdeps/x86_64/fpu/Implies: Likewise.
31907 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
31908 * sysdeps/x86/fpu/bits/fenv.h: This.
31910 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
31913 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
31916 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
31917 character 0xffff that matches the last element of the
31920 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31922 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
31925 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31927 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
31928 values higher than 25.6283.
31930 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31932 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
31933 subnormal exponent extraction and add some __builtin_expect.
31934 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
31935 Fix for subnormal mantissa calculation.
31937 2012-06-04 Mike Frysinger <vapier@gentoo.org>
31939 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
31940 cpu2 is -1 and errno is not ENOSYS.
31942 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
31945 * sysdeps/i386/i486/bits/string.h: Renamed to ...
31946 * sysdeps/x86/bits/string.h: This.
31947 * sysdeps/x86_64/bits/string.h: Removed.
31949 * sysdeps/i386/i486/bits/string.h: Define inline functions only
31950 if not compiling for x86-64, but compiling for >= i486.
31952 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
31953 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
31955 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
31956 New macro from Linux kernel 3.4.0.
31957 (FP_XSTATE_MAGIC2): Likewise.
31958 (FP_XSTATE_MAGIC2_SIZE): Likewise.
31959 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
31960 (struct _fpx_sw_bytes): New struct.
31961 (struct _xsave_hdr): Likewise.
31962 (struct _ymmh_state): Likewise.
31963 (struct _xstate): Likewise.
31965 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
31966 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
31967 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
31968 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
31969 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
31970 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
31972 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
31973 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
31974 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
31975 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
31976 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
31977 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
31979 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31982 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
31983 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
31984 (sysdep_headers): Include sys/platform/ppc.h.
31985 * sysdeps/powerpc/test-gettimebase.c: Test for
31986 __ppc_get_timebase() to catch future ISA opcode/insn changes.
31987 * manual/Makefile (appendices): Include platform.texi.
31988 * manual/contrib.texi (Contributors): Update @node pointers.
31989 * manual/maint.texi (Maintenance): Likewise.
31990 (Platform): New node.
31991 * manual/platform.texi: New file. Document the new features.
31993 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
31994 Jakub Jelinek <jakub@redhat.com>
31997 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
31998 where __builtin_expect is unavailable.
32000 2012-06-03 David S. Miller <davem@davemloft.net>
32002 * stdlib/longlong.h: Updated from GCC.
32004 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
32007 * sysdeps/powerpc/powerpc32/mcount.c: New file.
32008 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
32010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
32011 (GLIBC_2.16): Likewise.
32013 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32015 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
32017 2012-06-01 Joseph Myers <joseph@codesourcery.com>
32019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
32020 (default-abi): New variable.
32021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
32022 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
32024 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
32026 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
32028 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
32031 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
32032 definition. Document in comment.
32034 2012-06-01 David S. Miller <davem@davemloft.net>
32036 * stdlib/longlong.h: Updated from GCC.
32038 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32041 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
32042 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
32043 sys/debugreg.h sys/io.h here.
32044 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
32045 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
32047 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
32048 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
32049 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
32050 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
32051 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
32052 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
32054 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
32055 Define only if __x86_64__ is defined.
32057 2012-06-01 Joseph Myers <joseph@codesourcery.com>
32060 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
32061 Use int64_t for variable i.
32062 * math/libm-test.inc (fmod_test): Add more tests.
32064 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
32065 z computation is not scheduled after fetestexcept.
32066 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
32067 Use math_force_eval instead of asm to ensure calculation scheduled
32068 before exception test.
32069 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
32070 Ensure a1 + u.d computation is not scheduled after fetestexcept.
32072 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
32074 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
32075 computation is not scheduled after fetestexcept.
32077 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32080 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
32081 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
32083 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32085 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
32086 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
32088 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
32091 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
32093 (__WCHAR_MIN): Support __WORDSIZE == 64.
32094 (__WCHAR_MAX): Likewise.
32096 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
32097 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
32100 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
32101 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
32104 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
32105 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
32107 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
32108 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
32110 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
32111 Defined to 1 if __x86_64__ isn't defined.
32112 (_STAT_VER_LINUX_OLD): New.
32113 (st_atime): Remove duplicate.
32114 (st_mtime): Likewise.
32115 (st_ctime): Likewise.
32117 2012-05-31 David S. Miller <davem@davemloft.net>
32119 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
32122 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
32124 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
32128 * elf/dl-reloc.c: Include <_itoa.h>.
32129 (_dl_reloc_bad_type): Remove use of INTUSE.
32130 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
32131 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
32132 * stdio-common/psiginfo.c (psiginfo): Likewise.
32133 * stdio-common/psignal.c (psignal): Likewise.
32134 * string/strsignal.c (strsignal): Likewise.
32135 * include/signal.h (_sys_siglist): Declare hidden proto.
32136 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
32137 INTVARDEF with libc_hidden_data_def.
32138 * stdio-common/itoa-udigits.c: Likewise.
32139 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
32140 (_itoa_lower_digits_internal): Remove declaration.
32141 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
32142 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
32143 (_sys_sigabbrev_internal): Remove aliases.
32144 (_sys_siglist): Define hidden alias.
32146 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
32148 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32151 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
32154 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
32155 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
32157 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
32158 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
32159 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
32160 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
32161 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
32162 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
32164 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
32165 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
32166 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
32168 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
32176 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
32177 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
32178 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
32180 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
32181 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
32182 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
32183 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
32184 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
32185 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
32187 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
32188 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
32190 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
32191 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
32193 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
32194 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
32195 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
32197 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
32198 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
32200 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
32202 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
32203 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
32204 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
32206 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
32208 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
32210 2012-05-31 Joseph Myers <joseph@codesourcery.com>
32212 * math/math.h (M_El): Use two more decimal places.
32213 (M_LOG2El): Likewise.
32214 (M_LOG10El): Likewise.
32215 (M_LN2l): Likewise.
32216 (M_LN10l): Likewise.
32218 (M_PI_2l): Likewise.
32219 (M_PI_4l): Likewise.
32220 (M_1_PIl): Likewise.
32221 (M_2_PIl): Likewise.
32222 (M_2_SQRTPIl): Likewise.
32223 (M_SQRT2l): Likewise.
32224 (M_SQRT1_2l): Likewise.
32226 2012-05-31 David S. Miller <davem@davemloft.net>
32228 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
32229 values between float registers.
32230 * sysdeps/sparc/sparc64/memset.S: Likewise.
32231 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32233 2012-05-31 Mike Frysinger <vapier@gentoo.org>
32235 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
32236 -D_FORTIFY_SOURCE=1.
32237 (CPPFLAGS-tst-longjmp_chk.c): Define.
32238 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
32239 (CPPFLAGS-tst-longjmp_chk2.c): Define.
32240 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
32241 CFLAGS-tst-wchar-h.c.
32243 2012-05-31 Marek Polacek <polacek@redhat.com>
32246 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
32247 __endmntent_internal): Remove declaration.
32248 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
32249 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
32250 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
32252 2012-05-30 David S. Miller <davem@davemloft.net>
32254 * sysdeps/sparc/sparc32/soft-fp/q_util.c
32255 (___Q_simulate_exceptions): Use real FP ops rather than writing
32257 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
32260 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32263 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
32264 * sysdeps/x86/bits/xtitypes.h: This.
32266 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
32267 * sysdeps/x86/bits/wordsize.h: This.
32269 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
32270 * sysdeps/x86/bits/huge_vall.h: This.
32272 * sysdeps/i386/bits/select.h: Removed.
32273 * sysdeps/x86_64/bits/select.h: Renamed to ...
32274 * sysdeps/x86/bits/select.h: This.
32276 * sysdeps/i386/bits/setjmp.h: Removed.
32277 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
32278 * sysdeps/x86/bits/setjmp.h: This.
32280 * sysdeps/i386/bits/mathdef.h: Removed.
32281 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
32282 * sysdeps/x86/bits/mathdef.h: This.
32284 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
32287 * include/sys/socket.h (__connect_internal)
32288 (__libc_sa_len_internal): Remove declaration.
32289 (__connect, __libc_sa_len): Declare hidden_proto.
32290 (SA_LEN): Remove use of INTUSE.
32291 * socket/connect.c: Add libc_hidden_def.
32292 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
32293 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
32294 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
32296 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
32297 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
32298 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
32299 of adding _internal alias.
32301 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32304 * sysdeps/i386/bits/link.h: Removed.
32305 * sysdeps/i386/bits/linkmap.h: Likewise.
32306 * sysdeps/x86_64/bits/link.h: Renamed to ...
32307 * sysdeps/x86/bits/link.h: This.
32308 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
32309 * sysdeps/x86/bits/linkmap.h: This.
32311 * sysdeps/i386/bits/endian.h: Removed.
32312 * sysdeps/x86_64/bits/endian.h: Renamed to ...
32313 * sysdeps/x86/bits/endian.h: This.
32315 * sysdeps/i386/bits/byteswap.h: Removed.
32316 * sysdeps/i386/bits/byteswap-16.h: Likewise.
32317 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
32318 * sysdeps/x86/bits/byteswap.h: This.
32319 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
32320 * sysdeps/x86/bits/byteswap-16.h: This.
32321 * sysdeps/i386/Implies: Add x86.
32322 * sysdeps/x86_64/Implies: Likewise.
32324 2012-05-30 David S. Miller <davem@davemloft.net>
32326 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
32327 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
32328 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
32329 (FP_TRAPPING_EXCEPTIONS): Define.
32330 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
32331 (FP_TRAPPING_EXCEPTIONS): Define.
32332 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
32333 subnormals only when inexact has been signalled or underflow
32334 exceptions are enabled.
32335 (_FP_PACK_CANONICAL): Likewise.
32337 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32340 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
32341 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
32343 2012-05-30 Richard Henderson <rth@twiddle.net>
32345 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
32346 with #ifndef NOT_IN_libc.
32348 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
32349 marked to avoid plt entry.
32351 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32354 * Makeconfig (default-abi): New macro.
32355 (abi-includes): Likewise.
32356 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
32357 $(abi-$(default-abi)-lib-soname) for soname if defined.
32358 ($(common-objpfx)gnu/lib-names.stmp): Generate from
32360 * Makefile (installed-stubs): Likewise.
32361 * include/stubs-biarch.h: Removed.
32362 * scripts/lib-names.awk: Only handle one library at a time.
32363 * scripts/soversions.awk: Remove WORDSIZE support.
32364 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
32366 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
32368 (syscall-list-default-condition): Likewise.
32369 (syscall-list-default-condition): Likewise.
32370 (syscall-list-includes): Likewise.
32371 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
32372 syscall-list-* with abi-*. Handle undefined abi-variants.
32373 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
32374 * sysdeps/unix/sysv/linux/i386/Implies: New file.
32375 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
32376 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
32377 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
32378 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
32380 (syscall-list-32-options): Likewise.
32381 (syscall-list-32-condition): Likewise.
32382 (syscall-list-64-options): Likewise.
32383 (syscall-list-64-condition): Likewise.
32384 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
32386 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
32389 (abi-64-ld-soname): New macro.
32390 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
32391 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
32394 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
32395 * sysdeps/x86_64/x32/shlib-versions: Likewise.
32397 2012-05-30 Joseph Myers <joseph@codesourcery.com>
32399 * sysdeps/unix/sysv/linux/kernel-features.h
32400 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
32401 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
32402 include <kernel-features.h>.
32403 [!__NR_ftruncate64]: Remove conditional code.
32404 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32405 [__NR_ftruncate64]: Make code unconditional.
32406 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32407 * sysdeps/unix/sysv/linux/truncate64.c: Do not
32408 include <kernel-features.h>.
32409 [!__NR_ftruncate64]: Remove conditional code.
32410 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32411 [__NR_ftruncate64]: Make code unconditional.
32412 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
32414 include <kernel-features.h>.
32415 [!__NR_ftruncate64]: Remove conditional code.
32416 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32417 [__NR_ftruncate64]: Make code unconditional.
32418 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
32420 include <kernel-features.h>.
32421 [!__NR_ftruncate64]: Remove conditional code.
32422 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32423 [__NR_ftruncate64]: Make code unconditional.
32424 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32426 * configure.in (libc_cv_fpie): Weaken to a compile test using
32427 LIBC_TRY_CC_OPTION.
32428 * configure: Regenerated.
32430 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32432 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
32433 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
32434 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
32435 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32437 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
32438 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
32439 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
32440 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
32441 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
32442 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32445 2012-05-27 David S. Miller <davem@davemloft.net>
32447 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
32449 (__Q_simulate_exceptions): Return void. Change to simulate
32450 exceptions by writing into the %fsr.
32451 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
32452 (__Qp_handle_exceptions): Likewise.
32454 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
32455 __Qp_handle_exceptions.
32456 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
32457 __Qp_handle_exceptions.
32458 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
32459 as unused and give dummy FP_RND_NEAREST initializer.
32460 (FP_INHIBIT_RESULTS): Define.
32461 (___Q_simulate_exceptions): Update declaration.
32462 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
32464 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
32465 as unused and give dummy FP_RND_NEAREST initializer.
32466 (__Qp_handle_exceptions): Update declaration.
32467 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
32470 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
32472 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
32473 the temporary FPU control word.
32474 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
32475 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
32476 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
32477 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32478 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
32479 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
32480 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
32481 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32482 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
32483 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
32484 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32486 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32488 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
32491 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
32493 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
32494 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
32495 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
32496 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
32498 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
32499 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
32502 2012-05-27 Ulrich Drepper <drepper@gmail.com>
32504 * po/h.po: Update from translation team.
32506 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
32508 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
32510 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
32511 handling of denormals.
32512 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
32513 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
32514 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
32515 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
32516 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32517 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
32518 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
32521 2012-05-26 Marek Polacek <polacek@redhat.com>
32524 * math/libm-test.inc (fma_test): Don't always expect underflow
32527 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32530 * elf/tst-execstack.c: Include stackinfo.h.
32531 (do_test): Adjust test case to ensure that pthread_getattr_np
32532 behaviour remains the same after marking stack executable.
32534 2012-05-25 Joseph Myers <joseph@codesourcery.com>
32536 * sysdeps/unix/sysv/linux/kernel-features.h
32537 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
32538 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
32540 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32541 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32542 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
32544 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32545 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32547 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
32549 * configure.in: Define the default includes to being none.
32550 * configure: Regenerated.
32552 2012-05-25 Roland McGrath <roland@hack.frob.com>
32554 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
32555 * sysdeps/x86_64/setjmp.S: Likewise.
32556 * sysdeps/i386/bsd-setjmp.S: Likewise.
32557 * sysdeps/i386/bsd-_setjmp.S: Likewise.
32558 * sysdeps/i386/setjmp.S: Likewise.
32559 * sysdeps/i386/__longjmp.S: Likewise.
32560 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
32561 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
32563 * include/stap-probe.h: New file.
32564 * configure.in: Handle --enable-systemtap.
32565 * configure: Regenerated.
32566 * config.h.in (USE_STAP_PROBE): New #undef.
32567 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
32568 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
32569 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
32571 2012-05-25 Joseph Myers <joseph@codesourcery.com>
32574 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
32575 to 2.4.0 where earlier.
32576 * sysdeps/unix/sysv/linux/configure: Regenerated.
32577 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
32578 <kernel-features.h>.
32579 [__ASSUME_32BITUIDS]: Make code unconditional.
32580 [!__ASSUME_32BITUIDS]: Remove conditional code.
32581 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
32582 <kernel-features.h>.
32583 [__ASSUME_32BITUIDS]: Make code unconditional.
32584 [!__ASSUME_32BITUIDS]: Remove conditional code.
32585 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
32586 [__ASSUME_32BITUIDS]: Make code unconditional.
32587 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
32588 * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.c: Do not include
32593 <kernel-features.h>.
32594 [__ASSUME_32BITUIDS]: Make code unconditional.
32595 [!__ASSUME_32BITUIDS]: Remove conditional code.
32596 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
32597 <kernel-features.h>.
32598 [__ASSUME_32BITUIDS]: Make code unconditional.
32599 [!__ASSUME_32BITUIDS]: Remove conditional code.
32600 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
32601 <kernel-features.h>.
32602 [__ASSUME_32BITUIDS]: Make code unconditional.
32603 [!__ASSUME_32BITUIDS]: Remove conditional code.
32604 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
32605 <kernel-features.h>.
32606 [__ASSUME_32BITUIDS]: Make code unconditional.
32607 [!__ASSUME_32BITUIDS]: Remove conditional code.
32608 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
32609 <kernel-features.h>.
32610 [__ASSUME_32BITUIDS]: Make code unconditional.
32611 [!__ASSUME_32BITUIDS]: Remove conditional code.
32612 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
32613 <kernel-features.h>.
32614 [__ASSUME_32BITUIDS]: Make code unconditional.
32615 [!__ASSUME_32BITUIDS]: Remove conditional code.
32616 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
32617 <kernel-features.h>.
32618 [__ASSUME_32BITUIDS]: Make code unconditional.
32619 [!__ASSUME_32BITUIDS]: Remove conditional code.
32620 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
32621 <kernel-features.h>.
32622 [__ASSUME_32BITUIDS]: Make code unconditional.
32623 [!__ASSUME_32BITUIDS]: Remove conditional code.
32624 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
32625 <kernel-features.h>.
32626 [__ASSUME_32BITUIDS]: Make code unconditional.
32627 [!__ASSUME_32BITUIDS]: Remove conditional code.
32628 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
32629 <kernel-features.h>.
32630 [__NR_setresgid] (__setresgid): Do not declare.
32631 [__ASSUME_32BITUIDS]: Make code unconditional.
32632 [!__ASSUME_32BITUIDS]: Remove conditional code.
32633 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
32634 <kernel-features.h>.
32635 [__NR_setresuid] (__setresuid): Do not declare.
32636 [__ASSUME_32BITUIDS]: Make code unconditional.
32637 [!__ASSUME_32BITUIDS]: Remove conditional code.
32638 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
32639 <kernel-features.h>.
32640 [__ASSUME_32BITUIDS]: Make code unconditional.
32641 [!__ASSUME_32BITUIDS]: Remove conditional code.
32642 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
32643 <kernel-features.h>.
32644 [__ASSUME_32BITUIDS]: Make code unconditional.
32645 [!__ASSUME_32BITUIDS]: Remove conditional code.
32646 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
32647 <kernel-features.h>.
32648 [__ASSUME_32BITUIDS]: Make code unconditional.
32649 [!__ASSUME_32BITUIDS]: Remove conditional code.
32650 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
32651 <kernel-features.h>.
32652 [__ASSUME_32BITUIDS]: Make code unconditional.
32653 [!__ASSUME_32BITUIDS]: Remove conditional code.
32654 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
32655 <kernel-features.h>.
32656 [__ASSUME_32BITUIDS]: Make code unconditional.
32657 [!__ASSUME_32BITUIDS]: Remove conditional code.
32658 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
32659 <kernel-features.h>.
32660 [__ASSUME_32BITUIDS]: Make code unconditional.
32661 [!__ASSUME_32BITUIDS]: Remove conditional code.
32662 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
32663 <kernel-features.h>.
32664 [__ASSUME_32BITUIDS]: Make code unconditional.
32665 [!__ASSUME_32BITUIDS]: Remove conditional code.
32666 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
32667 <kernel-features.h>.
32668 [__ASSUME_32BITUIDS]: Make code unconditional.
32669 [!__ASSUME_32BITUIDS]: Remove conditional code.
32670 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
32671 <kernel-features.h>.
32672 [__ASSUME_32BITUIDS]: Make code unconditional.
32673 [!__ASSUME_32BITUIDS]: Remove conditional code.
32674 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
32675 <kernel-features.h>.
32676 [__ASSUME_32BITUIDS]: Make code unconditional.
32677 [!__ASSUME_32BITUIDS]: Remove conditional code.
32678 * sysdeps/unix/sysv/linux/kernel-features.h
32679 (__ASSUME_SETRESUID_SYSCALL): Remove.
32680 (__ASSUME_SETRESGID_SYSCALL): Likewise.
32681 (__ASSUME_32BITUIDS): Likewise.
32682 (__ASSUME_LDT_WORKS): Likewise.
32683 (__ASSUME_O_DIRECTORY): Likewise.
32684 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
32685 architecture but not kernel version.
32686 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
32687 (__ASSUME_MMAP2_SYSCALL): Likewise.
32688 (__ASSUME_STAT64_SYSCALL): Likewise.
32689 (__ASSUME_IPC64): Likewise.
32690 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
32691 <kernel-features.h>.
32692 [__ASSUME_32BITUIDS]: Make code unconditional.
32693 [!__ASSUME_32BITUIDS]: Remove conditional code.
32694 * sysdeps/unix/sysv/linux/opendir.c: Do not include
32695 <kernel-features.h>.
32696 [__ASSUME_O_DIRECTORY]: Make code unconditional.
32697 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
32698 132096]: Remove conditional code.
32699 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
32700 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
32701 <kernel-features.h>.
32702 [__ASSUME_32BITUIDS]: Make code unconditional.
32703 [!__ASSUME_32BITUIDS]: Remove conditional code.
32704 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
32705 <kernel-features.h>.
32706 [__ASSUME_32BITUIDS]: Make code unconditional.
32707 [!__ASSUME_32BITUIDS]: Remove conditional code.
32708 * sysdeps/unix/sysv/linux/setegid.c: Do not include
32709 <kernel-features.h>.
32710 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
32712 (__setresgid): Do not declare.
32713 [__ASSUME_32BITUIDS]: Make code unconditional.
32714 [!__ASSUME_32BITUIDS]: Remove conditional code.
32715 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
32716 <kernel-features.h>.
32717 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
32719 (__setresuid): Do not declare.
32720 [__ASSUME_32BITUIDS]: Make code unconditional.
32721 [!__ASSUME_32BITUIDS]: Remove conditional code.
32722 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
32723 <kernel-features.h>.
32724 [__ASSUME_32BITUIDS]: Make code unconditional.
32725 [!__ASSUME_32BITUIDS]: Remove conditional code.
32726 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
32727 <kernel-features.h>.
32728 [__ASSUME_32BITUIDS]: Make code unconditional.
32729 [!__ASSUME_32BITUIDS]: Remove conditional code.
32731 2012-05-25 Richard Henderson <rth@twiddle.net>
32733 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
32734 dl_hwcap to ifunc resolver.
32735 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
32737 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
32738 dl_hwcap to ifunc resolver.
32739 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
32741 2012-05-24 Joseph Myers <joseph@codesourcery.com>
32744 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
32745 for |x| <= 2**-26, not 2**-57.
32746 * math/libm-test.inc (acos_test): Do not allow spurious underflow
32749 2012-05-24 Jeff Law <law@redhat.com>
32751 * stdio-common/Makefile (tests): Add bug25.
32752 * stdio-common/bug25.c: New test.
32754 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
32757 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
32758 multiple of MALLOC_ALIGNMENT in size.
32759 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
32761 2012-05-24 Joseph Myers <joseph@codesourcery.com>
32763 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
32765 (FILENAME_MAX): Use macro-int-constant.
32766 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
32767 (_IOFBF): Use macro-int-constant.
32768 (_IOLBF): Likewise.
32769 (_IONBF): Likewise.
32770 (SEEK_CUR): Likewise.
32771 (SEEK_END): Likewise.
32772 (SEEK_SET): Likewise.
32773 (TMP_MAX): Likewise.
32774 (EOF): Use macro-int-constant. Require < 0.
32775 (NULL): Use macro-constant. Require == 0.
32776 (stdin): Require type to be FILE *.
32777 (stdout): Likewise.
32778 (stderr): Likewise.
32779 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
32780 macro-int-constant.
32781 (EXIT_SUCCESS): Likewise.
32782 (NULL): Use macro-constant. Require == 0.
32783 (RAND_MAX): Use macro-int-constant.
32784 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
32785 [C99-based standards] (strtof): Require function.
32786 [C99-based standards] (strtold): Likewise.
32787 [C99-based standards] (strtoll): Likewise.
32788 [C99-based standards] (strtoull): Likewise.
32789 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32790 [ISO || ISO99 || ISO11] (limits.h): Likewise.
32791 [ISO || ISO99 || ISO11] (math.h): Likewise.
32792 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
32793 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32794 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32796 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
32799 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
32800 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
32801 * intl/dgettext.c (DCGETTEXT): Likewise.
32802 * intl/gettext.c (DCGETTEXT): Likewise.
32803 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
32804 * posix/regex_internal.h (gettext): Likewise.
32805 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
32806 Remove declaration.
32807 * include/argz.h (__argz_count_internal)
32808 (__argz_stringify_internal): Remove declaration.
32809 (__argz_count, __argz_stringify): Declare hidden proto.
32810 * intl/dcgettext.c: Remove use of INTDEF.
32811 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
32812 * string/argz-stringify.c: Likewise.
32813 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
32814 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
32815 Declare hidden proto.
32816 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
32817 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
32818 Declare hidden proto.
32819 * include/stdio.h (__asprintf_internal): Don't declare.
32820 (__asprintf): Don't define as macro. Declare hidden proto.
32821 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
32822 (__fsetlocking): Declare hidden proto.
32823 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
32824 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
32826 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
32827 (_IO_setlinebuf): Remove use of INTUSE.
32828 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
32829 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
32830 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
32831 Remove declaration.
32832 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
32833 (_IO_do_flush): Remove use of INTUSE.
32834 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
32835 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
32836 (_IO_adjust_column, _IO_least_wmarker)
32837 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
32838 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
32839 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
32840 (_IO_default_doallocate, _IO_wdefault_doallocate)
32841 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
32842 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
32843 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
32844 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
32845 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
32846 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
32847 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
32848 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
32849 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
32850 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
32851 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
32852 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
32853 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
32855 (_IO_flush_all_internal, _IO_adjust_column_internal)
32856 (_IO_default_uflow_internal, _IO_default_finish_internal)
32857 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
32858 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
32859 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
32860 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
32861 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
32862 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
32863 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
32864 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
32865 (_IO_file_close_internal, _IO_file_close_it_internal)
32866 (_IO_file_underflow_internal, _IO_file_overflow_internal)
32867 (_IO_file_init_internal, _IO_file_attach_internal)
32868 (_IO_file_fopen_internal, _IO_file_read_internal)
32869 (_IO_file_sync_internal, _IO_file_seek_internal)
32870 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
32871 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
32872 (_IO_str_underflow_internal, _IO_str_overflow_internal)
32873 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
32874 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
32875 (_IO_list_all_internal, _IO_link_in_internal)
32876 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
32877 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
32878 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
32879 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
32880 (_IO_do_write_internal, _IO_padn_internal)
32881 (_IO_getline_info_internal, _IO_getline_internal)
32882 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
32883 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
32884 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
32885 (_IO_vfscanf_internal, _IO_vfprintf_internal)
32886 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
32887 (_IO_init_internal, _IO_un_link_internal): Don't declare.
32888 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
32889 with libc_hidden_ver, remove use of INTUSE.
32890 * libio/genops.c: Likewise.
32891 * libio/freopen.c: Likewise.
32892 * libio/freopen64.c: Likewise.
32893 * libio/iofclose.c: Likewise.
32894 * libio/iofdopen.c: Likewise.
32895 * libio/iofflush.c: Likewise.
32896 * libio/iofflush_u.c: Likewise.
32897 * libio/iofgets.c: Likewise.
32898 * libio/iofgets_u.c: Likewise.
32899 * libio/iofopen.c: Likewise.
32900 * libio/iofopncook.c: Likewise.
32901 * libio/iofread.c: Likewise.
32902 * libio/iofread_u.c: Likewise.
32903 * libio/ioftell.c: Likewise.
32904 * libio/iofwrite.c: Likewise.
32905 * libio/iogetline.c: Likewise.
32906 * libio/iogets.c: Likewise.
32907 * libio/iogetwline.c: Likewise.
32908 * libio/iopadn.c: Likewise.
32909 * libio/iopopen.c: Likewise.
32910 * libio/ioseekoff.c: Likewise.
32911 * libio/ioseekpos.c: Likewise.
32912 * libio/iosetbuffer.c: Likewise.
32913 * libio/iosetvbuf.c: Likewise.
32914 * libio/ioungetc.c: Likewise.
32915 * libio/ioungetwc.c: Likewise.
32916 * libio/iovdprintf.c: Likewise.
32917 * libio/iovsprintf.c: Likewise.
32918 * libio/iovsscanf.c: Likewise.
32919 * libio/memstream.c: Likewise.
32920 * libio/obprintf.c: Likewise.
32921 * libio/oldfileops.c: Likewise.
32922 * libio/oldiofclose.c: Likewise.
32923 * libio/oldiofdopen.c: Likewise.
32924 * libio/oldiofopen.c: Likewise.
32925 * libio/oldiopopen.c: Likewise.
32926 * libio/oldstdfiles.c: Likewise.
32927 * libio/putc.c: Likewise.
32928 * libio/setbuf.c: Likewise.
32929 * libio/setlinebuf.c: Likewise.
32930 * libio/stdfiles.c: Likewise.
32931 * libio/strops.c: Likewise.
32932 * libio/vasprintf.c: Likewise.
32933 * libio/vscanf.c: Likewise.
32934 * libio/vsnprintf.c: Likewise.
32935 * libio/vswprintf.c: Likewise.
32936 * libio/wfiledoalloc.c: Likewise.
32937 * libio/wfileops.c: Likewise.
32938 * libio/wgenops.c: Likewise.
32939 * libio/wmemstream.c: Likewise.
32940 * libio/wstrops.c: Likewise.
32941 * libio/__fpurge.c: Likewise.
32942 * libio/__fsetlocking.c: Likewise.
32943 * assert/assert.c: Likewise.
32944 * debug/fgets_chk.c: Likewise.
32945 * debug/fgets_u_chk.c: Likewise.
32946 * debug/fread_chk.c: Likewise.
32947 * debug/fread_u_chk.c: Likewise.
32948 * debug/gets_chk.c: Likewise.
32949 * debug/obprintf_chk.c: Likewise.
32950 * debug/vasprintf_chk.c: Likewise.
32951 * debug/vdprintf_chk.c: Likewise.
32952 * debug/vsnprintf_chk.c: Likewise.
32953 * debug/vsprintf_chk.c: Likewise.
32954 * malloc/mtrace.c: Likewise.
32955 * misc/error.c: Likewise.
32956 * misc/syslog.c: Likewise.
32957 * stdio-common/asprintf.c: Likewise.
32958 * stdio-common/fxprintf.c: Likewise.
32959 * stdio-common/getw.c: Likewise.
32960 * stdio-common/isoc99_fscanf.c: Likewise.
32961 * stdio-common/isoc99_scanf.c: Likewise.
32962 * stdio-common/isoc99_vfscanf.c: Likewise.
32963 * stdio-common/isoc99_vscanf.c: Likewise.
32964 * stdio-common/isoc99_vsscanf.c: Likewise.
32965 * stdio-common/printf-prs.c: Likewise.
32966 * stdio-common/printf_fp.c: Likewise.
32967 * stdio-common/printf_fphex.c: Likewise.
32968 * stdio-common/printf_size.c: Likewise.
32969 * stdio-common/putw.c: Likewise.
32970 * stdio-common/scanf.c: Likewise.
32971 * stdio-common/sprintf.c: Likewise.
32972 * stdio-common/tmpfile.c: Likewise.
32973 * stdio-common/vfprintf.c: Likewise.
32974 * stdio-common/vfscanf.c: Likewise.
32975 * stdlib/strfmon_l.c: Likewise.
32976 * sunrpc/openchild.c: Likewise.
32977 * sunrpc/xdr_stdio.c: Likewise.
32978 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
32979 * sysdeps/mach/hurd/tmpfile.c: Likewise.
32981 2012-05-24 Roland McGrath <roland@hack.frob.com>
32983 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
32985 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
32986 in the third column, to generate for the shared library an IFUNC
32987 that uses _dl_vdso_vsym.
32988 * Makerules (COMPILE.c, compile-stdin.c): New variables.
32989 * Makeconfig (object-suffixes-noshared): New variable.
32991 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
32992 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
32993 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
32994 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
32997 * include/sys/time.h (__gettimeofday): Remove macro.
32998 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
32999 * time/gettimeofday.c (__gettimeofday): Remove #undef.
33001 (__gettimeofday): Add libc_hidden_def.
33002 (gettimeofday): Add libc_hidden_weak.
33003 * sysdeps/mach/gettimeofday.c: Likewise.
33004 * sysdeps/posix/gettimeofday.c: Likewise.
33005 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
33006 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
33007 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
33008 (__gettimeofday_internal): Remove strong_alias.
33009 (__gettimeofday): Add libc_hidden_def.
33010 (gettimeofday): Add libc_hidden_weak.
33011 * sysdeps/unix/syscalls.list (gettimeofday):
33012 Remove __gettimeofday_internal alias.
33014 2012-05-24 Daniel Jacobowitz <drow@false.org>
33015 H.J. Lu <hongjiu.lu@intel.com>
33018 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
33019 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
33020 (largebin_index_32_big): New.
33021 (largebin_index): Use it for 16-byte alignment.
33022 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
33023 correction with front_misalign.
33025 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
33027 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
33028 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
33030 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
33032 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
33034 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
33036 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
33038 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
33040 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
33042 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
33044 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
33046 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
33048 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
33050 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
33053 * scripts/data/c++-types-x32-linux-gnu.data: New file.
33054 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
33056 2012-05-24 Joseph Myers <joseph@codesourcery.com>
33060 * math/libm-test.inc (exp_test): Add test from bug 14036.
33061 (pow_test): Add test from bug 10846.
33063 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
33065 (special_function): Do not include flags in test name.
33066 (parse_args): Likewise.
33067 * sysdeps/i386/fpu/libm-test-ulps: Update.
33068 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33069 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33070 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33071 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33073 * math/gen-libm-test.pl (%beautify): Add entries for underflow
33075 * math/libm-test.inc ("Philosophy"): Update comment about
33077 (UNDERFLOW_EXCEPTION): New macro.
33078 (UNDERFLOW_EXCEPTION_OK): Likewise.
33079 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
33080 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
33081 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
33082 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
33083 (INVALID_EXCEPTION_OK): Update value.
33084 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33085 (OVERFLOW_EXCEPTION_OK): Likewise.
33086 (IGNORE_ZERO_INF_SIGN): Likewise.
33087 (test_exceptions): Handle underflow exceptions.
33088 (acos_test): Update for underflow exception expectations.
33089 (cexp_test): Likewise.
33090 (clog_test): Likewise.
33091 (clog10_test): Likewise.
33092 (csqrt_test): Likewise.
33093 (ctan_test): Likewise.
33094 (ctanh_test): Likewise.
33095 (exp_test): Likewise.
33096 (exp10_test): Likewise.
33097 (exp2_test): Likewise.
33098 (expm1_test): Likewise.
33099 (fma_test): Likewise.
33100 (j0_test): Likewise.
33101 (jn_test): Likewise.
33102 (nexttoward_test): Likewise.
33103 (pow_test): Likewise.
33104 (scalbn_test): Likewise.
33105 (scalbln_test): Likewise.
33106 (tan_test): Likewise.
33107 (y1_test): Likewise.
33108 * sysdeps/i386/fpu/libm-test-ulps: Update.
33109 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33111 2012-05-23 David S. Miller <davem@davemloft.net>
33113 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
33114 (__libc_sigaction): Remove unused local variables.
33116 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33118 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
33120 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
33122 mktime: avoid signed integer overflow
33123 * time/mktime.c (__mktime_internal): Do not mishandle the case
33124 where diff == INT_MIN.
33126 mktime: simplify computation of average
33127 * time/mktime.c (ranged_convert): Use new time_t_avg function
33128 instead of rolling our own (probably-slower) code.
33130 mktime: do not assume signed right shift propagates sign bit
33131 * time/mktime.c (isdst_differ): New static function.
33132 (__mktime_internal): No need to normalize tm_isdst now.
33133 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
33136 mktime: merge another wrapv change from gnulib
33137 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
33138 from some compilers.
33140 mktime: remove incorrect attempt at unusual arithmetics
33141 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
33142 The code didn't really work on such machines anyway.
33143 (TYPE_MINIMUM): Assume two's complement.
33144 (twos_complement_arithmetic): Verify that long_int and time_t
33145 are two's complement (or unsigned, in the latter case).
33147 mktime: check signed shifts on long_int and time_t, too
33148 * time/mktime.c (SHR): Check that shifts work as desired
33149 on the types long_int and time_t too, as SHR is used on
33152 mktime: do not assume 'long' is wide enough
33153 * time/mktime.c (verify): Move decl up.
33154 (long_int): New type.
33155 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
33156 to remove assumption in the code that 'long' is wide enough to
33157 store year values. This assumption is not true on x32 and on
33158 some non-glibc platforms.
33160 mktime: merge wrapv change from gnulib
33161 * time/mktime.c (WRAPV): New macro.
33162 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
33163 (guess_time_tm, __mktime_internal): Do not assume that signed
33164 integer overflow wraps around; modern compilers generate code
33165 where this assumption is no longer valid.
33167 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33169 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33170 Replace "jmp L(pseudo_end)" with "ret".
33171 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
33174 2012-05-23 Andreas Jaeger <aj@suse.de>
33176 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
33177 * sysdeps/unix/sysv/linux/poll.c: Remove file.
33179 2012-05-23 Andreas Jaeger <aj@suse.de>
33180 Maximilian Attems <max@stro.at>
33182 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
33185 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33187 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
33188 code so that pseudo_end is just ret and the stack pointer is
33189 correct also for static library in error case.
33191 2012-05-23 Joseph Myers <joseph@codesourcery.com>
33193 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
33194 move to syscalls.list.
33195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
33196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
33197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
33198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
33200 * manual/install.texi (Running make install): Do not mention Linux
33201 kernel version for which pt_chown is not needed.
33202 (Linux): Do not mention problems with nscd with 2.0 kernels.
33203 * INSTALL: Regenerated.
33205 2012-05-23 Andreas Jaeger <aj@suse.de>
33207 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
33208 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
33210 * sysdeps/unix/sysv/linux/s390/bits/mman.h
33211 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33212 * sysdeps/unix/sysv/linux/sh/bits/mman.h
33213 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33214 * sysdeps/unix/sysv/linux/i386/bits/mman.h
33215 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33216 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
33217 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33218 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
33219 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33220 * sysdeps/unix/sysv/linux/bits/in.h
33221 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
33223 2012-05-22 Roland McGrath <roland@hack.frob.com>
33225 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
33226 (PREPARE_VERSION): Just use assert instead, it will be elided
33227 under [NDEBUG] anyway.
33229 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33231 * sysdeps/unix/sysv/linux/Makefile: Include
33232 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
33233 (sysdep_routines): Remove sysctl.
33234 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
33235 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
33236 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
33237 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
33238 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
33240 2012-05-22 Andreas Jaeger <aj@suse.de>
33242 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
33243 that pseudo_end is just ret and the stack pointer is correct also
33244 for static library in error case.
33246 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
33249 * nss/nsswitch.c (defconfig_entries): New variable.
33250 (__nss_database_lookup): Don't leak defconfig entries.
33251 (nss_parse_service_list): Don't leak on error paths.
33252 (free_database_entries): New function.
33253 (free_defconfig): New function.
33254 (free_mem): Move common code to free_database_entries.
33256 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33258 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
33260 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
33262 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
33263 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
33264 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
33266 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
33267 (INTERNAL_SYSCALL_TYPES): Likewise.
33268 (LOAD_ARGS_TYPES_[1-6]): Likewise.
33269 (LOAD_REGS_TYPES_[1-6]): Likewise.
33270 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
33271 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
33273 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33275 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
33276 copysignl for GLIBC_2_0.
33277 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
33278 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
33279 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
33280 logbl for GLIBC_2_0.
33281 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
33282 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
33284 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33286 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
33287 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
33289 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33292 * time/mktime.c: Update copyright years.
33294 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
33296 mktime: merge comment-quoting-style change from gnulib
33297 * time/mktime.c: Quote 'like this' in comments.
33298 The GNU coding standards suggest that we no longer quote `like this',
33299 as "`" and "'" are typically rendered asymmetrically nowadays.
33300 The typical gnulib style is to quote 'like this' when quoting
33301 code, and "like this" when quoting English.
33303 * time/mktime.c (compile-command): Add "-I.".
33305 mktime: merge mktime-internal.h change from gnulib
33306 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
33308 mktime: merge time_r change from gnulib
33309 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
33311 mktime: merge DEBUG change from gnulib
33312 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
33313 case system <time.h> has a #define.
33315 mktime: merge <sys/types.h> change from gnulib
33316 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
33317 since <time.t> is now guaranteed to define time_t.
33319 mktime: merge HAVE_CONFIG_H change from gnulib
33320 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
33322 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33324 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33327 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
33329 (struct rusage): Use anonymous union to pad each field to
33332 2012-05-21 David S. Miller <davem@davemloft.net>
33334 * Makefules (o-iterator): Remove .s cases.
33335 (compile-command.s): Delete.
33336 (COMPILE.s): Delete.
33337 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
33339 2012-05-21 Joseph Myers <joseph@codesourcery.com>
33341 * configure.in (libc_cv_predef_stack_protector): Only consider
33342 "foobar" and "__stack_chk_fail" lines in libc_undefs.
33343 * configure: Regenerated.
33345 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
33347 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33348 New macro. Use R*LP on int and pointer.
33349 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
33350 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
33351 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
33352 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
33354 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
33355 [__WORDSIZE_TIME64_COMPAT32] instead of
33356 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
33357 (struct utmp): Likewise.
33358 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
33359 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
33361 (__WORDSIZE_TIME64_COMPAT32): This.
33362 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
33363 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
33364 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
33365 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
33366 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
33367 (__WORDSIZE_TIME64_COMPAT32): New macro.
33369 2012-05-21 Andreas Jaeger <aj@suse.de>
33371 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
33372 only if [SHARED]. Add prototype for __wcschr_ia32.
33374 2012-05-21 Roland McGrath <roland@hack.frob.com>
33376 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
33377 of %rbp unmolested in the jmp_buf while mangling the low bits.
33378 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
33379 unmolested high bits of %rbp while demangling the low bits.
33380 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
33382 2012-05-21 Andreas Jaeger <aj@suse.de>
33384 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
33385 * sunrpc/svc_simple.c: Use it for registerrpc.
33386 * sunrpc/xcrypt.c: Use it for passwd2des.
33388 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
33390 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
33392 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
33393 Don't define if [__SYSCALL_WORDSIZE != 32].
33394 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
33397 2012-05-21 Bruno Haible <bruno@clisp.org>
33398 Andreas Jaeger <aj@suse.de>
33400 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
33401 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
33402 inptr and inend for must_buffer_ch.
33403 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
33404 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
33405 * stdio-common/Makefile (tests): Remove bug15.
33406 (bug15-ENV): Remove macro.
33407 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
33410 2012-05-19 Andreas Jaeger <aj@suse.de>
33411 Roland McGrath <roland@hack.frob.com>
33413 * manual/contrib.texi: Completely rewritten. It contains now an
33414 alphabetical list of contributors and their contributions.
33416 2012-05-21 Richard Henderson <rth@twiddle.net>
33418 * misc/getauxval.c (__getauxval): Use unsigned long int.
33419 * misc/sys/auxv.h: Include <sys/cdefs.h>.
33420 (getauxval): Use unsigned long int.
33422 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
33424 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33426 2012-05-21 Roland McGrath <roland@hack.frob.com>
33428 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
33429 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
33430 __alignof__ (long double).
33432 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33434 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33436 2012-05-20 Richard Henderson <rth@twiddle.net>
33438 * misc/getauxval.c: New file.
33439 * misc/sys/auxv.h: New file.
33440 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
33441 (routines): Add getauxval.
33442 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
33443 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
33444 * elf/dl-sysdep.c (_dl_auxv): Remove.
33445 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
33446 * elf/dl-support.c (_dl_auxv): New variable.
33447 (_dl_aux_init): Initialize it.
33448 * manual/startup.texi (Auxiliary Vector): New node.
33449 * sysdeps/generic/bits/hwcap.h: New file.
33450 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
33451 * sysdeps/powerpc/sysdep.h: ... here. Include it.
33452 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
33453 * sysdeps/sparc/sysdep.h: ... here. Include it.
33454 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
33455 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
33456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
33459 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
33460 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
33461 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
33462 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
33463 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
33464 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
33465 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
33467 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33469 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33471 2012-05-19 David S. Miller <davem@davemloft.net>
33473 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33475 2012-05-19 Joseph Myers <joseph@codesourcery.com>
33478 * math/s_ccosh.c: Include <float.h>
33479 (__ccosh): Avoid internal overflow calculating sinh and cosh
33480 values before multiplying by sin and cos values.
33481 * math/s_ccoshf.c: Likewise.
33482 * math/s_ccoshl.c: Likewise.
33483 * math/s_csin.c: Likewise.
33484 * math/s_csinf.c: Likewise.
33485 * math/s_csinl.c: Likewise.
33486 * math/s_csinh.c: Likewise.
33487 * math/s_csinhf.c: Likewise.
33488 * math/s_csinhl.c: Likewise.
33489 * math/libm-test.inc (ccos_test): Add more tests.
33490 (ccosh_test): Likewise.
33491 (csin_test): Likewise.
33492 (csinh_test): Likewise.
33493 * sysdeps/i386/fpu/libm-test-ulps: Update.
33494 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33496 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
33498 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
33499 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
33501 * sysdeps/x86_64/x32/_itoa.h: Add comment.
33503 2012-05-19 Joseph Myers <joseph@codesourcery.com>
33505 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
33506 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
33507 * sysdeps/powerpc/soft-fp/Versions: Likewise.
33508 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
33509 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
33510 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
33511 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
33512 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
33513 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
33514 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
33515 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
33516 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
33517 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
33518 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
33519 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
33520 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
33521 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
33522 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
33523 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
33524 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
33525 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
33526 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
33527 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
33528 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
33529 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
33530 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
33531 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
33532 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
33533 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
33534 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
33535 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
33537 2012-05-18 Andreas Jaeger <aj@suse.de>
33539 * csu/.gitignore: Delete.
33541 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
33543 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
33544 (timex): Use __syscall_slong_t.
33546 2012-05-18 Andreas Jaeger <aj@suse.de>
33547 Carlos O'Donell <carlos_odonell@mentor.com>
33549 * manual/install.texi (Configuring and compiling): Update
33550 description about files modified in the source directory.
33551 * INSTALL: Regenerated.
33553 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
33555 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
33556 value. Use "or" to set return value to -1.
33557 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
33558 negate return value.
33560 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33562 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
33563 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
33564 failure if the compiler has Graphite support disabled.
33565 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
33567 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
33568 (CFLAGS-memmove.c): Likewise.
33569 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
33572 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
33574 * sysdeps/x86_64/x32/_itoa.h: New file.
33576 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
33577 getdents system call only if kernel and user dirents have the
33578 same d_ino and d_off.
33580 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
33581 LLONG_MAX != LONG_MAX.
33582 (_itoa_word): Use _ITOA_WORD_TYPE on value.
33583 (_fitoa_word): Likewise.
33585 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
33587 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
33588 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
33589 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
33591 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
33592 include <bits/wordsize.h>. Check __x86_64__ instead of
33594 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
33595 if __x86_64__ is defined. Use anonymous union on fpstate.
33597 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
33600 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
33602 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
33603 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
33604 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
33605 Refer to _rtld_local_ro instead of _rtld_global_ro.
33606 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
33608 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
33610 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
33612 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
33613 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
33614 of _rtld_global, and rtld_progname instead of _dl_argv[0].
33616 * sysdeps/powerpc/powerpc32/dl-machine.c
33617 (__elf_machine_runtime_setup) [PROF]: Don't reference
33620 2012-05-18 Andreas Jaeger <aj@suse.de>
33622 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
33623 function only available for GCCs before 3.4 since GCC 3.4
33624 introduced a builtin.
33626 (llrintf): Likewise.
33627 (llrint): Likewise.
33634 (nearbyint): Likewise.
33635 (nearbyintf): Likewise.
33639 (floorf): Likewise.
33641 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
33643 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
33644 on both fields and cast pointer to __syscall_ulong_t.
33646 * bits/types.h (__fsword_t): New type.
33647 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
33648 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
33649 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33650 (__FSWORD_T_TYPE): Likewise.
33651 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33652 (__FSWORD_T_TYPE): Likewise.
33653 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33654 (__FSWORD_T_TYPE): Likewise.
33655 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
33656 (__FSWORD_T_TYPE): Likewise.
33657 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
33658 __SWORD_TYPE with __fsword_t.
33659 (statfs64): Likewise.
33661 2012-05-17 David S. Miller <davem@davemloft.net>
33663 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
33665 2012-05-17 Andreas Jaeger <aj@suse.de>
33667 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
33670 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
33672 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
33674 2012-05-17 Andreas Jaeger <aj@suse.de>
33676 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
33679 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
33681 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
33683 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
33685 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
33686 * sysdeps/x86_64/tst-mallocalign1.c: New file.
33688 2012-05-17 Andreas Jaeger <aj@suse.de>
33689 Carlos O'Donell <carlos_odonell@mentor.com>
33692 * sysdeps/x86_64/multiarch/init-arch.h
33693 (bit_YMM_Usable): Rename to...
33694 (bit_AVX_Usable): ... this.
33695 (bit_FMA4_Usable): New macro.
33696 (bit_XMM_state): New macro.
33697 (bit_YMM_state): New macro.
33698 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
33699 [__ASSEMBLER__] (index_AVX_Usable): ... this.
33700 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
33701 (CPUID_OSXSAVE): New macro.
33702 (CPUID_AVX): New macro.
33703 (CPUID_FMA4): New macro.
33704 (index_YMM_Usable): Rename to...
33705 (index_AVX_Usable): ... this.
33706 (HAS_AVX): Use HAS_ARCH_FEATURE.
33707 (HAS_FMA4): Likewise.
33708 (HAS_YMM_USABLE): Remove.
33709 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33710 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
33712 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
33713 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
33714 * sysdeps/x86_64/multiarch/Makefile: Likewise.
33715 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
33716 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
33718 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
33720 * math/libm-test.c: Support platforms without multiple rounding modes.
33721 * math/bug-nextafter.c: Support platforms without FP exceptions.
33722 * math/bug-nexttoward.c: Likewise.
33723 * math/test-fenv.c: Likewise.
33724 * math/test-misc.c: Likewise.
33725 * stdlib/bug-getcontext.c: Likewise.
33727 2012-05-17 Andreas Jaeger <aj@suse.de>
33729 * manual/examples/search.c (critter_cmp): Change signature to
33731 * manual/string.texi (Collation Functions): Likewise.
33733 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33735 * bits/types.h: Fold copyright years.
33736 * bits/typesizes.h: Likewise.
33737 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
33738 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
33739 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
33740 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
33741 * time/time.h: Likewise.
33743 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
33746 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
33747 in instead of returning them. Return void.
33748 (__libc_mallinfo): Accumulate over all arenas.
33749 (__malloc_stats): Adjust for change in int_mallinfo interface.
33751 2012-05-16 Roland McGrath <roland@hack.frob.com>
33754 * configure.in (NM): Add AC_CHECK_TOOL for it.
33755 (libc_extra_cflags): New substituted variable.
33756 Check for -fstack-protector being used implicitly.
33757 * configure: Regenerated.
33758 * config.make.in (config-extra-cflags): New variable,
33759 gets @libc_extra_cflags@.
33760 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
33763 * configure.in: Check for _FORTIFY_SOURCE being predefined.
33764 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
33765 * configure: Regenerated.
33766 * config.make.in (CPPUNDEFS): New substituted variable.
33767 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
33768 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
33769 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
33771 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33773 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
33774 (mq_attr): Use __syscall_slong_t.
33776 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33778 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
33779 Check __x86_64__ instead of __WORDSIZE.
33780 (_STAT_VER_LINUX): Likewise.
33781 (stat): Check __x86_64__ instead of __WORDSIZE. Use
33782 __syscall_ulong_t and __syscall_slong_t.
33783 (stat64): Likewise.
33785 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33787 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
33789 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33791 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
33793 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33795 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
33798 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
33799 include <bits/wordsize.h>. Check __x86_64__ instead of
33801 (greg_t): Use "__extension__ long long int" if __x86_64__ is
33803 (mcontext_t): Replace "unsigned long" with "unsigned long long".
33805 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
33806 include <bits/wordsize.h>. Check __x86_64__ instead of
33808 (user_regs_struct): Use "__extension__ unsigned long long"
33809 instead of "unsigned long" if __x86_64__ is defined.
33810 (user): Likewise. Pad after pointer field if __ILP32__ is
33813 2012-05-16 Joseph Myers <joseph@codesourcery.com>
33815 * configure.in (makeinfo): Require version 4.5 or later. Allow
33817 * configure: Regenerated.
33818 * manual/install.texi (texinfo): Increase version requirement to
33820 * INSTALL: Regenerated.
33822 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
33824 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33826 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
33828 * sysdeps/x86_64/x32/ffs.c: New file.
33830 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
33832 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
33833 defined. Use __syscall_ulong_t.
33834 (shminfo): Use __syscall_ulong_t.
33835 (shm_info): Likewise.
33837 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
33840 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
33842 (msgqnum_t): Use __syscall_ulong_t.
33843 (msglen_t): Likewise.
33844 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
33847 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
33848 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
33850 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
33852 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
33853 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
33855 * sysvipc/sys/msg.h (msgbuf): Replace long int with
33858 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
33859 include <bits/wordsize.h>. Check __x86_64__ instead of
33862 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
33863 "unsigned long long int" if __x86_64__ is defined.
33864 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
33866 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
33867 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
33868 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
33870 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
33872 (GET_PC): Cast to uintptr_t first.
33873 (GET_FRAME): Likewise.
33874 (GET_STACK): Likewise.
33876 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
33877 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
33878 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
33879 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
33880 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
33881 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
33882 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
33883 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
33884 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
33885 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
33886 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
33887 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
33888 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
33889 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
33890 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
33891 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
33892 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
33893 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
33894 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
33895 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
33896 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
33897 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
33898 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
33899 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
33900 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
33901 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
33902 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
33903 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
33904 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
33906 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
33908 * Makerules (+depfiles): Also collect depfiles from .oS in
33910 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
33911 .oS, $(libnldbl-routines)).
33913 * Makerules (native-compile-mkdep-flags): Define.
33914 * sunrpc/Makefile (extra-objs): Add $(addprefix
33915 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
33916 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
33917 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
33918 calling $(make-target-directory).
33920 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33922 * bits/types.h (__snseconds_t): Removed.
33923 * time/time.h (struct timespec): Replace __snseconds_t with
33925 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
33926 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
33928 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33929 (__SNSECONDS_T_TYPE): Likewise.
33930 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33931 (__SNSECONDS_T_TYPE): Likewise.
33932 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33933 (__SNSECONDS_T_TYPE): Likewise.
33935 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33937 * sysdeps/mach/hurd/bits/typesizes.h
33938 (__SYSCALL_SLONG_TYPE): New macro.
33939 (__SYSCALL_ULONG_TYPE): Likewise.
33941 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33943 * bits/types.h (__syscall_slong_t): New type.
33944 (__syscall_ulong_t): Likewise.
33946 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
33947 (__SYSCALL_ULONG_TYPE): Likewise.
33948 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33949 (__SYSCALL_SLONG_TYPE): Likewise.
33950 (__SYSCALL_ULONG_TYPE): Likewise.
33951 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33952 (__SYSCALL_SLONG_TYPE): Likewise.
33953 (__SYSCALL_ULONG_TYPE): Likewise.
33954 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33955 (__SYSCALL_SLONG_TYPE): Likewise.
33956 (__SYSCALL_ULONG_TYPE): Likewise.
33958 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33960 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
33961 Add sigaltstack-offsets.sym.
33962 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
33963 <sigaltstack-offsets.h>.
33964 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
33965 longjmp_msg pointer.
33966 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
33967 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
33969 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
33971 2012-05-15 Joseph Myers <joseph@codesourcery.com>
33973 * elf/stackguard-macros.h: Remove file.
33974 * sysdeps/generic/stackguard-macros.h: New file.
33975 * sysdeps/i386/stackguard-macros.h: Likewise.
33976 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
33977 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
33978 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
33979 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
33980 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
33981 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
33982 * sysdeps/x86_64/stackguard-macros.h: Likewise.
33983 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
33984 <elf/stackguard-macros.h>.
33987 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
33988 __aligned__ in attribute.
33989 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
33990 (gregset_t): Likewise.
33992 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33994 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
33995 * sysdeps/x86_64/64/Implies-after: Here. New file.
33996 * sysdeps/x86_64/x32/Implies-after: New file.
33998 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34000 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
34001 and access return value for _dl_profile_fixup. Use R10_LP to
34004 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34006 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
34008 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34010 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
34011 * sysdeps/x86_64/x32/sysdep.h: New file.
34013 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34015 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
34016 * sysdeps/x86_64/setjmp.S: Likewise.
34018 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34020 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
34021 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
34022 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
34023 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
34024 remove unused global constant.
34026 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
34028 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
34029 include of <not-cancel.h>.
34031 2012-05-15 Roland McGrath <roland@hack.frob.com>
34033 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
34035 2012-05-15 Jeff Law <law@redhat.com>
34036 Andreas Jaeger <aj@suse.de>
34039 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
34041 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
34042 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
34043 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
34044 code changing __hst_map_handle.map.
34046 2012-05-15 Roland McGrath <roland@hack.frob.com>
34048 * configure.in (sysnames): Look for Implies-before and Implies-after
34050 * configure: Regenerated.
34052 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34054 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
34055 8-byte data alignment with LP_SIZE alignment.
34057 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34059 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
34062 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34064 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
34066 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34068 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
34069 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
34070 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
34072 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
34074 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34076 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
34077 (stackinfo_sub_sp): Likewise.
34079 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34081 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
34084 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34086 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
34089 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34091 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
34094 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34096 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
34098 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34100 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
34101 into R11_LP and load __x86_64_shared_cache_size_half into
34104 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34106 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
34109 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34111 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
34113 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
34115 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
34117 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
34118 powerpc32/power7/fpu/s_logb.c via #include.
34119 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
34120 powerpc32/power7/fpu/s_logbf.c via #include.
34121 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
34122 powerpc32/power7/fpu/s_logbl.c via #include.
34124 2012-05-15 Joseph Myers <joseph@codesourcery.com>
34126 * README.libm: Remove file.
34128 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34130 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
34131 count for x32. Use R*_LP and omit operand-size suffix.
34133 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34135 * shlib-versions: Move x86_64-.*-linux.* entries to ...
34136 * sysdeps/x86_64/64/shlib-versions: Here. New file.
34137 * sysdeps/x86_64/x32/shlib-versions: New file.
34139 2012-05-14 Roland McGrath <roland@hack.frob.com>
34141 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
34142 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
34143 Use _dl_fatal_printf instead.
34145 2012-05-14 Joseph Myers <joseph@codesourcery.com>
34147 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
34148 set if not set by the user. Do not allow for being unset.
34149 * sysdeps/unix/sysv/linux/configure: Regenerated.
34151 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34153 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
34154 the `q' suffix from lea and replace .quad with ASM_ADDR.
34156 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34158 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
34159 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
34161 (PTR_DEMANGLE): Likewise.
34163 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34165 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
34167 (ASM_ADDR): Likewise.
34168 (RAX_LP): Likewise.
34169 (RBP_LP): Likewise.
34170 (RBX_LP): Likewise.
34171 (RCX_LP): Likewise.
34172 (RDI_LP): Likewise.
34173 (RSI_LP): Likewise.
34174 (RSP_LP): Likewise.
34177 (R10_LP): Likewise.
34178 (R10_LP): Likewise.
34179 (R11_LP): Likewise.
34180 (R12_LP): Likewise.
34181 (R13_LP): Likewise.
34182 (R14_LP): Likewise.
34183 (R15_LP): Likewise.
34185 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34187 * sysdeps/x86_64/x32/dl-machine.h: New file.
34189 2012-05-14 Andreas Jaeger <aj@suse.de>
34191 * manual/Makefile (subdir): Remove export of subdir.
34192 (all): Remove target.
34193 (.PHONY): Remove all from list.
34194 (mkinstalldirs): Remove.
34195 (.PHONY): Remove installdirs from list.
34196 ($(inst_infodir)/libc.info): Use make-target-directory.
34197 (installdirs): Remove.
34198 (subdir_%): Remove.
34199 (glibc-targets): Remove.
34202 ($(objpfx)stubs ../po/manual.pot): Remove.
34203 ($(objpfx)stamp%): Remove.
34204 (make-target-directory): Remove.
34205 (subdir_install): Remove.
34206 (routines): Remove.
34213 * manual/.gitignore: Remove, it's not needed anymore.
34214 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
34216 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
34218 (texis): Renamed to $(objpfx)texis.
34219 (texis-path): New, contains path to generated files.
34220 (chapters.%): Use texis-path for complete path, add extra argument
34222 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
34223 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
34224 (summary,texi, stamp-summary): Use complete path of
34225 files. Generate files in build dir.
34226 (dir-add.texi): Build in build dir.
34227 (libm-err.texi,stamp-libm-err): Likewise.
34228 (version.texi, stamp-version): Likewise.
34229 (.%c.texi): Likewise.
34230 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
34231 (mostlyclean): Remove target.
34232 (realclean): Remove target.
34233 (generated): Add new variable with contents from mostlyclean and
34234 realclean, remove entries duplicated in common-mostlyclean, add
34235 stamp-libm-err and stamp-version.
34236 (generated-dirs): Add libc directory.
34237 ($(inst_infodir)/libc.info): Install files from build dir.
34239 * manual/install.texi (Configuring and compiling): Adjust since
34240 the info files are not part of the tar ball anymore.
34242 2012-05-14 Andreas Jaeger <aj@suse.de>
34244 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
34247 2012-05-14 Joseph Myers <joseph@codesourcery.com>
34250 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34251 to 2.2.0 where earlier.
34252 * sysdeps/unix/sysv/linux/configure: Regenerated.
34253 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
34254 Remove conditional code.
34255 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
34256 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
34257 Remove conditional code.
34258 [!__NR_lchown]: Likewise.
34259 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34260 [__NR_lchown]: Likewise.
34261 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
34262 comment referencing __ASSUME_LCHOWN_SYSCALL.
34263 * sysdeps/unix/sysv/linux/i386/sigaction.c
34264 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34265 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34266 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
34267 Remove conditional code.
34268 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
34269 (__protocol_available): Remove #if 0 code.
34270 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
34272 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
34273 * sysdeps/unix/sysv/linux/kernel-features.h
34274 (__ASSUME_GETCWD_SYSCALL): Don't define.
34275 (__ASSUME_REALTIME_SIGNALS): Likewise.
34276 (__ASSUME_PREAD_SYSCALL): Likewise.
34277 (__ASSUME_PWRITE_SYSCALL): Likewise.
34278 (__ASSUME_POLL_SYSCALL): Likewise.
34279 (__ASSUME_LCHOWN_SYSCALL): Likewise.
34280 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
34282 (__ASSUME_SIOCGIFNAME): Don't define.
34283 (__ASSUME_MSG_NOSIGNAL): Likewise.
34284 (__ASSUME_SENDFILE): Define unconditionally.
34285 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
34286 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
34288 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
34289 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
34290 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
34291 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34292 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
34293 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
34294 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
34296 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34297 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
34299 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34300 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
34302 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34303 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
34305 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34306 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
34308 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34309 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
34311 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34312 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
34314 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34315 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
34317 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34318 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34319 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
34320 Remove conditional code.
34321 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34322 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
34323 Remove conditional code.
34324 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34325 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
34326 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
34327 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34328 Remove conditional code.
34329 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34330 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
34331 Remove conditional code.
34332 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34333 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
34334 Remove conditional code.
34335 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34336 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
34337 Remove conditional code.
34338 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34339 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34340 Remove conditional code.
34341 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34342 * sysdeps/unix/sysv/linux/sh/pwrite64.c
34343 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34344 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34345 * sysdeps/unix/sysv/linux/sigaction.c
34346 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34347 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34348 * sysdeps/unix/sysv/linux/sigpending.c
34349 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34350 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34351 * sysdeps/unix/sysv/linux/sigprocmask.c
34352 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34353 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34354 * sysdeps/unix/sysv/linux/sigsuspend.c
34355 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34356 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34357 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34358 (__libc_missing_rt_sigs): Remove.
34359 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
34360 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
34361 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
34362 Remove conditional code.
34363 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
34364 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
34366 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
34367 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
34368 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
34369 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
34371 2012-05-14 Andreas Jaeger <aj@suse.de>
34373 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
34374 it's not used in glibc.
34375 (__coshm1): Likewise.
34376 (__acosh1p): Likewise.
34379 * manual/string.texi (Copying and Concatenation): Add missing
34380 variable in concat example.
34381 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
34383 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34386 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
34387 __builtin_clzl with __builtin_clzll.
34389 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34392 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
34395 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34397 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
34398 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
34399 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
34400 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
34402 2012-05-14 Mike Frysinger <vapier@gentoo.org>
34404 * NEWS: Update ia64 info.
34406 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
34408 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
34411 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
34413 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
34414 * sysdeps/unix/syscalls.list (dup3): Likewise.
34415 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
34416 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
34418 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
34420 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
34421 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
34423 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
34425 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
34427 (TLS_IE): Use mov/add instead of movq/addq to load thread
34429 (TLS_GD_PREFIX): New.
34432 2012-05-11 David S. Miller <davem@davemloft.net>
34434 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
34435 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
34436 (_FPU_SETCW): Likewise.
34438 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34440 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
34441 is 32-byte aligned.
34443 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
34446 * iconvdata/gb18030.c: Update tables.
34447 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
34448 characters specially.
34449 (BODY for TO_LOOP): Add encoding of missing ranges.
34451 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
34454 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
34455 * sysdeps/mach/hurd/dup3.c: Likewise.
34456 * sysdeps/mach/hurd/readlinkat.c: Likewise.
34457 * sysdeps/powerpc/memmove.c:: Likewise.
34459 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34461 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
34462 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
34464 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34466 * elf/elf.h (R_X86_64_RELATIVE64): New.
34467 (R_X86_64_NUM): Updated.
34468 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
34469 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
34470 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
34471 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
34472 tst-quad1pie tst-quad2pie
34473 (modules-names): Add tst-quadmod1 tst-quadmod2.
34474 ($(objpfx)tst-quad1): New dependency.
34475 ($(objpfx)tst-quad2): Likewise.
34476 ($(objpfx)tst-quad1pie): Likewise.
34477 ($(objpfx)tst-quad2pie): Likewise.
34478 * sysdeps/x86_64/tst-quad1.c: New file.
34479 * sysdeps/x86_64/tst-quad1pie.c: New file.
34480 * sysdeps/x86_64/tst-quad2.c: Likewise.
34481 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
34482 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
34483 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
34484 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
34485 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
34487 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34489 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
34490 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
34491 * streams/stropts.h (t_scalar_t): Define type.
34493 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
34494 (_PATH_PRESERVE): Set to "/var/lib".
34495 (_PATH_RWHODIR): Set to "/var/spool/rwho".
34497 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
34500 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
34501 if __dir_mkfile succeeded.
34503 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
34504 checking for _hurd_dtablesize. Unlock it right after having
34505 finished _hurd_dtable allocation.
34507 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34509 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
34510 * sysdeps/mach/hurd/configure: Regenerated.
34511 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
34512 special-casing to...
34513 * sysdeps/gnu/configure.in: ... this new file.
34514 * sysdeps/unix/sysv/linux/configure: Regenerated.
34515 * sysdeps/gnu/configure: New generated file.
34517 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
34518 for Linux: use nsec instead of usec, as well as:
34519 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
34520 members of type struct timespec.
34521 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
34523 (struct stat64): Likewise.
34524 (_STATBUF_ST_NSEC): New macro.
34525 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
34527 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
34528 __strtoul_internal rather than strtoul.
34530 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34532 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
34535 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34537 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
34538 which preserves existing values.
34539 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
34541 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34543 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
34544 TIMEOUT values. Return EINVAL for NFDS values either negative or
34545 greater than FD_SETSIZE.
34547 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34549 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
34550 allocated, call __vm_protect to finish enabling the existing space, and
34551 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
34552 allocate the remainder.
34554 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34556 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
34557 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
34559 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34561 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
34562 sysdeps/mach/hurd/readlink.c.
34564 * posix/tst-sysconf.c (posix_options): Only use
34565 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
34566 _POSIX_SYNCHRONIZED_IO when they are defined
34567 * sysdeps/mach/hurd/bits/posix_opt.h:
34568 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
34569 (_XOPEN_REALTIME): Undefine macro.
34570 (_XOPEN_REALTIME_THREADS): Undefine macro.
34571 (_XOPEN_SHM): Undefine macro.
34572 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
34574 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
34576 (_POSIX_ASYNC_IO): Undefine macro.
34577 (_POSIX_PRIORITIZED_IO): Undefine macro.
34578 (_POSIX_SPIN_LOCKS): Define macro to -1.
34580 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
34581 SA_NODEFER, SA_RESETHAND.
34582 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
34583 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
34586 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34588 * elf/Makefile (pldd-modules): Define unconditionally.
34590 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34592 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
34594 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34596 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
34597 Return ENOENT when name is empty.
34598 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
34600 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34602 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
34604 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
34606 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34608 Fix mlock in all cases except non-readable pages.
34609 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
34610 instead of VM_PROT_ALL as parameter to __vm_wire function.
34612 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
34613 (__mkdir): When path is `/', just fail with EEXIST.
34614 * sysdeps/mach/hurd/mkdirat.c: Likewise.
34616 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34618 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
34619 <sys/uio.h> (for writev).
34620 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
34621 and <sys/param.h> (for MIN).
34623 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34625 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
34626 REQUESTED_TIME. Properly set the remaining time and return EINTR
34629 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34631 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
34632 Depend on against $(link-rpcuserlibs).
34634 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34636 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
34637 (__libc_stack_end): Do not use attribute_relro.
34638 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
34639 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
34640 to libthread-provided value.
34641 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
34644 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34647 * bits/libc-lock.h (__libc_once_get): New macro.
34648 * sysdeps/mach/bits/libc-lock.h: Likewise.
34649 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
34650 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
34651 instead of using implementation details.
34653 * libio/fileops.c: Unconditionally include <kernel-features.h>.
34654 * libio/freopen.c: Likewise.
34655 * libio/freopen64.c: Likewise.
34656 * misc/syslog.c: Likewise.
34657 * nscd/connections.c: Likewise.
34658 * nscd/netgroupcache.c: Likewise.
34659 * sysdeps/posix/getcwd.c: Likewise.
34661 2012-05-10 Roland McGrath <roland@hack.frob.com>
34663 * math/w_ilogbf.c: Add #include <limits.h>.
34665 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34667 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
34668 path instead of returning without unlocking.
34670 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
34671 immediate-write ioctls.
34672 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
34674 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34676 * sysdeps/mach/hurd/i386/init-first.c (init): Use
34677 __builtin_frame_address instead of making assumptions about the
34678 location of the return address relative to DATA. Force early load of
34679 the return address.
34680 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
34681 __builtin_frame_address.
34684 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
34685 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
34686 implement dup3 and do some further code clean-ups.
34687 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
34688 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
34690 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34692 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
34694 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
34695 HURD_CRITICAL_END around holding _hurd_dtable_lock.
34696 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
34697 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
34698 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
34701 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
34702 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
34703 when handler == SIG_ERR, not when handler != SIG_ERR.
34705 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34707 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
34708 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
34711 accept4 for GNU Hurd.
34712 * include/sys/socket.h (__libc_accept4): New prototype.
34713 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
34714 to implement __libc_accept4.
34715 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
34717 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
34719 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
34720 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
34721 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
34722 signal-defines.sym.
34724 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34726 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
34728 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34730 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
34731 assertion on O_CLOEXEC flag.
34732 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
34733 * hurd/intern-fd.c: Likewise.
34734 * hurd/port2fd.c: Likewise.
34736 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34739 * bits/in.h (IPV6_PKTINFO): Define new macro.
34740 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
34742 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34747 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
34748 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34749 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
34750 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34751 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34752 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34753 * math/libm-test.inc (logb_test) : Additional logb tests.
34755 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
34756 Andreas Jaeger <aj@suse.de>
34758 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
34759 * configure: Regenerated.
34760 * config.h.in (LINK_OBSOLETE_RPC): New macro.
34761 * config.make.in (link-obsolete-rpc): New substituted variable.
34762 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
34763 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
34764 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
34765 (shared-only-routines): Don't set it under [link-obsolete-rpc],
34766 so that libc.a contains the symbols.
34767 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
34768 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
34769 * sunrpc/auth_none.c: Likewise.
34770 * sunrpc/auth_unix.c: Likewise.
34771 * sunrpc/authdes_prot.c: Likewise.
34772 * sunrpc/authuxprot.c: Likewise.
34773 * sunrpc/clnt_gen.c: Likewise.
34774 * sunrpc/clnt_perr.c: Likewise.
34775 * sunrpc/clnt_raw.c: Likewise.
34776 * sunrpc/clnt_simp.c: Likewise.
34777 * sunrpc/clnt_tcp.c: Likewise.
34778 * sunrpc/clnt_udp.c: Likewise.
34779 * sunrpc/clnt_unix.c: Likewise.
34780 * sunrpc/des_crypt.c: Likewise.
34781 * sunrpc/des_soft.c: Likewise.
34782 * sunrpc/get_myaddr.c: Likewise.
34783 * sunrpc/key_call.c: Likewise.
34784 * sunrpc/key_prot.c: Likewise.
34785 * sunrpc/netname.c: Likewise.
34786 * sunrpc/pm_getmaps.c: Likewise.
34787 * sunrpc/pm_getport.c: Likewise.
34788 * sunrpc/pmap_clnt.c: Likewise.
34789 * sunrpc/pmap_prot.c: Likewise.
34790 * sunrpc/pmap_prot2.c: Likewise.
34791 * sunrpc/pmap_rmt.c: Likewise.
34792 * sunrpc/publickey.c: Likewise.
34793 * sunrpc/rpc_cmsg.c: Likewise.
34794 * sunrpc/rpc_common.c: Likewise.
34795 * sunrpc/rpc_dtable.c: Likewise.
34796 * sunrpc/rpc_prot.c: Likewise.
34797 * sunrpc/rpc_thread.c: Likewise.
34798 * sunrpc/rtime.c: Likewise.
34799 * sunrpc/svc.c: Likewise.
34800 * sunrpc/svc_auth.c: Likewise.
34801 * sunrpc/svc_raw.c: Likewise.
34802 * sunrpc/svc_run.c: Likewise.
34803 * sunrpc/svc_tcp.c: Likewise.
34804 * sunrpc/svc_udp.c: Likewise.
34805 * sunrpc/svc_unix.c: Likewise.
34806 * sunrpc/svcauth_des.c: Likewise.
34807 * sunrpc/xcrypt.c: Likewise.
34808 * sunrpc/xdr.c: Likewise.
34809 * sunrpc/xdr_array.c: Likewise.
34810 * sunrpc/xdr_float.c: Likewise.
34811 * sunrpc/xdr_intXX_t.c: Likewise.
34812 * sunrpc/xdr_mem.c: Likewise.
34813 * sunrpc/xdr_rec.c: Likewise.
34814 * sunrpc/xdr_ref.c: Likewise.
34815 * sunrpc/xdr_sizeof.c: Likewise.
34816 * sunrpc/xdr_stdio.c: Likewise.
34818 2012-05-10 Roland McGrath <roland@hack.frob.com>
34820 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
34821 change. Update copyright years.
34823 2012-05-10 Joseph Myers <joseph@codesourcery.com>
34825 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
34827 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
34828 Joseph Myers <joseph@codesourcery.com>
34829 Paul Pluzhnikov <ppluzhnikov@google.com>
34832 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
34834 [cross-compiling] (extra-libs): Likewise.
34835 [cross-compiling] (extra-libs-others): Likewise.
34836 [cross-compiling] (librpcsvc-routines): Likewise.
34837 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
34838 [cross-compiling] (omit-deps): Likewise.
34839 (sunrpc-CPPFLAGS): New variable.
34840 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
34841 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
34842 (cross-rpcgen-objs): New variable.
34843 (extra-objs): Append $(cross-rpcgen-objs).
34844 ($(cross-rpcgen-objs)): New rule.
34845 ($(objpfx)cross-rpcgen): Likewise.
34846 (rpcgen-cmd): Define to use $(built-program-file). Expand
34848 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
34849 ($(objpfx)x%.stmp): Likewise.
34850 * sunrpc/proto.h [IS_IN_build] (_): Define.
34851 [IS_IN_build] (_libc_intl_domainname): Likewise.
34853 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34855 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
34856 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
34857 and R_X86_64_TPOFF64.
34859 2012-05-10 Joseph Myers <joseph@codesourcery.com>
34861 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
34862 sysdeps/unix/sysv/syscalls.list.
34865 * sysdeps/unix/sysv/syscalls.list: Remove file.
34867 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
34870 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
34871 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
34872 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
34873 (__LC_IDENTIFICATION): Make these macros useful in #if
34874 expressions, as required by C99.
34876 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
34878 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
34879 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
34882 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
34884 * stdlib/longlong.h: Updated from GCC.
34886 2012-05-09 Andreas Jaeger <aj@suse.de>
34888 * nscd/nscd.c (run_modes): Make named enum, reorder so that
34889 default is first entry.
34890 (run_mode): Set type.
34891 (main): Remove informal message about syslog.
34892 (options): Fix typo.
34895 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
34898 (llrintf): Likewise.
34899 (llrint): Likewise.
34902 (nearbyint): Likewise.
34903 (nearbyintf): Likewise.
34905 2012-05-09 Andreas Jaeger <aj@suse.de>
34906 Pedro Alves <palves@redhat.com>
34908 * nscd/nscd.c (run_mode): Use enum.
34909 (main): Cleanup coding style issue.
34911 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
34912 Andreas Jaeger <aj@suse.de>
34914 * nscd/nscd.c (go_background): Replaced with...
34915 (run_mode): ... this.
34916 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
34917 (options): Add -F --foreground.
34918 (main): Implement it.
34919 (parse_opt): Parse it.
34921 2012-05-09 Andreas Jaeger <aj@suse.de>
34924 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
34925 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
34926 -Wconversion warning.
34927 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
34930 2012-05-09 Joseph Myers <joseph@codesourcery.com>
34932 * conform/data/locale.h-data (NULL): Use macro-constant. Require
34934 (LC_ALL): Use macro-int-constant.
34935 (LC_COLLATE): Likewise.
34936 (LC_CTYPE): Likewise.
34937 (LC_MESSAGES): Likewise.
34938 (LC_MONETARY): Likewise.
34939 (LC_NUMERIC): Likewise.
34940 (LC_TIME): Likewise.
34941 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
34942 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
34943 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34944 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
34946 [C99-based standards] (float_t): Expect type.
34947 [C99-based standards] (double_t): Expect type.
34948 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
34950 [C99-based standards] (HUGE_VALL): Likewise.
34951 [C99-based standards] (INFINITY): Likewise.
34952 [C99-based standards] (NAN): Likewise.
34953 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
34954 [C99-based standards] (FP_NAN): Likewise.
34955 [C99-based standards] (FP_NORMAL): Likewise.
34956 [C99-based standards] (FP_SUBNORMAL): Likewise.
34957 [C99-based standards] (FP_ZERO): Likewise.
34958 [C99-based standards] (FP_FAST_FMA): Use
34959 optional-macro-int-constant. Specify type. Require == 1.
34960 [C99-based standards] (FP_FAST_FMAF): Likewise.
34961 [C99-based standards] (FP_FAST_FMAL): Likewise.
34962 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
34963 [C99-based standards] (FP_ILOGBNAN): Likewise.
34964 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
34966 [C99-based standards] (MATH_ERREXCEPT): Likewise.
34967 [C99-based standards] (math_errhandling): Specify type.
34968 [ISO99 || ISO11] (signgam): Do not allow.
34969 [non-C99-based standards] (copysignf): Do not allow.
34970 [non-C99-based standards] (exp2f): Likewise.
34971 [non-C99-based standards] (log2f): Likewise.
34972 [non-C99-based standards] (modff): Allow.
34973 [non-C99-based standards] (erff): Do not allow.
34974 [non-C99-based standards] (erfcf): Likewise.
34975 [non-C99-based standards] (gammaf): Likewise.
34976 [non-C99-based standards] (hypotf): Likewise.
34977 [non-C99-based standards] (j0f): Likewise.
34978 [non-C99-based standards] (j1f): Likewise.
34979 [non-C99-based standards] (jnf): Likewise.
34980 [non-C99-based standards] (lgammaf): Likewise.
34981 [non-C99-based standards] (tgammaf): Likewise.
34982 [non-C99-based standards] (y0f): Likewise.
34983 [non-C99-based standards] (y1f): Likewise.
34984 [non-C99-based standards] (ynf): Likewise.
34985 [non-C99-based standards] (isnanf): Likewise.
34986 [non-C99-based standards] (acoshf): Likewise.
34987 [non-C99-based standards] (asinhf): Likewise.
34988 [non-C99-based standards] (atanhf): Likewise.
34989 [non-C99-based standards] (cbrtf): Likewise.
34990 [non-C99-based standards] (expm1f): Likewise.
34991 [non-C99-based standards] (ilogbf): Likewise.
34992 [non-C99-based standards] (log1pf): Likewise.
34993 [non-C99-based standards] (logbf): Likewise.
34994 [non-C99-based standards] (nextafterf): Likewise.
34995 [non-C99-based standards] (remainderf): Likewise.
34996 [non-C99-based standards] (rintf): Likewise.
34997 [non-C99-based standards] (scalbf): Likewise.
34998 [non-C99-based standards] (copysignl): Likewise.
34999 [non-C99-based standards] (exp2l): Likewise.
35000 [non-C99-based standards] (log2l): Likewise.
35001 [non-C99-based standards] (modfl): Allow.
35002 [non-C99-based standards] (erfl): Do not allow.
35003 [non-C99-based standards] (erfcl): Likewise.
35004 [non-C99-based standards] (gammal): Likewise.
35005 [non-C99-based standards] (hypotl): Likewise.
35006 [non-C99-based standards] (j0l): Likewise.
35007 [non-C99-based standards] (j1l): Likewise.
35008 [non-C99-based standards] (jnl): Likewise.
35009 [non-C99-based standards] (lgammal): Likewise.
35010 [non-C99-based standards] (tgammal): Likewise.
35011 [non-C99-based standards] (y0l): Likewise.
35012 [non-C99-based standards] (y1l): Likewise.
35013 [non-C99-based standards] (ynl): Likewise.
35014 [non-C99-based standards] (isnanl): Likewise.
35015 [non-C99-based standards] (acoshl): Likewise.
35016 [non-C99-based standards] (asinhl): Likewise.
35017 [non-C99-based standards] (atanhl): Likewise.
35018 [non-C99-based standards] (cbrtl): Likewise.
35019 [non-C99-based standards] (expm1l): Likewise.
35020 [non-C99-based standards] (ilogbl): Likewise.
35021 [non-C99-based standards] (log1pl): Likewise.
35022 [non-C99-based standards] (logbl): Likewise.
35023 [non-C99-based standards] (nextafterl): Likewise.
35024 [non-C99-based standards] (remainderl): Likewise.
35025 [non-C99-based standards] (rintl): Likewise.
35026 [non-C99-based standards] (scalbl): Likewise.
35027 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35028 [non-C99-based standards] (FP_*): Do not allow.
35029 [C99-based standards] (FP_*): Change to
35030 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35031 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35033 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
35034 (SIG_ERR): Likewise.
35035 [X/Open-based standards] (SIG_HOLD): Likewise.
35036 (SIG_IGN): Likewise.
35037 (SIGABRT): Use macro-int-constant. Specify type. Require
35039 (SIGFPE): Likewise.
35040 (SIGILL): Likewise.
35041 (SIGINT): Likewise.
35042 (SIGSEGV): Likewise.
35043 (SIGTER): Likewise.
35044 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
35045 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
35046 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
35047 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
35048 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
35049 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
35050 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
35051 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
35052 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
35053 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
35054 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
35055 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
35056 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
35057 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
35058 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
35059 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
35060 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
35061 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
35062 [X/Open-based standards] (SIGTRAP): Likewise.
35063 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
35064 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
35065 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
35066 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
35067 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35070 2012-05-08 Ian Wienand <ianw@vmware.com>
35073 * time/tzset.c (__tzset_parse_tz): Update default rules for
35074 daylight time changes in the Energy Policy Act of 2005.
35076 2012-05-09 Andreas Jaeger <aj@suse.de>
35079 * elf/ldconfig.c (parse_conf): Change string to make clear that
35080 ldconfig only issued a warning if ld.so.conf does not exist.
35082 2012-05-08 David S. Miller <davem@davemloft.net>
35084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
35085 movxtod instead of popping the value on the stack.
35087 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35089 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
35091 * config.h.in: Add HAVE_ARM_PCS_VFP.
35093 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
35096 * include/features.h: Warn if user requests __FORTIFY_SOURCE
35097 checking but the checks are disabled for any reason.
35099 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
35101 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
35102 and ELF64_R_TYPE with ELFW(R_TYPE).
35104 2012-05-08 Joseph Myers <joseph@codesourcery.com>
35106 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
35107 (ulimit): Likewise.
35109 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
35110 (settimeofday): Likewise.
35112 2012-05-08 Mike Frysinger <vapier@gentoo.org>
35114 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
35115 a struct th_u2 inside the union, and move tu_block/tu_code into
35116 a new th_u3 union of tu_block/tu_code inside of that. Move
35117 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
35118 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
35119 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
35120 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
35121 (th_stuff): Change to th_u1.tu_stuff.
35123 (th_msg): Change to th_u1.th_u2.tu_data.
35125 2012-05-07 David S. Miller <davem@davemloft.net>
35127 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35130 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
35131 (SETUP_PIC_REG): Use it.
35132 (SETUP_PIC_REG_LEAF): Use it.
35134 2012-05-07 Joseph Myers <joseph@codesourcery.com>
35138 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35140 (EXPL_FINITE): Likewise.
35141 (FLDLOG): Likewise.
35142 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35143 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35145 * sysdeps/x86_64/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/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35152 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
35153 test of -max_value argument for long double.
35154 * sysdeps/i386/fpu/libm-test-ulps: Update.
35155 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35157 2012-05-06 David S. Miller <davem@davemloft.net>
35159 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
35160 quad soft-float symbols whose references which are compiler
35162 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
35164 2012-05-06 Joseph Myers <joseph@codesourcery.com>
35168 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35170 (EXPL_FINITE): Likewise.
35171 (FLDLOG): Likewise.
35174 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
35175 Adjust comments for base varying.
35176 (__expl_finite): Change alias to EXPL_FINITE.
35177 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
35179 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
35180 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
35181 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
35182 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
35183 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35185 (EXPL_FINITE): Likewise.
35186 (FLDLOG): Likewise.
35189 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
35190 Adjust comments for base varying.
35191 (__expl_finite): Change alias to EXPL_FINITE.
35192 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
35194 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35197 * math/libm-test.inc (check_float_internal): Correct ulp
35198 calculation for subnormal expected results.
35200 2012-05-06 Andreas Jaeger <aj@suse.de>
35202 * Makeconfig (+math-flags): New, set to -frounding-math.
35203 (+cflags): Add +math-flags so that all of glibc gets compiled with
35206 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
35208 2012-05-05 Joseph Myers <joseph@codesourcery.com>
35210 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
35216 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
35217 (__ieee754_expl): Allow for and saturate large arguments.
35218 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
35219 (u_threshold): Likewise.
35220 (__exp): Call __ieee754_exp before checking for overflow and
35222 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
35223 (u_threshold): Likewise.
35224 (__expf): Call __ieee754_expf before checking for overflow and
35226 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
35227 (u_threshold): Likewise.
35228 (__expl): Call __ieee754_expl before checking for overflow and
35230 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
35231 (__ieee754_expl): Allow for and saturate large arguments.
35232 * math/libm-test.inc (exp_test): Add another test. Do not allow
35233 missing overflow exception on overflow.
35234 (expm1_test): Do not allow missing overflow exception on overflow.
35236 * sysdeps/i386/fpu/e_expl.c: Move to ...
35237 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
35238 rather than using inline asm.
35239 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
35240 * sysdeps/x86_64/fpu/e_expl.S: Copy from
35241 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
35243 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
35246 (signal): Likewise.
35250 2012-05-04 Joseph Myers <joseph@codesourcery.com>
35252 * sysdeps/unix/syscalls.list (adjtime): Add entry from
35253 sysdeps/unix/common/syscalls.list.
35254 (fchmod): Likewise.
35255 (fchown): Likewise.
35256 (ftruncate): Likewise.
35257 (getrusage): Likewise.
35258 (gettimeofday): Likewise.
35259 (setpgid): Likewise.
35260 (setregid): Likewise.
35261 (setreuid): Likewise.
35262 (sigaction): Likewise.
35263 (truncate): Likewise.
35264 (vhangup): Likewise.
35265 * sysdeps/unix/common/syscalls.list: Remove file.
35266 * sysdeps/unix/bsd/Implies: Don't include unix/common.
35267 * sysdeps/unix/sysv/linux/Implies: Likewise.
35269 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
35271 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
35272 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
35273 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
35275 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
35277 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
35279 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
35280 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
35282 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
35283 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
35285 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
35286 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
35288 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
35289 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
35291 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
35292 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
35294 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
35295 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
35297 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
35299 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
35301 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
35303 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
35305 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
35306 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
35308 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
35310 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
35312 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
35314 2012-05-04 Joseph Myers <joseph@codesourcery.com>
35316 * sysdeps/unix/common/bits/dirent.h: Remove file.
35317 * sysdeps/unix/common/bits/fcntl.h: Likewise.
35319 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
35320 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
35321 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
35322 * sysdeps/unix/bsd/isatty.c: Likewise.
35323 * sysdeps/unix/bsd/tcdrain.c: Likewise.
35324 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
35325 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
35327 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35330 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
35331 long double comparison inaccuracies.
35332 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
35333 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35335 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
35337 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
35338 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
35340 2012-05-04 Joseph Myers <joseph@codesourcery.com>
35343 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
35344 nonzero digits before rounding a hex value.
35345 * stdlib/tst-strtod.c (tests): Add another test.
35347 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35349 * sysdeps/s390/fpu/libm-test-ulps: Update.
35351 2012-05-03 Andreas Jaeger <aj@suse.de>
35353 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
35354 does not get optimized out.
35355 (malloc_opt_barrier): New.
35357 2012-05-03 Andreas Jaeger <aj@suse.de>
35358 Roland McGrath <roland@hack.frob.com>
35360 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
35361 intermediate file deletion.
35362 (generated): Add .symlist files.
35364 2012-05-03 Joseph Myers <joseph@codesourcery.com>
35367 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
35368 Redirect under this condition.
35369 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35370 [__USE_GNU] (__dprintf_chk): Not under this condition.
35371 [__USE_GNU] (__vdprintf_chk): Likewise.
35372 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
35373 under this condition.
35374 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35375 [__USE_XOPEN2K8] (dprintf): Define under this condition.
35376 [__USE_XOPEN2K8] (vdprintf): Likewise.
35377 [__USE_GNU] (__dprintf_chk): Not under this condition.
35378 [__USE_GNU] (__vdprintf_chk): Likewise.
35379 [__USE_GNU] (dprintf): Likewise.
35380 [__USE_GNU] (vdprintf): Likewise.
35382 2012-05-03 Roland McGrath <roland@hack.frob.com>
35384 * elf/Makefile (common-generated): Set this instead of generated for
35385 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
35386 $(all-built-dso)-derived lists.
35388 2012-05-03 Andreas Jaeger <aj@suse.de>
35390 * sysdeps/i386/fpu/libm-test-ulps: Update.
35393 * FAQ.in: Likewise.
35394 * scripts/gen-FAQ.pl: Likewise.
35395 * manual/install.texi (Installation): Point to online location of
35397 * Makefile (files-for-dist): Remove FAQ.
35400 2012-05-02 Allan McRae <allan@archlinux.org>
35402 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
35403 (LDFLAGS-reldepmod5.so): Likewise.
35404 (LDFLAGS-reldep6mod1.so): Likewise.
35405 (LDFLAGS-reldep6mod4.so): Likewise.
35406 (LDFLAGS-reldep8mod3.so): Likewise.
35407 (LDFLAGS-unload4mod1.so): Likewise.
35408 (LDFLAGS-unload4mod2.so): Likewise.
35409 (LDFLAGS-tst-initorder): Likewise.
35410 (LDFLAGS-tst-initordera2.so): Likewise.
35411 (LDFLAGS-tst-initordera3.so): Likewise.
35412 (LDFLAGS-tst-initordera4.so): Likewise.
35413 (LDFLAGS-tst-initorderb2.so): Likewise.
35414 (LDFLAGS-noload): Likewise.
35415 (LDFLAGS-next): Likewise.
35416 (LDFLAGS-order2mod1.so): Likewise.
35417 (LDFLAGS-order2mod2.so): Likewise.
35418 (LDFLAGS-tst-initorder2): Likewise.
35419 (LDFLAGS-tst-initorder2a.so): Likewise.
35420 (LDFLAGS-tst-initorder2b.so): Likewise.
35421 (LDFLAGS-tst-initorder2c.so): Likewise.
35422 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
35424 2012-05-02 David S. Miller <davem@davemloft.net>
35426 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35428 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
35431 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
35433 2012-05-02 Andreas Jaeger <aj@suse.de>
35435 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
35436 since we manipulate rounding mode.
35437 (CPPFLAGS-test-idouble.c): Likewise.
35438 (CPPFLAGS-test-ifloat.c): Likewise.
35439 (CFLAGS-test-ldouble.c): Likewise.
35440 (CFLAGS-test-double.c): Likewise.
35441 (CFLAGS-test-float.c): Likewise.
35442 (CFLAGS-test-misc.c): Likewise.
35443 (CFLAGS-test-test-fenv.c): Likewise.
35445 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35449 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
35450 comparisons to determine direction to adjust input.
35452 2012-05-01 Roland McGrath <roland@hack.frob.com>
35454 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
35455 output to the target.
35457 * scripts/localplt.awk: New file.
35458 * elf/Makefile ($(objpfx)check-localplt): Target removed.
35459 (check-localplt-CFLAGS): Variable removed.
35460 ($(all-built-dso:=.jmprel)): New static pattern rule.
35461 (generated): Add those targets.
35462 (localplt-built-dso): New variable.
35463 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
35465 * elf/check-localplt.c: File removed.
35467 * scripts/check-execstack.awk: New file.
35468 * elf/Makefile ($(objpfx)check-execstack): Target removed.
35469 (check-execstack-CFLAGS): Variable removed.
35470 ($(objpfx)check-execstack.h): Target removed.
35471 ($(objpfx)execstack-default): New target.
35472 (generated): Add that instead of check-execstack.h.
35473 ($(all-built-dso:=.phdr)): New static pattern rule.
35474 (generated): Add those targets.
35475 * elf/check-execstack.c: File removed.
35477 * scripts/check-textrel.awk: New file.
35478 * elf/Makefile ($(objpfx)check-textrel): Target removed.
35479 (check-textrel-CFLAGS): Variable removed.
35480 (all-built-dso): Use := to define.o
35481 ($(all-built-dso:=.dyn)): New static pattern rule.
35482 (generated): Add those targets.
35483 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
35484 * config.make.in (READELF): New substituted variable.
35485 * elf/check-textrel.c: File removed.
35487 2012-05-01 Joseph Myers <joseph@codesourcery.com>
35489 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35491 * conform/data/ctype.h-data [C99-based standards] (isblank):
35493 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
35494 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
35495 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35496 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
35497 Specify type. Require positive value.
35498 (EILSEQ): Likewise.
35499 (ERANGE): Likewise.
35500 [ISO || POSIX] (EILSEQ): Do not expect.
35501 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
35502 Specify type. Require positive value.
35503 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
35504 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
35505 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
35506 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
35507 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
35508 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
35509 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
35510 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
35511 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
35512 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
35513 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
35514 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
35515 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
35516 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
35517 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
35518 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
35519 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
35520 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
35521 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
35522 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
35523 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
35524 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
35525 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
35526 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
35527 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
35528 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
35529 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
35530 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
35531 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
35532 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
35533 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
35534 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
35535 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
35536 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
35537 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
35538 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
35539 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
35540 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
35541 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
35542 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
35543 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
35544 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
35545 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
35546 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
35547 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
35548 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
35549 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
35550 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
35551 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
35552 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
35553 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
35554 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
35555 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
35556 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
35557 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
35558 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
35559 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
35560 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
35561 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
35562 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
35563 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
35564 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
35565 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
35566 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
35567 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
35568 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
35569 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
35570 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
35571 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
35572 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
35573 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
35574 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
35575 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
35576 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
35577 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
35578 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
35579 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
35581 (FLT_ROUNDS): Expect as macro, not constant.
35582 (FLT_MANT_DIG): Use macro-int-constant.
35583 (DBL_MANT_DIG): Likewise.
35584 (LDBL_MANT_DIG): Likewise.
35585 (FLT_DIG): Likewise.
35586 (DBL_DIG): Likewise.
35587 (LDBL_DIG): Likewise.
35588 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
35589 (DBL_MIN_EXP): Likewise.
35590 (LDBL_MIN_EXP): Likewise.
35591 (FLT_MAX_EXP): Use macro-int-constant.
35592 (DBL_MAX_EXP): Likewise.
35593 (LDBL_MAX_EXP): Likewise.
35594 (FLT_MAX_10_EXP): Likewise.
35595 (DBL_MAX_10_EXP): Likewise.
35596 (LDBL_MAX_10_EXP): Likewise.
35597 (FLT_MAX): Use macro-constant.
35598 (DBL_MAX): Likewise.
35599 (LDBL_MAX): Likewise.
35600 (FLT_EPSILON): Use macro-constant. Give upper bound.
35601 (DBL_EPSILON): Likewise.
35602 (LDBL_EPSILON): Likewise.
35603 (FLT_MIN): Likewise.
35604 (DBL_MIN): Likewise.
35605 (LDBL_MIN): Likewise.
35606 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
35607 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
35608 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
35609 [ISO11] (FLT_HAS_SUBNORM): Likewise.
35610 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
35611 [ISO11] (DBL_DECIMAL_DIG): Likewise.
35612 [ISO11] (FLT_DECIMAL_DIG): Likewise.
35613 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
35614 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
35615 [ISO11] (FLT_TRUE_MIN): Likewise.
35616 [ISO11] (LDBL_TRUE_MIN): Likewise.
35617 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35618 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
35619 (SCHAR_MIN): Use macro-int-constant. Specify type.
35620 (SCHAR_MAX): Likewise.
35621 (UCHAR_MAX): Likewise.
35622 (CHAR_MIN): Likewise.
35623 (CHAR_MAX): Likewise.
35624 (MB_LEN_MAX): Use macro-int-constant.
35625 (SHRT_MIN): Use macro-int-constant. Specify type.
35626 (SHRT_MAX): Likewise.
35627 (USHRT_MAX): Likewise.
35628 (INT_MAX): Likewise.
35629 (INT_MIN): Use macro-int-constant. Specify type. Make upper
35631 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
35633 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
35635 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
35636 bound negative. Suffix upper bound with "L".
35637 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
35639 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
35641 [C99-based standards] (LLONG_MAX): Likewise.
35642 [C99-based standards] (ULLONG_MAX): Likewise.
35643 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
35645 [ISO11] (max_align_t): Require type.
35646 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35648 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
35649 from $CFLAGS, without defining away __attribute__ calls.
35650 (checknamespace): Use $CFLAGS_namespace.
35652 * conform/conformtest.pl (@keywords): Only include C99 keywords
35653 for standards based on C99 or C11.
35655 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
35657 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
35660 * conform/conformtest.pl: Handle "macro-int-constant" and test for
35661 usability of symbols in #if.
35663 * conform/conformtest.pl: If macro or constant types start
35664 "promoted:", expect the symbol to be of the following type
35665 promoted by the integer promotions.
35667 * conform/conformtest.pl: Parse all "constant" and "macro" lines
35668 in one place. Also handle "macro-constant".
35670 * conform/conformtest.pl: Only accept expected macro values with
35671 "==". Parse all "macro" lines in one place.
35672 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
35674 * conform/conformtest.pl: Handle braced types on "constant" lines
35675 instead of handling "typed-constant".
35676 * conform/data/signal.h-data: Use "constant" instead of
35679 * conform/conformtest.pl: Handle "optional-" at start of lines in
35680 one place rather than duplicating several cases. Handle each
35681 format of "macro" line with initial "optional-".
35683 * conform/conformtest.pl: Only accept expected constant or
35684 optional-constant values with "==". Parse all "constant" lines in
35685 one place. Parse all "optional-constant" lines in one place.
35686 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
35687 * conform/data/fmtmsg.h-data: Likewise.
35688 * conform/data/netinet/in.h-data: Likewise.
35689 * conform/data/tar.h-data: Likewise.
35690 * conform/data/limits.h-data: Use "==" form on "constant" and
35691 "optional-constant" lines.
35693 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
35694 Use -std=c99 for XOPEN2K.
35695 (@knownproblems): Remove.
35696 (newtoken): Don't check %isknown.
35698 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
35699 Do not expect macro.
35700 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
35701 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
35702 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
35703 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
35704 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
35705 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
35706 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
35707 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
35708 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
35709 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
35710 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
35711 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
35712 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
35713 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
35714 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
35715 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
35716 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
35717 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
35718 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
35719 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
35720 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
35721 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
35722 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
35723 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
35724 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
35725 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
35726 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
35727 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
35728 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
35729 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
35730 [XPG3] (acosh): Likewise.
35731 [XPG3] (asinh): Likewise.
35732 [XPG3] (atanh): Likewise.
35733 [XPG3] (cbrt): Likewise.
35734 [XPG3] (expm1): Likewise.
35735 [XPG3] (ilogb): Likewise.
35736 [XPG3] (log1p): Likewise.
35737 [XPG3] (logb): Likewise.
35738 [XPG3] (nextafter): Likewise.
35739 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
35740 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
35741 [XPG3] (remainder): Likewise.
35742 [XPG3] (rint): Likewise.
35743 [XPG3 || XPG4 || UNIX98] (round): Likewise.
35744 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
35745 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
35746 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
35747 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
35748 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
35749 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
35750 [UNIX98 || XOPEN2K] (scalb): Expect.
35751 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
35752 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
35753 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
35754 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
35755 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
35756 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
35757 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
35758 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
35759 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
35760 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
35761 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
35762 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
35763 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
35764 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
35765 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
35766 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
35767 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
35768 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
35769 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
35770 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
35771 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
35772 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
35773 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
35774 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
35775 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
35776 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
35777 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
35778 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
35779 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
35780 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
35781 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
35782 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
35783 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
35784 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
35785 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
35786 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
35787 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
35788 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
35789 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
35790 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
35791 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
35792 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
35793 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
35794 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
35795 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
35796 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
35797 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
35798 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
35799 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
35800 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
35801 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
35802 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
35803 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
35804 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
35805 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
35806 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
35807 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
35808 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
35809 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
35810 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
35811 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
35812 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
35813 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
35814 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
35815 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
35816 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
35817 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
35818 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
35819 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
35820 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
35821 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
35822 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
35823 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
35824 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
35825 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
35826 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
35827 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
35828 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
35829 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
35830 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
35831 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
35832 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
35833 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
35834 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
35835 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
35836 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
35837 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
35838 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
35839 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
35840 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
35841 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
35842 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
35843 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
35844 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
35845 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
35846 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
35847 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
35848 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
35849 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
35850 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
35851 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
35852 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
35853 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
35854 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
35855 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
35856 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
35857 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
35858 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
35859 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
35860 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
35861 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
35862 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
35863 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
35864 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
35865 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
35866 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
35867 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
35868 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
35869 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
35870 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
35871 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
35872 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
35873 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
35874 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
35875 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
35876 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
35877 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
35878 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
35879 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
35880 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
35881 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
35882 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
35883 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
35884 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
35885 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
35886 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
35887 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
35889 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
35890 _XOPEN_SOURCE_EXTENDED for XPG4.
35892 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
35894 * Makeconfig (localtime): Remove variable.
35895 (inst_localtime-file): Likewise.
35897 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
35899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
35901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
35905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
35907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
35909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
35911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
35915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
35918 2012-05-01 Joseph Myers <joseph@codesourcery.com>
35922 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
35923 comparisons to determine direction to adjust input.
35924 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
35925 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
35926 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
35928 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
35930 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
35932 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
35933 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
35935 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
35937 * math/libm-test.inc (nexttoward_test): Add more tests.
35939 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
35942 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
35943 in version GLIBC_2.1, not GLIBC_2.0.
35944 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
35947 2012-04-30 Joseph Myers <joseph@codesourcery.com>
35950 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
35952 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
35953 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
35954 * math/libm-test.inc (acos_test): Add more tests.
35955 (asin_test): Likewise.
35956 * sysdeps/i386/fpu/libm-test-ulps: Update.
35957 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35960 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
35962 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
35963 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
35964 * math/libm-test.inc (acos_test_tonearest): New function.
35965 (acos_test_towardzero): Likewise.
35966 (acos_test_downward): Likewise.
35967 (acos_test_upward): Likewise.
35968 (asin_test_tonearest): Likewise.
35969 (asin_test_towardzero): Likewise.
35970 (asin_test_downward): Likewise.
35971 (asin_test_upward): Likewise.
35972 (main): Call the new functions.
35973 * sysdeps/i386/fpu/libm-test-ulps: Update.
35974 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35978 * math/e_exp10.c: Include <float.h>.
35979 (__ieee754_exp10): Handle underflow here rather than multiplying
35980 large negative argument by M_LN10.
35981 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
35983 * math/e_exp10l.c: Include <float.h>.
35984 (__ieee754_exp10l): Handle underflow here rather than multiplying
35985 large negative argument by M_LN10l.
35986 * math/libm-test.inc (exp10_test): Add another test. Do not allow
35987 spurious overflow exception on underflow.
35989 2012-04-29 Marek Polacek <polacek@redhat.com>
35991 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
35992 (__fortify_function): New macro.
35993 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
35994 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
35995 __extern_always_inline.
35996 * libio/bits/stdio2.h: Likewise.
35997 * libio/bits/stdio.h: Likewise.
35998 * string/string.h: Likewise.
35999 * string/bits/string3.h: Likewise.
36000 * include/stdio.h: Likewise.
36001 * stdlib/bits/stdlib.h: Likewise.
36002 * stdlib/stdlib.h: Likewise.
36003 * rt/bits/mqueue2.h: Likewise.
36004 * rt/mqueue.h: Likewise.
36005 * posix/bits/unistd.h: Likewise.
36006 * posix/unistd.h: Likewise.
36007 * io/bits/poll2.h: Likewise.
36008 * io/bits/fcntl2.h: Likewise.
36009 * io/fcntl.h: Likewise.
36010 * io/sys/poll.h: Likewise.
36011 * misc/bits/syslog.h: Likewise.
36012 * misc/bits/syslog-ldbl.h: Likewise.
36013 * misc/sys/syslog.h: Likewise.
36014 * socket/bits/socket2.h: Likewise.
36015 * socket/sys/socket.h: Likewise.
36016 * debug/tst-chk1.c: Likewise.
36017 * wcsmbs/bits/wchar2.h: Likewise.
36018 * wcsmbs/bits/wchar-ldbl.h: Likewise.
36019 * wcsmbs/wchar.h: Likewise.
36021 2012-04-29 Andreas Jaeger <aj@suse.de>
36023 * Makerules (tests): Remove enable-check-abi protection.
36024 (check-abi-warn): Remove.
36025 (check-abi-%): Remove check-abi-warn usage.
36027 * configure.in: Remove check-abi configure option.
36028 * configure: Regenerated.
36029 * config.make.in (enable-check-abi): Remove.
36031 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
36034 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
36035 double functions to double *_finite functions.
36038 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
36039 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
36041 * stdio-common/Makefile (tests): Add tst-sprintf3.
36042 * stdio-common/tst-sprintf3.c: New file.
36044 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
36045 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
36047 2012-04-28 Joseph Myers <joseph@codesourcery.com>
36049 * conform/conformtest.pl: Remove duplicate typed-constant
36052 2012-04-28 David S. Miller <davem@davemloft.net>
36054 * Makerules (%.abilist): Add vpath on sysdep_dirs.
36055 (check-abi-%): Remove AWK script prerequisite and explicit
36057 (check-abi): Rewrite to just diff the symlist with the abilist.
36058 (config-tls, config-abi-config): Delete, no longer used.
36059 (update-abi-%): Remove AWK script and explicit abilist directory.
36060 (update-abi): Rewrite to simply compare and conditionally copy the
36061 symlist and the sysdep abilist file. Remove update-abi-config
36063 * abilist/ld.abilist: Remove.
36064 * abilist/libBrokenLocale.abilist: Remove.
36065 * abilist/libanl.abilist: Remove.
36066 * abilist/libcrypt.abilist: Remove.
36067 * abilist/libdl.abilist: Remove.
36068 * abilist/librt.abilist: Remove.
36069 * abilist/libthread_db.abilist: Remove.
36070 * abilist/libutil.abilist: Remove.
36071 * scripts/extract-abilist.awk: Remove.
36072 * scripts/merge-abilist.awk: Remove.
36073 * sysdeps/generic/libcidn.abilist: New file.
36074 * sysdeps/generic/libnss_compat.abilist: New file.
36075 * sysdeps/generic/libnss_db.abilist: New file.
36076 * sysdeps/generic/libnss_dns.abilist: New file.
36077 * sysdeps/generic/libnss_files.abilist: New file.
36078 * sysdeps/generic/libnss_hesiod.abilist: New file.
36079 * sysdeps/generic/libnss_nis.abilist: New file.
36080 * sysdeps/generic/libnss_nisplus.abilist: New file.
36081 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
36082 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
36083 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
36085 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
36086 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
36087 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
36088 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
36089 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
36090 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
36091 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
36092 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
36093 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
36095 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
36096 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
36097 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
36098 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
36100 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
36101 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
36102 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
36103 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
36104 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
36105 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
36107 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
36108 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
36109 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
36111 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
36112 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
36114 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
36116 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
36118 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
36120 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
36122 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
36124 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
36126 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
36128 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
36130 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
36132 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
36134 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
36136 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
36138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
36140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
36142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
36144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
36146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
36148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
36150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
36152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
36154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
36158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
36160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
36162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
36164 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
36165 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
36167 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
36169 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
36171 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
36173 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
36175 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
36177 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
36179 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36181 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
36183 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
36185 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
36187 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
36189 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
36190 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
36192 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
36194 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
36196 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
36198 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
36200 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
36202 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
36204 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36206 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
36208 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
36210 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
36212 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
36214 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
36215 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
36216 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
36218 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
36219 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
36220 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
36221 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
36222 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
36223 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
36224 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
36225 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
36226 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
36227 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
36228 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
36229 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
36231 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
36233 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
36235 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
36237 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
36239 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
36241 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
36243 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
36245 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
36247 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
36249 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
36251 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
36253 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
36254 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
36256 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
36258 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
36260 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
36262 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
36264 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
36266 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
36268 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
36270 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
36272 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
36274 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
36276 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
36279 2012-04-28 Joseph Myers <joseph@codesourcery.com>
36281 * conform/conformtest.pl: Fix typo in handling typed-constant from
36284 2012-04-27 Joseph Myers <joseph@codesourcery.com>
36286 * README: Cut down references to pre-2.6 Linux kernels and
36287 Linuxthreads. Update lists of configurations in libc and ports
36288 and sort alphabetically. Say "or newer" with Linux kernel version
36291 * config.h.in [IS_IN_build]: Allow compiling without optimization.
36293 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
36296 * math/libm-test.inc (logb_test_downward): New test to expose
36297 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
36300 2012-04-27 Joseph Myers <joseph@codesourcery.com>
36303 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
36305 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
36306 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
36308 2012-04-26 Joseph Myers <joseph@codesourcery.com>
36310 * sysdeps/unix/i386/brk.S: Remove file.
36311 * sysdeps/unix/i386/dl-brk.S: Likewise.
36312 * sysdeps/unix/i386/pipe.S: Likewise.
36313 * sysdeps/unix/i386/sigreturn.S: Likewise.
36314 * sysdeps/unix/i386/syscall.S: Likewise.
36315 * sysdeps/unix/i386/vfork.S: Likewise.
36316 * sysdeps/unix/i386/wait.S: Likewise.
36318 * sysdeps/unix/common/tcsendbrk.c: Move to ...
36319 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
36321 * configure.in (arm*-none*): Do not allow without
36322 --enable-hacker-mode.
36323 (netbsd*): Remove case setting base_os.
36324 (386bsd*): Likewise.
36325 (freebsd*): Likewise.
36328 (sunos*): Likewise.
36329 (ultrix*): Likewise.
36330 (newsos*): Likewise.
36331 (dynix*): Likewise.
36337 (minix*): Likewise.
36338 (irix4*): Likewise.
36339 (irix6*): Likewise.
36340 (solaris[2-9]*): Likewise.
36342 * configure: Regenerated.
36344 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36347 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
36348 overflow or cancellation in calculating denominator.
36349 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
36350 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
36351 down expression to avoid unexpected rounding in newer GCCs.
36352 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
36354 2012-04-26 David S. Miller <davem@davemloft.net>
36356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
36357 long-double compat symbols.
36358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
36359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
36360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
36361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
36362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
36363 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
36364 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
36365 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
36366 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
36367 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
36368 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
36369 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
36370 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
36372 2012-04-25 David S. Miller <davem@davemloft.net>
36374 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
36375 HWCAP_* values only after the memory barriers have been defined.
36376 (atomic_full_barrier): Define.
36377 (atomic_read_barrier): Define.
36378 (atomic_write_barrier): Define.
36380 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
36382 * shlib-versions: Add libgcc_s version information.
36383 * sysdeps/generic/libgcc_s.h: Remove.
36384 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
36386 * sysdeps/gnu/unwind-resume.c: Likewise.
36387 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
36389 2012-04-25 David S. Miller <davem@davemloft.net>
36391 * sysdeps/unix/sparc/brk.S: Delete.
36392 * sysdeps/unix/sparc/dl-brk.S: Delete.
36393 * sysdeps/unix/sparc/pipe.S: Delete.
36394 * sysdeps/unix/sparc/sysdep.S: Delete.
36395 * sysdeps/unix/sparc/sysdep.h: Delete.
36396 * sysdeps/unix/sparc/vfork.S: Delete.
36397 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
36398 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
36399 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
36400 (ret_ERRVAL, r0, r1, MOVE): Define.
36401 (JUMPTARGET): Remove.
36402 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
36403 sysdeps/unix/sparc/sysdep.h
36404 (ENTRY, END): Remove.
36405 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36407 2012-04-25 Joseph Myers <joseph@codesourcery.com>
36409 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
36410 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
36413 * timezone/README: Update upstream location and email address for
36415 * timezone/zdump.c: Update from tzcode 2012b.
36416 * timezone/zic.c: Likewise.
36418 * configure.in (libc_cv_as_needed): Remove test.
36419 * configure: Regenerated.
36420 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
36421 conditional definition.
36422 [$(have-as-needed) != yes] (no-as-needed): Likewise.
36423 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
36424 * config.make.in (have-as-needed): Remove variable.
36426 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
36427 Paul Pluzhnikov <ppluzhnikov@google.com>
36429 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
36432 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
36434 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
36435 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
36436 * sysdeps/sh/strlen.S: Likewise.
36438 2012-04-24 Joseph Myers <joseph@codesourcery.com>
36440 * sysdeps/unix/fork.S: Remove file.
36441 * sysdeps/unix/i386/fork.S: Likewise.
36442 * sysdeps/unix/sparc/fork.S: Likewise.
36444 * sysdeps/unix/system.c: Remove file.
36445 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
36447 * sysdeps/unix/getegid.S: Remove file.
36448 * sysdeps/unix/geteuid.S: Likewise.
36450 2012-04-24 Roland McGrath <roland@hack.frob.com>
36452 * scripts/check-localplt.awk: New file.
36453 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
36455 * scripts/data/localplt-generic.data: Add a comment.
36457 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
36458 NODE when __dir_mkfile failed.
36459 * sysdeps/mach/hurd/symlinkat.c: Likewise.
36460 Reported by Ludovic Courtès <ludo@gnu.org>.
36462 2012-04-24 Andreas Jaeger <aj@suse.de>
36464 * Makerules (common-clean): Also remove gen-as-const-headers
36467 2012-04-24 Joseph Myers <joseph@codesourcery.com>
36469 * Makerules (native-compile): Do not change working directory for
36470 build. Use $(OUTPUT_OPTION) in command.
36471 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
36473 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36476 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
36477 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
36478 * math/libm-test.inc (floor_test): Add more tests.
36479 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
36481 2012-04-24 Joseph Myers <joseph@codesourcery.com>
36483 * sysdeps/unix/getdents.c: Remove file.
36484 * sysdeps/unix/sysv/getdents.c: Likewise.
36485 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
36487 * sysdeps/unix/syscalls.list (madvise): Add syscall from
36488 sysdeps/unix/mman/syscalls.list.
36490 (mprotect): Likewise.
36492 (munmap): Likewise.
36493 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
36494 * sysdeps/unix/mman/syscalls.list: Remove.
36495 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
36497 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
36498 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
36499 * configure: Regenerated.
36500 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
36501 $(libgcc_s_suffix).
36502 * config.make.in (libgcc_s_suffix): Remove variable.
36504 2012-04-23 Joseph Myers <joseph@codesourcery.com>
36506 * sysdeps/unix/sysv/gethostname.c: Move to ...
36507 * sysdeps/posix/gethostname.c: ... here.
36509 * sysdeps/unix/execve.S: Remove file.
36511 * sysdeps/unix/_exit.S: Remove file.
36513 2012-04-23 Andreas Jaeger <aj@suse.de>
36516 * manual/Makefile: Remove make dist support, there's no
36517 need for a stand-alone documentation tar ball.
36518 (TEXI2DVI): Define always, it's not in Makeconfig.
36521 (edition): Removed.
36522 (glibc-doc-$(edition).tar): Removed
36526 (ETAGS): Remove, it's in Makeconfig.
36527 (move-if-change): Remove, it's in Makeconfig.
36529 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
36532 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
36533 (strtod, strtof, strtold, strtol, strtoul, strtoq)
36534 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
36535 (strtod_l, strtof_l, strtold_l): Remove __wur.
36536 It is not necessarily an error to ignore strtol's return value.
36537 One can reliably look at the stored endptr to decide whether
36538 the number had valid syntax.
36540 2012-04-21 Andreas Jaeger <aj@suse.de>
36543 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
36545 2012-04-21 Joseph Myers <joseph@codesourcery.com>
36547 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
36548 * sysdeps/unix/sysv/Versions: Remove file.
36550 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
36553 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36555 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
36558 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
36559 version from __vm86.
36561 2012-04-20 Joseph Myers <joseph@codesourcery.com>
36563 * sysdeps/unix/common/lxstat.c: Remove file.
36564 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
36566 * sysdeps/unix/sysv/Makefile: Remove file.
36568 * sysdeps/unix/sysv/direct.h: Remove file.
36570 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
36571 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
36572 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
36573 * sysdeps/unix/sysv/bits/signum.h: Likewise.
36574 * sysdeps/unix/sysv/bits/stat.h: Likewise.
36575 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
36576 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
36578 * sysdeps/unix/sysv/setrlimit.c: Remove file.
36580 * sysdeps/unix/xmknod.c: Remove file.
36581 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
36583 * sysdeps/unix/sysv/settimeofday.c: Remove file.
36585 * sysdeps/unix/sysv/i386/time.S: Remove file.
36587 * sysdeps/unix/fxstat.c: Remove file.
36588 * sysdeps/unix/xstat.c: Likewise.
36589 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
36591 * sysdeps/unix/sysv/sigaction.c: Remove file.
36593 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
36594 (sysdep_headers): Remove variable.
36595 [termio.h not in sysdep_headers] (generated): Likewise.
36596 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
36597 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
36598 * sysdeps/unix/sysv/tcdrain.c: Likewise.
36599 * sysdeps/unix/sysv/tcflow.c: Likewise.
36600 * sysdeps/unix/sysv/tcflush.c: Likewise.
36601 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
36602 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
36603 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
36604 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
36605 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
36607 * sysdeps/unix/siglist.c: Remove file.
36609 * sysdeps/unix/getppid.S: Remove file.
36611 * sysdeps/unix/mkdir.c: Remove file.
36612 * sysdeps/unix/rmdir.c: Likewise.
36614 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
36616 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
36618 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
36619 errlist-compat value.
36621 2012-04-18 David S. Miller <davem@davemloft.net>
36623 * sysdeps/generic/memcopy.h (reg_char): Delete.
36624 * debug/strcat_chk.c: Use char, not reg_char.
36625 * debug/strcpy_chk.c: Likewise.
36626 * debug/strncat_chk.c: Likewise.
36627 * debug/strncpy_chk.c: Likewise.
36628 * string/memchr.c: Likewise.
36629 * string/memrchr.c: Likewise.
36630 * string/rawmemchr.c: Likewise.
36631 * string/strcat.c: Likewise.
36632 * string/strchr.c: Likewise.
36633 * string/strchrnul.c: Likewise.
36634 * string/strcmp.c: Likewise.
36635 * string/strcpy.c: Likewise.
36636 * string/strncat.c: Likewise.
36637 * string/strncmp.c: Likewise.
36638 * string/strncpy.c: Likewise.
36640 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
36642 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
36643 __builtin_memcopy is called when src and dest ranges are known to not
36646 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
36648 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
36649 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
36650 fwd_align_merge macro call.
36651 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
36652 bwd_align_merge macro call.
36653 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36655 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
36657 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
36658 bwd_align_merge macros.
36659 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
36660 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
36661 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36663 2012-04-18 David S. Miller <davem@davemloft.net>
36665 * sysdeps/sparc/sparc64/memcopy.h: Delete.
36667 2012-04-18 Andreas Jaeger <aj@suse.de>
36670 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
36671 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
36672 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36674 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
36675 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
36676 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36678 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
36679 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
36680 Adjust for changed ldbl-128 files.
36682 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
36683 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
36684 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36686 2012-04-17 David S. Miller <davem@davemloft.net>
36688 * sysdeps/sparc/sparc32/memcopy.h: Delete.
36690 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
36692 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
36693 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
36694 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
36695 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
36696 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
36697 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
36699 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36702 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
36703 * math/libm-test.inc: Add ilogb errno and exception tests.
36704 * math/w_ilogb.c: New file: ilogb wrapper.
36705 * math/w_ilogbf.c: New file: ilogbf wrapper.
36706 * math/w_ilogbl.c: New file: ilogbl wrapper.
36707 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
36708 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
36709 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
36710 exception being thrown with 0.0 as argument.
36711 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
36712 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
36713 exception being thrown with 0.0 as argument.
36714 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
36715 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
36716 exception being thrown with 0.0 as argument.
36717 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
36718 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
36719 exception being thrown with 0.0 as argument.
36720 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
36721 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
36722 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
36723 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
36724 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
36725 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
36726 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
36727 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
36728 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
36730 2012-04-17 Petr Baudis <pasky@ucw.cz>
36732 * include/sys/uio.h: Change __vector to __iovec to avoid clash
36735 2012-04-16 Marek Polacek <polacek@redhat.com>
36737 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
36739 2012-04-16 Marek Polacek <polacek@redhat.com>
36741 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
36742 operands of fdivp instruction.
36744 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
36746 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
36747 * elf/tst-auditmod3b.c: Likewise.
36748 * elf/tst-auditmod4b.c: Likewise.
36749 * elf/tst-auditmod5b.c: Likewise.
36750 * elf/tst-auditmod6b.c: Likewise.
36751 * elf/tst-auditmod6c.c: Likewise.
36752 * elf/tst-auditmod7b.c: Likewise.
36753 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
36754 * sysdeps/x86_64/preconfigure.in: Likewise.
36755 * sysdeps/x86_64/preconfigure: Regenerated.
36757 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
36759 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
36762 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
36764 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36765 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
36767 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
36770 * locale/iso-639.def: Fix gl language name. Spotted by
36773 2012-04-12 Roland McGrath <roland@hack.frob.com>
36776 * libio/libio.h (__io_write_fn): Update comment.
36778 2012-04-12 Petr Baudis <pasky@ucw.cz>
36781 * stdio.texi (Hook Functions): The user provided writer function
36782 is not allowed to return -1.
36784 2012-04-11 David S. Miller <davem@davemloft.net>
36786 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36788 2012-04-11 Mike Frysinger <vapier@gentoo.org>
36790 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
36791 Add a leading slash to rtkaio.
36793 2012-04-11 Jim Meyering <meyering@redhat.com>
36796 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
36797 It is not necessarily an error to ignore fwrite's return
36798 value. One can reliably use ferror to test for errors after
36801 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
36803 * bits/types.h (__snseconds_t): New type.
36804 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
36806 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
36807 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36808 (__SNSECONDS_T_TYPE): Likewise.
36809 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36810 (__SNSECONDS_T_TYPE): Likewise.
36811 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36812 (__SNSECONDS_T_TYPE): Likewise.
36814 2012-04-10 Andreas Jaeger <aj@suse.de>
36817 * manual/time.texi (Processor Time): Return type of times is
36818 elapsed real time since an arbitrary point in the past.
36819 (CPU Time): Move CLK_TCK from here...
36820 (Processor Time): ...to here. Correct description.
36821 * manual/conf.texi (Constants for Sysconf): Correct description of
36824 2012-04-10 David S. Miller <davem@davemloft.net>
36827 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
36828 where the is a gap between DT_REL(A) and DT_JMPREL.
36830 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
36832 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
36833 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
36834 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
36836 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
36838 * elf/dl-support.c (_dl_inhibit_cache): New variable.
36839 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
36840 (dl_main): Handle --inhibit-cache.
36841 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
36843 * elf/dl-load.c (_dl_map_object): Use it.
36844 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
36846 2012-04-09 Joseph Myers <joseph@codesourcery.com>
36849 * sysdeps/i386/fpu/e_powl.S (p78): New object.
36850 (__ieee754_powl): Saturate large exponents rather than testing for
36851 overflow of y*log2(x).
36852 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36853 * math/libm-test.inc (pow_test): Do not permit spurious overflow
36857 * math/s_ctan.c: Include <float.h>.
36858 (__ctan): Avoid internal overflow or cancellation in calculating
36860 * math/s_ctanf.c: Likewise.
36861 * math/s_ctanl.c: Likewise.
36862 * math/s_ctanh.c: Likewise.
36863 * math/s_ctanhf.c: Likewise.
36864 * math/s_ctanhl.c: Likewise.
36865 * math/libm-test.inc (ctan_test): Add more tests.
36866 (ctanh_test): Likewise.
36867 * sysdeps/i386/fpu/libm-test-ulps: Update.
36868 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36870 2012-04-09 Andreas Jaeger <aj@suse.de>
36873 * manual/filesys.texi (Directory Entries): Mention that d_namlen
36874 is an optional BSD extension.
36877 * manual/stdio.texi (Opening Streams): Document additional fopen
36880 2012-04-09 Roland McGrath <roland@hack.frob.com>
36882 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
36883 %eax without telling the compiler.
36885 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
36888 * manual/install.texi: Use sourceware.org.
36890 2012-04-09 Joseph Myers <joseph@codesourcery.com>
36893 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
36894 (__ieee754_pow): Generate overflow and underflow using huge*huge
36895 and tiny*tiny rather than just returning constant infinity or zero
36896 for large exponents.
36897 * math/libm-test.inc (pow_test): Require overflow exceptions for
36898 applicable cases of large exponents.
36901 * sysdeps/i386/fpu/e_pow.S (p10): New object.
36902 (__ieee754_pow): Use iterative multiplication algorithm only for
36903 integer exponents with absolute value below 1024. Check for odd
36904 integer exponents when using algorithm for real exponents.
36905 * math/libm-test.inc (pow_test): Add more tests.
36906 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36908 2012-04-08 Joseph Myers <joseph@codesourcery.com>
36911 * math/libm-test.inc (exp_test): Do not allow overflow exception
36914 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
36917 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
36918 instead of __kernel_standard_f.
36920 2012-04-08 Mike Frysinger <vapier@gentoo.org>
36922 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
36923 * sysdeps/x86_64/memset_chk.S: Likewise.
36925 2012-04-08 Andreas Jaeger <aj@suse.de>
36928 * manual/startup.texi (Environment Access): Describe return value
36929 for putenv and setenv.
36932 * manual/filesys.texi (Directory Entries): Add description for
36936 * manual/filesys.texi (Directory Entries): Clarify that it's file
36937 system not operating system in the description of DT_UNKNOWN.
36940 * manual/syslog.texi (closelog): Fix reference, it's openlog.
36942 2012-04-08 Stephen Compall <s11@member.fsf.org>
36945 * manual/llio.texi (Opening and Closing Files): Add cross
36946 reference to explain mode argument.
36948 2012-04-07 Mike Frysinger <vapier@gentoo.org>
36950 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
36951 * sysdeps/x86_64/memset_chk.S: Likewise.
36953 2012-04-07 David S. Miller <davem@davemloft.net>
36955 * elf/elf.h (R_SPARC_WDISP10): Define.
36956 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
36958 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
36959 R_SPARC_SIZE64 and R_SPARC_H34.
36961 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
36963 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
36964 conditions and remove no longer applicable assertion.
36966 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
36968 * bits/byteswap.h: Include <features.h>.
36969 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
36970 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
36972 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
36974 * bits/byteswap.h (__bswap_16): Removed.
36975 Include <bits/byteswap-16.h> to get __bswap_16.
36976 * sysdeps/i386/bits/byteswap.h: Likewise.
36977 * sysdeps/s390/bits/byteswap.h: Likewise.
36978 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36979 * bits/byteswap-16.h: New file.
36980 * sysdeps/i386/bits/byteswap-16.h: Likewise.
36981 * sysdeps/s390/bits/byteswap-16.h: Likewise.
36982 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
36983 * string/Makefile (headers): Add bits/byteswap-16.h.
36985 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
36988 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
36990 * nss/Makefile (tests-static, tests): Add tst-nss-static.
36991 * nss/tst-nss-static.c: New.
36993 2012-04-06 Robert Millan <rmh@gnu.org>
36996 * manual/llio.texi (File Position Primitive): lseek
36997 refers to WHENCE when it really means OFFSET.
36999 2012-04-06 Andreas Jaeger <aj@suse.de>
37001 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
37002 strncmp declarations.
37004 * abilist/libc.abilist: Add __poll and __ppoll.
37006 2012-04-05 David S. Miller <davem@davemloft.net>
37008 * scripts/check-local-headers.sh: Accept a host triplet in the
37009 path matched by the exclude regexp.
37011 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
37013 * sysdeps/powerpc/powerpc32/dl-machine.h
37014 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
37015 * sysdeps/s390/s390-32/dl-machine.h
37016 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37017 * sysdeps/sparc/sparc32/dl-machine.h
37018 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37019 * sysdeps/sparc/sparc64/dl-machine.h
37020 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37022 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
37024 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
37025 undefined symbol errors.
37027 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
37030 2012-04-05 Michael Matz <matz@suse.de>
37033 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
37035 2012-04-05 Andreas Jaeger <aj@suse.de>
37038 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
37041 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37043 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
37044 which ROUND is no valid rounding mode.
37046 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37048 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
37050 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
37052 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37054 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
37055 an exception using FPU order intentionally.
37057 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37059 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
37060 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
37061 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
37062 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
37064 2012-04-05 Simon Josefsson <simon@josefsson.org>
37067 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
37068 EINVAL when BUFLEN is too smal.
37070 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
37073 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
37074 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
37076 2012-04-03 Andreas Jaeger <aj@suse.de>
37079 * manual/setjmp.texi (System V contexts): Fix sentence.
37082 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
37083 New macro for this case.
37084 [!__GNUC__] (__bswap_64): New inline function for this case.
37085 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37086 * bits/byteswap.h: Likewise.
37087 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
37088 ull, guard with __GLIBC_HAVE_LONG_LONG.
37090 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
37091 __GLIBC_HAVE_LONG_LONG.
37093 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
37094 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
37096 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37099 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
37100 inptr and inend, rather than using last_ch.
37102 2012-04-02 David S. Miller <davem@davemloft.net>
37104 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
37105 * stdio-common/printf-parse.h (read_int): Change return type to
37106 'int', return -1 on INT_MAX overflow.
37107 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
37108 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
37109 overflows INT_MAX. Check for overflow of in-format-string precision
37110 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
37111 SIZE_MAX not INT_MAX for integer overflow test.
37112 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
37113 skip the construct in the format string but do not record anything.
37114 * stdio-common/bug22.c: Adjust to test both width/prevision
37115 INT_MAX overflow as well as total length INT_MAX overflow. Check
37116 explicitly for proper errno values.
37118 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
37120 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
37122 * string/test-strcmp.c [! WIDE]: Likewise.
37123 * time/tst-mktime2.c: Likewise for INT_MAX.
37124 * string/test-string.h: #include <sys/param.h> for MIN.
37126 * csu/init-first.c (__libc_init_first): Call __ctype_init.
37127 * sysdeps/i386/init-first.c (init): Likewise.
37128 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
37129 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
37130 * sysdeps/sh/init-first.c (init): Likewise.
37132 2012-04-01 Ulrich Drepper <drepper@gmail.com>
37134 * po/ru.po: Update from translation team.
37135 * po/vi.po: Likewise.
37137 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
37139 * resolv/nss_dns/dns-host.c: Merge copyright years.
37141 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37143 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37144 Optimize memcpy with prefetch if
37145 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
37146 src, dst pointers have unequal 16 byte alignments.
37148 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
37151 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
37152 from a CNAME entry and return the minimum ttl for the query.
37153 (gaih_getanswer_slice): Likewise.
37155 2012-03-30 Jeff Law <law@redhat.com>
37157 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
37159 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
37160 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
37162 * resolv/nss_dns/dns-host.c: Update copyright year.
37164 2012-03-30 Ulrich Drepper <drepper@gmail.com>
37166 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
37167 requests to save a system call. Fix check that all bytes are sent.
37169 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
37170 comments for sendmmsg.
37172 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37175 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
37176 with only 1 character between 0x0041 and 0x01b0.
37177 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
37178 * wcsmbs/tst-mbsnrtowcs.c: New file.
37180 2012-03-29 David S. Miller <davem@davemloft.net>
37182 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
37183 small copies by hand.
37185 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37188 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
37189 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
37192 2012-03-28 David S. Miller <davem@davemloft.net>
37194 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
37195 that branches into memcpy.
37196 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
37197 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
37198 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
37199 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
37200 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
37202 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
37203 implementation too.
37204 * sysdeps/sparc/mempcpy.S: New file.
37206 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
37207 the IFUNC routine in the libc case.
37208 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
37210 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
37211 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
37212 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
37213 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
37214 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
37215 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
37216 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
37217 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
37219 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
37220 loop to 256 bytes instead of 64 bytes and fix test signedness.
37222 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
37223 * sysdeps/sparc/sparc32/Makefile: rather than here...
37224 * sysdeps/sparc/sparc64/Makefile: and here.
37226 2012-03-28 Ulrich Drepper <drepper@gmail.com>
37228 * malloc/mallocbug.c: Avoid warnings about unused variables.
37230 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
37233 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
37234 in the right place. Discard and retry query if response is
37235 larger than input buffer size.
37237 2012-03-28 Joseph Myers <joseph@codesourcery.com>
37242 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
37243 x for large integer exponent.
37244 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
37245 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
37246 sign of result as needed afterwards.
37247 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
37248 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
37249 result for underflowing pow the same as for overflow.
37250 (__kernel_standard_l): Handle powl overflow and underflow here
37251 rather than calling __kernel_standard.
37252 * math/libm-test.inc (pow_test): Add more tests.
37267 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
37268 * sysdeps/ieee754/k_standard.c: Include <float.h>.
37269 (__kernel_standard_l): New function.
37270 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
37272 * math/w_acosl.c (__acosl): Likewise.
37273 * math/w_asinl.c (__asinl): Likewise.
37274 * math/w_atan2l.c (__atan2l): Likewise.
37275 * math/w_atanhl.c (__atanhl): Likewise.
37276 * math/w_coshl.c (__coshl): Likewise.
37277 * math/w_exp10l.c (__exp10l): Likewise.
37278 * math/w_exp2l.c (__exp2l): Likewise.
37279 * math/w_fmodl.c (__fmodl): Likewise.
37280 * math/w_hypotl.c (__hypotl): Likewise.
37281 * math/w_j0l.c (__j0l, __y0l): Likewise.
37282 * math/w_j1l.c (__j1l, __y1l): Likewise.
37283 * math/w_jnl.c (__jnl, __ynl): Likewise.
37284 * math/w_lgammal.c (__lgammal): Likewise.
37285 * math/w_log10l.c (__log10l): Likewise.
37286 * math/w_log2l.c (__log2l): Likewise.
37287 * math/w_logl.c (__logl): Likewise.
37288 * math/w_powl.c (__powl): Likewise.
37289 * math/w_remainderl.c (__remainderl): Likewise.
37290 * math/w_scalbl.c (sysv_scalbl): Likewise.
37291 * math/w_sinhl.c (__sinhl): Likewise.
37292 * math/w_sqrtl.c (__sqrtl): Likewise.
37293 * math/w_tgammal.c (__tgammal): Likewise.
37294 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
37295 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
37296 * math/libm-test.inc (acos_test): Add more tests.
37297 (acosh_test): Likewise.
37298 (asin_test): Likewise.
37299 (atanh_test): Likewise.
37300 (exp_test): Likewise.
37301 (exp10_test): Likewise.
37302 (exp2_test): Likewise.
37303 (expm1_test): Likewise.
37304 (lgamma_test): Likewise.
37305 (log_test): Likewise.
37306 (log10_test): Likewise.
37307 (log1p_test): Likewise.
37308 (log2_test): Likewise.
37309 (pow_test): Do not allow some spurious overflow exceptions.
37310 (sqrt_test): Add more tests.
37311 (tgamma_test): Likewise.
37312 (y0_test): Likewise.
37313 (y1_test): Likewise.
37314 (yn_test): Likewise.
37316 2012-03-27 Anton Blanchard <anton@samba.org>
37318 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
37320 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37321 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
37322 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37324 2012-03-27 David S. Miller <davem@davemloft.net>
37326 * conform/Makefile: Run run-conformtest.sh using $(BASH).
37328 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
37329 have-as-vis3 check.
37331 2012-03-27 Andreas Jaeger <aj@suse.de>
37333 * sysdeps/x86_64/elf/configure.in: Moved to ...
37334 * sysdeps/x86_64/configure.in: ... here.
37335 * sysdeps/x86_64/elf/start.S: Moved to ...
37336 * sysdeps/x86_64/start.S: ... here.
37337 * sysdeps/x86_64/elf/configure: Delete.
37339 * sysdeps/x86_64/configure.in: Merge contents from
37340 sysdeps/i386/configure.in (without i686 check).
37342 * sysdeps/i386/elf/Versions: Merge into ...
37343 * sysdeps/i386/Versions: ... this.
37344 * sysdeps/i386/elf/Versions: Delete file.
37345 * sysdeps/i386/elf/start.S: Moved to ...
37346 * sysdeps/i386/start.S: ...here.
37347 * sysdeps/i386/elf/configure.in: Merge into...
37348 * sysdeps/i386/configure.in: ...here.
37349 * sysdeps/i386/elf/configure.in: Delete file.
37350 * sysdeps/i386/elf/configure: Delete file.
37352 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
37353 * debug/backtracesyms.c: ... here.
37354 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
37355 * debug/backtracesymsfd.c: ... here.
37356 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
37357 * sysdeps/generic/ifunc-sel.h: ... here.
37359 * sysdeps/unix/i386/start.c: Delete file.
37360 * sysdeps/unix/sparc/start.c: Delete file.
37361 * sysdeps/unix/start.c: Delete file.
37363 * sysdeps/sh/elf/configure.in: Moved to ...
37364 * sysdeps/sh/configure.in: ... here.
37365 * sysdeps/sh/elf/start.S: Moved to ...
37366 * sysdeps/sh/start.S: ... here.
37367 * sysdeps/sh/elf/configure: Delete file.
37369 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
37370 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
37371 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
37372 * sysdeps/powerpc/powerpc64/entry.h: ... here.
37373 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
37374 * sysdeps/powerpc/powerpc64/start.S: here.
37375 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
37376 * sysdeps/powerpc/powerpc64/Makefile: ... this.
37377 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
37378 * sysdeps/powerpc/powerpc64/configure.in: ... this.
37379 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
37381 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
37382 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
37383 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
37384 * sysdeps/powerpc/powerpc32/start.S: ... here.
37385 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
37386 * sysdeps/powerpc/powerpc32/configure.in: ... this.
37387 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
37389 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
37390 * sysdeps/powerpc/ifunc-sel.h: ... here.
37391 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
37392 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
37394 * sysdeps/sparc/elf/configure.in: Moved to ...
37395 * sysdeps/sparc/configure.in: ... here.
37396 * sysdeps/sparc/elf/configure: Delete file.
37397 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
37398 * sysdeps/sparc/sparc32/start.S: ... here.
37399 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
37400 * sysdeps/sparc/sparc64/start.S: ... here.
37401 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
37402 * sysdeps/sparc/sparc32/Makefile: ... this.
37403 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
37404 * sysdeps/sparc/sparc64/Makefile: ... this.
37406 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
37407 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
37408 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
37409 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
37410 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
37411 * sysdeps/s390/s390-32/setjmp.S: ... here.
37412 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
37413 * sysdeps/s390/s390-32/configure.in: ... here.
37414 * sysdeps/s390/s390-32/elf/configure: Delete file.
37415 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
37416 * sysdeps/s390/s390-32/start.S: ... here.
37418 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
37419 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
37420 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
37421 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
37422 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
37423 * sysdeps/s390/s390-64/setjmp.S: ... here.
37424 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
37425 * sysdeps/s390/s390-64/configure.in: ... here
37426 * sysdeps/s390/s390-64/elf/configure: Delete file.
37427 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
37428 * sysdeps/s390/s390-64/start.S: ... here.
37429 * sysdeps/s390/s390-64/elf/configure: Delete.
37431 * configure.in: Remove support for elf directories in sysdeps.
37433 * configure: Regenerated.
37434 * sysdeps/i386/configure: Regenerated.
37435 * sysdeps/powerpc/powerpc32/configure: Regenerated.
37436 * sysdeps/powerpc/powerpc64/configure: Regenerated.
37437 * sysdeps/s390/s390-32/configure: Regenerated.
37438 * sysdeps/s390/s390-64/configure: Regenerated.
37439 * sysdeps/sh/configure: Regenerated.
37440 * sysdeps/sparc/configure: Regenerated.
37441 * sysdeps/x86_64/configure: Regenerated.
37443 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
37445 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37447 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
37448 denormal result into account.
37450 2012-03-25 Roland McGrath <roland@hack.frob.com>
37452 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
37453 Reported by Allan McRae <allan@archlinux.org>.
37455 2012-03-23 Jeff Law <law@redhat.com>
37457 * nss/getnssent.c (__nss_getent): Fix typo.
37459 2012-03-23 David S. Miller <davem@davemloft.net>
37461 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37463 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
37465 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
37466 to pad to uint64_t for each field.
37467 (dl_tls_index): Replace unsigned long with uint64_t.
37469 2012-03-23 Daniel Jacobowitz <dmj@google.com>
37470 Paul Pluzhnikov <ppluzhnikov@google.com>
37473 * grp/Makefile (otherlibs): Don't set it.
37474 * inet/Makefile (otherlibs): Likewise.
37475 * login/Makefile (otherlibs): Likewise.
37476 * nscd/Makefile (otherlibs): Likewise.
37477 * posix/Makefile (otherlibs): Likewise.
37478 * pwd/Makefile (otherlibs): Likewise.
37479 * rt/Makefile (otherlibs): Likewise.
37480 * sunrpc/Makefile (otherlibs): Likewise.
37481 * nss/Makefile (otherlibs): Likewise.
37482 Add libnss_files to routines and static-only-routines.
37483 ($(objpfx)getent): Remove rule.
37484 * resolv/Makefile: Add libnss_dns and libresolv to routines and
37485 static-only-routines.
37487 2012-03-22 Joseph Myers <joseph@codesourcery.com>
37490 * math/s_cexp.c: Include <float.h>.
37491 (__cexp): Handle exp result overflowing not necessarily
37492 overflowing both real and imaginary parts of result.
37493 * math/s_cexpf.c: Likewise.
37494 * math/s_cexpl.c: Likewise.
37495 * math/libm-test.inc (cexp_test): Add more tests.
37496 * sysdeps/i386/fpu/libm-test-ulps: Update.
37497 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37499 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37501 * include/link.h (ELFW): New macro.
37502 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
37503 Replace ELF64_R_TYPE with ELFW(R_TYPE).
37505 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37507 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
37510 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37512 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
37514 (struct La_x32_retval): Likewise.
37516 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37518 * sysdeps/x86_64/preconfigure.in: New file.
37519 * sysdeps/x86_64/preconfigure: New generated file.
37521 2012-03-22 Joseph Myers <joseph@codesourcery.com>
37524 * math/e_exp2l.c: Include <float.h>.
37525 (__ieee754_exp2l): Handle overflow and underflow cases
37526 separately. Only pass fractional part of argument to
37528 * math/libm-test.inc (exp2_test): Add more tests.
37530 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
37531 negating x to take absolute value.
37532 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
37534 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
37535 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
37537 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
37538 computing low part if x was negated.
37539 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
37541 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
37543 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
37544 la_x32_gnu_pltexit.
37545 (pltexit): Cast int_retval to ptrdiff_t.
37546 * elf/tst-auditmod3b.c: Likewise.
37547 * elf/tst-auditmod4b.c: Likewise.
37548 * elf/tst-auditmod5b.c: Likewise.
37549 * elf/tst-auditmod6b.c: Likewise.
37550 * elf/tst-auditmod6c.c: Likewise.
37551 * elf/tst-auditmod7b.c: Likewise.
37553 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
37554 and x32_gnu_pltexit.
37556 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
37557 __ELF_NATIVE_CLASS.
37558 (La_x32_regs): New macro.
37559 (La_x32_retval): Likewise.
37560 (la_x32_gnu_pltenter): New function prototype.
37561 (la_x32_gnu_pltexit): Likewise.
37563 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
37565 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
37568 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37570 * configure.in (libc_cv_cc_nofma): Check for option to disable
37571 generation of FMA instructions.
37572 * configure: Regenerate.
37573 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
37574 * sysdeps/ieee754/dbl-64/Makefile: New file.
37575 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
37576 Remove brandred-fma4.
37577 (CFLAGS-brandred-fma4.c): Remove.
37578 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
37579 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
37581 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
37584 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
37586 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
37587 LLONG_MAX != LONG_MAX.
37588 (_itoa_word): Use _ITOA_WORD_TYPE on value.
37589 (_fitoa_word): Likewise.
37590 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
37591 LLONG_MAX != LONG_MAX.
37592 * stdio-common/_itowa.h: Include <_itoa.h>.
37593 (_itowa_word): Use _ITOA_WORD_TYPE on value.
37594 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
37595 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
37596 only if not defined.
37597 (_ITOA_WORD_TYPE): Likewise.
37598 (_itoa_word): Use _ITOA_WORD_TYPE on value.
37599 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
37601 2012-03-21 David S. Miller <davem@davemloft.net>
37603 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37605 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
37607 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
37608 of x86_64 when setting libc_cv_slibdir, libdir and
37610 * sysdeps/unix/sysv/linux/configure: Regenerated.
37612 2012-03-21 Joseph Myers <joseph@codesourcery.com>
37614 * manual/lang.texi (Old Varargs): Remove section.
37615 (How Variadic): Update menu.
37616 (va_start): Do not mention varargs.h.
37618 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
37619 Joseph Myers <joseph@codesourcery.com>
37621 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
37623 * configure: Regenerated.
37625 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
37627 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
37628 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
37631 2012-03-21 Joseph Myers <joseph@codesourcery.com>
37634 * Makefile (files-for-dist): Remove NOTES.
37635 (NOTES): Remove rule.
37636 * README: Don't refer to NOTES.
37637 * manual/creature.texi: Don't include macros.texi.
37638 * manual/intro.texi (creature.texi): Remove comment referring to
37641 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
37642 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
37643 * configure: Regenerated.
37644 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
37645 LIBC_TRY_CC_OPTION.
37646 (libc_cv_as_i686): Likewise.
37647 (libc_cv_cc_avx): Likewise.
37648 (libc_cv_cc_sse2avx): Likewise.
37649 (libc_cv_cc_fma4): Likewise.
37650 (libc_cv_cc_novzeroupper): Likewise.
37651 * sysdeps/i386/configure: Regenerated.
37654 * sysdeps/i386/fpu/s_cexp.S: Remove.
37655 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
37656 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
37657 * math/libm-test.inc (cexp_test): Add more tests.
37658 * sysdeps/i386/fpu/libm-test-ulps: Update.
37659 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37661 2012-03-21 Allan McRae <allan@archlinux.org>
37663 * timezone/Makefile: Do not install iso3166.tab and zone.tab
37665 2012-03-21 Joseph Myers <joseph@codesourcery.com>
37668 * math/w_exp2.c: Do not include <float.h>.
37669 (o_threshold, u_threshold): Remove.
37670 (__exp2): Calculate result before checking finiteness and calling
37672 * math/w_exp2f.c: Likewise.
37673 * math/w_exp2l.c: Likewise.
37674 * math/libm-test.inc (exp2_test): Require overflow exception for
37678 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
37679 range of signed 64-bit integers before using fistpll. Remove
37680 checks for whether integers fit in mantissa bits.
37681 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
37682 the range of signed 32-bit integers before using fistpl. Remove
37683 checks for whether integers fit in mantissa bits.
37684 * sysdeps/i386/fpu/e_powl.S (p64): New object.
37685 (__ieee754_powl): Test for y outside the range of signed 64-bit
37686 integers before using fistpll. Reduce 64-bit values to 63-bit
37688 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
37689 divide-by-zero is raised for zero to large negative powers.
37690 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
37691 (__ieee754_powl): Test for y outside the range of signed 64-bit
37692 integers before using fistpll. Reduce 64-bit values to 63-bit
37694 * math/libm-test.inc (pow_test): Add more tests.
37696 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
37698 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
37699 <stdio-common/_itoa.h>.
37700 * debug/segfault.c: Likewise.
37701 * elf/dl-cache.c: Likewise.
37702 * elf/dl-minimal.c: Likewise.
37703 * elf/dl-misc.c: Likewise.
37704 * elf/dl-sysdep.c: Likewise.
37705 * elf/dl-version.c: Likewise.
37706 * elf/rtld.c: Likewise.
37707 * hurd/hurdsock.c: Likewise.
37708 * hurd/lookup-retry.c: Likewise.
37709 * malloc/malloc.c: Likewise.
37710 * malloc/mtrace.c: Likewise.
37711 * nscd/nscd_getgr_r.c: Likewise.
37712 * nscd/nscd_getpw_r.c: Likewise.
37713 * nscd/nscd_getserv_r.c: Likewise.
37714 * posix/getopt_init.c: Likewise.
37715 * posix/wordexp.c: Likewise.
37716 * stdio-common/_itoa.c: Likewise.
37717 * stdio-common/printf_fphex.c: Likewise.
37718 * stdio-common/vfprintf.c: Likewise.
37719 * string/_strerror.c: Likewise.
37720 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
37721 * sysdeps/i386/i686/hp-timing.h: Likewise.
37722 * sysdeps/mach/_strerror.c: Likewise.
37723 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
37724 * sysdeps/mach/hurd/sethostid.c: Likewise.
37725 * sysdeps/mach/hurd/xmknodat.c: Likewise.
37726 * sysdeps/mach/xpg-strerror.c: Likewise.
37727 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
37728 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
37729 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
37730 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
37731 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
37732 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
37733 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
37734 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
37735 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
37736 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
37737 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
37738 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
37739 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
37740 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
37741 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
37742 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
37743 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
37744 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
37745 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
37746 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
37747 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
37749 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
37751 * stdio-common/_itoa.h: Moved to ...
37752 * sysdeps/generic/_itoa.h: Here.
37754 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
37756 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
37757 instead of "_itoa.h" and "_itowa.h".
37758 * stdio-common/vfprintf.: Likewise.
37760 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
37762 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
37764 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
37765 (__signbit): Likwise.
37766 (llrintf): Likwise.
37769 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
37771 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
37774 2012-03-20 Joseph Myers <joseph@codesourcery.com>
37776 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
37777 OVERFLOW_EXCEPTION_OK.
37778 * math/libm-test.inc ("Philosophy"): Update comment about
37780 (OVERFLOW_EXCEPTION): Define.
37781 (OVERFLOW_EXCEPTION_OK): Likewise.
37782 (INVALID_EXCEPTION_OK): Renumber.
37783 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
37784 (IGNORE_ZERO_INF_SIGN): Likewise.
37785 (test_exceptions): Handle FE_OVERFLOW.
37786 (exp10_test): Expect overflow exceptions.
37787 (exp2_test): Likewise.
37788 (expm1_test): Likewise.
37789 (nextafter_test): Likewise.
37790 (pow_test): Likewise.
37791 (scalbn_test): Likewise.
37792 (scalbln_test): Likewise.
37794 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37796 * sysdeps/x86_64/bits/atomic.h
37797 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
37799 (atomic_exchange_acq): Likewise.
37800 (__arch_exchange_and_add_body): Likewise.
37801 (__arch_add_body): Likewise.
37802 (atomic_add_negative): Likewise.
37803 (atomic_add_zero): Likewise.
37805 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37807 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
37808 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
37810 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37812 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
37813 Check __x86_64__ instead of __WORDSIZE.
37815 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37817 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
37819 2012-03-19 David S. Miller <davem@davemloft.net>
37821 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37823 * sysdeps/sparc/fpu/fenv_private.h: New file.
37824 * sysdeps/sparc/fpu/math_private.h: Use it.
37825 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
37827 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
37828 (libc_feholdexcept_setroundl): Remove.
37829 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
37831 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
37832 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
37834 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37836 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
37837 int64_t instead of long int.
37838 (INSERT_WORDS64): Likwise.
37840 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37842 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
37843 _Unwind_GetCFA return to _Unwind_Ptr first.
37845 2012-03-19 Joseph Myers <joseph@codesourcery.com>
37848 * math/s_clog.c: Include <float.h>.
37849 (__clog): Scale large or subnormal inputs.
37850 * math/s_clogf.c: Likewise.
37851 * math/s_clogl.c: Likewise.
37852 * math/s_clog10.c: Include <float.h>.
37853 (M_LOG10_2): Define.
37854 (__clog10): Scale large or subnormal inputs.
37855 * math/s_clog10f.c: Likewise.
37856 * math/s_clog10l.c: Likewise.
37857 * math/libm-test.inc (clog_test): Add more tests.
37858 (clog10_test): Likewise.
37859 * sysdeps/i386/fpu/libm-test-ulps: Update.
37860 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37863 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
37865 * math/libm-test.inc (atan2_test): Add another test.
37867 * Makerules (common-objdir-compile): Remove.
37868 * sysdeps/unix/Makefile (config-generated): Do not add
37869 $(unix-generated) to variable.
37870 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
37871 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
37873 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
37875 [generic bits/local_lim.h] (before-compile): Do not append to
37877 [generic bits/local_lim.h] (common-generated): Likewise.
37878 [generic sys/param.h] (before-compile): Do not append to variable.
37879 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
37880 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
37881 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
37882 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
37884 [generic sys/param.h] (sys/param.h-includes): Remove variable.
37885 [generic sys/param.h] (sys/param.h-includes): Remove rule.
37886 [generic sys/param.h] ($(addprefix
37887 $(common-objpfx),$(sys/param.h-includes))): Likewise.
37888 [generic sys/param.h] (common-generated): Do not append to
37890 [generic sys/param.h] (sysdep_headers): Likewise.
37891 [generic bits/errno.h] (before-compile): Do not append to
37893 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
37895 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
37896 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
37897 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
37898 [generic bits/errno.h] (common-generated): Do not append to
37900 [generic bits/ioctls.h] (before-compile): Do not append to
37902 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
37904 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
37905 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
37906 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
37908 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
37909 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
37910 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
37911 [generic bits/ioctls.h] (common-generated): Do not append to
37913 [generic sys/syscall.h] (syscall.h): Remove variable.
37914 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
37916 [generic sys/syscall.h] (before-compile): Do not append to
37918 [generic sys/syscall.h] (common-generated): Likewise.
37919 * sysdeps/unix/errnos-tmpl.c: Remove file.
37920 * sysdeps/unix/errnos.awk: Likewise.
37921 * sysdeps/unix/ioctls-tmpl.c: Likewise.
37922 * sysdeps/unix/ioctls.awk: Likewise.
37923 * sysdeps/unix/mk-local_lim.c: Likewise.
37924 * sysdeps/unix/snarf-ioctls: Likewise.
37926 2012-03-19 Richard Henderson <rth@twiddle.net>
37928 * sysdeps/i386/fpu/fenv_private.h: New file.
37929 * sysdeps/i386/fpu/math_private.h: Use it.
37930 (math_opt_barrier, math_force_eval): Remove.
37931 (libc_feholdexcept_setround_53bit): Remove.
37932 (libc_feupdateenv_53bit): Remove.
37933 * sysdeps/x86_64/fpu/math_private.h: Likewise.
37934 (math_opt_barrier, math_force_eval): Remove.
37935 (libc_feholdexcept): Remove.
37936 (libc_feholdexcept_setround): Remove.
37937 (libc_fetestexcept, libc_fesetenv): Remove.
37938 (libc_feupdateenv_test): Remove.
37939 (libc_feupdateenv, libc_feholdsetround): Remove.
37940 (libc_feresetround): Remove.
37942 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
37943 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
37945 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
37946 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
37947 (libc_feupdateenv_testl): New.
37948 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
37949 (libc_feupdateenv_testf): New.
37950 (libc_feupdateenv): Use libc_feupdateenv_test.
37951 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
37952 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
37954 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
37955 (libc_feholdsetroundf, libc_feholdsetroundl): New.
37956 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
37957 (libc_feresetround_noex): New.
37958 (libc_feresetround_noexf): New.
37959 (libc_feresetround_noexl): New.
37960 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
37961 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
37962 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
37963 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
37965 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
37966 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
37968 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
37969 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
37970 SET_RESTORE_ROUND_NOEX.
37971 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
37972 SET_RESTORE_ROUND_NOEXF.
37973 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
37974 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
37975 (libc_feholdsetroundf): New.
37976 (libc_feresetround, libc_feresetroundf): New.
37978 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
37979 (libc_feholdexcept_setround_53bit): Convert from macro to function.
37980 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
37982 * sysdeps/generic/math_private.h: Include <fenv.h>.
37983 (default_libc_feholdexcept): New.
37984 (default_libc_feholdexcept_setround): New.
37985 (default_libc_fesetenv, default_libc_feupdateenv): New.
37986 (libc_feholdexcept): Only define if undefined.
37987 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
37988 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
37989 (libc_feholdexcept_setroundl): Likewise.
37990 (libc_feholdexcept_setround_53bit): Likewise.
37991 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
37992 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
37993 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
37994 (libc_feupdateenv_53bit): Likewise.
37995 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
37996 (libc_feholdexcept): Convert from macro to inline function.
37997 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
37998 (libc_fesetenv, libc_feupdateenv): Likewise.
38000 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
38001 not previously defined.
38002 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
38003 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
38004 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
38005 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
38006 * sysdeps/ieee754/flt-32/math_private.h: New file.
38007 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
38008 math_private.h below SET_FLOAT_WORD.
38009 (__isnan, __isinf_ns, __finite): Remove.
38010 (__isnanf, __isinf_nsf, __finitef): Remove.
38012 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
38014 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38016 2012-03-17 David S. Miller <davem@davemloft.net>
38019 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
38022 2012-03-16 David S. Miller <davem@davemloft.net>
38024 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
38028 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
38030 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
38031 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
38032 sysdep_routines when subdir is sysvipc.
38033 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
38034 __getshmlba helper.
38036 * sysdeps/sparc/fpu/libm-test/ulps: Update.
38038 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38040 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
38043 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38045 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
38046 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
38047 (__lround): Renamed to ...
38048 (__llround): This. Replace long int with long long int.
38049 Define lround functions as aliases of llround functions.
38050 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
38052 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38054 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
38055 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
38056 adresses to uintptr_t. Replace "long int" and "unsigned long
38057 int" with "greg_t" on va_arg.
38059 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38061 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
38062 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
38064 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
38065 Move e_machine check before EI_CLASS check. Handle x32
38066 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
38067 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
38068 SKIP_EM_IA_64 and include
38069 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
38071 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
38072 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
38073 (add_system_dir): New macro.
38075 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
38076 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
38078 2012-03-16 Joseph Myers <joseph@codesourcery.com>
38089 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
38091 * math/w_j0f.c (j0f): Likewise.
38093 * math/w_j0l.c (__j0l): Likewise.
38095 * math/w_j1.c (j1): Likewise.
38097 * math/w_j1f.c (j1f): Likewise.
38099 * math/w_j1l.c (__j1l): Likewise.
38101 * math/w_jn.c (jn): Likewise.
38103 * math/w_jnf.c (jnf): Likewise.
38105 * math/w_jnl.c (__jnl): Likewise.
38107 * math/libm-test.inc (j0_test): Add more tests.
38108 (j1_test): Likewise.
38109 (jn_test): Likewise. Add trailing semicolon to existing test.
38110 (y0_test): Likewise.
38111 (y1_test): Likewise.
38112 * sysdeps/i386/fpu/libm-test-ulps: Update.
38113 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38117 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
38118 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
38119 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
38120 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
38121 (__tanl): Set errno for infinite argument.
38122 * sysdeps/i386/fpu/mptan.c: Remove.
38123 * sysdeps/i386/fpu/s_tan.S: Likewise.
38124 * sysdeps/i386/fpu/s_tanl.S: Likewise.
38125 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
38126 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
38127 * math/libm-test.inc (tan_test): Add more tests and enable more
38128 tests for double and long double.
38129 * sysdeps/i386/fpu/libm-test-ulps: Update.
38130 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38132 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
38134 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
38135 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
38137 2012-03-16 Roland McGrath <roland@hack.frob.com>
38139 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
38140 * configure.in: Use it for both main tree and add-ons.
38141 * configure: Regenerated.
38143 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38145 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
38147 2012-03-16 Joseph Myers <joseph@codesourcery.com>
38149 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
38153 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
38154 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
38155 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
38156 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
38157 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
38159 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
38160 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
38161 != 0 for prec == 2.
38162 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
38163 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
38164 * sysdeps/i386/fpu/s_cosl.S: Likewise.
38165 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
38166 * sysdeps/i386/fpu/s_sinl.S: Likewise.
38167 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
38168 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
38169 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
38170 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
38171 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
38172 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
38173 * math/libm-test.inc (cos_test): Add more tests and enable more
38174 tests for long double.
38175 (sin_test): Likewise.
38176 (sincos_test): Likewise.
38177 * sysdeps/i386/fpu/libm-test-ulps: Update.
38178 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38180 2012-03-16 David S. Miller <davem@davemloft.net>
38182 * sysdeps/sparc/fpu/math_private.h: New file.
38184 2012-03-15 David S. Miller <davem@davemloft.net>
38186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
38188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
38189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
38191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
38192 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
38193 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
38194 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
38195 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
38196 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
38198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38200 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
38201 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
38203 * sysdeps/sparc/sparc-ifunc.h: New file.
38204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
38206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
38207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
38209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
38211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
38212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
38213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
38216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
38217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
38218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
38219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
38220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
38222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
38224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
38225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
38226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
38227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
38228 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
38229 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
38230 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
38231 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
38232 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
38233 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
38234 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
38235 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
38236 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
38237 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
38238 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
38239 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
38240 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
38241 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
38242 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
38243 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
38244 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
38245 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
38246 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
38247 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
38249 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
38251 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
38253 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38255 2012-03-15 Andreas Jaeger <aj@suse.de>
38258 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
38259 ieee754/flt-32 implementation for sin, cos and sincos.
38260 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
38261 * sysdeps/i386/fpu/s_cosf.S: Likewise.
38262 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
38263 * sysdeps/i386/fpu/s_sinf.S: Likewise.
38264 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
38265 ieee754/flt-32 implementation for tan.
38267 * math/libm-test.inc (cos_test): Enable some large input tests for
38269 (sin_test): Likewise.
38270 (sincos_test): Likewise.
38271 (tan_test): Add tests for large input.
38273 * sysdeps/i386/fpu/libm-test-ulps: Update.
38275 2012-03-15 Andreas Jaeger <aj@suse.de>
38278 * math/libm-test.inc (cos_test): Add more test cases.
38279 (sin_test): Likewise.
38280 (sincos_test): Likewise.
38282 2012-03-15 Andreas Jaeger <aj@suse.de>
38285 * math/libm-test.inc (cos_test): Add a test case for large input
38287 (sin_test): Likewise.
38288 (sincos_test): Likewise.
38290 2012-03-15 Andreas Jaeger <aj@suse.de>
38291 Joseph Myers <joseph@codesourcery.com>
38294 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
38295 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
38296 * sysdeps/i386/fpu/branred.c: Likewise.
38297 * sysdeps/i386/fpu/dosincos.c: Likewise.
38298 * sysdeps/i386/fpu/mpa.c: Likewise.
38299 * sysdeps/i386/fpu/s_cos.S: Likewise.
38300 * sysdeps/i386/fpu/s_sin.S: Likewise.
38301 * sysdeps/i386/fpu/s_sincos.S: Likewise.
38302 * sysdeps/i386/fpu/sincos32.c: Likewise.
38304 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
38306 (libc_feupdateenv_53bit): Define.
38307 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
38309 (libc_feupdateenv_53bit): Define.
38311 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
38312 53 bit (without extend i386 double precision).
38314 * math/libm-test.inc (sincos_test): Add tests for large input.
38318 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
38320 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
38322 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38324 2012-03-15 David S. Miller <davem@davemloft.net>
38326 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
38327 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
38328 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
38329 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
38330 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
38331 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
38332 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
38333 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
38334 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
38335 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
38336 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
38337 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
38338 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
38339 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
38340 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
38341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
38343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
38344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
38346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
38347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
38349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
38350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
38352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
38353 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
38354 fmin/fmax sysdep routines.
38355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38357 2012-03-14 David S. Miller <davem@davemloft.net>
38359 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
38360 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
38361 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
38362 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
38363 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
38364 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
38365 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
38366 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
38367 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
38368 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
38369 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
38370 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
38371 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
38372 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
38373 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
38374 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
38375 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
38376 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
38377 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
38378 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
38379 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
38380 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
38381 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
38382 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
38383 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
38384 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
38385 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
38386 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
38387 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
38389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
38391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
38392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
38394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
38395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
38397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
38398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
38400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
38401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
38403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
38404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
38406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
38408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
38410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
38412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
38414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
38416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
38418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
38419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
38421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
38422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
38424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
38425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
38427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
38428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
38431 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
38434 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38436 * sysdeps/sparc/configure.in: New file.
38437 * sysdeps/sparc/configure: Generate.
38438 * configure.in (libc_cv_sparc_as_vis3): Substitute.
38439 * configure: Regenerate.
38440 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
38441 * config.make.in (have-as-vis3): New.
38442 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
38443 available use -Av9d instead of -Av9a.
38444 * sysdeps/sparc/sparc64/Makefile: Likewise.
38445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
38446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
38448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
38450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
38452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
38454 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
38455 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
38456 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
38457 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
38458 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
38460 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
38461 fzeros/fnegs to load 0x80000000 into a float register instead of
38463 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
38465 2012-03-14 Joseph Myers <joseph@codesourcery.com>
38467 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38469 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
38470 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
38471 ($(inst_includedir)/bits/syscall.h): Remove rule.
38472 ($(objpfx)bits/syscall.d): Include instead of
38473 $(objpfx)syscall-list.d.
38474 (generated): Change syscall-list.h and syscall-list.d to
38475 bits/syscall.h and bits/syscall.d.
38477 2012-03-14 Roland McGrath <roland@hack.frob.com>
38480 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
38482 2012-03-14 Joseph Myers <joseph@codesourcery.com>
38485 * math/s_csqrt.c: Include <float.h>.
38486 (__csqrt): Scale large or subnormal inputs.
38487 * math/s_csqrtf.c: Likewise.
38488 * math/s_csqrtl.c: Likewise.
38489 * math/libm-test.inc (csqrt_test): Add more tests.
38490 * sysdeps/i386/fpu/libm-test-ulps: Update.
38491 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38494 * math/libm-test.inc (hypot_test): Add more tests.
38496 2012-03-13 David S. Miller <davem@davemloft.net>
38499 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
38500 double-precision for the calculation instead of scaling.
38502 2012-03-13 Joseph Myers <joseph@codesourcery.com>
38504 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
38505 manipulate bits before adding and subtracting TWO52[sx].
38506 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
38507 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
38509 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
38511 2012-03-13 David S. Miller <davem@davemloft.net>
38513 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
38514 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
38515 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
38516 rtld-global-offsets.h
38517 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38519 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
38522 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
38524 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
38525 'err' in the ifdef scope in which it is actually used.
38527 * nss/nss_db/db-init.c: Include string.h
38529 2012-03-12 David S. Miller <davem@davemloft.net>
38531 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
38532 masking out of the most significant byte of random value used.
38533 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38534 Fix coding style in previous change.
38536 * sysdeps/unix/sysv/linux/kernel-features.h
38537 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
38538 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
38540 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
38543 2012-03-11 David S. Miller <davem@davemloft.net>
38545 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
38546 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
38547 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
38548 for 'resultvar' otherwise things get truncated on 64-bit.
38550 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38551 Fix masking out of the most significant byte of random value used.
38553 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38555 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
38557 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38559 2012-03-09 David S. Miller <davem@davemloft.net>
38561 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
38562 variables with appropriate CPP guards.
38563 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
38564 from the frame pointer, not the stack pointer. Correct layout
38565 comments. Fix test on resulting framesize and the management of
38566 the outregs buffer for pltexit. Preserve floating point return
38567 values across _dl_call_pltexit call.
38568 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
38569 framesize and the management of the outregs buffer for pltexit.
38570 Preserve floating point return values across _dl_call_pltexit
38572 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
38573 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
38574 (la_sparc64_gnu_pltexit): New functions.
38575 (print_exit): Fix format string for return register value.
38577 2012-03-10 Joseph Myers <joseph@codesourcery.com>
38579 * sunrpc/Makefile (others): Add rpcgen.
38580 ($(objpfx)rpcgen): Remove special build rule and dependency on
38582 * sunrpc/rpcgen.c: New file.
38584 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
38587 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
38588 * stdio-common/bug-vfprintf-nargs.c: Likewise.
38589 * sysdeps/i386/crti.S: Likewise.
38590 * sysdeps/i386/crtn.S: Likewise.
38591 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
38592 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
38593 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
38594 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
38595 * sysdeps/sh/crti.S: Likewise.
38596 * sysdeps/sh/crtn.S: Likewise.
38597 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
38600 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
38602 * locale/programs/locfile-kw.gperf: Likewise.
38603 * locale/programs/charmap-kw.h: Regenerated.
38604 * locale/programs/locfile-kw.h: Likewise.
38607 * intl/plural.y: Replace FSF snail mail address with URL.
38608 * intl/plural.c: Regenerated.
38610 2012-03-09 Richard Henderson <rth@twiddle.net>
38612 * include/math_private.h: Remove file.
38613 * math/math_private.h: Move file ...
38614 * sysdeps/generic/math_private.h: ... here.
38616 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
38617 * sysdeps/powerpc/fpu/math_private.h: Likewise.
38618 * sysdeps/x86_64/fpu/math_private.h: Likewise.
38620 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
38621 and <math_private.h>.
38622 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
38623 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
38624 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
38625 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
38626 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
38627 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
38628 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38629 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38630 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38631 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38632 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38633 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38634 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38635 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38636 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38637 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38638 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38639 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38640 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38641 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38642 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38643 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38644 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38645 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38646 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
38647 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38648 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38649 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38650 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38651 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38652 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38653 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38654 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
38655 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38656 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38657 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38658 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38659 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38660 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
38661 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38662 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
38663 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
38664 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
38665 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
38666 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
38667 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
38668 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
38669 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
38670 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38671 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
38672 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
38673 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
38674 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
38675 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
38676 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
38677 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
38678 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38679 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
38680 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
38681 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
38682 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38683 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
38684 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38685 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
38686 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
38687 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38688 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38689 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38690 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
38691 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
38692 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
38693 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38694 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
38695 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38696 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
38697 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
38698 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
38699 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
38700 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
38701 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
38702 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
38703 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
38704 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
38705 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
38706 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
38707 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
38708 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
38709 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
38710 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38711 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38712 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38713 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38714 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38715 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38716 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38717 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38718 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38719 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38720 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38721 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38722 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38723 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38724 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38725 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38726 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
38727 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38728 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38729 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38730 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
38731 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
38732 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
38733 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
38734 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38735 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
38736 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
38737 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38738 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
38739 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
38740 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
38741 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
38742 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
38743 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
38744 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38745 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
38746 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
38747 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
38748 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38749 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
38750 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
38751 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
38752 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
38753 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
38754 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
38755 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
38756 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
38757 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
38758 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
38759 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
38760 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
38761 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
38762 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38763 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
38764 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
38765 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
38766 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
38767 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
38768 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
38769 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
38770 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
38771 * sysdeps/ieee754/k_standard.c: Likewise.
38772 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38773 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38774 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38775 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38776 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38777 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38778 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38779 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38780 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38781 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38782 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38783 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38784 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38785 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38786 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38787 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38788 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
38789 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38790 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38791 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
38792 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
38793 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
38794 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
38795 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
38796 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
38797 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
38798 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
38799 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
38800 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
38801 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
38802 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
38803 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
38804 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
38805 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
38806 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
38807 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
38808 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
38809 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
38810 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
38811 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
38812 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
38813 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
38814 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
38815 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
38816 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
38817 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
38818 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
38819 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
38820 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
38821 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
38822 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
38823 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
38824 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
38825 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
38826 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
38827 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
38828 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
38829 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
38830 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
38831 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
38832 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
38833 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
38834 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
38835 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38836 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38837 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38838 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38839 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38840 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38841 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38842 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38843 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38844 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38845 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38846 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38847 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38848 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
38849 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38850 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38851 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
38852 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
38853 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
38854 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
38855 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
38856 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
38857 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
38858 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
38859 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
38860 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
38861 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
38862 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
38863 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
38864 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
38865 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
38866 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
38867 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
38868 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
38869 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
38870 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
38871 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
38872 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
38873 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
38874 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
38875 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
38876 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
38877 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
38878 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
38879 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
38880 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
38881 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
38882 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
38883 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
38884 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38885 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38886 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38887 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38888 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
38889 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38890 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38891 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
38892 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38893 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
38894 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38895 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
38896 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38897 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
38898 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
38899 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
38900 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
38901 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
38902 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
38903 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
38904 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
38905 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
38906 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
38907 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
38908 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
38909 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
38910 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
38911 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
38912 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
38913 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
38914 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
38915 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
38916 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
38917 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
38918 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
38919 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
38920 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
38921 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
38922 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
38923 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
38924 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
38925 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
38926 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
38927 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
38928 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
38929 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
38930 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
38931 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
38932 * sysdeps/ieee754/s_lib_version.c: Likewise.
38933 * sysdeps/ieee754/s_matherr.c: Likewise.
38934 * sysdeps/ieee754/s_signgam.c: Likewise.
38935 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38936 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38937 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
38938 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
38939 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
38940 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
38941 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
38942 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
38943 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
38944 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
38945 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
38946 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
38947 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
38948 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
38949 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
38950 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
38951 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
38952 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
38953 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
38954 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
38955 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
38957 2012-03-09 Joseph Myers <joseph@codesourcery.com>
38959 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
38960 * sunrpc/rpc_main.c: Likewise.
38961 * sunrpc/rpc_svcout.c: Likewise.
38963 2012-03-09 David S. Miller <davem@davemloft.net>
38965 * include/math_private.h: New file.
38967 2012-03-09 Joseph Myers <joseph@codesourcery.com>
38969 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
38970 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
38971 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
38972 from <bits/socket_type.h>.
38973 (enum __socket_type): Don't define here.
38974 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
38975 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38976 bits/socket_type.h.
38979 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
38980 checking __USE_GNU.
38982 * Makerules ($(inst_includedir)/%.h): New rule.
38983 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
38984 (install-others): Remove variable setting.
38985 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
38987 2012-03-08 Richard Henderson <rth@twiddle.net>
38989 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
38990 from macro to inline function; merge with the
38991 !__LIBC_INTERNAL_MATH_INLINES version.
38992 (__ieee754_sqrtf): Likewise.
38994 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
38995 to inline function.
38996 (__rintf, __floor, __floorf): Likewise.
38998 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
38999 macro to inline function.
39000 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
39002 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
39003 not <math/math_private.h>.
39005 2012-03-08 David S. Miller <davem@davemloft.net>
39007 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
39009 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
39011 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
39013 * resolv/gai_misc.c (handle_requests): Fix struct timespec
39015 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
39016 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
39018 2012-03-08 Ulrich Drepper <drepper@gmail.com>
39020 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
39021 be defined individually, they must be defined as a block. Define
39022 S for printing a string instead of hidint the different by using a
39023 macro for adding the 'l'.
39024 * stdio-common/tst-fphex-wide.c: Adjust.
39026 2012-03-07 Marek Polacek <polacek@redhat.com>
39028 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
39030 2012-03-08 Marek Polacek <polacek@redhat.com>
39033 * stdio-common/Makefile (tests): Add tst-fphex-wide.
39034 * stdio-common/tst-fphex.c: Define a few macros to make the
39035 test reusable. Use them.
39036 * stdio-common/tst-fphex-wide.c: New file.
39038 2012-03-08 Joseph Myers <joseph@codesourcery.com>
39041 * manual/macros.texi (gnusystems): New macro.
39042 (nongnusystems): Likewise.
39043 (gnulinuxhurdsystems): Likewise.
39044 (gnuhurdsystems): Likewise..
39045 (gnulinuxsystems): Likewise.
39046 * manual/charset.texi: Use new macros or @theglibc{} to refer to
39047 variants of the GNU system, not "GNU system".
39048 * manual/conf.texi: Likewise.
39049 * manual/errno.texi: Likewise. Update example of errno macro
39051 * manual/filesys.texi: Likewise.
39052 (getumask): Document as specific to GNU/Hurd.
39053 * manual/install.texi: Likewise. Reword some references to
39055 * manual/intro.texi: Likewise.
39056 * manual/io.texi: Likewise.
39057 (File Name Portability): Detail which constraints are inapplicable
39058 to all GNU systems and which are only inapplicable to GNU/Hurd.
39059 * manual/job.texi: Likewise.
39060 * manual/llio.texi: Likewise.
39061 (O_NOCTTY): Document as present on GNU/Linux.
39062 * manual/maint.texi: Likewise.
39063 * manual/memory.texi: Likewise.
39064 * manual/pattern.texi: Likewise.
39065 * manual/pipe.texi: Likewise.
39066 * manual/process.texi: Likewise.
39067 * manual/resource.texi: Likewise.
39068 (RUSAGE_CHILDREN): Remove statement about specifying a particular
39070 * manual/setjmp.texi: Likewise.
39071 * manual/signal.texi: Likewise.
39072 * manual/startup.texi: Likewise.
39073 * manual/stdio.texi: Likewise.
39074 * manual/terminal.texi: Likewise.
39075 (ONLCR): Document as POSIX.
39076 (OXTABS): Document availability on GNU/Linux as XTABS.
39077 (ONOEOT): Document availability separately from other bits.
39078 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
39079 * manual/time.texi: Likewise.
39080 * manual/users.texi: Likewise.
39081 * INSTALL: Regenerated.
39082 * sysdeps/gnu/errlist.c: Regenerated.
39084 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
39085 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
39086 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
39088 * configure: Regenerated.
39090 2012-03-07 Joseph Myers <joseph@codesourcery.com>
39092 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
39093 default includes instead of AC_HEADER_CHECK.
39094 * sysdeps/i386/configure: Regenerated.
39097 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
39098 * math/s_cacoshf.c (__cacoshf): Likewise.
39099 * math/s_cacoshl.c (__cacoshl): Likewise.
39100 * math/s_casinh.c (__casinh): Set signs of result from argument.
39101 * math/s_casinhf.c (__casinhf): Likewise.
39102 * math/s_casinhl.c (__casinhl): Likewise.
39103 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
39104 (casinh_test): Add more tests.
39105 * sysdeps/i386/fpu/libm-test-ulps: Update.
39106 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39108 2012-03-07 Ulrich Drepper <drepper@gmail.com>
39110 * po/zh_TW.po: Update from translation team.
39112 * login/Makefile (distribute): Remove variable.
39113 * catgets/Makefile: Likewise.
39114 * mach/Makefile: Likewise.
39115 * malloc/Makefile: Likewise.
39116 * misc/Makefile: Likewise.
39117 * iconv/Makefile: Likewise.
39118 * nscd/Makefile: Likewise.
39119 * hurd/Makefile: Likewise.
39120 * manual/Makefile: Likewise.
39121 * locale/Makefile: Likewise.
39122 * intl/Makefile: Likewise.
39123 * conform/Makefile: Likewise.
39124 * nss/Makefile: Likewise.
39125 * time/Makefile: Likewise.
39126 * soft-fp/Makefile: Likewise.
39127 * dirent/Makefile: Likewise.
39128 * gmon/Makefile: Likewise.
39129 * po/Makefile: Likewise.
39130 * rt/Makefile: Likewise.
39131 * socket/Makefile: Likewise.
39132 * math/Makefile: Likewise.
39133 * signal/Makefile: Likewise.
39134 * debug/Makefile: Likewise.
39135 * elf/Makefile: Likewise.
39136 * timezone/Makefile: Likewise.
39137 * stdlib/Makefile: Likewise.
39138 * iconvdata/Makefile: Likewise.
39139 * sunrpc/Makefile: Likewise.
39140 * io/Makefile: Likewise.
39141 * argp/Makefile: Likewise.
39142 * inet/Makefile: Likewise.
39143 * hesiod/Makefile: Likewise.
39144 * grp/Makefile: Likewise.
39145 * csu/Makefile: Likewise.
39146 * wctype/Makefile: Likewise.
39147 * crypt/Makefile: Likewise.
39148 * libio/Makefile: Likewise.
39149 * string/Makefile: Likewise.
39150 * nis/Makefile: Likewise.
39151 * resolv/Makefile: Likewise.
39152 * stdio-common/Makefile: Likewise.
39153 * wcsmbs/Makefile: Likewise.
39154 * dlfcn/Makefile: Likewise.
39155 * posix/Makefile: Likewise.
39158 * timezone/Makefile: Don't install timezone files, just the programs
39161 2012-03-06 Ulrich Drepper <drepper@gmail.com>
39163 * nss/databases.def: Add missing gshadow entry.
39165 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
39167 2012-03-06 Marek Polacek <polacek@redhat.com>
39170 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
39171 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
39172 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
39173 * stdio-common/tst-long-dbl-fphex.c: New file.
39175 2012-03-06 David S. Miller <davem@davemloft.net>
39177 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39178 (set_obp_int): New function.
39179 (get_obp_int): New function.
39180 (__get_clockfreq_via_dev_openprom): Likewise.
39181 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
39182 Avoid unused variable warnings on 'val' and use builtin_expect.
39183 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
39185 (INLINE_CLONE_SYSCALL): Likewise.
39187 2012-03-05 David S. Miller <davem@davemloft.net>
39189 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39191 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
39193 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39195 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
39196 only for |x| >= 40.
39197 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39199 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
39201 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
39202 Replace gettimeofday with __vdso_gettimeofday.
39204 * sysdeps/unix/sysv/linux/x86_64/init-first.c
39205 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
39206 __vdso_clock_gettime and __vdso_getcpu.
39208 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
39209 time with __vdso_time.
39211 2012-03-05 Joseph Myers <joseph@codesourcery.com>
39213 * manual/lang.texi (size_t): Note types to which size_t may be
39214 equivalent with the GNU C Library, but do not describe when
39215 differences between them are significant.
39217 2012-03-05 Andreas Jaeger <aj@suse.de>
39219 * sysdeps/i386/fpu/libm-test-ulps: Update.
39221 2012-03-05 Joseph Myers <joseph@codesourcery.com>
39224 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
39225 (__ieee754_pow): Save and restore rounding mode and use
39226 round-to-nearest for main computations.
39227 * math/libm-test.inc (pow_test_tonearest): New function.
39228 (pow_test_towardzero): Likewise.
39229 (pow_test_downward): Likewise.
39230 (pow_test_upward): Likewise.
39231 (main): Call the new functions.
39232 * sysdeps/i386/fpu/libm-test-ulps: Update.
39233 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39236 * math/libm-test.inc (cosh_test_tonearest): New function.
39237 (cosh_test_towardzero): Likewise.
39238 (cosh_test_downward): Likewise.
39239 (cosh_test_upward): Likewise.
39240 (sinh_test_tonearest): Likewise.
39241 (sinh_test_towardzero): Likewise.
39242 (sinh_test_downward): Likewise.
39243 (sinh_test_upward): Likewise.
39244 (main): Call the new functions.
39245 * sysdeps/i386/fpu/libm-test-ulps: Update.
39246 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39248 2012-03-05 Tom de Vries <tom@codesourcery.com>
39250 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
39251 default stack guard is set in last bytes.
39252 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
39254 2012-03-05 Kees Cook <keescook@chromium.org>
39256 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
39259 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
39260 possibly allocate from heap instead of stack.
39261 * stdio-common/bug-vfprintf-nargs.c: New file.
39262 * stdio-common/Makefile (tests): Add nargs overflow test.
39264 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
39266 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39268 2012-03-03 Marek Polacek <polacek@redhat.com>
39270 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
39271 * math/math_private.h: Likewise.
39272 * stdlib/tst-strtod.c: Likewise.
39273 * sysdeps/i386/i486/bits/atomic.h: Likewise.
39274 * sysdeps/x86_64/bits/atomic.h: Likewise.
39276 2012-03-02 David S. Miller <davem@davemloft.net>
39278 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
39279 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
39280 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
39281 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
39282 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
39283 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
39284 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
39285 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
39287 2012-03-02 Roland McGrath <roland@hack.frob.com>
39290 * manual/examples/README: New file, says the example source files
39291 can be used under GPL>=2.
39292 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
39293 line containing just "*/".
39294 * manual/examples/add.c: Add copyright header (GPL>=2).
39295 * manual/examples/argp-ex1.c: Likewise.
39296 * manual/examples/argp-ex2.c: Likewise.
39297 * manual/examples/argp-ex3.c: Likewise.
39298 * manual/examples/argp-ex4.c: Likewise.
39299 * manual/examples/atexit.c: Likewise.
39300 * manual/examples/db.c: Likewise.
39301 * manual/examples/dir.c: Likewise.
39302 * manual/examples/dir2.c: Likewise.
39303 * manual/examples/execinfo.c: Likewise.
39304 * manual/examples/filecli.c: Likewise.
39305 * manual/examples/filesrv.c: Likewise.
39306 * manual/examples/fmtmsgexpl.c: Likewise.
39307 * manual/examples/genpass.c: Likewise.
39308 * manual/examples/inetcli.c: Likewise.
39309 * manual/examples/inetsrv.c: Likewise.
39310 * manual/examples/isockad.c: Likewise.
39311 * manual/examples/longopt.c: Likewise.
39312 * manual/examples/memopen.c: Likewise.
39313 * manual/examples/memstrm.c: Likewise.
39314 * manual/examples/mkfsock.c: Likewise.
39315 * manual/examples/mkisock.c: Likewise.
39316 * manual/examples/mygetpass.c: Likewise.
39317 * manual/examples/pipe.c: Likewise.
39318 * manual/examples/popen.c: Likewise.
39319 * manual/examples/rprintf.c: Likewise.
39320 * manual/examples/search.c: Likewise.
39321 * manual/examples/select.c: Likewise.
39322 * manual/examples/setjmp.c: Likewise.
39323 * manual/examples/sigh1.c: Likewise.
39324 * manual/examples/sigusr.c: Likewise.
39325 * manual/examples/stpcpy.c: Likewise.
39326 * manual/examples/strdupa.c: Likewise.
39327 * manual/examples/strftim.c: Likewise.
39328 * manual/examples/strncat.c: Likewise.
39329 * manual/examples/subopt.c: Likewise.
39330 * manual/examples/swapcontext.c: Likewise.
39331 * manual/examples/termios.c: Likewise.
39332 * manual/examples/testopt.c: Likewise.
39333 * manual/examples/testpass.c: Likewise.
39334 * manual/examples/timeval_subtract.c: Likewise.
39337 * manual/time.texi (Elapsed Time): Move timeval_subtract example
39339 * manual/timeval_subtract.c.texi: ... here, new file.
39341 2012-03-02 David S. Miller <davem@davemloft.net>
39343 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
39345 2012-03-02 Joseph Myers <joseph@codesourcery.com>
39348 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
39349 (__sin): Save and restore rounding mode and use round-to-nearest
39350 for all computations.
39351 (__cos): Save and restore rounding mode and use round-to-nearest
39352 for all computations.
39353 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
39355 (tan): Save and restore rounding mode and use round-to-nearest for
39357 * math/libm-test.inc (cos_test_tonearest): New function.
39358 (cos_test_towardzero): Likewise.
39359 (cos_test_downward): Likewise.
39360 (cos_test_upward): Likewise.
39361 (sin_test_tonearest): Likewise.
39362 (sin_test_towardzero): Likewise.
39363 (sin_test_downward): Likewise.
39364 (sin_test_upward): Likewise.
39365 (tan_test_tonearest): Likewise.
39366 (tan_test_towardzero): Likewise.
39367 (tan_test_downward): Likewise.
39368 (tan_test_upward): Likewise.
39369 (main): Call the new functions.
39370 * sysdeps/i386/fpu/libm-test-ulps: Update.
39371 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39374 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
39375 small n, then large n, before computing and testing k+n.
39376 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
39377 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
39379 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
39381 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
39382 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
39383 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
39384 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
39385 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
39386 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
39387 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
39388 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
39389 * math/libm-test.inc (scalbn_test): Add more tests.
39390 (scalbln_test): Likewise.
39392 * manual/filesys.texi (mode_t): Describe constraints on size and
39393 signedness, not exact equivalence to a particular type.
39395 (ino64_t): Likewise.
39397 (nlink_t): Likewise.
39398 (blkcnt_t): Likewise.
39399 (blkcnt64_t): Likewise.
39400 * manual/llio.texi (off_t): Likewise.
39403 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
39404 (__ieee754_exp): Save and restore rounding mode and use
39405 round-to-nearest for all computations.
39406 * math/libm-test.inc (exp_test_tonearest): New function.
39407 (exp_test_towardzero): Likewise.
39408 (exp_test_downward): Likewise.
39409 (exp_test_upward): Likewise.
39410 (main): Call the new functions.
39411 * sysdeps/i386/fpu/libm-test-ulps: Update.
39412 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39414 2012-03-01 Chris Demetriou <cgd@google.com>
39416 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
39417 have predictable order.
39419 2012-03-01 David S. Miller <davem@davemloft.net>
39421 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
39423 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
39424 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
39425 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
39426 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
39428 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
39429 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
39430 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
39431 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
39432 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
39433 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
39434 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
39435 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
39436 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
39438 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39440 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
39441 * sysdeps/sparc/fpu/libm-test-ulps: to here.
39442 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
39444 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
39445 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
39446 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
39447 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
39448 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
39449 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
39450 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
39451 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
39452 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
39453 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
39454 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
39455 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39456 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39457 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
39458 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39459 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39460 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
39461 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
39462 * sysdeps/sparc/elf/configure: Regenerated.
39464 2012-03-01 Joseph Myers <joseph@codesourcery.com>
39466 * configure.in (AS, LD): Require binutils 2.20 or later.
39467 * configure: Regenerated.
39468 * manual/install.texi (Tools for Compilation): Give binutils 2.20
39469 as required minimum version.
39470 * INSTALL: Regenerated.
39474 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
39475 before squaring exponent.
39476 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
39477 bottom long double and 27 bits of top long double before squaring
39479 * math/libm-test.inc (erfc_test): Add more tests.
39480 * sysdeps/i386/fpu/libm-test-ulps: Update.
39481 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39482 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39484 2012-03-01 Kai Tietz <ktietz@redhat.com>
39486 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
39487 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
39488 containing bit-fields.
39489 * soft-fp/extended.h (_FP_UNION_E): Likewise.
39490 * soft-fp/single.h (_FP_UNION_S): Likewise.
39491 * soft-fp/double.h (_FP_UNION_D): Likewise.
39493 2012-02-29 Joseph Myers <joseph@codesourcery.com>
39496 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
39497 not include ../strcmp.S.
39498 [USE_AS_STRNCASECMP_L]: Likewise.
39499 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
39500 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
39501 * sysdeps/i386/i686/multiarch/strncase_l-c.c
39502 (__strncasecmp_l_ia32): Define as alias to
39503 __strncasecmp_l_nonascii.
39506 * math/libm-test.inc (expm1_test): Add test for bug 5794.
39507 * sysdeps/i386/fpu/libm-test-ulps: Update.
39508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39510 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
39511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39513 2012-02-29 Jeff Law <law@redhat.com>
39515 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
39516 out of bounds read.
39518 2012-02-29 Marek Polacek <polacek@redhat.com>
39521 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
39522 * elf/Makefile: Add rules to run tst-unused-dep.out.
39524 2012-02-28 David S. Miller <davem@davemloft.net>
39526 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
39527 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
39528 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
39529 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
39530 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
39531 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
39533 2012-02-29 Joseph Myers <joseph@codesourcery.com>
39535 * math/libm-test.inc (llround_test): Move one test from
39536 lround_test. Use TEST_f_L in moved test.
39537 (lround_test): Move misplaced test to llround_test. Add testcase
39540 2012-02-28 Ulrich Drepper <drepper@gmail.com>
39542 * sysdeps/x86_64/fpu/e_expf.S: New file.
39543 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
39545 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
39548 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
39549 of remain_len that may cause incomplete multi-byte character and
39551 * posix/bug-regex33.c: New file.
39552 * posix/Makefile (tests): Add bug-regex33.
39554 2012-02-28 Joseph Myers <joseph@codesourcery.com>
39556 * manual/macros.texi: New file.
39557 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
39558 * manual/libc.texinfo: Include macros.texi.
39559 * manual/creatute.texi: Likewise.
39560 * manual/install.texi: Likewise.
39561 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
39562 @glibcadj{} in references to the GNU C Library.
39563 * manual/charset.texi: Likewise.
39564 * manual/conf.texi: Likewise.
39565 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
39566 when not using those macros.
39567 * manual/creature.texi: Likewise.
39568 * manual/crypt.texi: Likewise.
39569 * manual/errno.texi: Likewise.
39570 * manual/filesys.texi: Likewise.
39571 * manual/header.texi: Likewise.
39572 * manual/install.texi: Likewise.
39573 * manual/intro.texi: Likewise.
39574 * manual/io.texi: Likewise.
39575 * manual/job.texi: Likewise.
39576 * manual/lang.texi: Likewise.
39577 * manual/libc.texiinfo: Likewise.
39578 * manual/llio.texi: Likewise.
39579 * manual/locale.texi: Likewise.
39580 * manual/maint.texi: Likewise.
39581 * manual/math.texi: Likewise.
39582 * manual/memory.texi: Likewise.
39583 * manual/message.texi: Likewise.
39584 * manual/nss.texi: Likewise.
39585 * manual/pattern.texi: Likewise.
39586 * manual/process.texi: Likewise.
39587 * manual/resource.texi: Likewise.
39588 * manual/search.texi: Likewise.
39589 * manual/setjmp.texi: Likewise.
39590 * manual/signal.texi: Likewise.
39591 * manual/socket.texi: Likewise.
39592 * manual/startup.texi: Likewise.
39593 * manual/stdio.texi: Likewise.
39594 * manual/string.texi: Likewise.
39595 * manual/sysinfo.texi: Likewise.
39596 * manual/syslog.texi: Likewise.
39597 * manual/terminal.texi: Likewise.
39598 * manual/time.texi: Likewise.
39599 * manual/users.texi: Likewise.
39600 * INSTALL: Regenerated.
39601 * NOTES: Regenerated.
39602 * sysdeps/gnu/errlist.c: Regenerated.
39604 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
39606 * include/dirent.h: Include <dirstream.h> before
39609 2012-02-28 David S. Miller <davem@davemloft.net>
39611 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
39612 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
39613 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
39614 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
39616 2012-02-27 David S. Miller <davem@davemloft.net>
39618 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
39619 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
39620 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
39621 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
39623 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
39624 frame pointer instead of stack pointer relative arg slot.
39625 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39626 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39627 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39629 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
39632 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
39634 2012-02-27 David S. Miller <davem@davemloft.net>
39636 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
39637 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39638 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
39639 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
39640 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39641 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39642 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
39643 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
39645 2012-02-27 Joseph Myers <joseph@codesourcery.com>
39647 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
39648 later. Allow versions 5-9.
39649 * configure: Regenerated.
39650 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
39651 required minimum version and 4.6 as recommended version. Do not
39652 mention bugs in GCC 2.7 and 2.8.
39653 * INSTALL: Regenerated.
39655 2012-02-27 David S. Miller <davem@davemloft.net>
39657 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
39658 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
39659 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
39660 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
39661 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
39662 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
39663 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
39664 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
39666 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
39667 manipulate bits before adding and subtracting TWO112[sx].
39668 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
39670 2012-02-27 Roland McGrath <roland@hack.frob.com>
39673 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
39674 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
39675 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
39676 being in POSIX, because they are in 1003.1-2008.
39678 * rt/tst-aio.c: Include <fcntl.h>.
39679 * rt/tst-aio7.c: Likewise.
39680 * rt/tst-aio64.c: Likewise.
39682 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
39684 2012-02-27 Joseph Myers <joseph@codesourcery.com>
39686 * manual/install.texi (--with-headers): Describe headers as
39687 interface headers, not private headers.
39688 (Specific advice for GNU/Linux systems): Describe use of headers
39689 from "make headers_install", not private headers from older
39691 * INSTALL: Regenerated.
39692 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
39694 * sysdeps/unix/sysv/linux/configure: Regenerated.
39696 * manual/llio.texi (fclean): Remove documentation.
39698 * manual/Makefile (libc-texi-generated): New variable. Include
39700 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
39701 $(libc-texi-generated), not duplicated list of files.
39702 (version.texi, stamp-version): New rules.
39703 (realclean): Remove $(libc-texi-generated), not individual files
39704 from that list. Do not remove dir-add.texinfo.
39705 * manual/libc.texinfo: Comment out uses of edition numbers and
39706 references to printed manual. Remove last-updated dates.
39707 (EDITION): Comment out.
39709 (VERSION, UPDATED): Remove.
39710 (version.texi): Include.
39712 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
39714 * sysdeps/posix/spawni.c: Include <signal.h>.
39715 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
39716 * sysdeps/pthread/aio_fsync.c: Likewise.
39718 2012-02-26 Ulrich Drepper <drepper@gmail.com>
39720 * conform/Makefile (tests): Run only when not cross-compiling and
39721 when fast-check is not defined.
39723 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
39724 * conform/data/limits.h-data: Fixes for POSIX2008.
39725 * conform/run-conformtest.sh: Run all tests.
39726 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
39728 * include/bits/dlfcn.h: Likewise.
39729 * include/langinfo.h: Likewise.
39730 * include/monetary.h: Likewise.
39731 * include/sys/poll.h: Likewise.
39733 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
39735 * posix/spawn.h: Define __need_sigset_t.
39736 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
39737 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
39738 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
39739 to get sigevent_t only.
39740 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
39741 only for __USE_GNU.
39742 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39743 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
39744 process_vm_writev only for __USE_GNU.
39745 * termios/termios.h: Declare tcgetsid also for POSIX2008.
39747 * conform/Makefile: For now ignore errors from run-conformtest.
39748 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
39749 POSIX to avoid namespace pollution. Don't prepend headers.
39750 * conform/data/aio.h-data: Fixes for POSIX testing.
39751 * conform/data/fcntl.h-data: Likewise.
39752 * conform/data/glob.h-data: Likewise.
39753 * conform/data/grp.h-data: Likewise.
39754 * conform/data/pthread.h-data: Likewise.
39755 * conform/data/pwd.h-data: Likewise.
39756 * conform/data/signal.h-data: Likewise.
39757 * conform/data/spawn.h-data: Likewise.
39758 * conform/data/stdio.h-data: Likewise.
39759 * conform/data/stdlib.h-data: Likewise.
39760 * conform/data/stropts.h-data: Likewise.
39761 * conform/data/sys/mman.h-data: Likewise.
39762 * conform/data/sys/stat.h-data: Likewise.
39763 * conform/data/sys/types.h-data: Likewise.
39764 * conform/data/sys/wait.h-data: Likewise.
39765 * conform/data/time.h-data: Likewise.
39766 * conform/data/unistd.h-data: Likewise.
39767 * conform/data/utime.h-data: Likewise.
39769 * io/sys/stat.h: fchmod was always in POSIX.
39770 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
39771 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
39772 * rt/aio.h: Define __need_timespec before including <time.h>.
39773 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
39774 struct. Add forward declaration of pthread_attr_t and use it in
39776 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
39777 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
39778 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
39779 always remove CLK_TCK definition.
39781 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
39783 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
39785 2012-02-25 Ulrich Drepper <drepper@gmail.com>
39787 * conform/run-conformtest.sh: New file.
39788 * conform/Makefile: Run run-conformtest for tests.
39789 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
39792 * conform/data/uchar.h-data: New file.
39793 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
39794 * conform/data/arpa/inet.h-data: Likewise.
39795 * conform/data/assert.h-data: Likewise.
39796 * conform/data/complex.h-data: Likewise.
39797 * conform/data/cpio.h-data: Likewise.
39798 * conform/data/ctype.h-data: Likewise.
39799 * conform/data/dirent.h-data: Likewise.
39800 * conform/data/dlfcn.h-data: Likewise.
39801 * conform/data/errno.h-data: Likewise.
39802 * conform/data/fcntl.h-data: Likewise.
39803 * conform/data/float.h-data: Likewise.
39804 * conform/data/fmtmsg.h-data: Likewise.
39805 * conform/data/fnmatch.h-data: Likewise.
39806 * conform/data/ftw.h-data: Likewise.
39807 * conform/data/glob.h-data: Likewise.
39808 * conform/data/grp.h-data: Likewise.
39809 * conform/data/iconv.h-data: Likewise.
39810 * conform/data/inttypes.h-data: Likewise.
39811 * conform/data/langinfo.h-data: Likewise.
39812 * conform/data/libgen.h-data: Likewise.
39813 * conform/data/limits.h-data: Likewise.
39814 * conform/data/locale.h-data: Likewise.
39815 * conform/data/math.h-data: Likewise.
39816 * conform/data/monetary.h-data: Likewise.
39817 * conform/data/mqueue.h-data: Likewise.
39818 * conform/data/ndbm.h-data: Likewise.
39819 * conform/data/net/if.h-data: Likewise.
39820 * conform/data/netdb.h-data: Likewise.
39821 * conform/data/netinet/in.h-data: Likewise.
39822 * conform/data/nl_types.h-data: Likewise.
39823 * conform/data/poll.h-data: Likewise.
39824 * conform/data/pthread.h-data: Likewise.
39825 * conform/data/pwd.h-data: Likewise.
39826 * conform/data/regex.h-data: Likewise.
39827 * conform/data/sched.h-data: Likewise.
39828 * conform/data/search.h-data: Likewise.
39829 * conform/data/semaphore.h-data: Likewise.
39830 * conform/data/setjmp.h-data: Likewise.
39831 * conform/data/signal.h-data: Likewise.
39832 * conform/data/spawn.h-data: Likewise.
39833 * conform/data/stdarg.h-data: Likewise.
39834 * conform/data/stdio.h-data: Likewise.
39835 * conform/data/stdlib.h-data: Likewise.
39836 * conform/data/string.h-data: Likewise.
39837 * conform/data/strings.h-data: Likewise.
39838 * conform/data/stropts.h-data: Likewise.
39839 * conform/data/sys/ipc.h-data: Likewise.
39840 * conform/data/sys/mman.h-data: Likewise.
39841 * conform/data/sys/msg.h-data: Likewise.
39842 * conform/data/sys/resource.h-data: Likewise.
39843 * conform/data/sys/select.h-data: Likewise.
39844 * conform/data/sys/sem.h-data: Likewise.
39845 * conform/data/sys/shm.h-data: Likewise.
39846 * conform/data/sys/socket.h-data: Likewise.
39847 * conform/data/sys/stat.h-data: Likewise.
39848 * conform/data/sys/statvfs.h-data: Likewise.
39849 * conform/data/sys/time.h-data: Likewise.
39850 * conform/data/sys/timeb.h-data: Likewise.
39851 * conform/data/sys/times.h-data: Likewise.
39852 * conform/data/sys/types.h-data: Likewise.
39853 * conform/data/sys/uio.h-data: Likewise.
39854 * conform/data/sys/un.h-data: Likewise.
39855 * conform/data/sys/utsname.h-data: Likewise.
39856 * conform/data/sys/wait.h-data: Likewise.
39857 * conform/data/syslog.h-data: Likewise.
39858 * conform/data/tar.h-data: Likewise.
39859 * conform/data/termios.h-data: Likewise.
39860 * conform/data/utime.h-data: Likewise.
39861 * conform/data/utmpx.h-data: Likewise.
39862 * conform/data/varargs.h-data: Likewise.
39863 * conform/data/wchar.h-data: Likewise.
39864 * conform/data/wctype.h-data: Likewise.
39865 * conform/data/wordexp.h-data: Likewise.
39867 * include/stropts.h: New file.
39868 * include/uchar.h: New file.
39869 * include/aio.h: Changes to allow conformtest.pl to use the headers.
39870 * include/assert.h: Likewise.
39871 * include/ctype.h: Likewise.
39872 * include/dirent.h: Likewise.
39873 * include/dlfcn.h: Likewise.
39874 * include/fcntl.h: Likewise.
39875 * include/fnmatch.h: Likewise.
39876 * include/glob.h: Likewise.
39877 * include/grp.h: Likewise.
39878 * include/libio.h: Likewise.
39879 * include/locale.h: Likewise.
39880 * include/math.h: Likewise.
39881 * include/net/if.h: Likewise.
39882 * include/netdb.h: Likewise.
39883 * include/netinet/in.h: Likewise.
39884 * include/pthread.h: Likewise.
39885 * include/pwd.h: Likewise.
39886 * include/regex.h: Likewise.
39887 * include/sched.h: Likewise.
39888 * include/search.h: Likewise.
39889 * include/setjmp.h: Likewise.
39890 * include/signal.h: Likewise.
39891 * include/stdio.h: Likewise.
39892 * include/stdlib.h: Likewise.
39893 * include/string.h: Likewise.
39894 * include/sys/cdefs.h: Likewise.
39895 * include/sys/mman.h: Likewise.
39896 * include/sys/msg.h: Likewise.
39897 * include/sys/resource.h: Likewise.
39898 * include/sys/select.h: Likewise.
39899 * include/sys/socket.h: Likewise.
39900 * include/sys/stat.h: Likewise.
39901 * include/sys/statvfs.h: Likewise.
39902 * include/sys/time.h: Likewise.
39903 * include/sys/times.h: Likewise.
39904 * include/sys/uio.h: Likewise.
39905 * include/sys/utsname.h: Likewise.
39906 * include/sys/wait.h: Likewise.
39907 * include/termios.h: Likewise.
39908 * include/time.h: Likewise.
39909 * include/ulimit.h: Likewise.
39910 * include/unistd.h: Likewise.
39911 * include/utime.h: Likewise.
39912 * include/wchar.h: Likewise.
39913 * include/wctype.h: Likewise.
39914 * include/wordexp.h: Likewise.
39916 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
39918 * time/time.h: TIME_UTC must be a macro.
39919 Make timespec_get available for ISO C11 only as well.
39921 2012-02-24 Ulrich Drepper <drepper@gmail.com>
39923 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
39924 Reported by Peng Haitao <penght@cn.fujitsu.com>.
39926 2012-02-24 Joseph Myers <joseph@codesourcery.com>
39928 * configure.in: Use -o not -a in test for unsupported multi-arch.
39930 2012-02-24 Joseph Myers <joseph@codesourcery.com>
39932 * manual/texinfo.tex: Update to version 2012-01-19.16.
39934 2012-02-24 Joseph Myers <joseph@codesourcery.com>
39936 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
39938 2012-02-24 Roland McGrath <roland@hack.frob.com>
39941 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
39942 * manual/fdl-1.3.texi: New file.
39943 * manual/fdl-1.1.texi: File removed.
39946 * manual/libc.texinfo (FDL_VERSION): New @set.
39947 Use it for mention of FDL in cover text.
39948 (Documentation License): Use it in @include file name.
39950 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39951 Roland McGrath <roland@hack.frob.com>
39954 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
39955 (not LONG_LONG_MAX and LONG_LONG_MIN.
39956 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
39957 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
39959 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
39961 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39965 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
39966 manipulate bits before adding and subtracting TWO23[sx].
39967 * math/libm-test.inc (nearbyint_test): Add more tests.
39969 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39972 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
39973 bits before adding and subtracting TWO23[sx].
39974 * math/libm-test.inc (rint_test): Add more tests.
39975 (rint_test_tonearest): Likewise.
39976 (rint_test_towardzero): Likewise.
39977 (rint_test_downward): Likewise.
39978 (rint_test_upward: Likewise.
39980 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39983 * include/stdc-predef.h: New file. Extracted from features.h.
39984 * include/features.h: Include stdc-predef.h.
39985 * Makefile (headers): Add stdc-predef.h.
39986 * CONFORMANCE (Compiler limitations): Update.
39988 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39990 * manual/libc.texinfo (VERSION, UPDATED): Revert.
39992 2012-02-21 David S. Miller <davem@davemloft.net>
39994 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
39995 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
39997 2012-02-20 David S. Miller <davem@davemloft.net>
39999 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
40000 using a normal save/restore sequence, rather than allocating a
40001 dummy stack frame just to store a frame pointer and restore.
40002 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40004 2012-02-21 Joseph Myers <joseph@codesourcery.com>
40006 * manual/install.texi: Fix stray word in line-wrapped comment.
40008 2012-02-20 David S. Miller <davem@davemloft.net>
40010 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
40011 both binutils and gcc support GOTDATA.
40013 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
40014 "rd %pc" in the PIC register setup sequences.
40016 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
40017 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
40018 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40019 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
40020 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40021 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
40022 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40023 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40024 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
40025 (SYSCALL_ERROR_HANDLER): Likewise.
40026 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40027 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40028 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
40029 (SYSCALL_ERROR_HANDLER): Likewise.
40031 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
40032 (HAVE_GCC_GOTDATA): New.
40033 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
40034 relocation support in both binutils and gcc.
40035 * sysdeps/sparc/elf/configure: Regenerate.
40037 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
40038 * sysdeps/sparc/sparc32/elf/configure: Delete.
40039 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
40040 * sysdeps/sparc/sparc64/elf/configure: Delete.
40041 * sysdeps/sparc/elf/configure.in: New file.
40042 * sysdeps/sparc/elf/configure: Generate.
40044 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
40045 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
40046 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40047 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
40048 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
40050 2012-02-21 Joseph Myers <joseph@codesourcery.com>
40052 * manual/install.texi: Do not mention specific glibc version
40054 * manual/libc.texinfo (VERSION, UPDATED): Update.
40055 (@copying): Use @copyright{} and range of years.
40057 2012-02-21 Joseph Myers <joseph@codesourcery.com>
40060 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
40061 [crti.S not in sysdirs] (generated): Do not append.
40062 [crti.S not in sysdirs] (omit-deps): Likewise.
40063 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
40064 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
40065 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
40066 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
40067 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
40069 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
40070 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
40071 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
40072 * csu/defs.awk: Remove file.
40073 * sysdeps/generic/initfini.c: Likewise.
40074 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
40076 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
40079 2012-02-20 Joseph Myers <joseph@codesourcery.com>
40081 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
40082 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
40083 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
40084 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
40085 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40086 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
40088 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
40089 (__EPOLL_PACKED): Define to empty if not defined by
40091 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
40092 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40095 2012-02-20 Joseph Myers <joseph@codesourcery.com>
40097 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
40098 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
40099 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
40100 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
40102 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
40103 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40106 2012-02-20 Joseph Myers <joseph@codesourcery.com>
40108 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
40110 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40111 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
40112 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
40113 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40115 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
40117 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40118 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40120 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
40122 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
40123 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
40125 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
40127 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
40130 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
40132 * math/w_acos.c: Use non-signaling floating-point comparisons.
40133 * math/w_acosf.c: Likewise.
40134 * math/w_acosh.c: Likewise.
40135 * math/w_acoshf.c: Likewise.
40136 * math/w_acoshl.c: Likewise.
40137 * math/w_acosl.c: Likewise.
40138 * math/w_asin.c: Likewise.
40139 * math/w_asinf.c: Likewise.
40140 * math/w_asinl.c: Likewise.
40141 * math/w_atanh.c: Likewise.
40142 * math/w_atanhf.c: Likewise.
40143 * math/w_atanhl.c: Likewise.
40144 * math/w_exp2.c: Likewise.
40145 * math/w_exp2f.c: Likewise.
40146 * math/w_exp2l.c: Likewise.
40147 * math/w_j0.c: Likewise.
40148 * math/w_j0f.c: Likewise.
40149 * math/w_j0l.c: Likewise.
40150 * math/w_j1.c: Likewise.
40151 * math/w_j1f.c: Likewise.
40152 * math/w_j1l.c: Likewise.
40153 * math/w_jn.c: Likewise.
40154 * math/w_jnf.c: Likewise.
40155 * math/w_log.c: Likewise.
40156 * math/w_log10.c: Likewise.
40157 * math/w_log10f.c: Likewise.
40158 * math/w_log10l.c: Likewise.
40159 * math/w_log2.c: Likewise.
40160 * math/w_log2f.c: Likewise.
40161 * math/w_log2l.c: Likewise.
40162 * math/w_logf.c: Likewise.
40163 * math/w_logl.c: Likewise.
40164 * math/w_sqrt.c: Likewise.
40165 * math/w_sqrtf.c: Likewise.
40166 * math/w_sqrtl.c: Likewise.
40167 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40168 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
40169 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40170 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
40171 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
40173 2012-02-19 Joseph Myers <joseph@codesourcery.com>
40176 * manual/string.texi (strnlen): Use correct parameter name in
40177 equivalent expression.
40179 2012-02-19 Joseph Myers <joseph@codesourcery.com>
40182 * manual/users.texi (seteuid): Consistently use neweuid for
40185 2012-02-19 Joseph Myers <joseph@codesourcery.com>
40188 * manual/nss.texi (Services in the NSS configuration): Correct
40189 list of services in example configuration file.
40191 2012-02-19 Nick Bowler <nbowler@draconx.ca>
40194 * manual/arith.texi: Remove statements about negative zero
40195 behaving identically to zero.
40197 2012-02-18 Joseph Myers <joseph@codesourcery.com>
40200 * manual/install.texi: Do not document upgrading from libc5.
40202 2012-02-18 Joseph Myers <joseph@codesourcery.com>
40205 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
40207 2012-02-18 David S. Miller <davem@davemloft.net>
40209 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
40210 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
40211 %o7 across the call.
40212 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
40214 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
40215 SETUP_PIC_REG_LEAF.
40216 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40217 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
40218 * sysdeps/sparc/crtn.S: Likewise.
40220 2012-02-17 Ulrich Drepper <drepper@gmail.com>
40222 * aout/Makefile: Remove.
40224 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
40227 * manual/examples/argp-ex1.c (main): Format definition in GNU
40229 * manual/examples/argp-ex2.c (main): Likewise.
40230 * manual/examples/argp-ex3.c (main): Likewise.
40231 * manual/examples/argp-ex4.c (main): Likewise.
40232 * manual/examples/longopt.c (main): Use new-style prototype
40234 * manual/examples/strncat.c (main): Specify return type and use
40235 (void) for arguments.
40236 * manual/examples/subopt.c (main): Use char **argv argument.
40238 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40241 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
40244 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
40247 * manual/string.texi (strchr): Change when strchrnul is
40250 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
40253 * manual/locale.texi (setlocale): Document LOCPATH.
40255 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40258 * manual/process.texi (execle): Move @dots{} before last argument.
40260 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
40263 * manual/charset.texi (Generic Charset Conversion): Fix typo
40264 (LC_TYPE -> LC_CTYPE).
40266 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
40269 * manual/arith.texi (scalbn): Use @var{} on parameter names.
40270 (scalbnf): Likewise.
40271 (scalbnl): Likewise.
40272 (scalbln): Likewise.
40273 (scalblnf): Likewise.
40274 (scalblnl): Likewise.
40275 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
40276 (vwarnx): Likewise.
40279 * manual/filesys.texi (telldir): Use braces around return type.
40280 * manual/llio.texi (mmap): Add space after comma.
40281 (mmap64): Likewise.
40282 * manual/math.texi (jn): Use @var{} on parameter names.
40288 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
40290 * manual/resource.texi (ulimit): Use @dots{} instead of literal
40292 (sched_get_priority_min): Remove semicolon on @deftypefun line.
40293 (sched_get_priority_max): Likewise.
40294 * manual/signal.texi (sigvec): Add space after comma.
40295 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
40297 (if_indextoname): Likewise.
40298 (if_freenameindex): Likewise.
40299 (sendto): Use ',' instead of '.' in prototype.
40300 * manual/startup.texi (syscall): Use @dots{} instead of literal
40302 * manual/stdio.texi (__fpending): Separate initial words of
40303 paragraph from @deftypefun line.
40304 * manual/syslog.texi (syslog): Use @dots{} instead of literal
40306 (vsyslog): Use @var{} on parameter names.
40307 * manual/terminal.texi (stty): Use @var{} on parameter names.
40308 * manual/users.texi (getutmp): Use @var{} on parameter names.
40309 (getutmpx): Likewise.
40311 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40314 * manual/stdio.texi (fopen): Fix typos in description of
40317 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
40320 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
40321 get clock_id definition.
40323 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
40326 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
40327 (madvise): Cast every argument to void on its own.
40329 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40332 * manual/startup.texi (Exit Status): Fix typo.
40334 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40337 * manual/examples/argp-ex1.c: Include <stdlib.h>.
40338 * manual/examples/argp-ex2.c: Likewise.
40339 * manual/examples/argp-ex3.c: Likewise.
40341 2012-02-16 Richard Henderson <rth@redhat.com>
40343 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
40344 * sysdeps/s390/s390-32/initfini.c: Remove.
40345 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
40346 * sysdeps/s390/s390-64/initfini.c: Remove.
40348 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40350 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
40351 compiler output for sysdeps/generic/initfini.c.
40352 * sysdeps/sh/elf/initfini.c: Remove file.
40354 2012-02-16 David S. Miller <davem@davemloft.net>
40357 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
40359 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
40360 * sysdeps/sparc/crti.S: New file.
40361 * sysdeps/sparc/crtn.S: New file.
40362 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
40363 * sysdeps/sparc/sparc64/Makefile: Likewise.
40365 2012-02-15 Mike Frysinger <vapier@gentoo.org>
40368 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
40370 2012-02-15 Roland McGrath <roland@hack.frob.com>
40373 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
40375 * mach/devstream.c (cookie_io_functions_t): Macro removed.
40376 (write, read, close): Likewise.
40377 Patch by Aurelien Jarno <aurelien@aurel32.net>.
40379 2012-02-15 Joseph Myers <joseph@codesourcery.com>
40381 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
40382 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
40383 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
40384 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
40386 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
40387 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40390 2012-02-14 Marek Polacek <polacek@redhat.com>
40392 * sysdeps/x86_64/crti.S: New file.
40393 * sysdeps/x86_64/crtn.S: New file.
40394 * sysdeps/x86_64/elf/initfini.c: Remove file.
40396 2012-02-13 Joseph Myers <joseph@codesourcery.com>
40398 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
40399 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
40400 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
40401 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
40403 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
40404 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40407 2012-02-13 Joseph Myers <joseph@codesourcery.com>
40409 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
40410 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
40411 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
40412 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
40414 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
40415 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40418 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
40420 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
40421 __feraiseexcept instead of feraiseexcept.
40423 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
40424 nanosleep invocations.
40425 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
40426 strings, and add error checking for a nanosleep invocations.
40428 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
40430 Replace FSF snail mail address with URLs, as per GNU coding standards.
40431 Most of the snail mail addresses were wrong anyway, and omitting
40432 them makes the source code easier to maintain. Almost all of the
40433 changes are to license notices and to locale LC_IDENTIFICATION
40434 addresses, except for this one:
40435 * manual/libc.texinfo: In "Published by", give the FSF's URL,
40436 not its snail mail address.
40438 2012-02-09 Richard Henderson <rth@twiddle.net>
40440 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
40441 of kernel-features.h.
40443 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
40445 2012-02-08 Marek Polacek <polacek@redhat.com>
40447 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
40448 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
40449 * sysdeps/gnu/_G_config.h: Likewise.
40450 * sysdeps/generic/_G_config.h: Likewise.
40452 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
40454 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
40456 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40458 * sysdeps/powerpc/powerpc32/crti.S: New file.
40459 * sysdeps/powerpc/powerpc32/crtn.S: New file.
40460 * sysdeps/powerpc/powerpc64/crti.S: New file.
40461 * sysdeps/powerpc/powerpc64/crtn.S: New file.
40463 * Makeconfig (have-initfini): Don't set.
40464 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
40465 * configure.in (nopic_initfini): Don't substitute.
40466 * config.h.in (HAVE_INITFINI): Don't #undef.
40467 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
40468 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
40470 2012-02-08 Joseph Myers <joseph@codesourcery.com>
40472 Support crti.S and crtn.S provided directly by architectures.
40473 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
40474 [crti.S in sysdirs] (omit-deps): Likewise.
40475 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
40476 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
40477 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
40478 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
40479 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
40480 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
40481 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
40482 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
40483 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
40484 compiler output for sysdeps/generic/initfini.c.
40485 * sysdeps/i386/elf/Makefile: Remove file.
40486 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
40488 2012-02-07 Marek Polacek <polacek@redhat.com>
40490 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
40491 * sysdeps/gnu/_G_config.h: Likewise.
40492 * sysdeps/mach/hurd/_G_config.h: Likewise.
40494 2012-02-07 Marek Polacek <polacek@redhat.com>
40496 * math/Makefile (tests): Add tst-CMPLX2.
40497 * math/tst-CMPLX2.c: New file.
40499 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
40501 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40503 * math/libm-test.inc (jn_test): Add missing L suffix.
40505 2012-02-06 Marek Polacek <polacek@redhat.com>
40507 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
40508 * sysdeps/i386/fpu/e_powf.S: Likewise.
40509 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40510 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
40511 * sysdeps/i386/fpu/e_acosh.S: Likewise.
40512 * sysdeps/i386/fpu/e_pow.S: Likewise.
40513 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
40514 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40515 * sysdeps/i386/fpu/s_expm1.S: Likewise.
40516 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
40517 * sysdeps/i386/fpu/e_log2.S: Likewise.
40518 * sysdeps/i386/fpu/e_log2l.S: Likewise.
40519 * sysdeps/i386/fpu/e_scalb.S: Likewise.
40520 * sysdeps/i386/fpu/e_powl.S: Likewise.
40521 * sysdeps/i386/fpu/s_log1p.S: Likewise.
40522 * sysdeps/i386/fpu/e_log10f.S: Likewise.
40523 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
40524 * sysdeps/i386/fpu/e_logl.S: Likewise.
40525 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
40526 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
40527 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
40528 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
40529 * sysdeps/i386/fpu/e_log2f.S: Likewise.
40530 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40531 * sysdeps/i386/fpu/e_log.S: Likewise.
40532 * sysdeps/i386/fpu/s_cexp.S: Likewise.
40533 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40534 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
40535 * sysdeps/i386/fpu/e_logf.S: Likewise.
40536 * sysdeps/i386/fpu/e_log10l.S: Likewise.
40537 * sysdeps/i386/fpu/e_atanh.S: Likewise.
40538 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
40539 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
40540 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
40541 * sysdeps/i386/fpu/e_log10.S: Likewise.
40542 * sysdeps/i386/fpu/s_frexp.S: Likewise.
40543 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40544 * sysdeps/i386/fpu/s_asinh.S: Likewise.
40545 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
40546 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40547 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
40548 * sysdeps/i386/asm-syntax.h: Likewise.
40549 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40550 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40551 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40552 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
40553 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
40554 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40555 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
40556 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
40557 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40558 * sysdeps/powerpc/sysdep.h: Likewise.
40559 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
40560 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40562 2012-02-06 Joseph Myers <joseph@codesourcery.com>
40565 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
40567 2012-02-06 Joseph Myers <joseph@codesourcery.com>
40569 * sysdeps/i386/sysdep.h: Include <features.h>.
40570 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
40573 2012-02-05 Joseph Myers <joseph@codesourcery.com>
40575 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
40577 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
40580 2012-02-03 Joseph Myers <joseph@codesourcery.com>
40582 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
40583 (SETUP_PIC_REG): Use GET_PC_THUNK.
40584 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
40587 2012-02-03 Joseph Myers <joseph@codesourcery.com>
40589 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
40590 for non-PIC compilation.
40591 (SETUP_PIC_REG): Add .p2align directive.
40592 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
40593 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
40594 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
40595 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
40596 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
40597 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
40598 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
40599 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
40600 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
40601 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
40602 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
40603 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
40604 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
40605 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
40606 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
40607 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
40608 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
40609 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
40610 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
40611 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
40612 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
40613 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
40614 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
40615 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
40616 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
40617 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
40618 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40619 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
40620 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
40621 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
40622 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
40623 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40624 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
40625 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
40626 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
40627 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
40628 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
40629 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
40630 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
40631 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
40632 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
40634 2012-02-03 Joseph Myers <joseph@codesourcery.com>
40636 * math/tst-CMPLX.c: Include <stdio.h>.
40638 2012-01-31 Joseph Myers <joseph@codesourcery.com>
40640 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
40642 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
40643 * sysdeps/sparc/bits/mathdef.h: Likewise.
40645 2012-01-31 Marek Polacek <polacek@redhat.com>
40647 * libio/libio.h: Don't define _PARAMS.
40648 * locale/programs/config.h: Don't define PARAMS.
40649 * stdlib/strtol_l.c: Likewise.
40650 (__strtol_l): Remove PARAMS from the prototype.
40652 2012-01-31 Ulrich Drepper <drepper@gmail.com>
40654 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
40655 names. Just use the correct names. Remove unnecessary wrapper
40657 * malloc/arena.c: Likewise.
40658 * malloc/hooks.c: Likewise.
40660 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
40661 ARENA_TEST says not to. Simplify test for creation of a new arena.
40662 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
40664 2012-01-30 Ulrich Drepper <drepper@gmail.com>
40666 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
40668 (update_get_addr): New function.
40669 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
40670 GET_ADDR_MODULE parameter.
40672 2012-01-30 Joseph Myers <joseph@codesourcery.com>
40674 * crypt/cert.c: Remove __STDC__ conditionals.
40675 * crypt/crypt-entry.c: Likewise.
40676 * crypt/crypt_util.c: Likewise.
40677 * libio/filedoalloc.c: Likewise.
40678 * libio/fileops.c: Likewise.
40679 * libio/genops.c: Likewise.
40680 * libio/iofclose.c: Likewise.
40681 * libio/iofdopen.c: Likewise.
40682 * libio/iofopen.c: Likewise.
40683 * libio/iofopen64.c: Likewise.
40684 * libio/iogetdelim.c: Likewise.
40685 * libio/iopopen.c: Likewise.
40686 * libio/obprintf.c: Likewise.
40687 * libio/oldfileops.c: Likewise.
40688 * libio/oldiofclose.c: Likewise.
40689 * libio/oldiofdopen.c: Likewise.
40690 * libio/oldiofopen.c: Likewise.
40691 * libio/oldiopopen.c: Likewise.
40692 * libio/wfiledoalloc.c: Likewise.
40693 * libio/wgenops.c: Likewise.
40694 * locale/programs/xmalloc.c: Likewise.
40695 * misc/syslog.c: Likewise.
40696 * stdio-common/xbug.c: Likewise.
40697 * string/memchr.c: Likewise.
40698 * string/memcmp.c: Likewise.
40699 * string/memrchr.c: Likewise.
40700 * string/rawmemchr.c: Likewise.
40701 * sysdeps/posix/getcwd.c: Likewise.
40702 * time/strftime_l.c: Likewise.
40704 2012-01-30 Joseph Myers <joseph@codesourcery.com>
40706 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
40707 * config.make.in (config-cflags-sse2avx): Define.
40708 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
40711 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
40713 * scripts/config.guess: Update from upstream config git repository.
40714 * scripts/config.sub: Likewise.
40716 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
40718 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
40720 (R_TILEPRO_*, R_TILEGX_*): New macros.
40722 * scripts/firstversions.awk: Fix bug in version range handling.
40724 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
40726 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
40728 * include/sys/epoll.h: New file.
40729 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
40732 2012-01-28 Ulrich Drepper <drepper@gmail.com>
40734 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
40735 Avoid unnecessary __WORDSIZE == 64 test.
40736 (fmaxf): Use VEX format if possible.
40741 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
40742 * math/math_private.h: Remove libc_fegetround* and
40744 * sysdeps/i386/configure.in: Check for -msse2avx.
40745 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
40746 also if SSE2AVX is defined.
40747 Remove libc_fegetround* and libc_fesetround*.
40748 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
40749 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
40750 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
40752 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40753 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40754 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40755 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40756 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40758 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
40760 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40762 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
40764 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
40766 2012-01-27 Ulrich Drepper <drepper@gmail.com>
40769 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
40771 * Makeconfig (libm): Define.
40772 * elf/Makefile: Add rules to build and run tst-relsort1.
40773 * elf/tst-relsort1.c: New file.
40774 * elf/tst-relsort1mod1.c: New file.
40775 * elf/tst-relsort1mod2.c: New file.
40777 2012-01-27 Joseph Myers <joseph@codesourcery.com>
40779 * math/s_ldexp.c: Remove __STDC__ conditionals.
40780 * math/s_ldexpf.c: Likewise.
40781 * math/s_ldexpl.c: Likewise.
40782 * math/s_nextafter.c: Likewise.
40783 * math/s_nexttowardf.c: Likewise.
40784 * math/s_significand.c: Likewise.
40785 * math/s_significandf.c: Likewise.
40786 * math/s_significandl.c: Likewise.
40787 * math/w_jnl.c: Likewise.
40788 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40789 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40790 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40791 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40792 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40793 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40794 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
40795 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40796 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40797 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40798 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40799 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40800 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40801 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40802 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40803 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40804 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40805 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40806 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40807 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40808 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40809 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40810 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40811 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40812 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40813 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40814 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40815 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40816 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40817 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40818 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40819 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
40820 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40821 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40822 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
40823 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40824 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
40825 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
40826 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
40827 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
40828 * sysdeps/ieee754/k_standard.c: Likewise.
40829 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40830 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40831 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40832 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40833 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40834 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40835 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40836 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40837 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40838 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40839 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40840 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40841 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40842 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40843 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40844 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40845 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40846 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40847 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40848 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40849 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40850 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40851 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40852 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40853 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40854 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
40855 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40856 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40857 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40858 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
40859 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
40860 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
40861 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40862 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
40863 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
40864 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
40865 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
40866 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40867 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
40868 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
40869 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
40870 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
40871 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
40872 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
40873 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40874 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
40875 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
40876 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40877 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
40878 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
40879 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
40880 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40881 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40882 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
40883 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
40884 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
40885 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
40886 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40887 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40888 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40889 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40890 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
40891 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
40892 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40893 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40894 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40895 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40896 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
40897 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
40898 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40899 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40900 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40901 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40902 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
40903 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
40904 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40905 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
40906 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
40907 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
40908 * sysdeps/ieee754/s_matherr.c: Likewise.
40909 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
40910 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40911 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40912 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40914 2012-01-26 Joseph Myers <joseph@codesourcery.com>
40916 * crypt/md5.h: Remove __STDC__ conditionals.
40917 * libio/libioP.h: Likewise.
40918 * locale/programs/config.h: Likewise.
40919 * sysdeps/generic/sysdep.h: Likewise.
40920 * sysdeps/i386/asm-syntax.h: Likewise.
40921 * sysdeps/s390/asm-syntax.h: Likewise.
40922 * sysdeps/unix/sysdep.h: Likewise.
40923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
40924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40926 2012-01-26 Joseph Myers <joseph@codesourcery.com>
40928 * libio/libio.h: Remove __STDC__ conditionals.
40929 * malloc/obstack.h: Likewise.
40930 * math/complex.h: Likewise.
40931 * math/math.h: Likewise.
40932 * sysdeps/generic/_G_config.h: Likewise.
40933 * sysdeps/gnu/_G_config.h: Likewise.
40934 * sysdeps/mach/hurd/_G_config.h: Likewise.
40935 * sysdeps/powerpc/bits/mathdef.h: Likewise.
40936 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
40937 * sysdeps/sparc/bits/mathdef.h: Likewise.
40939 2012-01-26 Ulrich Drepper <drepper@gmail.com>
40942 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
40943 Clean up HAS_* macros.
40944 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
40945 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
40947 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
40949 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40950 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40951 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40952 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40953 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40955 2012-01-25 Joseph Myers <joseph@codesourcery.com>
40957 * elf/tst-unique3.cc (gets): Remove declaration.
40958 * elf/tst-unique3lib.cc (gets): Likewise.
40959 * elf/tst-unique3lib2.cc (gets): Likewise.
40960 * elf/tst-unique4.cc (gets): Likewise.
40962 2012-01-24 Ulrich Drepper <drepper@gmail.com>
40964 * include/stdio.h: Add C++ protection. Add gets declarations and
40966 * debug/tst-chk1.c: Don't declare gets here.
40967 * stdio-common/tst-gets.c: Likewise.
40969 2012-01-24 Joseph Myers <joseph@codesourcery.com>
40971 * posix/glob: Remove directory.
40973 2012-01-24 Joseph Myers <joseph@codesourcery.com>
40975 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
40977 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
40979 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
40980 of the non-standard EPFNOSUPPORT.
40982 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
40984 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
40985 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
40986 ANYWHERE set to 1 only on KERN_NO_SPACE error.
40988 2012-01-21 Ulrich Drepper <drepper@gmail.com>
40990 * wcsmbs/uchar.h: Test __STDC_VERSION__.
40992 2012-01-20 Ulrich Drepper <drepper@gmail.com>
40994 * nscd/aicache.c (addhstaiX): Do not cache negative results of
40996 * nscd/grpcache.c (cache_addgr): Likewise.
40997 * nscd/hstcache.c (cache_addhst): Likewise.
40998 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40999 * nscd/pwdcache.c (cache_addpw): Likewise.
41000 * nscd/servicescache.c (cache_addserv): Likewise.
41002 2012-01-16 Ulrich Drepper <drepper@gmail.com>
41004 * malloc/malloc.c: Various cleanups.
41005 * malloc/hooks.c: Likewise.
41007 * stdlib/Makefile (tests): Add bug-fmtmsg1.
41008 * stdlib/bug-fmtmsg1.c: New file.
41010 * stdlib/fmtmsg.c (init): Add missing unlock.
41011 Patch by Peng Haitao <penght@cn.fujitsu.com>.
41013 2012-01-12 Marek Polacek <polacek@redhat.com>
41015 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
41018 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
41020 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
41021 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
41022 macro to ensure uniqueness of label name.
41023 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41024 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41026 2012-01-11 Ulrich Drepper <drepper@gmail.com>
41028 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
41030 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
41031 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
41032 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
41033 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
41035 2012-01-10 Ulrich Drepper <drepper@gmail.com>
41037 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
41039 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
41040 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
41041 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
41043 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
41045 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
41046 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
41047 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41048 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
41050 * math/bits/math-finite.h: Add ldexp support.
41052 2012-01-10 Marek Polacek <polacek@redhat.com>
41054 * locale/programs/localedef.h (show_archive_content): Add noreturn
41057 2012-01-09 Ulrich Drepper <drepper@gmail.com>
41059 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
41061 2012-01-08 Ulrich Drepper <drepper@gmail.com>
41063 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
41065 * io/Makefile (headers): Add bits/poll2.h.
41067 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
41069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
41070 typo #include statement.
41072 2012-01-08 Ulrich Drepper <drepper@gmail.com>
41074 * include/sys/cdefs.h: Define __attribute_alloc_size.
41075 * catgets/gencat.c: Add alloc_size attribute and apply consistently
41076 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
41077 * elf/pldd.c: Likewise.
41078 * iconv/iconv_charmap.c: Likewise.
41079 * iconv/iconvconfig.c: Likewise.
41080 * iconv/strtab.c: Likewise.
41081 * locale/programs/locale.c: Likewise.
41082 * locale/programs/localedef.h: Likewise.
41083 * locale/programs/simple-hash.c: Likewise.
41084 * nscd/nscd.h: Likewise.
41085 * nss/makedb.c: Likewise.
41086 * sysdeps/generic/ldconfig.h: Likewise.
41087 * locale/programs/localedef.c: Remove xmalloc prototype.
41088 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
41090 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
41092 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
41095 2012-01-08 Ulrich Drepper <drepper@gmail.com>
41097 * math/Makefile (tests): Add tst-CMPLX.
41098 * math/tst-CMPLX.c: New file.
41100 * math/complex.h (CMPLXL): Fix typo.
41102 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
41103 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
41105 * debug/tst-chk1.c: Add poll and ppoll tests.
41106 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
41107 * include/sys/poll.h: Add hidden proto for ppoll.
41108 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
41109 * sysdeps/mach/hurd/ppoll.c: Likewise.
41110 * io/ppoll.c: Likewise.
41111 * debug/poll_chk.c: New file.
41112 * debug/ppoll_chk.c: New file.
41113 * include/bits/poll2.h: New file.
41114 * io/bits/poll2.h: New file.
41117 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
41119 * configure.in: static is always set to yes. Remove.
41120 * config.make.in: Don't set build-static.
41121 * Makeconfig: Remove use of build-static.
41122 * dlfcn/Makefile: Likewise.
41123 * elf/Makefile: Likewise.
41124 * math/Makefile: Likewise.
41125 * misc/Makefile: Likewise.
41126 * nptl/Makefile: Likewise.
41127 * sysdeps/mach/hurd/Makefile: Likewise.
41129 * configure.in: PWD_P is not used anymore.
41130 * config.make.in: Remove PWD_P entry.
41132 * configure.in: Remove last remnants of RANLIB.
41133 No need to check for signed size_t anymore.
41134 Don't set libc_commonpagesize and libc_relro_required here for Alpha
41136 Remove __builtin_expect test because we require at least gcc 3.4.
41137 * aclocal.m4: Likewise.
41139 * wcsmbs/mbrtoc16.c: Implement using towc function.
41140 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
41141 * wcsmbs/wcsmbsload.c: Likewise.
41142 * iconv/gconv_simple.c: Likewise.
41143 * iconv/gconv_int.h: Likewise.
41144 * iconv/gconv_builtin.h: Likewise.
41145 * iconv/iconv_prog.c: Remove CHAR16 handling.
41147 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
41149 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
41151 * configure.in: Remove --with-elf and --enable-bounded options.
41152 Dont set base_machine for ia64. More non-ELF conditions removed.
41153 Remove testing and setting of leading underscore information.
41154 * config.make.in (build-bounded): Set to no.
41155 * config.h.in: Remove NO_UNDERSCORES entry.
41156 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
41158 * csu/start.c: Remove !NO_UNDERSCORE code.
41159 * locale/localeinfo.h: Likewise.
41160 * sysdeps/generic/machine-gmon.h: Likewise.
41161 * sysdeps/generic/sysdep.h: Likewise.
41162 * sysdeps/i386/sysdep.h: Likewise.
41163 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41164 * sysdeps/mach/sysdep.h: Likewise.
41165 * sysdeps/s390/s390-32/sysdep.h: Likewise.
41166 * sysdeps/s390/s390-64/sysdep.h: Likewise.
41167 * sysdeps/sh/sysdep.h: Likewise.
41168 * sysdeps/sparc/sparc32/alloca.S: Likewise.
41169 * sysdeps/unix/i386/sysdep.S: Likewise.
41170 * sysdeps/unix/sparc/start.c: Likewise.
41171 * sysdeps/unix/sparc/sysdep.S: Likewise.
41172 * sysdeps/unix/sparc/sysdep.h: Likewise.
41173 * sysdeps/unix/start.c: Likewise.
41174 * sysdeps/unix/x86_64/sysdep.S: Likewise.
41175 * sysdeps/x86_64/sysdep.h: Likewise.
41177 2012-01-07 Ulrich Drepper <drepper@gmail.com>
41180 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
41182 * argp/argp-fmtstream.h: Use const instead __const.
41183 * argp/argp.h: Likewise.
41184 * assert/assert.h: Likewise.
41185 * bits/fenv.h: Likewise.
41186 * bits/sched.h: Likewise.
41187 * bits/sigset.h: Likewise.
41188 * bits/sigthread.h: Likewise.
41189 * catgets/nl_types.h: Likewise.
41190 * conform/data/pthread.h-data: Likewise.
41191 * crypt/crypt-private.h: Likewise.
41192 * crypt/crypt.h: Likewise.
41193 * crypt/crypt_util.c: Likewise.
41194 * ctype/ctype.h: Likewise.
41195 * debug/execinfo.h: Likewise.
41196 * debug/mbsnrtowcs_chk.c: Likewise.
41197 * debug/mbsrtowcs_chk.c: Likewise.
41198 * debug/wcsnrtombs_chk.c: Likewise.
41199 * debug/wcsrtombs_chk.c: Likewise.
41200 * debug/wcstombs_chk.c: Likewise.
41201 * dirent/dirent.h: Likewise.
41202 * dlfcn/dlfcn.h: Likewise.
41203 * elf/neededtest4.c: Likewise.
41204 * grp/grp.h: Likewise.
41205 * gshadow/gshadow.h: Likewise.
41206 * iconv/gconv.h: Likewise.
41207 * iconv/gconv_int.h: Likewise.
41208 * iconv/gconv_simple.c: Likewise.
41209 * iconv/iconv.h: Likewise.
41210 * iconv/loop.c: Likewise.
41211 * iconv/skeleton.c: Likewise.
41212 * include/aio.h: Likewise.
41213 * include/aliases.h: Likewise.
41214 * include/argz.h: Likewise.
41215 * include/arpa/inet.h: Likewise.
41216 * include/assert.h: Likewise.
41217 * include/dirent.h: Likewise.
41218 * include/dlfcn.h: Likewise.
41219 * include/execinfo.h: Likewise.
41220 * include/fcntl.h: Likewise.
41221 * include/fenv.h: Likewise.
41222 * include/glob.h: Likewise.
41223 * include/grp.h: Likewise.
41224 * include/libintl.h: Likewise.
41225 * include/mntent.h: Likewise.
41226 * include/netdb.h: Likewise.
41227 * include/pwd.h: Likewise.
41228 * include/rpc/netdb.h: Likewise.
41229 * include/sched.h: Likewise.
41230 * include/search.h: Likewise.
41231 * include/shadow.h: Likewise.
41232 * include/signal.h: Likewise.
41233 * include/stdio.h: Likewise.
41234 * include/stdlib.h: Likewise.
41235 * include/string.h: Likewise.
41236 * include/sys/socket.h: Likewise.
41237 * include/sys/stat.h: Likewise.
41238 * include/sys/statfs.h: Likewise.
41239 * include/sys/statvfs.h: Likewise.
41240 * include/sys/syslog.h: Likewise.
41241 * include/sys/time.h: Likewise.
41242 * include/sys/uio.h: Likewise.
41243 * include/time.h: Likewise.
41244 * include/unistd.h: Likewise.
41245 * include/utmp.h: Likewise.
41246 * include/wchar.h: Likewise.
41247 * include/wctype.h: Likewise.
41248 * inet/aliases.h: Likewise.
41249 * inet/arpa/inet.h: Likewise.
41250 * inet/netinet/ether.h: Likewise.
41251 * inet/netinet/in.h: Likewise.
41252 * intl/libintl.h: Likewise.
41253 * io/bits/fcntl2.h: Likewise.
41254 * io/fcntl.h: Likewise.
41255 * io/ftw.h: Likewise.
41256 * io/sys/poll.h: Likewise.
41257 * io/sys/stat.h: Likewise.
41258 * io/sys/statfs.h: Likewise.
41259 * io/sys/statvfs.h: Likewise.
41260 * io/utime.h: Likewise.
41261 * libio/bits/stdio.h: Likewise.
41262 * libio/bits/stdio2.h: Likewise.
41263 * libio/libio.h: Likewise.
41264 * libio/libioP.h: Likewise.
41265 * libio/stdio.h: Likewise.
41266 * locale/lc-ctype.c: Likewise.
41267 * locale/locale.h: Likewise.
41268 * login/utmp.h: Likewise.
41269 * malloc/arena.c: Likewise.
41270 * malloc/malloc.c: Likewise.
41271 * malloc/malloc.h: Likewise.
41272 * malloc/mcheck.c: Likewise.
41273 * malloc/mtrace.c: Likewise.
41274 * math/bits/mathcalls.h: Likewise.
41275 * math/fenv.h: Likewise.
41276 * math/math_private.h: Likewise.
41277 * misc/bits/error.h: Likewise.
41278 * misc/bits/syslog.h: Likewise.
41279 * misc/err.h: Likewise.
41280 * misc/error.h: Likewise.
41281 * misc/fstab.h: Likewise.
41282 * misc/mntent.h: Likewise.
41283 * misc/regexp.h: Likewise.
41284 * misc/search.h: Likewise.
41285 * misc/sgtty.h: Likewise.
41286 * misc/sys/mman.h: Likewise.
41287 * misc/sys/syslog.h: Likewise.
41288 * misc/sys/uio.h: Likewise.
41289 * misc/sys/xattr.h: Likewise.
41290 * misc/ttyent.h: Likewise.
41291 * nis/rpcsvc/ypclnt.h: Likewise.
41292 * nss/nss.h: Likewise.
41293 * posix/bits/unistd.h: Likewise.
41294 * posix/fnmatch.h: Likewise.
41295 * posix/glob.h: Likewise.
41296 * posix/sched.h: Likewise.
41297 * posix/spawn.h: Likewise.
41298 * posix/sys/wait.h: Likewise.
41299 * posix/unistd.h: Likewise.
41300 * posix/wordexp.h: Likewise.
41301 * pwd/pwd.h: Likewise.
41302 * resolv/netdb.h: Likewise.
41303 * resource/sys/resource.h: Likewise.
41304 * rt/aio.h: Likewise.
41305 * rt/bits/mqueue2.h: Likewise.
41306 * rt/mqueue.h: Likewise.
41307 * shadow/shadow.h: Likewise.
41308 * signal/signal.h: Likewise.
41309 * socket/send.c: Likewise.
41310 * socket/sendto.c: Likewise.
41311 * socket/sys/socket.h: Likewise.
41312 * stdio-common/printf.h: Likewise.
41313 * stdlib/bits/stdlib.h: Likewise.
41314 * stdlib/fmtmsg.h: Likewise.
41315 * stdlib/monetary.h: Likewise.
41316 * stdlib/stdlib.h: Likewise.
41317 * stdlib/ucontext.h: Likewise.
41318 * streams/stropts.h: Likewise.
41319 * string/argz.h: Likewise.
41320 * string/bits/string2.h: Likewise.
41321 * string/string.h: Likewise.
41322 * string/strings.h: Likewise.
41323 * sunrpc/rpc/auth.h: Likewise.
41324 * sunrpc/rpc/auth_des.h: Likewise.
41325 * sunrpc/rpc/clnt.h: Likewise.
41326 * sunrpc/rpc/netdb.h: Likewise.
41327 * sunrpc/rpc/pmap_clnt.h: Likewise.
41328 * sunrpc/rpc/xdr.h: Likewise.
41329 * sysdeps/generic/inttypes.h: Likewise.
41330 * sysdeps/generic/net/if.h: Likewise.
41331 * sysdeps/generic/sys/swap.h: Likewise.
41332 * sysdeps/gnu/net/if.h: Likewise.
41333 * sysdeps/gnu/utmpx.h: Likewise.
41334 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
41335 * sysdeps/i386/i486/bits/string.h: Likewise.
41336 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
41337 * sysdeps/s390/bits/string.h: Likewise.
41338 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
41339 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
41340 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
41341 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
41342 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
41343 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
41344 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
41345 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
41346 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
41347 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
41348 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
41349 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
41350 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
41351 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
41352 * sysdeps/unix/sysv/linux/readv.c: Likewise.
41353 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
41354 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
41355 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41356 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
41357 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
41358 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
41359 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
41360 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
41361 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
41362 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
41363 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
41364 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
41365 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41366 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
41367 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
41368 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
41369 * sysvipc/sys/ipc.h: Likewise.
41370 * sysvipc/sys/msg.h: Likewise.
41371 * sysvipc/sys/sem.h: Likewise.
41372 * sysvipc/sys/shm.h: Likewise.
41373 * termios/termios.h: Likewise.
41374 * time/sys/time.h: Likewise.
41375 * time/time.h: Likewise.
41376 * wcsmbs/bits/wchar2.h: Likewise.
41377 * wcsmbs/uchar.h: Likewise.
41378 * wcsmbs/wchar.h: Likewise.
41379 * wctype/wctype.h: Likewise.
41382 * Makeconfig: Remove all but ELF support including AIX support.
41383 * Makerules: Likewise.
41384 * config.h.in: Likewise.
41385 * config.make.in: Likewise.
41386 * configure: Likewise.
41387 * configure.in: Likewise.
41388 * csu/Makefile: Likewise.
41389 * csu/version.c: Likewise.
41390 * debug/Makefile: Likewise.
41391 * dlfcn/Makefile: Likewise.
41392 * elf/Makefile: Likewise.
41393 * extra-lib.mk: Likewise.
41394 * iconv/Makefile: Likewise.
41395 * include/libc-symbols.h: Likewise.
41396 * include/shlib-compat.h: Likewise.
41397 * resolv/Makefile: Likewise.
41398 * resolv/res_libc.c: Likewise.
41399 * rt/Makefile: Likewise.
41400 * sysdeps/i386/asm-syntax.h: Likewise.
41401 * sysdeps/i386/sysdep.h: Likewise.
41402 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41403 * sysdeps/mach/sysdep.h: Likewise.
41404 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
41405 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
41406 * sysdeps/s390/asm-syntax.h: Likewise.
41407 * sysdeps/s390/s390-32/sysdep.h: Likewise.
41408 * sysdeps/s390/s390-64/sysdep.h: Likewise.
41409 * sysdeps/sh/sysdep.h: Likewise.
41410 * sysdeps/unix/sparc/sysdep.h: Likewise.
41411 * sysdeps/wordsize-32/divdi3.c: Likewise.
41412 * sysdeps/x86_64/sysdep.h: Likewise.
41414 * argp/Versions: Remove _argp_unlock_xxx.
41417 * abilist/ld.abilist: Update. Adjust for removal of tls option.
41418 * abilist/libBrokenLocale.abilist: Likewise.
41419 * abilist/libanl.abilist: Likewise.
41420 * abilist/libc.abilist: Likewise.
41421 * abilist/libcrypt.abilist: Likewise.
41422 * abilist/libdl.abilist: Likewise.
41423 * abilist/libm.abilist: Likewise.
41424 * abilist/libnsl.abilist: Likewise.
41425 * abilist/libpthread.abilist: Likewise.
41426 * abilist/libresolv.abilist: Likewise.
41427 * abilist/librt.abilist: Likewise.
41428 * abilist/libthread_db.abilist: Likewise.
41429 * abilist/libutil.abilist: Likewise.
41430 * abilist/libnss_db.abilist: New file.
41432 * scripts/abilist.awk: Add support for indirect functions.
41434 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
41436 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
41438 * shlib-versions: Remove entries for ports architectures.
41440 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
41442 * elf/stackguard-macros.h: Remove support for IA-64.
41443 * elf/tst-auditmod1.c: Likewise.
41444 * sysdeps/generic/ldsodefs.h: Likewise.
41446 * sysdeps/unix/sysv/linux/configure.in: Ports should define
41447 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
41451 * configure.in: Remove --enable-omitfp support.
41453 * config.make.in: Likewise.
41454 * Makeconfig: Likewise.
41455 * manual/install.texi: Likewise.
41457 In case anyone cares, the IA-64 architecture could move to ports.
41458 * sysdeps/ia64/*: Removed.
41459 * sysdeps/unix/sysv/linux/ia64/*: Removed.
41460 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
41463 * configure.in: Remove entries for unsupported architectures.
41466 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
41467 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
41469 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
41470 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
41471 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
41472 fall back to using wcrtomb.
41473 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
41474 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
41476 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
41477 * wcsmbs/tst-c16c32-1.c: New file.
41479 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
41482 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
41484 * elf/tst-unique3.cc: Add explicit declaration of gets.
41485 * elf/tst-unique3lib.cc: Likewise.
41486 * elf/tst-unique3lib2.cc: Likewise.
41487 * elf/tst-unique4.cc: Likewise.
41489 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
41491 2012-01-06 Joseph Myers <joseph@codesourcery.com>
41494 * assert/assert.h (static_assert): Don't define for C++.
41495 * libio/stdio.h (gets): Do declare for C++ <= C++11.
41496 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
41498 2012-01-03 Ulrich Drepper <drepper@gmail.com>
41500 * iconv/loop.c (single loop): Fix assertion in storing of
41503 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
41505 2012-01-01 Ulrich Drepper <drepper@gmail.com>
41507 * posix/getconf.c: Update copyright year.
41508 * nss/getent.c: Likewise.
41509 * nss/makedb.c: Likewise.
41510 * iconv/iconvconfig.c: Likewise.
41511 * iconv/iconv_prog.c: Likewise.
41512 * elf/ldconfig.c: Likewise.
41513 * elf/pldd.c: Likewise.
41514 * elf/sotruss.ksh: Likewise.
41515 * catgets/gencat.c: Likewise.
41516 * csu/version.c: Likewise.
41517 * elf/ldd.bash.in: Likewise.
41518 * elf/sprof.c (print_version): Likewise.
41519 * locale/programs/locale.c: Likewise.
41520 * locale/programs/localedef.c: Likewise.
41521 * login/programs/pt_chown.c: Likewise.
41522 * nscd/nscd.c (print_version): Likewise.
41523 * debug/xtrace.sh: Likewise.
41524 * malloc/memusage.sh: Likewise.
41525 * malloc/mtrace.pl: Likewise.
41526 * debug/catchsegv.sh: Likewise.
41528 2011-12-30 Jakub Jelinek <jakub@redhat.com>
41530 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
41533 2011-12-24 Ulrich Drepper <drepper@gmail.com>
41536 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
41537 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
41539 * iconv/gconv_int.h: Likewise.
41540 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
41541 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
41542 from libc for GLIBC_2.16.
41543 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
41544 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
41545 * wcsmbs/uchar.h: Really define mbstate_t.
41546 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
41547 * wcsmbs/c16rtomb.c: New file.
41548 * wcsmbs/mbrtoc16.c: New file.
41549 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
41550 for C/POSIX locale.
41551 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
41552 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
41554 * wcsmbs/wchar.h: Add missing __restrict.
41556 2011-12-23 Ulrich Drepper <drepper@gmail.com>
41559 * time/Makefile (routines): Add timespec_get.
41560 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
41561 * time/time.h: Define TIME_UTC and declare timespec_get. Define
41562 timespec for ISO C11.
41563 * time/timespec_get.c: New file.
41564 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
41565 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
41568 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
41569 * stdlib/stdlib.h: Declare aligned_alloc.
41570 * Versions.def: Add GLIBC_2.16 for libc.
41571 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
41574 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
41577 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
41581 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
41584 * assert/assert.h (static_assert): Define.
41586 * version.h: Update for 2.16 development version.
41589 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
41592 * version.h (RELEASE): Bump for 2.15 release.
41593 * include/features.h (__GLIBC_MINOR__): Bump to 15.
41595 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
41596 Patch by Marek Polacek <mpolacek@redhat.com>.
41598 * bits/byteswap.h: Protect long long constants with __extension__.
41599 * sysdeps/i386/bits/byteswap.h: Likewise.
41600 * sysdeps/ia64/bits/byteswap.h: Likewise.
41601 * sysdeps/s390/bits/byteswap.h: Likewise.
41602 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41604 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41607 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
41608 destination buffer.
41609 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
41611 2011-12-23 Marek Polacek <polacek@redhat.com>
41613 * elf/dl-addr.c (determine_info): Add inline keyword.
41614 * elf/tst-auditmod4b.c (check_avx): Likewise.
41615 * elf/tst-auditmod6b.c (check_avx): Likewise.
41616 * elf/tst-auditmod6c.c (check_avx): Likewise.
41617 * elf/tst-auditmod7b.c (check_avx): Likewise.
41619 2011-12-23 Ulrich Drepper <drepper@gmail.com>
41621 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
41624 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41627 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
41628 processing for last bytes.
41630 2011-08-06 Bruno Haible <bruno@clisp.org>
41633 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
41634 U+0385, not to U+1FEE.
41637 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
41638 entry for U+00A5 U+0301.
41640 2011-12-22 Ulrich Drepper <drepper@gmail.com>
41643 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
41644 buffer for the output is too small.
41646 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
41650 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
41651 SSE flags if possible.
41653 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41656 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
41657 processing for last bytes.
41659 2011-12-22 Joseph Myers <joseph@codesourcery.com>
41661 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
41662 (syscall-list-default-options, syscall-list-default-condition)
41663 (syscall-list-includes): Define.
41664 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
41665 list of ABIs and options and #if conditions for each ABI. Do not
41666 handle common syscalls between ABIs specially.
41667 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
41669 (syscall-list-variants, syscall-list-32bit-options)
41670 (syscall-list-32bit-condition, syscall-list-64bit-options)
41671 (syscall-list-64bit-condition): Define.
41672 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
41673 (syscall-list-variants, syscall-list-32bit-options)
41674 (syscall-list-32bit-condition, syscall-list-64bit-options)
41675 (syscall-list-64bit-condition): Define.
41676 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
41678 (syscall-list-variants, syscall-list-32bit-options)
41679 (syscall-list-32bit-condition, syscall-list-64bit-options)
41680 (syscall-list-64bit-condition): Define.
41681 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
41683 (syscall-list-variants, syscall-list-32bit-options)
41684 (syscall-list-32bit-condition, syscall-list-64bit-options)
41685 (syscall-list-64bit-condition): Define.
41687 2011-12-22 Ulrich Drepper <drepper@gmail.com>
41689 * locale/iso-639.def: Add brx entry.
41692 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
41693 Proposed by Mariusz_Cukr <marcukr@op.pl>.
41695 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
41696 __feraiseexcept_renamed.
41698 2011-12-21 Ulrich Drepper <drepper@gmail.com>
41701 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
41702 EPOLLET with unsigned values.
41703 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41704 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
41706 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
41707 to large cancellation.
41708 * math/s_cacoshf.c: Likewise.
41709 * math/s_cacoshl.c: Likewise.
41711 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
41715 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
41716 * math/s_cacoshf.c: Likewise.
41717 * math/s_cacoshl.c: Likewise.
41719 2011-12-21 Ulrich Drepper <drepper@gmail.com>
41722 * iconv/gconv.h: Define __GCONV_SWAP.
41723 * iconvdata/unicode.c: The swap bit must be stored in __flags.
41724 * iconvdata/utf-16.c: Likewise.
41725 * iconvdata/utf-32.c: Likewise.
41727 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
41730 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
41731 numerator after shifting it by one limb.
41733 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
41735 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
41736 under [__USE_EXTERN_INLINES].
41738 2011-12-17 Ulrich Drepper <drepper@gmail.com>
41741 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
41743 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41745 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
41746 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
41748 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
41749 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
41750 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
41751 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
41752 for strncasecmp/strncasecmp_l compilation.
41753 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
41754 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
41756 2011-12-08 Marek Polacek <mpolacek@redhat.com>
41759 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
41762 2011-12-17 Ulrich Drepper <drepper@gmail.com>
41765 * time/tzfile.c (__tzfile_read): Check values from file header.
41767 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
41769 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
41770 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
41771 * powerpc/powerpc32/dl-start.S: Likewise.
41772 * powerpc/powerpc32/elf/start.S: Likewise.
41773 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
41774 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
41775 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
41776 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
41777 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
41778 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
41779 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
41780 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
41781 * powerpc/powerpc32/fpu/s_round.S: Likewise.
41782 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
41783 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
41784 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
41785 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
41786 * powerpc/powerpc32/memset.S: Likewise.
41787 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
41788 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
41789 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
41790 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
41791 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
41792 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
41793 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
41794 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
41795 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
41796 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
41797 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
41798 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41799 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41801 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41803 * math/libm-test.inc: Added more nearbyint tests.
41804 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
41805 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
41806 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
41807 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
41809 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
41811 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
41814 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41816 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
41817 Add wcscpy-ssse3 wcscpy-c.
41818 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
41819 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
41820 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
41821 * sysdeps/x86_64/wcschr.S: New file.
41822 * sysdeps/x86_64/wcsrchr.S: New file.
41823 * string/test-strcmp.c: Remove checking of wcscmp function for
41825 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
41826 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
41827 wcsrchr-sse2 wcsrchr-c.
41828 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
41829 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
41830 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
41831 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
41832 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
41833 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
41834 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
41835 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
41836 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
41837 * wcsmbc/wcschr.c (WCSCHR): New macro.
41839 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41841 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
41842 * wcsmbs/test-wcsrchr.c: New file.
41843 * string/test-strrchr.c: Add wcsrchr support.
41845 * wcsmbs/test-wcscpy.c: New file.
41846 * string/test-strcpy.c: Add wcscpy support.
41849 2011-12-10 Ulrich Drepper <drepper@gmail.com>
41851 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
41854 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
41857 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
41859 2011-12-04 Ulrich Drepper <drepper@gmail.com>
41861 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
41862 Minor optimizations.
41864 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
41865 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
41866 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
41868 2011-12-03 Ulrich Drepper <drepper@gmail.com>
41870 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
41871 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
41872 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
41873 for gcc to avoid warnings.
41874 * inet/Makefile (tests): Add tst-checks.
41875 * inet/tst-checks.c: New file.
41877 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
41880 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
41883 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
41884 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
41886 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
41888 2011-12-02 Ulrich Drepper <drepper@gmail.com>
41890 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
41893 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
41895 2011-11-29 Joseph Myers <joseph@codesourcery.com>
41897 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
41898 conditional on GCC version.
41899 (__arch_compare_and_exchange_val_8_acq)
41900 (__arch_compare_and_exchange_val_16_acq)
41901 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
41902 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
41903 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
41905 2011-12-02 Joseph Myers <joseph@codesourcery.com>
41907 * sysdeps/sh/backtrace.c: New file.
41909 2011-12-02 Andreas Schwab <schwab@redhat.com>
41911 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
41914 2011-12-01 Andreas Schwab <schwab@redhat.com>
41916 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
41917 falling back to utime.
41919 2011-11-30 Andreas Schwab <schwab@redhat.com>
41921 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
41922 expectations for float.
41924 2011-11-29 Andreas Schwab <schwab@redhat.com>
41926 * locale/weight.h (findidx): Add parameter len.
41927 * locale/weightwc.h (findidx): Likewise.
41928 * posix/fnmatch_loop.c (FCT): Adjust caller.
41929 * posix/regcomp.c (build_equiv_class): Likewise.
41930 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
41931 * posix/regexec.c (check_node_accept_bytes): Likewise.
41932 * string/strcoll_l.c (STRCOLL): Likewise.
41933 * string/strxfrm_l.c (STRXFRM): Likewise.
41935 2011-11-17 Ulrich Drepper <drepper@gmail.com>
41937 * Makefile.in: Remove CVSOPT handling.
41938 * configure.in: Remove use of AC_REVISION.
41939 * iconvdata/Makefile (distribute): No need to filter out CVS.
41940 * scripts/list-sources.sh: Remove CVS, subversion and monotone
41943 2011-11-16 Andreas Schwab <schwab@redhat.com>
41945 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
41946 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
41947 [USE_AS_STRNCASECMP_L]: Likewise.
41948 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
41949 NO_TLS_DIRECT_SEG_REFS.
41950 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
41951 Fix argument offsets for non-PIC.
41952 [USE_AS_STRNCASECMP_L]: Likewise.
41953 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
41954 NO_TLS_DIRECT_SEG_REFS.
41956 2011-11-15 Ulrich Drepper <drepper@gmail.com>
41958 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
41960 * locale/loadlocale.c (_nl_load_locale): Likewise.
41962 2011-11-15 Andreas Schwab <schwab@redhat.com>
41964 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
41965 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
41966 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
41967 (SYSCALL_GETTIME): Set errno on error.
41969 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
41970 count references to noai6ai_cached.
41972 2011-11-15 Ulrich Drepper <drepper@gmail.com>
41974 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
41976 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
41977 FD_CLOEXEC for /proc/self/maps.
41979 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
41980 FD_CLOEXEC for /proc/meminfo.
41982 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
41985 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
41986 FD_CLOEXEC for given file.
41988 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
41990 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
41991 FD_CLOEXEC for /etc/hosts.
41992 (_gethtent): Likewise.
41994 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
41996 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
41997 cancellation and set FD_CLOEXEC for /etc/netgroup.
41999 * nss/nss_files/files-key.c (search): Don't allow cancellation when
42000 reading /etc/publickey.
42002 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
42003 allow cancellation when reading /etc/group.
42005 * nss/nss_files/files-alias.c (internal_setent): Don't allow
42007 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
42009 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
42010 when using data file.
42012 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
42014 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
42015 (write_nis_obj): Use "c" and "e" in fopen.
42017 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
42019 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
42021 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
42023 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
42025 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
42028 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
42030 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
42032 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
42034 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
42035 file parsing and set FD_CLOEXEC.
42037 2011-11-14 Ulrich Drepper <drepper@gmail.com>
42039 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
42041 2011-11-14 Andreas Schwab <schwab@redhat.com>
42043 * malloc/arena.c (arena_get2): Don't call reused_arena when
42044 _int_new_arena failed.
42046 2011-11-14 Ulrich Drepper <drepper@gmail.com>
42048 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
42049 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
42050 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
42051 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42052 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42053 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
42054 to compile strcasecmp and strncasecmp.
42055 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
42056 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
42058 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
42060 2011-11-13 Ulrich Drepper <drepper@gmail.com>
42062 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
42063 locale-defines.sym to gen-as-const-headers.
42064 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
42065 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
42066 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
42067 to compile strcasecmp and strncasecmp.
42068 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
42069 strcasecmp_l and strncasecmp_l.
42070 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
42071 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
42072 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
42073 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
42074 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
42075 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
42076 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
42077 * sysdeps/i386/i686/multiarch/strncase.S: New file.
42078 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
42079 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
42080 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
42082 2011-11-12 Ulrich Drepper <drepper@gmail.com>
42084 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
42085 result of SYSDEP_GETTIME_CPU to retval.
42086 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
42087 parameter list to macro. Remove trailing semicolon. Adjust users.
42089 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
42092 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
42094 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
42096 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
42097 from unused variable.
42099 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
42101 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
42104 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
42107 * sunrpc/rpc_prot.c (rejected): Fix case value.
42109 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
42110 unsigned long long int to avoid warnings in shift.
42112 * posix/regex_internal.c (re_string_reconstruct): Actually use result
42114 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
42117 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
42118 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
42119 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
42121 * nis/nis_table.c (nis_list): Use variable of correct type for
42122 result of __follow_path call.
42124 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42126 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
42127 of math functions ceil, trunc, floor, round, and sqrt, when
42128 avaliable on the platform.
42129 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
42131 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42132 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
42133 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
42135 2011-10-30 Marek Polacek <mpolacek@redhat.com>
42137 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
42138 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
42140 2011-11-11 Roland McGrath <roland@hack.frob.com>
42142 * include/unistd.h: Fix __readlink return type.
42143 Reported by Chris Metcalf <cmetcalf@tilera.com>.
42145 2011-11-11 Ulrich Drepper <drepper@gmail.com>
42147 * stdlib/ucontext.h: Undo last change for makecontext.
42149 2011-11-11 Andreas Schwab <schwab@redhat.com>
42151 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
42153 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
42154 * setjmp/setjmp.h: Mark functions as non-leaf.
42155 * setjmp/bits/setjmp2.h: Likewise.
42156 * stdlib/ucontext.h: Likewise.
42158 2011-11-10 Andreas Schwab <schwab@redhat.com>
42160 * malloc/arena.c (_int_new_arena): Don't increment narenas.
42161 (reused_arena): Don't check arena limit.
42162 (arena_get2): Atomically check arena limit.
42164 2011-11-08 Ulrich Drepper <drepper@gmail.com>
42166 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
42167 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
42169 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
42172 2011-11-07 Andreas Schwab <schwab@redhat.com>
42174 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
42175 handler when locking.
42177 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
42178 Fix size of allocated buffer.
42180 2011-11-04 Andreas Schwab <schwab@redhat.com>
42183 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
42184 declarations for long double functions.
42185 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
42187 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
42189 2011-11-03 Andreas Schwab <schwab@redhat.com>
42191 * nscd/nscd.c (main): Don't start AVC thread until credentials are
42194 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
42197 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
42199 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
42201 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
42203 * include/alloca.h (stackinfo_alloca_round): Define.
42204 (extend_alloca): Use it.
42205 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
42206 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
42209 * scripts/check-local-headers.sh: Ignore libaudit.h.
42211 * nscd/Makefile (extra-objs): Make recursively expanded.
42213 2011-11-01 Ulrich Drepper <drepper@gmail.com>
42215 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
42216 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
42218 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
42219 * posix/tst-rfc3484-2.c: Likewise.
42220 * posix/tst-rfc3484-3.c: Likewise.
42222 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
42224 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
42226 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
42227 process_vm_writev from libc using GLIBC_2.15 version.
42229 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
42231 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
42233 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
42236 2011-10-31 Ulrich Drepper <drepper@gmail.com>
42239 * nss/getent.c (initgroups_keys): Show error message in case no group
42242 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
42243 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
42244 __bump_nl_timestamp.
42245 * nscd/connections (nscd_init): When host database is served open
42246 netlink socket and request notification about configuration changes.
42247 (main_loop_poll): Track netlink file descriptor and bump timestamp
42248 in case data becomes available.
42249 (main_loop_epoll): Likewise.
42250 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
42251 (database_pers_head): Add extra_data fileds.
42252 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
42253 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
42254 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
42256 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
42257 in6ai data, call __free_in6ai.
42258 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
42259 Add -DHAVE_NETLINK.
42260 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
42261 interface information. Reuse previous data if netlink timestamp
42263 (__bump_nl_timestamp): New function.
42264 (__free_in6ai): New function.
42266 2011-10-30 Ulrich Drepper <drepper@gmail.com>
42268 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
42269 close_not_cancel_no_status here.
42270 (__check_pf): Reorganize code a bit to not call close twice if OOM.
42272 2011-10-29 Ulrich Drepper <drepper@gmail.com>
42275 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
42278 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
42279 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
42280 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
42282 2011-07-03 Andreas Jaeger <aj@suse.de>
42285 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
42286 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
42287 * math/libm-test.inc (sin_test): Add test case.
42289 2011-10-29 Ulrich Drepper <drepper@gmail.com>
42292 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
42293 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
42295 * elf/chroot_canon.c (chroot_canon): Cleanups.
42297 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
42300 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
42301 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
42303 * string/test-strchr.c: Make usable for strchrnul testing.
42304 * string/test-strchrnul.c: New file.
42305 * string/Makefile (strop-tests): Add strchrnul.
42307 * po/it.po: Update from translation team.
42308 * po/es.po: Likewise.
42310 2011-10-28 Ulrich Drepper <drepper@gmail.com>
42312 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
42313 the three constants needed as parameters. Drop the others.
42314 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
42315 __m128i_strloadu_tolower.
42316 Create and initialize variable zero and use it in all the places
42317 where _mm_setzero_si128 was used.
42319 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
42320 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
42321 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
42322 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
42324 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
42325 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
42326 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
42327 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
42328 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
42329 __mpranred, __mptan.
42330 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
42331 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
42332 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
42333 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
42334 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
42335 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
42336 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
42337 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
42338 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
42340 2011-10-28 Andreas Schwab <schwab@redhat.com>
42342 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
42343 redefine if SHARED.
42344 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
42346 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
42347 wide char related routines to wcsmbs subdir.
42349 2011-10-27 Andreas Schwab <schwab@redhat.com>
42352 * misc/sys/cdefs.h (__THROWNL): Define.
42353 * posix/unistd.h: Use __THREADNL instead of __THREAD
42354 for memory synchronization functions.
42356 2011-10-26 Roland McGrath <roland@hack.frob.com>
42359 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
42361 * manual/stdio.texi (Obstack Streams): Node removed.
42363 2011-10-26 Andreas Schwab <schwab@redhat.com>
42365 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
42366 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42367 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42369 * math/math_private.h (math_force_eval): Allow non-addressable
42371 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
42373 2011-10-25 Ulrich Drepper <drepper@gmail.com>
42375 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
42376 file is not needed.
42378 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
42379 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
42380 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42381 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42382 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42383 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42384 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42385 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
42387 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
42388 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
42389 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
42390 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
42391 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
42392 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
42393 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
42394 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
42395 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
42396 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
42397 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
42398 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
42399 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
42400 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
42401 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
42402 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
42403 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
42404 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
42405 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
42407 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
42408 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
42410 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
42411 place. Use VEX encoding when compiling for AVX.
42413 2011-10-25 Andreas Schwab <schwab@redhat.com>
42415 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
42416 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
42418 * string/test-strchr.c (do_test): Don't generate NUL bytes.
42420 2011-10-25 Ulrich Drepper <drepper@gmail.com>
42422 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
42423 useless if() expression.
42424 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42425 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42426 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42427 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42428 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42429 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42430 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42431 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42432 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
42433 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42434 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42435 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42436 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
42437 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42438 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
42439 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42440 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42441 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42442 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
42444 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
42446 2011-10-25 Andreas Schwab <schwab@redhat.com>
42448 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
42450 * elf/dl-fini.c (_dl_sort_fini): Likewise.
42452 2011-10-25 Ulrich Drepper <drepper@gmail.com>
42454 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
42455 .text section. Avoid duplicate constants.
42456 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
42457 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42458 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42459 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42460 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42461 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42462 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42463 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42464 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
42465 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
42466 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
42467 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
42468 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
42469 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
42470 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
42471 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
42472 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
42473 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
42474 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42475 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42476 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
42477 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
42478 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
42479 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
42480 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
42481 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
42482 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
42483 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
42484 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
42485 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
42486 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
42487 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
42488 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
42489 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
42490 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
42491 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
42492 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
42493 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
42494 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
42495 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
42496 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
42497 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
42498 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
42499 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
42500 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
42502 2011-10-24 Ulrich Drepper <drepper@gmail.com>
42504 * sysdeps/x86_64/dla.h: Move to ...
42505 * sysdeps/x86_64/fpu/dla.h: ...here.
42506 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
42507 situations. Use __builtin_fma only for gcc 4.6 and up.
42509 * config.make.in: Add have-mfma4 entry.
42510 * configure.in: Substitute libc_cv_cc_fma4.
42511 * math/Makefile (dbl-only-routines): Add sincostab.
42512 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
42513 Use __sincostab not sincos.
42514 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
42516 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42517 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42518 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42519 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
42521 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
42522 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
42523 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
42524 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
42526 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
42527 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
42529 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
42530 define aliases when function name is a macro.
42531 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
42532 sysdeps/ieee754/dbl-64/sincos.tbl.
42533 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
42534 fma4-enabled routines.
42535 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
42536 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
42537 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
42538 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
42539 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
42540 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
42541 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
42542 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
42543 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
42544 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
42545 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
42546 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
42547 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
42548 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
42549 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
42550 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
42551 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
42552 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
42553 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
42554 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
42555 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
42556 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
42557 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
42558 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
42559 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
42560 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
42561 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
42562 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
42563 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
42564 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
42566 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
42568 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42569 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42570 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42571 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42572 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42573 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42574 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42575 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42577 2011-10-24 Andreas Schwab <schwab@redhat.com>
42579 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
42581 2011-10-23 Ulrich Drepper <drepper@gmail.com>
42583 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
42585 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
42587 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
42589 * string/strnlen.c: Don't define STRNLEN, reverse logic.
42590 Remove unused variable magic_bits.
42591 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
42593 * string/strnlen.c: Define and use STRNLEN macro.
42594 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
42595 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
42596 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
42597 * wcsmbs/wcslen.c: Define and use WCSLEN.
42598 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
42599 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
42600 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
42601 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
42602 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
42603 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
42604 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
42606 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42608 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42609 strnlen-sse2-no-bsf.
42610 Rename strlen-no-bsf to strlen-sse2-no-bsf.
42611 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
42612 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
42613 Add strnlen support.
42614 (USE_AS_STRNLEN): New macro.
42615 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
42616 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
42617 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
42618 * sysdeps/x86_64/wcslen.S: New file.
42620 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
42622 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
42623 XMM-moves are used for copying on small sizes.
42625 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42627 * wcsmbs/Makefile (strop-tests): Add wcschr.
42628 * wcsmbs/test-wcschr.c: New file.
42629 * string/test-strchr.c: Update.
42630 Add wcschr support.
42633 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42635 * wcsmbs/Makefile (strop-tests): Add wcslen.
42636 * wcsmbs/test-wcslen.c: New file.
42637 * string/test-strlen.c: Update.
42638 Add wcslen support.
42641 2011-10-23 Ulrich Drepper <drepper@gmail.com>
42643 * po/it.po: Update from translation team.
42645 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42647 * sysdeps/x86_64/wcscmp.S: Update.
42648 Fix wrong comparison semantics.
42649 wcscmp shall use signed comparison not unsigned.
42650 Don't use substraction to avoid overflow bug.
42651 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
42652 * wcsmbc/wcscmp.c: Likewise.
42653 * string/test-strcmp.c: Likewise.
42654 Add new tests to check cases with negative values.
42656 2011-10-23 Ulrich Drepper <drepper@gmail.com>
42658 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
42659 * sysdeps/x86_64/dla.h: ...here. New file.
42660 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
42661 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42662 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42663 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42664 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42665 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42666 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42667 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42668 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42670 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
42672 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
42673 __ynl_finite aliases.
42675 2011-10-22 Ulrich Drepper <drepper@gmail.com>
42677 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42679 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
42681 [DLA_FMA] (EMULV): Use DLA_FMA.
42682 [DLA_FMA] (MUL12): Use EMULV.
42683 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
42684 that are not needed.
42685 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42686 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42687 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42688 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42689 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42690 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42691 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42693 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
42695 * math/s_nan.c: Undef __nan.
42696 * math/s_nanf.c: Undef __nanf.
42697 * math/s_nanl.c: Undef __nanl.
42698 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
42701 2011-10-22 Ulrich Drepper <drepper@gmail.com>
42703 * math/s_catan.c: Add branch predictions.
42704 * math/s_catanf.c: Likewise.
42705 * math/s_catanh.c: Likewise.
42706 * math/s_catanhf.c: Likewise.
42707 * math/s_catanhl.c: Likewise.
42708 * math/s_catanl.c: Likewise.
42709 * math/s_cexp.c: Likewise.
42710 * math/s_cexpf.c: Likewise.
42711 * math/s_cexpl.c: Likewise.
42712 * math/s_clog.c: Likewise.
42713 * math/s_clog10.c: Likewise.
42714 * math/s_clog10f.c: Likewise.
42715 * math/s_clog10l.c: Likewise.
42716 * math/s_clogf.c: Likewise.
42717 * math/s_clogl.c: Likewise.
42718 * math/s_csqrt.c: Likewise.
42719 * math/s_csqrtf.c: Likewise.
42720 * math/s_csqrtl.c: Likewise.
42721 * math/s_ctanf.c: Likewise.
42722 * math/s_ctanh.c: Likewise.
42723 * math/s_ctanhf.c: Likewise.
42724 * math/s_ctanhl.c: Likewise.
42725 * math/s_ctanl.c: Likewise.
42727 * math/math_private.h: Define __nan, __nanf, __nanl.
42728 * math/s_cacosh.c: Include <math_private.h>.
42729 * math/s_cacoshl.c: Likewise.
42730 * math/s_casinh.c: Likewise.
42731 * math/s_casinhf.c: Likewise.
42732 * math/s_casinhl.c: Likewise.
42733 * math/s_ccos.c: Rely entire on ccosh.
42734 * math/s_ccosf.c: Rely entire on ccoshf.
42735 * math/s_ccosl.c: Rely entirely on ccoshl.
42736 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
42737 Remove tests for FE_INVALID.
42738 * math/s_ccoshf.c: Likewise.
42739 * math/s_ccoshl.c: Likewise.
42740 * math/s_csin.c: Likewise.
42741 * math/s_csinf.c: Likewise.
42742 * math/s_csinh.c Likewise.
42743 * math/s_csinhf.c: Likewise.
42744 * math/s_csinhl.c: Likewise.
42745 * math/s_csinl.c: Likewise.
42746 * math/s_ctan.c: Likewise.
42747 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
42748 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
42749 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
42751 2011-10-21 Ulrich Drepper <drepper@gmail.com>
42753 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
42754 compilation problems.
42756 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
42759 2011-10-20 Ulrich Drepper <drepper@gmail.com>
42761 * sysdeps/i386/configure.in: Test for -mfma4 option.
42762 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
42763 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
42764 COMMON_CPUID_INDEX_80000001.
42765 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
42766 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
42767 use it if FMA3 is not supported.
42768 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
42770 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
42771 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42773 2011-10-20 Andreas Schwab <schwab@redhat.com>
42776 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
42777 it would create a cycle with a link time dependency.
42779 2011-10-19 Ulrich Drepper <drepper@gmail.com>
42781 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
42783 * string/Makefile (strop-tests): Add rawmemchr.
42784 * string/test-rawmemchr.c: New file.
42786 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
42787 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
42788 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
42789 when compiling str{,n}casecmp and when AVX is available. Hook up
42790 new optimized code in initializers.
42792 2011-10-19 Andreas Schwab <schwab@redhat.com>
42794 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
42795 __feraiseexcept instead of feraiseexcept.
42797 2011-10-18 Ulrich Drepper <drepper@gmail.com>
42799 * math/math_private.h: Define defaults for libc_fetestexcept and
42801 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
42802 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
42803 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
42804 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
42805 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
42806 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
42807 libc_fetestexcept and libc_feupdateenv.
42809 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
42810 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
42811 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
42812 * sysdeps/x86_64/fpu/math_private.h: Define special version of
42813 libc_feholdexcept_setround.
42815 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
42816 Add s_nearbyint-c and s_nearbyintf-c.
42817 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
42818 nearbyintf inlines.
42819 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
42820 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
42821 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
42822 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
42824 * math/math_private.h: Define defaults for libc_fegetround,
42825 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
42826 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
42827 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
42828 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
42829 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
42830 standard functions.
42831 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42832 Remove comments and hacks for old compiler versions.
42833 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
42834 libc_fegetround, libc_fesetround, libc_feholdexcept, and
42835 libc_feholdexceptl.
42837 2011-10-18 Andreas Schwab <schwab@redhat.com>
42839 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
42840 (__feraiseexcept_renamed): Add __NTH.
42841 (feraiseexcept): Add __NTH. Rename local variables to fix
42842 namespace violations.
42844 2011-10-17 Ulrich Drepper <drepper@gmail.com>
42846 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
42848 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
42850 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
42851 recently added interfaces.
42852 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
42854 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
42855 about macro parameter expansion.
42857 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
42858 __NO_MATH_INLINES is defined. Cleanups.
42860 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
42861 and __floorf is target has SSE4.1.
42862 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
42863 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
42864 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
42865 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
42867 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
42869 (floorf): Likewise.
42871 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
42873 2011-10-17 Andreas Schwab <schwab@redhat.com>
42875 * misc/sys/cdefs.h: Fix last change.
42877 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
42880 2011-10-16 Ulrich Drepper <drepper@gmail.com>
42882 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
42884 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
42885 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42886 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
42887 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42888 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42889 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
42890 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42891 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42892 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
42893 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
42894 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
42895 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
42896 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
42897 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
42898 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
42899 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
42900 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
42901 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
42902 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
42903 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
42904 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
42905 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
42907 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
42908 ceil, ceilf, floor, floorf.
42910 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
42911 Perform IRELATIVE relocations last.
42913 * elf/do-rel.h: Add another parameter nrelative, replacing the
42914 local variable with the same name. Change name of the function
42915 to end in Rel or Rela (uppercase).
42916 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
42917 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
42918 elf_dynamic_do_##reloc function.
42920 2011-10-15 Ulrich Drepper <drepper@gmail.com>
42922 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
42923 is sufficient, at least on modern CPUs.
42925 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
42927 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
42928 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
42930 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
42932 * math/bits/math-finite.h: Add entries for exp.
42933 * math/e_expl.c: Add __*_finite alias.
42934 * sysdeps/i386/fpu/e_exp.S: Likewise.
42935 * sysdeps/i386/fpu/e_expf.S: Likewise.
42936 * sysdeps/i386/fpu/e_expl.c: Likewise.
42937 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42938 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
42939 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
42940 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
42941 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
42942 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
42943 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
42945 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
42946 is sufficient, at least on modern CPUs.
42948 * ctype/ctype-info.c (__ctype_init): Define.
42949 * include/ctype.h (__ctype_init): Declare.
42950 (__ctype_b_loc): The variable is always initialized.
42951 (__ctype_toupper_loc): Likewise.
42952 (__ctype_tolower_loc): Likewise.
42953 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
42954 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
42956 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
42958 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
42960 * configure.in: Also look in $cxxmachine/include for C++ system
42963 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42965 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
42966 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
42967 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
42968 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
42969 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
42970 (USE_AS_WMEMCMP): New macro.
42972 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
42973 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
42974 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
42975 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
42976 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42977 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
42978 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
42979 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
42980 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
42981 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
42982 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
42983 (USE_AS_WMEMCMP): New macro.
42984 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
42985 * sysdeps/string/test-memcmp.c: Update.
42986 Fix simple_wmemcmp.
42988 * wcsmbs/wmemcmp.c: Update.
42989 (WMEMCMP): New macro.
42992 2011-10-12 Andreas Jaeger <aj@suse.de>
42995 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
42997 2011-10-15 Ulrich Drepper <drepper@gmail.com>
42999 * libio/iofwide.c (do_length): Avoid warning.
43001 * ctype/ctype.h (__isctype_f): Add missing __THROW.
43003 2011-10-14 Ulrich Drepper <drepper@gmail.com>
43005 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
43007 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
43008 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
43009 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
43010 * sysdeps/i386/i686/fpu/e_log.S: New file.
43011 * sysdeps/i386/i686/fpu/e_logf.S: New file.
43012 * sysdeps/i386/i686/fpu/e_logl.S: New file.
43014 * ctype/ctype.h: Add support for inlined isXXX functions when
43015 compiling C++ code.
43017 2011-10-14 Andreas Schwab <schwab@redhat.com>
43019 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43021 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
43023 2011-10-13 Roland McGrath <roland@hack.frob.com>
43026 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
43028 2011-10-13 Andreas Schwab <schwab@redhat.com>
43030 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
43031 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
43034 * sysdeps/x86_64/memrchr.S: Check for zero size.
43036 * string/stratcliff.c: Add memrchr tests.
43038 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43040 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43041 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
43042 rawmemchr-sse2 rawmemchr-sse2-bsf.
43043 * sysdeps/i386/i686/multiarch/memchr.S: New file.
43044 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
43045 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
43046 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
43047 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
43048 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
43049 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
43050 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
43051 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
43052 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
43053 * string/memrchr.c (MEMRCHR): New macro.
43055 2011-10-12 Ulrich Drepper <drepper@gmail.com>
43057 Add integration with gcc's -ffinite-math-only and optimize wrapper
43059 * Versions.def: Define GLIBC_2.15 version for libm.
43060 * math/Makefile (headers): Add bits/math-finite.h.
43061 * math/bits/math-finite.h: New file.
43062 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
43063 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
43064 * math/e_acoshl.c: Add __*_finite alias.
43065 * math/e_acosl.c: Likewise.
43066 * math/e_asinl.c: Likewise.
43067 * math/e_atan2l.c: Likewise.
43068 * math/e_atanhl.c: Likewise.
43069 * math/e_coshl.c: Likewise.
43070 * math/e_exp10.c: Likewise.
43071 * math/e_exp10f.c: Likewise.
43072 * math/e_exp10l.c: Likewise.
43073 * math/e_exp2l.c: Likewise.
43074 * math/e_fmodl.c: Likewise.
43075 * math/e_gammal_r.c: Likewise.
43076 * math/e_hypotl.c: Likewise.
43077 * math/e_j0l.c: Likewise.
43078 * math/e_j1l.c: Likewise.
43079 * math/e_jnl.c: Likewise.
43080 * math/e_lgammal_r.c: Likewise.
43081 * math/e_log10l.c: Likewise.
43082 * math/e_log2l.c: Likewise.
43083 * math/e_logl.c: Likewise.
43084 * math/e_powl.c: Likewise.
43085 * math/e_sinhl.c: Likewise.
43086 * math/e_sqrtl.c: Likewise.
43087 * math/e_scalb.c: Completely rewritten and optimized.
43088 * math/e_scalbf.c: Likewise.
43089 * math/e_scalbl.c: Likewise.
43090 * math/w_acos.c: Likewise.
43091 * math/w_acosf.c: Likewise.
43092 * math/w_acosl.c: Likewise.
43093 * math/w_acosh.c: Likewise.
43094 * math/w_acoshf.c: Likewise.
43095 * math/w_acoshl.c: Likewise.
43096 * math/w_asin.c: Likewise.
43097 * math/w_asinf.c: Likewise.
43098 * math/w_asinl.c: Likewise.
43099 * math/w_atan2.c: Likewise.
43100 * math/w_atan2f.c: Likewise.
43101 * math/w_atan2l.c: Likewise.
43102 * math/w_atanh.c: Likewise.
43103 * math/w_atanhf.c: Likewise.
43104 * math/w_atanhl.c: Likewise.
43105 * math/w_exp10.c: Likewise.
43106 * math/w_exp10f.c: Likewise.
43107 * math/w_exp10l.c: Likewise.
43108 * math/w_fmod.c: Likewise.
43109 * math/w_fmodf.c: Likewise.
43110 * math/w_fmodl.c: Likewise.
43111 * math/w_j0.c: Likewise.
43112 * math/w_j0f.c: Likewise.
43113 * math/w_j0l.c: Likewise.
43114 * math/w_j1.c: Likewise.
43115 * math/w_j1f.c: Likewise.
43116 * math/w_j1l.c: Likewise.
43117 * math/w_jn.c: Likewise.
43118 * math/w_jnf.c: Likewise.
43119 * math/w_log.c: Likewise.
43120 * math/w_logf.c: Likewise.
43121 * math/w_logl.c: Likewise.
43122 * math/w_log10.c: Likewise.
43123 * math/w_log10f.c: Likewise.
43124 * math/w_log10l.c: Likewise.
43125 * math/w_log2.c: Likewise.
43126 * math/w_log2f.c: Likewise.
43127 * math/w_log2l.c: Likewise.
43128 * math/w_pow.c: Likewise.
43129 * math/w_powf.c: Likewise.
43130 * math/w_powl.c: Likewise.
43131 * math/w_remainder.c: Likewise.
43132 * math/w_remainderf.c: Likewise.
43133 * math/w_remainderl.c: Likewise.
43134 * math/w_scalb.c: Likewise.
43135 * math/w_scalbf.c: Likewise.
43136 * math/w_scalbl.c: Likewise.
43137 * math/w_sqrt.c: Likewise.
43138 * math/w_sqrtf.c: Likewise.
43139 * math/w_sqrtl.c: Likewise.
43140 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
43141 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
43143 * math/math_private.h: Declare __kernel_standard_f.
43144 * math/w_cosh.c: Remove cruft and optimize a bit.
43145 * math/w_coshf.c: Likewise.
43146 * math/w_coshl.c: Likewise.
43147 * math/w_exp2.c: Likewise.
43148 * math/w_exp2f.c: Likewise.
43149 * math/w_exp2l.c: Likewise.
43150 * math/w_hypot.c: Likewise.
43151 * math/w_hypotf.c: Likewise.
43152 * math/w_hypotl.c: Likewise.
43153 * math/w_lgamma.c: Likewise.
43154 * math/w_lgamma_r.c: Likewise.
43155 * math/w_lgammaf.c: Likewise.
43156 * math/w_lgammaf_r.c: Likewise.
43157 * math/w_lgammal.c: Likewise.
43158 * math/w_lgammal_r.c: Likewise.
43159 * math/w_sinh.c: Likewise.
43160 * math/w_sinhf.c: Likewise.
43161 * math/w_sinhl.c: Likewise.
43162 * math/w_tgamma.c: Likewise.
43163 * math/w_tgammaf.c: Likewise.
43164 * math/w_tgammal.c: Likewise.
43165 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
43166 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43167 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
43168 Minor optimizations. Pretty printing. Remove cruft.
43169 * sysdeps/i386/fpu/e_acosf.S: Likewise.
43170 * sysdeps/i386/fpu/e_acosh.S: Likewise.
43171 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
43172 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
43173 * sysdeps/i386/fpu/e_acosl.c: Likewise.
43174 * sysdeps/i386/fpu/e_asin.S: Likewise.
43175 * sysdeps/i386/fpu/e_asinf.S: Likewise.
43176 * sysdeps/i386/fpu/e_atan2.S: Likewise.
43177 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
43178 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
43179 * sysdeps/i386/fpu/e_atanh.S: Likewise.
43180 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
43181 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
43182 * sysdeps/i386/fpu/e_exp10.S: Likewise.
43183 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
43184 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
43185 * sysdeps/i386/fpu/e_exp2.S: Likewise.
43186 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
43187 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
43188 * sysdeps/i386/fpu/e_fmod.S: Likewise.
43189 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
43190 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
43191 * sysdeps/i386/fpu/e_hypot.S: Likewise.
43192 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
43193 * sysdeps/i386/fpu/e_log.S: Likewise.
43194 * sysdeps/i386/fpu/e_log10.S: Likewise.
43195 * sysdeps/i386/fpu/e_log10f.S: Likewise.
43196 * sysdeps/i386/fpu/e_log10l.S: Likewise.
43197 * sysdeps/i386/fpu/e_log2.S: Likewise.
43198 * sysdeps/i386/fpu/e_log2f.S: Likewise.
43199 * sysdeps/i386/fpu/e_log2l.S: Likewise.
43200 * sysdeps/i386/fpu/e_logf.S: Likewise.
43201 * sysdeps/i386/fpu/e_logl.S: Likewise.
43202 * sysdeps/i386/fpu/e_pow.S: Likewise.
43203 * sysdeps/i386/fpu/e_powf.S: Likewise.
43204 * sysdeps/i386/fpu/e_powl.S: Likewise.
43205 * sysdeps/i386/fpu/e_remainder.S: Likewise.
43206 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
43207 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
43208 * sysdeps/i386/fpu/e_scalb.S: Likewise.
43209 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
43210 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
43211 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
43212 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
43213 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
43214 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
43215 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43216 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43217 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
43218 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43219 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
43220 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
43221 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
43222 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43223 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
43224 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
43225 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
43226 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43227 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
43228 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
43229 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43230 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
43231 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
43232 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43233 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43234 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
43235 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
43236 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
43237 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
43238 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
43239 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
43240 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
43241 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
43242 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
43243 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
43244 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43245 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
43246 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43247 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
43248 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
43249 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
43250 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
43251 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
43252 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
43253 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
43254 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
43255 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
43256 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
43257 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
43258 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
43259 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
43260 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
43261 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
43262 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
43263 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
43264 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
43265 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
43266 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
43267 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43268 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
43269 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
43270 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
43271 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
43272 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
43273 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
43274 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
43275 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
43276 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43277 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43278 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
43279 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
43280 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
43281 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
43282 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
43283 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
43284 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
43285 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
43286 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
43287 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
43288 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
43289 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43290 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
43291 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
43292 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43293 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
43294 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43295 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
43296 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
43297 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43298 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43299 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
43300 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43301 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
43302 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
43303 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
43304 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43305 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
43306 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
43307 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
43308 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43309 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43310 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43311 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
43312 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
43313 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
43314 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
43315 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
43316 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
43317 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
43318 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
43319 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
43320 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
43321 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43322 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
43323 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
43324 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
43325 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
43326 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
43327 (__isnanf): Likewise.
43328 (__isinf_ns): Likewise.
43329 (__isinf_nsf): Likewise.
43330 (__finite): Likewise.
43331 (__finitef): Likewise.
43332 (__ieee754_sqrt): Define as macro.
43333 (__ieee754_sqrtf): Define as macro.
43334 (__ieee754_sqrtl): Define as macro.
43335 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
43337 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
43338 __FINITE_MATH_ONLY__ consistent.
43339 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
43341 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
43343 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
43346 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
43348 2011-10-09 Ulrich Drepper <drepper@gmail.com>
43350 * po/ja.po: Update from translation team.
43352 2011-10-08 Roland McGrath <roland@hack.frob.com>
43354 * locale/programs/locarchive.c (prepare_address_space): New function.
43355 (create_archive, enlarge_archive, open_archive): Use it.
43357 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
43358 inside [SHARED], where it is used.
43360 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
43362 * nss/getent.c (netgroup_keys): Remove unused variable.
43363 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
43365 2011-10-08 Ulrich Drepper <drepper@gmail.com>
43367 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
43368 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
43369 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
43370 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
43371 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
43372 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
43373 * math/Makefile (libm-calls): Add s_isinf_ns.
43374 * math/divtc3.c: Use __isinf_nsl instead of isinf.
43375 * math/multc3.c: Likewise.
43376 * math/s_casin.c: Likewise.
43377 * math/s_casinf.c: Likewise.
43378 * math/s_casinl.c: Likewise.
43379 * math/s_ccos.c: Likewise.
43380 * math/s_ccosf.c: Likewise.
43381 * math/s_ccosl.c: Likewise.
43382 * math/s_ctan.c: Likewise.
43383 * math/s_ctanf.c: Likewise.
43384 * math/s_ctanh.c: Likewise.
43385 * math/s_ctanhf.c: Likewise.
43386 * math/s_ctanhl.c: Likewise.
43387 * math/s_ctanl.c: Likewise.
43388 * math/w_fmod.c: Likewise.
43389 * math/w_fmodf.c: Likewise.
43390 * math/w_fmodl.c: Likewise.
43391 * math/w_remainder.c: Likewise.
43392 * math/w_remainderf.c: Likewise.
43393 * math/w_remainderl.c: Likewise.
43394 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
43395 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
43396 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
43397 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
43398 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
43399 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
43400 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
43401 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
43403 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
43405 * stdio-common/printf_fphex.c: Likewise.
43406 * stdio-common/printf_size.c: Likewise.
43408 * math/e_exp10.c: Include math_private.h using <...> not "...".
43409 * math/e_exp10f.c: Likewise.
43410 * math/e_exp10l.c: Likewise.
43411 * math/e_exp2l.c: Likewise.
43412 * math/e_j0l.c: Likewise.
43413 * math/e_j1l.c: Likewise.
43414 * math/e_jnl.c: Likewise.
43415 * math/e_lgammal_r.c: Likewise.
43416 * math/e_rem_pio2l.c: Likewise.
43417 * math/e_scalb.c: Likewise.
43418 * math/e_scalbf.c: Likewise.
43419 * math/e_scalbl.c: Likewise.
43420 * math/k_cosl.c: Likewise.
43421 * math/k_sinl.c: Likewise.
43422 * math/k_tanl.c: Likewise.
43423 * math/s_cacoshf.c: Likewise.
43424 * math/s_catan.c: Likewise.
43425 * math/s_catanf.c: Likewise.
43426 * math/s_catanh.c: Likewise.
43427 * math/s_catanhf.c: Likewise.
43428 * math/s_catanhl.c: Likewise.
43429 * math/s_catanl.c: Likewise.
43430 * math/s_ccosh.c: Likewise.
43431 * math/s_ccoshf.c: Likewise.
43432 * math/s_ccoshl.c: Likewise.
43433 * math/s_cexp.c: Likewise.
43434 * math/s_cexpf.c: Likewise.
43435 * math/s_cexpl.c: Likewise.
43436 * math/s_clog.c: Likewise.
43437 * math/s_clog10.c: Likewise.
43438 * math/s_clog10f.c: Likewise.
43439 * math/s_clog10l.c: Likewise.
43440 * math/s_clogf.c: Likewise.
43441 * math/s_clogl.c: Likewise.
43442 * math/s_csin.c: Likewise.
43443 * math/s_csinf.c: Likewise.
43444 * math/s_csinh.c: Likewise.
43445 * math/s_csinhf.c: Likewise.
43446 * math/s_csinhl.c: Likewise.
43447 * math/s_csinl.c: Likewise.
43448 * math/s_csqrt.c: Likewise.
43449 * math/s_csqrtf.c: Likewise.
43450 * math/s_csqrtl.c: Likewise.
43451 * math/s_ctan.c: Likewise.
43452 * math/s_ctanf.c: Likewise.
43453 * math/s_ctanh.c: Likewise.
43454 * math/s_ctanhf.c: Likewise.
43455 * math/s_ctanhl.c: Likewise.
43456 * math/s_ctanl.c: Likewise.
43457 * math/s_ldexp.c: Likewise.
43458 * math/s_ldexpf.c: Likewise.
43459 * math/s_ldexpl.c: Likewise.
43460 * math/s_significand.c: Likewise.
43461 * math/s_significandf.c: Likewise.
43462 * math/s_significandl.c: Likewise.
43463 * math/w_acos.c: Likewise.
43464 * math/w_acosf.c: Likewise.
43465 * math/w_acosh.c: Likewise.
43466 * math/w_acoshf.c: Likewise.
43467 * math/w_acoshl.c: Likewise.
43468 * math/w_acosl.c: Likewise.
43469 * math/w_asin.c: Likewise.
43470 * math/w_asinf.c: Likewise.
43471 * math/w_asinl.c: Likewise.
43472 * math/w_atan2.c: Likewise.
43473 * math/w_atan2f.c: Likewise.
43474 * math/w_atan2l.c: Likewise.
43475 * math/w_atanh.c: Likewise.
43476 * math/w_atanhf.c: Likewise.
43477 * math/w_atanhl.c: Likewise.
43478 * math/w_cosh.c: Likewise.
43479 * math/w_coshf.c: Likewise.
43480 * math/w_coshl.c: Likewise.
43481 * math/w_dremf.c: Likewise.
43482 * math/w_exp10.c: Likewise.
43483 * math/w_exp10f.c: Likewise.
43484 * math/w_exp10l.c: Likewise.
43485 * math/w_exp2.c: Likewise.
43486 * math/w_exp2f.c: Likewise.
43487 * math/w_fmod.c: Likewise.
43488 * math/w_fmodf.c: Likewise.
43489 * math/w_fmodl.c: Likewise.
43490 * math/w_hypot.c: Likewise.
43491 * math/w_hypotf.c: Likewise.
43492 * math/w_hypotl.c: Likewise.
43493 * math/w_j0.c: Likewise.
43494 * math/w_j0f.c: Likewise.
43495 * math/w_j0l.c: Likewise.
43496 * math/w_j1.c: Likewise.
43497 * math/w_j1f.c: Likewise.
43498 * math/w_j1l.c: Likewise.
43499 * math/w_jn.c: Likewise.
43500 * math/w_jnf.c: Likewise.
43501 * math/w_jnl.c: Likewise.
43502 * math/w_lgamma.c: Likewise.
43503 * math/w_lgamma_r.c: Likewise.
43504 * math/w_lgammaf.c: Likewise.
43505 * math/w_lgammaf_r.c: Likewise.
43506 * math/w_lgammal.c: Likewise.
43507 * math/w_lgammal_r.c: Likewise.
43508 * math/w_log.c: Likewise.
43509 * math/w_log10.c: Likewise.
43510 * math/w_log10f.c: Likewise.
43511 * math/w_log10l.c: Likewise.
43512 * math/w_log2.c: Likewise.
43513 * math/w_log2f.c: Likewise.
43514 * math/w_log2l.c: Likewise.
43515 * math/w_logf.c: Likewise.
43516 * math/w_logl.c: Likewise.
43517 * math/w_pow.c: Likewise.
43518 * math/w_powf.c: Likewise.
43519 * math/w_powl.c: Likewise.
43520 * math/w_remainder.c: Likewise.
43521 * math/w_remainderf.c: Likewise.
43522 * math/w_remainderl.c: Likewise.
43523 * math/w_scalb.c: Likewise.
43524 * math/w_scalbf.c: Likewise.
43525 * math/w_scalbl.c: Likewise.
43526 * math/w_sinh.c: Likewise.
43527 * math/w_sinhf.c: Likewise.
43528 * math/w_sinhl.c: Likewise.
43529 * math/w_sqrt.c: Likewise.
43530 * math/w_sqrtf.c: Likewise.
43531 * math/w_sqrtl.c: Likewise.
43532 * math/w_tgamma.c: Likewise.
43533 * math/w_tgammaf.c: Likewise.
43534 * math/w_tgammal.c: Likewise.
43536 * po/ja.po: Update from translation team.
43538 2011-09-29 Andreas Jaeger <aj@suse.de>
43541 * sunrpc/netname.c (netname2host): Fix logic.
43545 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
43547 * math/w_remainder.c (__remainder): Likewise.
43548 * math/w_remainderf.c (__remainderf): Likewise.
43549 * math/libm-test.inc (remainder_test): Add test cases.
43551 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43553 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
43556 2011-10-07 Ulrich Drepper <drepper@gmail.com>
43558 * string/test-memcmp.c: Avoid unncessary #defines.
43559 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
43561 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43563 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
43564 Use new sse2 version for core i3 - i7 as it's faster
43565 than sse42 version.
43566 (bit_Prefer_PMINUB_for_stringop): New.
43567 * sysdeps/x86_64/rawmemchr.S: Update.
43568 Replace with faster SSE2 version.
43569 * sysdeps/x86_64/memrchr.S: New file.
43570 * sysdeps/x86_64/memchr.S: Update.
43571 Replace with faster SSE2 version.
43573 2011-09-12 Marek Polacek <mpolacek@redhat.com>
43575 * elf/dl-load.c (lose): Add cast to avoid warning.
43577 2011-10-07 Ulrich Drepper <drepper@gmail.com>
43579 * po/ca.po: Update from translation team.
43581 * inet/getnetgrent_r.c: Hook up nscd.
43582 * nscd/Makefile (routines): Add nscd_netgroup.
43583 (nscd-modules): Add netgroupcache.
43584 (CFLAGS-netgroupcache.c): Define.
43585 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
43586 (cache_search): Add const to second parameter.
43587 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
43589 (dbs): Add netgrdb entry.
43590 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
43591 (verify_persistent_db): Handle netgrdb.
43592 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
43593 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
43595 (netgroup_response_header): Define.
43596 (innetgroup_response_header): Define.
43597 (datahead): Add netgroup_response_header and innetgroup_response_header
43599 * nscd/nscd.conf: Add entries for netgroup cache.
43600 * nscd/nscd.h (dbtype): Add netgrdb.
43601 (_PATH_NSCD_NETGROUP_DB): Define.
43602 (netgroup_iov_disabled): Declare.
43603 (xmalloc, xcalloc, xrealloc): Move declarations here.
43604 (cache_search): Adjust prototype.
43605 Add netgroup-related prototypes.
43606 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
43607 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
43608 (__nscd_innetgr): Declare.
43609 * nscd/selinux.c (perms): Use access_vector_t as element type and
43610 add netgroup-related initializers.
43611 * nscd/netgroupcache.c: New file.
43612 * nscd/nscd_netgroup.c: New file.
43613 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
43614 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
43615 For four parameters use innetgr.
43616 * nss/nss_files/files-init.c: Add definition and callback for netgr.
43617 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
43618 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
43619 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
43621 * nscd/connections.c (register_traced_file): Don't register file
43622 for disabled databases.
43624 2011-10-06 Ulrich Drepper <drepper@gmail.com>
43626 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
43628 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
43629 from tree and freeing node.
43631 2011-09-25 Jiri Olsa <jolsa@redhat.com>
43633 * nss/nsswitch.c (__nss_database_lookup): Handle
43634 nss_parse_service_list out of memory case.
43636 2011-09-15 Jiri Olsa <jolsa@redhat.com>
43638 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
43639 out of memory case.
43641 2011-10-04 Andreas Schwab <schwab@redhat.com>
43643 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
43644 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
43646 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
43647 elf_machine_rela, elf_machine_lazy_rel.
43648 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
43649 (ELF_DYNAMIC_DO_REL): Likewise.
43650 (ELF_DYNAMIC_DO_RELA): Likewise.
43651 (ELF_DYNAMIC_RELOCATE): Likewise.
43652 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
43653 to ELF_DYNAMIC_DO_REL.
43654 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
43655 (dl_main): In trace mode always set __RTLD_NOIFUNC.
43656 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
43658 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
43659 skip_ifunc, don't call ifunc function if non-zero.
43660 (elf_machine_rela): Likewise.
43661 (elf_machine_lazy_rel): Likewise.
43662 (elf_machine_lazy_rela): Likewise.
43663 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
43664 (elf_machine_lazy_rel): Likewise.
43665 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
43667 (elf_machine_lazy_rel): Likewise.
43668 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43670 (elf_machine_lazy_rel): Likewise.
43671 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
43672 (elf_machine_lazy_rel): Likewise.
43673 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
43674 (elf_machine_lazy_rel): Likewise.
43675 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
43676 (elf_machine_lazy_rel): Likewise.
43677 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
43678 (elf_machine_lazy_rel): Likewise.
43679 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
43680 (elf_machine_lazy_rel): Likewise.
43681 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
43682 (elf_machine_lazy_rel): Likewise.
43684 2011-09-28 Ulrich Drepper <drepper@gmail.com>
43686 * nss/nss_files/files-init.c (_nss_files_init): Use static
43687 initialization for all the *_traced_file variables.
43689 2011-09-28 Andreas Schwab <schwab@redhat.com>
43691 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43693 2011-09-27 Roland McGrath <roland@hack.frob.com>
43696 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
43698 2011-09-27 Andreas Schwab <schwab@redhat.com>
43700 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43701 Reread the line before reparsing it.
43703 2011-09-26 Andreas Schwab <schwab@redhat.com>
43705 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
43707 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
43708 Maxim Kuvyrkov <maxim@codesourcery.com>
43709 Joseph Myers <joseph@codesourcery.com>
43711 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
43712 if needed for __stack_chk_guard.
43714 2011-09-19 Roland McGrath <roland@hack.frob.com>
43716 * sysdeps/posix/spawni.c (script_execute): Always define it.
43717 It will be optimized away if unused.
43718 (maybe_script_execute): New function.
43719 (__spawni): Call it.
43721 * Makerules: Don't include tls.make.
43722 (config-tls): Always set to thread.
43723 * tls.make.c: File removed.
43725 2011-09-19 Mike Frysinger <vapier@gentoo.org>
43727 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
43728 * config.make.in (CPPFLAGS-config): New substituted variable.
43730 2011-09-15 Ulrich Drepper <drepper@gmail.com>
43732 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
43735 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
43736 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
43738 2011-09-15 Roland McGrath <roland@hack.frob.com>
43740 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
43741 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
43742 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
43743 (CALL_FAIL): Likewise.
43744 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
43745 (CALL_FAIL): Macro removed.
43746 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
43748 2011-09-15 Ulrich Drepper <drepper@gmail.com>
43750 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
43751 for __FINITE_MATH_ONLY__ == 1.
43753 2011-09-15 Andreas Schwab <schwab@redhat.com>
43755 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
43756 __ieee754_sqrt instead of sqrt.
43757 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
43758 __ieee754_sqrtf instead of sqrtf.
43759 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
43760 __floorf instead of floorf.
43761 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
43762 __floorf, __truncf instead of floorf, truncf.
43764 2011-09-14 Ulrich Drepper <drepper@gmail.com>
43766 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
43768 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
43769 __extern_always_inline.
43770 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
43773 2011-09-14 Andreas Schwab <schwab@redhat.com>
43775 * elf/rtld.c (dl_main): Also relocate in dependency order when
43776 doing symbol dependency testing.
43778 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
43780 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43781 Always define `refsym'.
43783 2011-09-13 Andreas Schwab <schwab@redhat.com>
43785 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
43786 (__FD_ELT): Renamed from __FDELT.
43787 * misc/bits/select2.h (__FD_ELT): Likewise.
43788 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
43789 __FD_MASK instead of __FDELT, __FDMASK.
43790 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
43792 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
43795 * elf/Makefile (gen-ldd): Fix pattern.
43797 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
43798 (init_tls): Likewise.
43800 2011-09-12 Ulrich Drepper <drepper@gmail.com>
43802 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
43804 2011-09-12 Andreas Schwab <schwab@redhat.com>
43806 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
43807 `struct cmsghdr *' instead of `void *'.
43808 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
43811 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
43813 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
43815 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
43816 ldd_rewrite_script.
43818 2011-09-11 Ulrich Drepper <drepper@gmail.com>
43820 * configure.in: Remove --with-tls option.
43821 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
43822 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
43823 out in case it is missing.
43824 * sysdeps/ia64/elf/configure.in: Likewise.
43825 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
43826 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
43827 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
43828 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
43829 * sysdeps/sh/elf/configure.in: Likewise.
43830 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
43831 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
43832 * sysdeps/x86_64/elf/configure.in: Likewise.
43833 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
43834 * sysdeps/mach/hurd/tls.h: Likewise.
43837 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
43840 * configure.in: Fix use of AC_INIT.
43842 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
43844 2011-09-10 Ulrich Drepper <drepper@gmail.com>
43846 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
43848 * malloc/hooks.c: Likewise.
43851 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
43852 variables statically.
43853 (narenas): Initialize.
43854 (list_lock): Initialize.
43855 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
43856 initializtion of main_arena and list_lock. Small cleanups.
43857 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
43858 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
43859 Add initializers to main_arena and mp_.
43860 (malloc_state): Remove pagesize member. Change all users to use
43863 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
43864 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
43865 is always initialized.
43867 * malloc/malloc.c: Removed unused configurations and dead code.
43868 * malloc/arena.c: Likewise.
43869 * malloc/hooks.c: Likewise.
43870 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
43872 * include/tls.h: Removed. USE___THREAD must always be defined.
43873 * bits/libc-tsd.h: Don't handle !USE___THREAD.
43874 * elf/dl-libc.c: Likewise.
43875 * elf/dl-tsd.c: Likewise.
43876 * include/errno.h: Likewise.
43877 * include/netdb.h: Likewise.
43878 * include/resolv.h: Likewise.
43879 * inet/herrno-loc.c: Likewise.
43880 * inet/herrno.c: Likewise.
43881 * malloc/arena.c: Likewise.
43882 * malloc/hooks.c: Likewise.
43883 * malloc/malloc.c: Likewise.
43884 * resolv/res-state.c: Likewise.
43885 * resolv/res_libc.c: Likewise.
43886 * sysdeps/i386/dl-machine.h: Likewise.
43887 * sysdeps/ia64/dl-machine.h: Likewise.
43888 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
43889 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
43890 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
43891 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
43892 * sysdeps/sh/dl-machine.h: Likewise.
43893 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
43894 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
43895 * sysdeps/unix/i386/sysdep.S: Likewise.
43896 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43897 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
43898 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
43899 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
43900 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
43901 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
43902 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
43903 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43904 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43905 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
43906 * sysdeps/unix/x86_64/sysdep.S: Likewise.
43907 * sysdeps/x86_64/dl-machine.h: Likewise.
43908 * tls.make.c: Likewise.
43910 * configure.in: Remove --with-__thread option. Make tests for
43911 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
43912 tls_model attribute fail if no support is available. Remove
43914 * Makeconfig: Adjust for dropped configure option. All features are
43916 * Makerules: Likewise.
43917 * Versions.def: Likewise.
43918 * argp/argp-fmtstream.c: Likewise.
43919 * argp/argp-fmtstream.h: Likewise.
43920 * argp/argp-help.c: Likewise.
43921 * assert/assert.c: Likewise.
43922 * config.h.in: Likewise.
43923 * config.make.in: Likewise.
43924 * configure: Likewise.
43925 * configure.in: Likewise.
43926 * csu/Versions: Likewise.
43927 * csu/init.c: Likewise.
43928 * elf/tst-audit2.c: Likewise.
43929 * elf/tst-tls10.c: Likewise.
43930 * elf/tst-tls10.h: Likewise.
43931 * elf/tst-tls11.c: Likewise.
43932 * elf/tst-tls12.c: Likewise.
43933 * elf/tst-tls14.c: Likewise.
43934 * elf/tst-tlsmod11.c: Likewise.
43935 * elf/tst-tlsmod12.c: Likewise.
43936 * elf/tst-tlsmod13.c: Likewise.
43937 * elf/tst-tlsmod13a.c: Likewise.
43938 * elf/tst-tlsmod14a.c: Likewise.
43939 * elf/tst-tlsmod15b.c: Likewise.
43940 * elf/tst-tlsmod16a.c: Likewise.
43941 * elf/tst-tlsmod16b.c: Likewise.
43942 * elf/tst-tlsmod7.c: Likewise.
43943 * elf/tst-tlsmod8.c: Likewise.
43944 * elf/tst-tlsmod9.c: Likewise.
43945 * gmon/gmon.c: Likewise.
43946 * grp/fgetgrent_r.c: Likewise.
43947 * grp/putgrent.c: Likewise.
43948 * hurd/fopenport.c: Likewise.
43949 * include/libc-symbols.h: Likewise.
43950 * include/tls.h: Likewise.
43951 * intl/gettextP.h: Likewise.
43952 * intl/loadinfo.h: Likewise.
43953 * locale/global-locale.c: Likewise.
43954 * locale/localeinfo.h: Likewise.
43955 * mach/devstream.c: Likewise.
43956 * malloc/arena.c: Likewise.
43957 * malloc/set-freeres.c: Likewise.
43958 * misc/err.c: Likewise.
43959 * misc/getttyent.c: Likewise.
43960 * misc/mntent_r.c: Likewise.
43961 * posix/getopt.c: Likewise.
43962 * posix/wordexp.c: Likewise.
43963 * pwd/fgetpwent_r.c: Likewise.
43964 * resolv/Versions: Likewise.
43965 * resolv/res_hconf.c: Likewise.
43966 * shadow/fgetspent_r.c: Likewise.
43967 * shadow/putspent.c: Likewise.
43968 * stdio-common/printf_fphex.c: Likewise.
43969 * stdio-common/tmpfile.c: Likewise.
43970 * stdlib/abort.c: Likewise.
43971 * stdlib/fmtmsg.c: Likewise.
43972 * sunrpc/auth_unix.c: Likewise.
43973 * sunrpc/clnt_perr.c: Likewise.
43974 * sunrpc/clnt_tcp.c: Likewise.
43975 * sunrpc/clnt_udp.c: Likewise.
43976 * sunrpc/clnt_unix.c: Likewise.
43977 * sunrpc/openchild.c: Likewise.
43978 * sunrpc/svc_simple.c: Likewise.
43979 * sunrpc/svc_tcp.c: Likewise.
43980 * sunrpc/svc_udp.c: Likewise.
43981 * sunrpc/svc_unix.c: Likewise.
43982 * sunrpc/xdr.c: Likewise.
43983 * sunrpc/xdr_array.c: Likewise.
43984 * sunrpc/xdr_rec.c: Likewise.
43985 * sunrpc/xdr_ref.c: Likewise.
43986 * sunrpc/xdr_stdio.c: Likewise.
43988 2011-09-09 Ulrich Drepper <drepper@gmail.com>
43990 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43992 2011-07-03 Andreas Jaeger <aj@suse.de>
43994 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
43995 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
43996 regenerate with gen-libm-tests.pl.
43998 2010-05-12 Petr Baudis <pasky@suse.cz>
44001 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
44002 around j0() zero points by switching to j1().
44003 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44004 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44005 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44006 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44008 2011-09-09 Ulrich Drepper <drepper@gmail.com>
44010 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
44012 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
44014 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44015 Patch in part by Pavel Roskin <proski@gnu.org>.
44018 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
44020 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
44021 Free memory block if necessary.
44024 * libio/genops.c (INTDEF): For string streams the _lock pointer can
44025 be NULL. Don't lock in this case.
44027 2011-09-09 Roland McGrath <roland@hack.frob.com>
44029 * elf/elf.h (ELFOSABI_GNU): New macro.
44030 (ELFOSABI_LINUX): Define to that.
44032 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
44034 * string/strncat.c (strncat): Undef the symbol in case it has been
44035 defined in bits/string.h.
44037 2011-09-09 Ulrich Drepper <drepper@gmail.com>
44039 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
44041 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
44044 2011-08-17 Andreas Jaeger <aj@suse.de>
44046 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
44048 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
44049 Ian Lance Taylor <iant@google.com>
44051 * math/libm-test.inc (lround_test): New testcase.
44052 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
44054 2011-09-08 Ulrich Drepper <drepper@gmail.com>
44056 * Makefile: Remove support for automatic cvs check-ins.
44057 * Makerules: Likewise.
44058 * config.make.in: Likewise.
44059 * configure.in: Likewise.
44060 * intl/Makefile: Likewise.
44061 * locale/Makefile: Likewise.
44062 * po/Makefile: Likewise.
44063 * posix/Makefile: Likewise.
44064 * sysdeps/gnu/Makefile: Likewise.
44065 * sysdeps/mach/hurd/Makefile: Likewise.
44066 * sysdeps/sparc/sparc32/Makefile: Likewise.
44069 * posix/Makefile (bug-regex32-ENV): Define.
44070 Patch by John Stanley <jpsinthemix@verizon.net>.
44072 * misc/Makefile (headers): Add bits/select2.h.
44073 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
44074 * misc/bits/select2.h: New file.
44075 * include/bits/select2.h: New file.
44076 * debug/Makefile (routines): Add fdelt_chk.
44077 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
44078 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
44080 * debug/fdelt_chk.c: New file.
44082 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
44083 * wcsmbs/test-wmemcmp.c: Likewise.
44084 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
44085 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
44087 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44089 * string/Makefile (strop-tests): Add memcmp.
44090 * string/test-wmemcmp.c: New file.
44091 * string/test-memcmp.c: Add wmemcmp support.
44093 2011-09-08 Roland McGrath <roland@hack.frob.com>
44096 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
44099 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
44100 garbage value in a __mach_port_mod_refs call in the cases of the
44101 task-self and thread-self ports.
44103 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
44105 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
44107 2011-09-08 Andreas Schwab <schwab@redhat.com>
44109 * elf/dl-load.c (lose): Check for non-null L.
44111 2011-09-07 Ulrich Drepper <drepper@gmail.com>
44113 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
44115 * elf/dl-libc.c (dlerror_run): Pass back error code from
44119 * elf/dl-load.c (lose): Free l_origin if it is valid.
44121 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
44123 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
44124 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44125 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44126 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44127 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
44128 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
44130 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44132 * sysdeps/powerpc/fpu/e_hypot.c: New file.
44133 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
44134 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
44135 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
44136 * sysdeps/powerpc/fpu/k_cosf.c: New file.
44137 * sysdeps/powerpc/fpu/k_sinf.c: New file.
44138 * sysdeps/powerpc/fpu/s_cosf.c: New file.
44139 * sysdeps/powerpc/fpu/s_sinf.c: New file.
44140 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
44141 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
44143 2011-08-15 Alan Modra <amodra@gmail.com>
44146 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
44147 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
44148 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
44149 ppc_mcount to static-only-routines.
44150 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
44152 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
44153 __mcount_internal with usual JUMPTARGET. Remove useless nop.
44155 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
44157 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
44158 for finite and infinity parameters.
44160 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
44162 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
44163 and add nop instructions for throughput optimization.
44164 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44166 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
44168 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
44169 aligned copy for power7 with vector-scalar instructions.
44170 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
44172 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
44174 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
44177 2011-09-07 Andreas Schwab <schwab@redhat.com>
44180 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
44183 2011-09-07 Ulrich Drepper <drepper@gmail.com>
44185 * sysdeps/unix/sysv/linux/x86_64/init-first.c
44186 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
44187 syscall wrapper around clock_gettime in __vdso_clock_gettime.
44188 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
44191 2011-09-06 Ulrich Drepper <drepper@gmail.com>
44193 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
44194 Forgot to demangle the pointer.
44196 * sysdeps/i386/sysdep.h: Define atom_text_section.
44197 * sysdeps/x86_64/sysdep.h: Likewise.
44198 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
44199 section with atom_text_section.
44200 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44201 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44202 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
44203 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
44204 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
44206 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
44207 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
44208 already be defined. Change to take two parameters and don't assign
44209 result to variable. Adjust all users.
44210 Define INTERNAL_GETTIME if not already defined.
44211 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
44213 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
44214 HAVE_CLOCK_GETTIME_VSYSCALL.
44215 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
44217 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
44218 gettimeofday vsyscall, just use time.
44220 2011-09-06 Andreas Schwab <schwab@redhat.com>
44222 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
44225 2011-09-06 Ulrich Drepper <drepper@gmail.com>
44227 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
44229 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
44231 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
44232 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
44233 syscall if possible.
44235 2011-09-05 Ulrich Drepper <drepper@gmail.com>
44237 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
44238 e_ident. Don't pass to find_mapsXX.
44239 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
44241 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44243 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44244 strchr-sse2-no-bsf strrchr-sse2-no-bsf
44245 * sysdeps/x86_64/multiarch/strchr.S: Update.
44246 Check bit_slow_BSF bit.
44247 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
44248 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
44249 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
44251 2011-09-05 Ulrich Drepper <drepper@gmail.com>
44254 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
44256 (tryshell): Define.
44257 (__spawni): Change last parameter to be flag. Test
44258 SPAWN_XFLAGS_USE_PATH flag to use path or not.
44259 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
44260 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
44261 * posix/spawni.c: Likewise.
44262 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
44263 * posix/spawnp.c: Likewise. Change normal version to use
44264 SPAWN_XFLAGS_USE_PATH.
44265 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
44266 SPAWN_XFLAGS_TRY_SHELL.
44269 * posix/glob.h: Remove gcc 1.x support.
44272 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
44274 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44276 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44277 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
44279 * sysdeps/i386/i686/multiarch/strchr.S: New file.
44280 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
44281 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
44282 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
44283 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
44284 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
44286 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44288 * sysdeps/x86_64/wcscmp.S: New file.
44290 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
44291 wcscmp-c wcscmp-sse2
44292 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
44293 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
44294 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
44295 * wcsmbs/wcscmp.c: Allow renaming.
44297 2011-09-05 David S. Miller <davem@davemloft.net>
44299 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
44300 stack slot, rather than the struct return pointer slot.
44301 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
44302 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
44303 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
44304 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
44306 2011-09-05 Ulrich Drepper <drepper@gmail.com>
44308 * po/ja.po: Update from translation team.
44311 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
44312 kernel in 64-bit binaries.
44314 2011-09-01 David S. Miller <davem@davemloft.net>
44316 * elf/elf.h (HWCAP_SPARC_*): Move to..
44317 * sysdeps/sparc/sysdep.h: this new file and add new values.
44318 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
44319 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
44320 _DL_HWCAP_COUNT to 24.
44321 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
44323 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
44324 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
44325 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
44326 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
44327 instead of magic constants.
44328 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44330 2011-08-31 David S. Miller <davem@davemloft.net>
44332 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
44333 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
44334 Reimplement to do errno handling inline.
44335 (SYSCALL_ERROR_HANDLER): New macro.
44336 (__SYSCALL_STRING): Do not do errno handling in asm.
44337 (__CLONE_SYSCALL_STRING): Delete.
44338 (__INTERNAL_SYSCALL_STRING): Delete.
44339 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
44340 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
44341 (PSEUDO): Reimplement to do errno handling inline.
44342 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
44343 (SYSCALL_ERROR_HANDLER): New macro.
44344 (__SYSCALL_STRING): Do not do errno handling in asm.
44345 (__CLONE_SYSCALL_STRING): Delete.
44346 (__INTERNAL_SYSCALL_STRING): Delete.
44347 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
44348 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
44350 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
44351 (inline_syscall*): Add 'err' argument.
44352 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
44353 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
44354 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
44355 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
44357 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
44358 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
44360 2011-08-30 Andreas Schwab <schwab@redhat.com>
44362 * elf/rtld.c (dl_main): Relocate objects in dependency order.
44364 2011-08-29 Jiri Olsa <jolsa@redhat.com>
44366 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
44369 2011-08-24 David S. Miller <davem@davemloft.net>
44371 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
44373 2011-08-24 Andreas Schwab <schwab@redhat.com>
44375 * elf/Makefile: Add rules to build and run unload8 test.
44376 * elf/unload8.c: New file.
44377 * elf/unload8mod1.c: New file.
44378 * elf/unload8mod1x.c: New file.
44379 * elf/unload8mod2.c: New file.
44380 * elf/unload8mod3.c: New file.
44382 * elf/dl-close.c (_dl_close_worker): Reset private search list if
44385 2011-08-23 David S. Miller <davem@davemloft.net>
44387 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
44388 subtract stack bias.
44389 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
44390 %sp not %fp in calculations.
44391 (_JMPBUF_UNWINDS_ADJ): Likewise.
44393 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
44394 (aio_suspend): Call it to force an exception region around the
44395 AIO_MISC_WAIT() invocation.
44397 2011-08-23 Andreas Schwab <schwab@redhat.com>
44399 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
44402 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
44404 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
44406 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
44407 and <dl-machine.h>.
44408 (Elf64_FuncDesc): Remove.
44410 2011-08-22 David S. Miller <davem@davemloft.net>
44412 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
44413 sigaltstack check, add missing cfi directives.
44414 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
44415 missing cfi directives, and sigaltstack handling.
44417 2011-08-16 Andreas Schwab <schwab@redhat.com>
44420 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
44421 object is seen twice.
44422 * elf/dl-fini.c (_dl_sort_fini): Likewise.
44424 * elf/Makefile (distribute): Add tst-initorder2.c.
44425 (tests): Add tst-initorder2.
44426 (modules-names): Add tst-initorder2a tst-initorder2b
44427 tst-initorder2c tst-initorder2d. Add rules to build them.
44428 ($(objpfx)tst-initorder2.out): New rule.
44429 * elf/tst-initorder2.c: New file.
44430 * elf/tst-initorder2.exp: New file.
44432 2011-08-22 Andreas Schwab <schwab@redhat.com>
44434 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
44436 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
44437 dependencies back to end of function.
44439 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
44440 $(elfobjdir)/ld.so.
44442 2011-08-21 Ulrich Drepper <drepper@gmail.com>
44444 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
44445 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
44446 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
44447 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
44448 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
44449 of __vdso_gettimeofday.
44450 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
44451 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
44453 (_libc_vdso_platform_setup): Remove initialization of
44454 __vdso_gettimeofday and __vdso_time.
44456 2011-08-20 Ulrich Drepper <drepper@gmail.com>
44458 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
44459 and fgetc_unlocked.
44460 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
44463 * elf/dl-open.c (add_to_global): Report additions to the global scope
44464 for LD_DEBUG=scopes.
44465 (dl_open_worker): Also print scope of newly loaded dependencies.
44466 (_dl_show_scope): Indicate if there is no scope.
44469 * stdio-common/Makefile (tests): Add bug24.
44470 * stdio-common/bug24.c: New file.
44472 2011-08-19 Andreas Jaeger <aj@suse.de>
44475 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
44476 non-existant file when using close-on-exec mode.
44478 2011-08-20 Ulrich Drepper <drepper@gmail.com>
44480 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
44481 the very first instruction.
44483 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
44484 the CFI state in the end.
44485 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
44486 inclusion of dl-trampoline.h.
44487 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
44489 2011-08-19 Andreas Schwab <schwab@redhat.com>
44491 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
44492 expectations for long double.
44494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
44495 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
44497 2011-08-14 David S. Miller <davem@davemloft.net>
44499 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
44500 artificual limit depends upon the system page size.
44502 2011-08-17 Ulrich Drepper <drepper@gmail.com>
44504 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
44505 * resolv/Makefile: Define CFLAGS-libresolv.
44507 2011-08-17 Andreas Schwab <schwab@redhat.com>
44509 * nss/makedb.c (compute_tables): Make variables used in nested
44512 2011-08-17 Ulrich Drepper <drepper@gmail.com>
44514 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
44515 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
44516 if buffer was too small.
44518 * elf/pldd.c (main): Attach to all threads in the process.
44519 Rewrite /proc handling to use *at functions.
44521 2011-08-16 Ulrich Drepper <drepper@gmail.com>
44523 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
44524 specifies first scope to show.
44525 (dl_open_worker): Update callers. Move printing scope of new
44526 object to before the relocation.
44527 * elf/rtld.c (dl_main): Update _dl_show_scope call.
44528 * sysdeps/generic/ldsodefs.h: Update declaration.
44530 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
44531 string for the scope number.
44533 2011-08-14 Ulrich Drepper <drepper@gmail.com>
44535 * nscd/servicescache.c (cache_addserv): Make sure written is always
44538 2011-08-14 Roland McGrath <roland@hack.frob.com>
44540 * sysdeps/i386/i486/bits/atomic.h
44541 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
44542 statement expression, so as to suppress "set but not used" warning.
44543 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
44545 * string/strncat.c (STRNCAT): Use prototype definition.
44547 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
44548 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
44550 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
44551 (localedef-modules): Add localedef.
44552 (locale-modules): Add locale.
44554 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
44555 * elf/rtld.c (dl_main): Invert order of assignment in last change,
44556 to avoid a warning.
44558 2011-08-14 David S. Miller <davem@davemloft.net>
44560 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
44561 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
44563 2011-08-13 Ulrich Drepper <drepper@gmail.com>
44565 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
44566 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
44567 * elf/rtld.c (dl_main): Set l_name of vDSO.
44568 Call _dl_show_scope when DL_DEBUG_SCOPES.
44569 (process_dl_debug): Recognize scopes flag and also set it for all.
44570 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
44571 Declare _dl_show_scope.
44573 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
44574 (do_dlopen): Pass caller_dlopen to dl_open.
44575 (__libc_dlopen_mode): Initialize caller_dlopen.
44577 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
44578 of libc. Make tolower call locale-independent. Optimize a bit by
44579 using isdigit instead of isalnum.
44580 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
44582 2011-08-12 Ulrich Drepper <drepper@gmail.com>
44584 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
44585 was a dependency or dynamically loaded.
44587 2011-08-11 Ulrich Drepper <drepper@gmail.com>
44589 * intl/l10nflist.c: Allow architecture-specific pop function.
44590 * sysdeps/x86_64/l10nflist.c: New file.
44592 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
44595 2011-08-10 Andreas Schwab <schwab@redhat.com>
44597 * include/dirent.h: Add libc_hidden_proto for scandirat and
44598 scandirat64. Don't declare __scandirat64.
44599 * dirent/scandirat.c: Add libc_hidden_def.
44600 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
44601 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
44603 2011-08-10 David S. Miller <davem@davemloft.net>
44605 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
44607 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44608 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44609 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44611 2011-08-09 Ulrich Drepper <drepper@gmail.com>
44613 * Versions.def [libc]: Add GLIBC_2.15.
44614 * dirent/Makefile (routines): Add scandirat and scandirat64.
44615 * dirent/Versions [libc]: Export scandirat and scandirat64 for
44617 * dirent/dirent.h: Declare scandirat and scandirat64.
44618 * dirent/scandirat.c: New file.
44619 * dirent/scandirat64.c: New file.
44620 * sysdeps/wordsize-64/scandirat.c: New file.
44621 * sysdeps/wordsize-64/scandirat64.c: New file.
44622 * dirent/opendir.c: Define opendirat.
44623 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
44625 * dirent/scandir64.c: Adjust for scandir.c change.
44626 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
44627 __scandirat64, and __scandir_cancel_handler.
44628 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
44629 additional parameter and use openat instead of open (outside of ld.so).
44630 Add new __opendir as wrapper around __opendirat.
44631 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
44632 here without requiring old scandirat implementation.
44634 2011-08-08 Ulrich Drepper <drepper@gmail.com>
44636 * dirent/scandir.c (cancel_handler): Renamed to
44637 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
44638 defined. Adjust users.
44639 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
44640 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
44642 2011-08-04 Ulrich Drepper <drepper@gmail.com>
44644 * string/test-string.h (IMPL): Use __STRING to expand name and then
44647 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
44650 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44652 * string/Makefile: Update.
44653 (strop-tests): Append strncat.
44654 * string/test-wcscmp.c: New file.
44655 New comprehensive test for wcscmp.
44656 * string/test-strcmp.c: Update.
44657 (WIDE): New define.
44659 2011-07-22 Andreas Schwab <schwab@redhat.com>
44661 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
44664 2011-07-26 Andreas Schwab <schwab@redhat.com>
44666 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
44667 encoding to ACE if AI_IDN.
44669 2011-08-01 Jakub Jelinek <jakub@redhat.com>
44671 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
44672 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
44674 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44676 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
44677 Fix overflow bug in strncat.
44678 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
44680 * string/test-strncat.c: Update.
44681 Add new tests for checking overflow bugs.
44683 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44685 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44686 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
44687 * sysdeps/i386/i686/multiarch/strcat.S: New file.
44688 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
44689 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
44690 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
44691 * sysdeps/i386/i686/multiarch/strncat.S: New file.
44692 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
44693 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
44695 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
44696 (USE_AS_STRCAT): Define.
44697 Add strcat and strncat support.
44698 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44700 2011-07-25 Andreas Schwab <schwab@redhat.com>
44702 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
44703 __n bigger than INT_MAX+1.
44704 (__strncmp_g): Likewise.
44706 2011-07-23 Ulrich Drepper <drepper@gmail.com>
44708 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
44709 * libio/stido.h: Likewise.
44711 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
44713 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
44716 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
44717 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44718 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44719 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
44720 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44723 * scripts/test-installation.pl: Don't expect libnss_test1 to be
44726 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
44728 (_dl_x86_64_save_sse): Likewise.
44730 2011-07-22 Ulrich Drepper <drepper@gmail.com>
44732 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
44734 (_dl_x86_64_save_sse): Likewise.
44736 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
44738 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
44740 2011-07-21 Andreas Schwab <schwab@redhat.com>
44742 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
44744 (_dl_x86_64_save_sse): Use correct AVX check.
44746 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44748 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
44749 bug in strncpy/strncat.
44750 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
44752 2011-07-21 Ulrich Drepper <drepper@gmail.com>
44754 * string/tester.c (test_strcat): Add tests for different alignments
44755 of source and destination.
44756 (test_strncat): Likewise.
44758 2011-07-20 Ulrich Drepper <drepper@gmail.com>
44761 * posix/glob.c (glob): Check passed in values before using them in
44762 expressions to avoid some overflows.
44763 (glob_in_dir): Likewise.
44766 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
44767 check for AVX enablement so that we don't crash with old kernels and
44769 * elf/tst-audit4.c: Add same checks here.
44770 * elf/tst-audit6.c: Likewise.
44772 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
44774 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
44776 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
44778 2011-07-20 Ulrich Drepper <drepper@gmail.com>
44780 * po/cs.po: Update from translation team.
44781 * po/bg.po: Likewise.
44783 2011-07-12 Marek Polacek <mpolacek@redhat.com>
44785 * misc/sys/cdefs.h: Add support for const attribute.
44786 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
44787 to gnu_dev_{major,minor,makedev} functions.
44789 2011-07-20 Marek Polacek <mpolacek@redhat.com>
44791 * intl/dcigettext.c (get_output_charset): Add missing bracket.
44793 2011-07-20 Andreas Schwab <schwab@redhat.com>
44795 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
44798 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44800 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
44801 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
44802 register in order to avoid conflicts with the soft frame pointer
44803 being held in r11 when necessary.
44804 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
44805 (INTERNAL_VSYSCALL_NCS): Likewise.
44807 2011-07-14 Marek Polacek <mpolacek@redhat.com>
44809 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
44810 * elf/dl-fini.c (_dl_fini): Adjust caller.
44811 * elf/dl-close.c (_dl_close_worker): Likewise.
44812 * sysdeps/generic/ldsodefs.h: Adjust declaration.
44814 2011-07-15 Marek Polacek <mpolacek@redhat.com>
44816 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
44817 "aux_cache->nlibs < 0".
44819 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
44820 in the reload-count case.
44822 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44824 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44825 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
44826 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
44827 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
44828 * sysdeps/x86_64/multiarch/strcat.S: New file.
44829 * sysdeps/x86_64/multiarch/strncat.S: New file.
44830 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
44831 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
44832 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
44833 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
44834 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
44835 (USE_AS_STRCAT): Define.
44836 Add strcat and strncat support.
44837 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
44838 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
44839 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
44840 * string/strncat.c: Update.
44841 (USE_AS_STRNCAT): Define.
44842 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44843 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
44845 * sysdeps/x86_64/multiarch/init-arch.h
44846 (bit_Prefer_PMINUB_for_stringop): New.
44847 (index_Prefer_PMINUB_for_stringop): Likewise.
44848 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
44849 bit_Prefer_PMINUB_for_stringop.
44851 2011-07-19 Ulrich Drepper <drepper@gmail.com>
44853 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
44855 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
44856 of casting of buffer.
44857 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
44858 buffer32 and buffer64.
44859 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
44860 writes instead of casting of buffer.
44861 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
44863 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
44866 2011-07-19 Andreas Schwab <schwab@redhat.com>
44868 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
44870 2011-07-19 Ulrich Drepper <drepper@gmail.com>
44872 * nscd/nscd.c (termination_handler): Don't do anything for a database
44873 if it has not yet been initialized.
44875 2011-07-18 Ulrich Drepper <drepper@gmail.com>
44877 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
44879 2011-07-15 Marek Polacek <mpolacek@redhat.com>
44881 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
44883 2011-07-18 Ulrich Drepper <drepper@gmail.com>
44885 * po/nl.po: Update from translation team.
44886 * po/sv.po: Likewise.
44888 2011-07-16 Roland McGrath <roland@hack.frob.com>
44890 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
44891 now disallowed by GCC.
44893 * configure.in (use-default-link): Default to yes if a test -shared
44894 link meets our qualifications.
44895 * configure: Regenerated.
44897 * config.make.in (output-format): New variable.
44898 * configure.in: Check for ld --print-output-format support.
44899 * configure: Regenerated.
44900 * Makerules ($(common-objpfx)format.lds)
44901 [$(output-format) != unknown]: Just use $(output-format),
44902 instead of the linker-script munging.
44904 2011-07-14 Roland McGrath <roland@hack.frob.com>
44906 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
44907 of $(common-objpfx)shlib.lds.
44908 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
44910 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
44911 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
44913 * configure.in (-z relro check): Adjust test code to add a large
44914 writable data section after it.
44915 * configure: Regenerated.
44917 2011-07-11 Roland McGrath <roland@hack.frob.com>
44919 * configure.in (-z relro check): Fix test code to make the variable
44921 * configure: Regenerated.
44923 2011-07-11 Ulrich Drepper <drepper@gmail.com>
44925 * nscd/nscd.h (struct traced_file): Define.
44926 (struct database_dyn): Remove inotify_descr, reset_res, and filename
44927 elements. Add traced_files.
44928 (inotify_fd): Declare.
44929 (register_traced_file): Declare.
44930 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
44931 (inotify_fd): Export.
44932 (resolv_conf_descr): Remove.
44933 (nscd_init): Move inotify descriptor creation to main.
44934 Don't register files for notification here.
44935 (register_traced_file): New function.
44936 (invalidate_cache): Don't use reset_res to determine whether to call
44937 res_init, go through the list of registered files.
44938 (main_loop_poll): The inotify descriptors are now stored in the
44939 structures for the traced files.
44940 (main_loop_epoll): Likewise
44941 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
44942 to __nss_disable_nscd.
44943 * nscd/cache.c (prune_cache): There is no single inotify descriptor
44944 for a database anymore. Check the records for all the registered
44946 * nss/Makefile (libnss_files-routines): Add files-init.
44947 (libnss_db-routines): Add db-init.
44948 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
44949 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
44950 * nss/nss_db/db-init.c: New file.
44951 * nss/nss_files/files-init.c: New file.
44952 * nss/nsswitch.c (nss_load_library): New function. Broken out of
44953 __nss_lookup_function.
44954 (__nss_lookup_function): Call nss_load_library.
44955 (nss_load_all_libraries): New function.
44956 (__nss_disable_nscd): Take parameter with callback function for files
44957 to register. Set is_nscd. Load all the DSOs for the NSS modules
44958 used for the cached services.
44959 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
44960 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
44961 options for features to all the files in nscd.
44963 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
44965 2011-07-10 Roland McGrath <roland@hack.frob.com>
44967 * csu/elf-init.c (__libc_csu_init): Comment typo.
44969 2011-07-09 Ulrich Drepper <drepper@gmail.com>
44971 * po/pl.po: Update from translation team.
44972 * po/ja.po: Likewise.
44973 * po/ru.po: Likewise.
44974 * po/ko.po: Likewise.
44975 * po/fr.po: Likewise.
44977 2011-07-09 Roland McGrath <roland@hack.frob.com>
44979 * configure.in (.ctors/.dtors header and trailer check):
44980 Use an empirical test on a built program.
44981 * configure: Regenerated.
44983 * configure.in (-z relro check): Use an empirical test on a built DSO.
44984 Detect, but do not require, on ia64.
44985 * configure: Regenerated.
44987 * configure.in (READELF): Find it with AC_CHECK_TOOL.
44988 Update tests that use readelf to use $READELF instead.
44989 * configure: Regenerated.
44991 2011-07-08 Ulrich Drepper <drepper@gmail.com>
44993 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
44994 if the result is not used.
44996 2011-07-05 Andreas Jaeger <aj@suse.de>
44999 * stdlib/tst-strtod.c: Add testcase.
45001 2011-07-07 Ulrich Drepper <drepper@gmail.com>
45003 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
45004 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
45005 The latter has a higher limit. Take additional parameter to pass to
45007 (__pathconf): Pass file to __statfs_link_max.
45008 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
45010 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
45014 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
45015 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45017 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
45018 (__statfs_filesize_max): Likewise.
45019 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
45021 2011-07-05 Andreas Jaeger <aj@suse.de>
45023 * resolv/res_comp.c (dn_skipname): Remove unused variable.
45025 2011-07-06 Marek Polacek <mpolacek@redhat.com>
45027 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
45029 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
45032 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
45034 * Makefile (strop-tests): Add strncat.
45035 * string/test-strncat.c: New file.
45037 2011-06-30 Marek Polacek <mpolacek@redhat.com>
45039 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
45041 2011-06-21 Andreas Jaeger <aj@suse.de>
45043 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
45044 Copy rule from iconvdata/Makefile.
45046 2011-07-06 Ulrich Drepper <drepper@gmail.com>
45049 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
45050 but no long options are defined, just return 'W'.
45052 2011-06-22 Marek Polacek <mpolacek@redhat.com>
45055 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
45057 2011-07-06 Ulrich Drepper <drepper@gmail.com>
45059 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
45061 (innetgr): Likewise.
45063 2011-07-05 Roland McGrath <roland@hack.frob.com>
45065 * config.make.in (install_root): Default to $(DESTDIR).
45067 2011-07-05 Ulrich Drepper <drepper@gmail.com>
45069 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
45071 2011-07-02 Roland McGrath <roland@hack.frob.com>
45073 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
45075 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
45076 containing directory rather than embedding absolute directory names.
45078 * scripts/check-local-headers.sh: Rewritten using awk.
45079 Match by word, not by line. Print error messages for matches.
45080 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
45082 * Makerules [shlib-lds-flags empty]:
45083 ($(common-objpfx)libc_pic.opts): New target.
45084 ($(common-objpfx)libc_pic.os.clean): New target.
45085 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
45087 * config.make.in (OBJCOPY): New variable.
45088 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
45089 * configure: Regenerated.
45091 * config.make.in (use-default-link): New variable.
45092 * configure.in (use_default_link): Grok --with-default-link to set it.
45093 * configure: Regenerated.
45094 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
45095 (shlib-lds, shlib-lds-flags): Define to empty.
45097 * Makerules (shlib-lds): New variable.
45098 (shlib-lds-flags): New variable.
45099 (build-shlib, build-moduile, build-module-asneeded): Use it.
45100 ($(common-objpfx)libc.so): Use $(shlib-lds).
45101 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
45102 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
45104 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
45105 DT_FLAGS/DT_FLAGS_1 with zero flags.
45107 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
45108 linker script munging.
45110 2011-07-02 Ulrich Drepper <drepper@gmail.com>
45112 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
45114 * crypt/sha512.c (sha512_process_block): Perform total addition using
45115 128-bit if possible.
45116 (__sha512_finish_ctx): Likewise.
45117 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
45119 * crypt/sha256.c (SWAP64): Define.
45120 (sha256_process_block): Perform total addition using 64-bit if
45122 (__sha256_finish_ctx): Likewise.
45124 2011-07-01 Ulrich Drepper <drepper@gmail.com>
45126 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
45127 * nscd/initgrcache.c (addinitgroupsX): Likewise.
45128 * nscd/hstcache.c (cache_addhst): Likewise.
45129 * nscd/grpcache.c (cache_addgr): Likewise.
45130 * nscd/aicache.c (addhstaiX): Likewise
45131 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
45133 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
45135 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
45136 * nscd/initgrcache.c (addinitgroupsX): Likewise.
45137 * nscd/hstcache.c (cache_addhst): Likewise.
45138 * nscd/grpcache.c (cache_addgr): Likewise.
45139 * nscd/aicache.c (addhstaiX): Likewise
45141 2011-07-01 Andreas Schwab <schwab@redhat.com>
45143 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
45144 domain only when needed.
45146 2011-06-30 Andreas Schwab <schwab@redhat.com>
45148 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
45149 is always restored.
45151 2011-06-29 Ulrich Drepper <drepper@gmail.com>
45153 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
45154 are re-adding the entry.
45155 * nscd/servicescache.c (cache_addserv): Likewise.
45157 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
45159 * sysdeps/generic/dl-irel.h: fix protection against multiple
45161 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
45163 2011-06-28 Ulrich Drepper <drepper@gmail.com>
45166 * malloc/memusage.sh: Fix quoting in message.
45167 * debug/xtrace.sh: Likewise.
45169 * configure.in: Remove support for --experimental-malloc option, make
45171 * config.make.in: Likewise.
45172 * malloc/Makefile: Likewise.
45174 2011-06-27 Andreas Schwab <schwab@redhat.com>
45176 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
45177 two-byte characters.
45179 2011-06-27 Roland McGrath <roland@hack.frob.com>
45181 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
45182 AC_CACHE_CHECK invocation.
45183 * configure: Regenerated.
45185 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
45187 2011-06-27 Ulrich Drepper <drepper@gmail.com>
45190 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
45191 bit from old_res_options.
45193 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
45195 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
45196 value type for setfct.
45198 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
45200 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
45201 __gettimeofday instead of gettimeofday.
45203 2011-06-26 Ulrich Drepper <drepper@gmail.com>
45205 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
45207 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
45209 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
45211 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
45214 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
45216 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45217 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
45218 strcpy-sse2-unaligned strncpy-sse2-unaligned
45219 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
45220 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
45221 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
45222 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
45223 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
45224 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
45225 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
45226 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
45227 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
45228 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
45229 (STRCPY): Support SSE2 and SSSE3 versions.
45231 2011-06-24 Ulrich Drepper <drepper@gmail.com>
45234 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
45235 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
45236 kernels which artificially limit size of requests.
45238 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
45240 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45241 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
45242 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
45243 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
45244 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
45245 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
45246 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
45247 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
45248 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
45249 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
45250 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
45251 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
45252 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
45253 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
45254 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
45255 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45256 Enable unaligned load optimization for Intel Core i3, i5 and i7
45258 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
45260 (index_Fast_Unaligned_Load): Define.
45261 (HAS_FAST_UNALIGNED_LOAD): Define.
45263 2011-06-23 Marek Polacek <mpolacek@redhat.com>
45265 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
45267 2011-06-22 Ulrich Drepper <drepper@gmail.com>
45270 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
45271 until it is clear that the information is realy needed.
45272 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
45274 2011-06-22 Andreas Schwab <schwab@redhat.com>
45276 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
45278 2011-06-22 Ulrich Drepper <drepper@gmail.com>
45280 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
45281 /sys/devices/system/cpu/online if it is usable.
45283 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
45284 reading the information from the /proc filesystem to once a second.
45286 2011-06-21 Andreas Jaeger <aj@suse.de>
45288 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
45289 NULL after inclusion of kernel headers.
45291 2011-06-21 Ulrich Drepper <drepper@gmail.com>
45293 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
45294 calls to internal_setent.
45297 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
45298 addresses using gethostbyname4_r ignore IPv4 addresses.
45300 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
45301 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
45303 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
45305 2011-06-20 David S. Miller <davem@davemloft.net>
45307 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
45309 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
45311 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
45312 (elf_irel): Use it.
45313 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
45314 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
45315 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
45316 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
45317 * sysdeps/x86_64/dl-irel.h: Likewise.
45319 * elf/dl-runtime.c: Use elf_ifunc_invoke.
45320 * elf/dl-sym.c: Likewise.
45322 2011-06-15 Ulrich Drepper <drepper@gmail.com>
45324 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
45325 need to dereference resplen2.
45327 2011-06-14 Andreas Schwab <schwab@redhat.com>
45329 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
45331 2011-06-15 Ulrich Drepper <drepper@gmail.com>
45333 * Makeconfig: Define vardbdir and inst_vardbdir.
45334 * nss/Makefile: Add rules to install db-Makefile.
45336 * nss/nss_db/db-XXX.c: Cleanup.
45338 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
45339 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
45341 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
45342 * nss/makedb.c: Implement -g option to specify that value strings
45343 are generated and should not be added to table iterated over for
45345 * nss/nss_db/db-initgroups.c: New file.
45347 * nss/getent.c: Add support for initgroups lookups through getgrouplist
45350 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
45351 (internal_getgrouplist): Adjust to name change.
45352 Update use_initgroups_entry if this is not the first call.
45353 * nss/databases.def: Add initgroups entry.
45355 * nss/makedb.c (compute_tables): Check result of multiple hash table
45356 sizes to minimize maximum chain length.
45358 2011-06-14 Ulrich Drepper <drepper@gmail.com>
45360 * Versions.def: Add entry for libnss_db.
45361 * shlib-versions: Likewise.
45362 * nss/Makefile: Add rules to build libnss_db.
45363 * nss/Versions: Add libnss_db information. Organize libnss_files
45365 * nss/db-Makefile: Add gshadow support. Change rules for the new
45366 makedb progra. Some minor improvements to generate smaller files.
45367 * nss/nss_db/nss_db.h: Move NSS database header data structures to
45369 * nss/makedb.c: ...here.
45370 Improve database format to be smaller and require less memory at
45372 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
45374 * nss/nss_db/db-netgrp.c: Likewise.
45375 * nss/nss_db/db-open.c: Likewise.
45376 * nss/nss_files/flies-XXX.x: Adjust comments.
45377 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
45378 * nss/nss_files/files-grp.c: Likewise.
45379 * nss/nss_files/files-hosts.c: Likewise.
45380 * nss/nss_files/files-network.c: Likewise.
45381 * nss/nss_files/files-proto.c: Likewise.
45382 * nss/nss_files/files-pwd.c: Likewise.
45383 * nss/nss_files/files-rpc.c: Likewise.
45384 * nss/nss_files/files-service.c: Likewise.
45385 * nss/nss_files/files-sgrp.c: Likewise.
45386 * nss/nss_files/files-spwd.c: Likewise.
45387 * nss/nss_db/db-alias.c: Removed.
45388 * nss/nss_db/dummy-db.h: Removed.
45390 2011-06-02 Ulrich Drepper <drepper@gmail.com>
45392 * nss/makedb.c: Rewritten to not use database library.
45393 * nss/Makefile: Update to build new makedb program.
45395 2011-06-14 Andreas Jaeger <aj@suse.de>
45397 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
45398 memset declaration.
45400 2011-06-10 Andreas Schwab <schwab@redhat.com>
45402 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
45405 2011-06-10 Roland McGrath <roland@hack.frob.com>
45407 * Makerules (shlib.lds): Fail if the linker script comes out empty.
45408 * elf/Makefile ($(objpfx)ld.so): Likewise.
45410 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
45411 Don't list ld.so twice in dependencies.
45413 * posix/bug-regex31.c: Include <stdlib.h>.
45415 * nscd/hstcache.c (cache_addhst): Remove unused variable.
45417 * nis/nss_compat/compat-spwd.c
45418 (getspent_next_nss_netgr): Remove unused variable.
45419 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
45421 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
45422 nonmembers" output to use the right array.
45424 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
45426 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
45428 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
45429 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
45430 * catgets/gencat.c (read_input_file): Likewise.
45431 * locale/programs/locarchive.c (enlarge_archive): Likewise.
45433 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
45434 variable definition inside #if's controlling its use.
45436 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
45438 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
45440 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
45442 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
45445 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
45447 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
45448 * configure: Regenerated.
45450 * Makerules: Revert last change.
45451 * elf/Makefile: Likewise.
45453 2011-06-09 Roland McGrath <roland@hack.frob.com>
45455 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
45456 * elf/Makefile ($(objpfx)librtld.os): Likewise.
45457 (reloc-link): Likewise.
45459 2011-06-09 Ulrich Drepper <drepper@gmail.com>
45461 * elf/Makefile: Add rules to build pldd.
45462 * elf/pldd.c: New file.
45463 * elf/pldd-xx.c: New file.
45465 2011-06-07 Ulrich Drepper <drepper@gmail.com>
45467 * version.h: Update for 2.15 development version.
45469 2011-06-07 David S. Miller <davem@davemloft.net>
45471 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
45473 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
45474 elf_machine_lazy_rel): Likewise.
45475 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
45476 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
45477 elf_machine_lazy_rel): Likewise.
45478 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
45479 dl_hwcap via passed in argument.
45480 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
45483 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45485 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
45487 2011-06-06 Roland McGrath <roland@hack.frob.com>
45490 * manual/fdl-1.1.texi: New file, verbatim from:
45491 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
45492 * manual/lgpl-2.1.texi: New file, verbatim from:
45493 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
45494 * manual/Makefile (licenses): New variable, list those new file names.
45496 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
45498 * manual/fdl.texi: File removed.
45499 * manual/lesser.texi: File removed.
45500 * manual/libc.texinfo (Copying, Documentation License):
45501 Use new @include file names, put @appendix directive before @include.
45503 2011-06-04 Jakub Jelinek <jakub@redhat.com>
45506 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
45507 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
45508 (mq_open): Add __NTH.
45510 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
45512 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45513 Assume Intel Core i3/i5/i7 processor if AVX is available.
45515 2011-05-31 Ulrich Drepper <drepper@gmail.com>
45517 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
45520 2011-05-31 Andreas Schwab <schwab@redhat.com>
45522 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
45523 memory. Use alloca_account. Fix memory leak when retrying.
45525 2011-05-31 Ulrich Drepper <drepper@gmail.com>
45527 * version.h (RELEASE): Bump for 2.14 release.
45528 * include/features.h (__GLIBC_MINOR__): Bump to 14.
45530 * config.make.in (RANLIB): Remove entry.
45532 2011-05-30 Ulrich Drepper <drepper@gmail.com>
45534 * po/Makefile (po-sed-cmd): Add ksh to extensions.
45535 (libc.pot): Work around missing support for .ksh extension in xgettext.
45538 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
45539 if both request failed.
45540 (send_dg): In case of server errors clear resplen or *resplen2.
45543 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
45544 when there are multiple maps.
45545 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
45546 (_dl_fini): Remove test here.
45548 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
45550 2011-05-29 Ulrich Drepper <drepper@gmail.com>
45553 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
45554 bit from old_res_options.
45555 (gaih_inet): Likewise.
45558 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
45561 * resolv/res_init.c (res_setoptions): Make the code more compact.
45564 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
45568 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
45570 * malloc/malloc.h: Mark malloc hook variables as deprecated.
45573 * malloc/malloc.h: Declare malloc hook variables as volatile.
45575 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
45579 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
45580 raise in the comment.
45581 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
45582 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
45583 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
45585 2011-05-28 Ulrich Drepper <drepper@gmail.com>
45588 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
45589 grow the buffers more if it already has to be sufficient.
45590 (build_wcs_upper_buffer): Likewise.
45591 * posix/regexec.c (check_matching): Likewise.
45592 (clean_state_log_if_needed): Likewise.
45593 (extend_buffers): Don't enlarge buffers beyond size of the input
45595 Patches mostly by Emil Wojak <emil@wojak.eu>.
45596 * posix/bug-regex32.c: New file.
45597 * posix/Makefile (tests): Add bug-regex32.
45599 * locale/findlocale.c (_nl_find_locale): Return right away if
45600 _nl_explode_name failed.
45601 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
45603 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
45605 * debug/xtrace.sh: Unify messages.
45606 * malloc/memusage.sh: Likewise.
45609 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
45610 time symbol from vDSO. Substitute with vsyscall if not available.
45611 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
45614 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
45615 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
45616 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
45617 Add sendmmsg and internal_sendmmsg.
45618 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
45619 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
45620 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
45622 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
45623 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
45624 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
45626 2011-05-27 Ulrich Drepper <drepper@gmail.com>
45629 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
45630 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
45632 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
45636 * iconvdata/Makefile (tests): Add bug-iconv9.
45637 * iconvdata/bug-iconv9.c: New file.
45639 2011-05-27 Andreas Schwab <schwab@redhat.com>
45642 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
45644 2011-05-25 Jakub Jelinek <jakub@redhat.com>
45646 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45647 (struct user_regs_struct): Change intcs field back to cs.
45649 2011-05-25 Ulrich Drepper <drepper@gmail.com>
45651 * po/ja.po: Update from translation team.
45653 2011-05-23 Ulrich Drepper <drepper@gmail.com>
45656 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
45657 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
45659 2011-05-20 Andreas Schwab <schwab@redhat.com>
45661 * stdlib/longlong.h: Update from GCC.
45663 2011-05-23 Andreas Schwab <schwab@redhat.com>
45665 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
45667 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
45668 Add parameter name.
45669 (__sysconf): Pass it down.
45671 2011-05-22 Ulrich Drepper <drepper@gmail.com>
45674 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
45676 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
45677 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
45678 add in in __libc_use_alloca calls. Adjust callers.
45679 (glob): Use malloc in some situations.
45681 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
45682 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
45685 2011-05-21 Ulrich Drepper <drepper@gmail.com>
45687 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
45688 and CLOCK_BOOTTIME_ALARM.
45691 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
45694 * string/_strerror.c (__strerror_r): Print negative errors as signed
45698 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
45699 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
45700 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
45702 * configure.in: Fix typo in redirection and correct removal of test
45703 files in two cases.
45706 * locale/setlocale.c (new_composite_name): Fix test to check for
45707 identical name of all categories.
45710 * libio/filedoalloc.c (local_isatty): New function.
45711 (_IO_file_doallocate): Use local_isatty.
45712 * stdio-common/perror.c (perror): In case a new stream is used
45713 forward the stream error.
45714 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
45717 2011-05-20 Ulrich Drepper <drepper@gmail.com>
45720 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
45722 * include/alloca.h (extend_alloca_account): Define.
45725 * posix/regex.h: Fix comments with documentation of user-accessible
45726 fields after compilation and describe correct free'ing of pattern
45727 after re_compile_pattern.
45728 Patch by Reuben Thomas <rrt@sc3d.org>.
45730 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
45732 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
45733 and -mno-altivec to prevent the compiler from using Altivec and/or
45734 VSX instructions when the corresponding registers are not available.
45736 2011-05-19 Andreas Schwab <schwab@redhat.com>
45738 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
45740 2011-05-19 Ulrich Drepper <drepper@gmail.com>
45742 * libio/freopen.c (freopen): Use __dup2, not dup2.
45743 * libio/freopen64.c (freopen64): Likewise.
45745 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
45748 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
45749 * math/Makefile (tests): Add test-powl.
45750 (CFLAGS-test-powl.c): Define.
45751 * math/test-powl.c: New file.
45753 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
45755 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
45757 2011-05-17 Ulrich Drepper <drepper@gmail.com>
45760 * iconvdata/gb18030.c: Update to GB18020-2005.
45762 2011-05-16 Ulrich Drepper <drepper@gmail.com>
45764 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
45765 RE_SYNTAX_POSIX_AWK): Update to match recent development.
45766 Patch by Aharon Robbins <arnold@skeeve.com>.
45769 * stdlib/putenv.c (putenv): Don't always create copy of the variable
45773 * misc/pselect.c (__pselect): Handle timeout value errors hidden
45774 through underflows.
45777 * misc/error.c (error_at_line): Ensure file_name and old_file_name
45778 point to strings before performing equality test for error_one_per_line
45782 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
45785 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45786 (struct user_fpregs_struct): Avoid __uint*_t types.
45789 * malloc/mtrace.c (tr_where): Add additional parameter to point to
45790 symbol info. Use it instead of calling _dl_addr locally.
45791 (lock_and_info): New function.
45792 (tr_freehook): Call lock_and_info and pass symbol info as additional
45793 parameter to tr_where.
45794 (tr_mallochook): Likewise.
45795 (tr_reallochook): Likewise.
45796 (tr_memalignhook): Likewise.
45798 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
45799 used and couldn't be at all thread-safe.
45801 2011-05-15 Ulrich Drepper <drepper@gmail.com>
45803 * libio/freopen.c (freopen): Don't close old file descriptor
45804 before the new one is opened. Instead dup the new file descriptor
45805 to the old one after the new stream is created.
45806 * libio/freopen64.c (freopen64): Likewise.
45807 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
45808 * libio/fileops.c (_IO_new_file_close_it): Handle new
45809 _IO_FLAGS2_NOCLOSE flag.
45810 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
45811 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
45812 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
45813 _IO_FLAGS2_NOCLOSE flag.
45814 * include/unistd.h: Add hidden_proto for dup3.
45815 Define __have_dup3.
45816 * io/dup3.c: Define hidden symbol.
45817 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
45820 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
45821 when an incomplete long option is used.
45822 * posix/tst-getopt_long1.c: New file.
45823 * posix/Makefile (tests): Add tst-getopt_long1.
45826 * scripts/config.guess: Update from autoconf-2.68.
45827 * scripts/config.sub: Likewise.
45830 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
45832 (has_cpuclock): ...this. New function.
45833 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
45834 macro here based on has_cpuclock code.
45837 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45838 First byte (not low byte) is now always NUL.
45839 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
45841 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45842 Use non-cancelable interfaces.
45845 * locale/iso-639.def: Add entry for Sorani.
45848 * include/stdlib.h: Move include protection to the right place.
45849 Define abort_msg_s. Declare __abort_msg with it.
45850 * stdlib/abort.c (__abort_msg): Adjust type.
45851 * assert/assert.c (__assert_fail_base): New function. Majority
45852 of code from __assert_fail. Allocate memory for __abort_msg with
45854 (__assert_fail): Now call __assert_fail_base.
45855 * assert/assert-perr.c: Remove bulk of implementation. Use
45856 __assert_fail_base.
45857 * include/assert.hL Declare __assert_fail_base.
45858 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
45860 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
45862 2011-05-14 Ulrich Drepper <drepper@gmail.com>
45866 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
45867 until all modules are registered in the DTV.
45868 * elf/Makefile: Add rules to build and run tst-tls19.
45869 * elf/tst-tls19.c: New file.
45870 * elf/tst-tls19mod1.c: New file.
45871 * elf/tst-tls19mod2.c: New file.
45872 * elf/tst-tls19mod3.c: New file.
45873 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
45876 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
45880 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
45881 two-byte sequence errors.
45882 * iconvdata/Makefile (tests): Add bug-iconv8.
45883 * iconvdata/bug-iconv8.c: New file.
45886 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
45889 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
45892 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
45893 (dummy_getcfa): New function.
45894 (init): Get _Unwind_GetCFA address, use dummy if not found.
45895 (backtrace_helper): In recursion check, also check whether CFA changes.
45896 (__backtrace): Completely initialize arg.
45898 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
45899 storing incomplete byte sequence in state object. Avoid testing for
45900 guaranteed too small input if we know there is enough data available.
45902 2011-05-11 Andreas Schwab <schwab@redhat.com>
45904 * Makeconfig (+link-pie): Indent.
45905 * Rules (binaries-pie): Define if $(have-fpie) and
45907 (binaries-shared): Also filter out $(binaries-pie).
45908 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
45909 * nscd/Makefile (others-pie): Add nscd.
45910 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
45911 ($(objpfx)nscd): Remove command override.
45912 * login/Makefile (others-pie): Add pt_chown.
45913 ($(objpfx)pt_chown): Remove command override.
45914 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
45915 remove command overrides.
45917 2011-05-13 Ulrich Drepper <drepper@gmail.com>
45919 * libio/tst_putwc.c: Fix error messages.
45922 * libio/fileops.c (_IO_new_file_close_it): Always flush when
45923 currently writing and seek to current position when not.
45924 * libio/Makefile (tests): Add bug-fclose1.
45925 * libio/bug-fclose1.c: New file.
45927 2011-05-12 Ulrich Drepper <drepper@gmail.com>
45930 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
45931 don't set DF_1_NODELETE here.
45932 (do_lookup_x): When entering new entry test for copy relocation
45933 and if necessary set DF_1_NODELETE flag.
45934 * elf/tst-unique4.cc: New file.
45935 * elf/tst-unique4.h: New file.
45936 * elf/tst-unique4lib.cc: New file.
45937 * elf/Makefile: Add rules to build and run tst-unique4.
45938 Patch by Piotr Bury <pbury@goahead.com>.
45940 2011-05-11 Ulrich Drepper <drepper@gmail.com>
45943 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
45946 * misc/mntent_r.c (addmntent): Flush the stream after the output
45949 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
45950 (is_trusted_path_normalize): Skip initial colon. Append slash
45951 to empty buffer. Duplicate is_trusted_path code but allow
45952 constructed patch to be prefix.
45953 (is_dst): Allow $ORIGIN followed by /.
45954 (_dl_dst_substitute): Correct clearing of check_for_trusted.
45955 Correct testing of result of is_trusted_path_normalize
45956 (decompose_rpath): Fix warning.
45958 2011-05-10 Ulrich Drepper <drepper@gmail.com>
45961 * grp/initgroups.c (internal_getgrouplist): When we found the service
45962 list through the initgroups entry in nsswitch.conf do not always
45963 continue on a successful lookup. Don't always use the
45964 __nss_group_database value if it is set.
45965 * nss/nsswitch.conf (initgroups): Change action for successful db
45966 lookup to continue for compatibility.
45968 2011-05-09 Ulrich Drepper <drepper@gmail.com>
45971 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
45973 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
45975 * iconvdata/tst-tables.sh: Likewise.
45976 * iconvdata/cp770.c: New file.
45977 * iconvdata/cp771.c: New file.
45978 * iconvdata/cp772.c: New file.
45979 * iconvdata/cp773.c: New file.
45980 * iconvdata/cp774.c: New file.
45981 * iconvdata/testdata/CP770: New file.
45982 * iconvdata/testdata/CP770..UTF8: New file.
45983 * iconvdata/testdata/CP771: New file.
45984 * iconvdata/testdata/CP771..UTF8: New file.
45985 * iconvdata/testdata/CP772: New file.
45986 * iconvdata/testdata/CP772..UTF8: New file.
45987 * iconvdata/testdata/CP773: New file.
45988 * iconvdata/testdata/CP773..UTF8: New file.
45989 * iconvdata/testdata/CP774: New file.
45990 * iconvdata/testdata/CP774..UTF8: New file.
45992 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
45994 * iconvdata/gen-8bit-gap.sh: Likewise.
45995 * iconvdata/gen-8bit.sh: Likewise.
45997 * locale/iso-639.def: Add ary entry.
46000 * locale/C-translit.h.in: Add U20A1 transliteration.
46003 * locale/iso-639.def: Add wae entry.
46004 Patch by Kevin Bortis <bortis@translate-wae.ch>.
46007 * locale/programs/localedef.c (construct_output_path): Use ssize_t
46011 * locale/C-translit.h.in: Add entry for U20B9.
46012 Patch by pravin.d.s@gmail.com.
46014 2011-05-08 Ulrich Drepper <drepper@gmail.com>
46017 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
46018 ENAMETOOLONG use generic getcwd.
46019 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
46020 in rtld. Use *stat64.
46021 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
46022 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
46023 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
46024 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
46025 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
46026 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
46027 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
46028 __fstatat64 macros.
46029 * include/dirent.h: Add libc_hidden_proto for rewinddir.
46030 * dirent/rewinddir.c: Add libc_hidden_def.
46031 * sysdeps/mach/hurd/rewinddir.c: Likewise.
46032 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
46034 * include/dirent.h (__alloc_dir): Add flags parameter.
46035 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
46036 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
46038 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
46039 from fdopendir if O_CLOEXEC is already set.
46041 2011-03-15 Alan Modra <amodra@gmail.com>
46043 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
46044 l_tls_firstbyte_offset non-zero. Save padding offset in
46045 l_tls_firstbyte_offset for later use.
46046 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
46047 freeing static tls block.
46049 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
46051 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
46052 where #ifdef was intended. The intent is to prevent ARG_MAX from
46053 being defined by the kernel headers.
46055 2011-05-07 Ulrich Drepper <drepper@gmail.com>
46058 * resolv/resolv.h: Define RES_NOTLDQUERY.
46059 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
46060 no-tld-query and set RES_NOTLDQUERY.
46061 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
46062 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
46063 modern BIND to search name as TLD unless forbidden.
46065 2011-05-07 Petr Baudis <pasky@suse.cz>
46066 Ulrich Drepper <drepper@gmail.com>
46069 * elf/dl-load.c (fillin_rpath): Move trusted path check...
46070 (is_trusted_path): ...to here.
46071 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
46072 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
46073 using is_trusted_path_normalize() in setuid scripts.
46075 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
46077 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
46078 __BEGIN/__END_DECLS.
46080 2011-05-06 Ulrich Drepper <drepper@gmail.com>
46082 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
46083 NSS_STATUS_NOTFOUND if no record was found.
46085 2011-05-05 Andreas Schwab <schwab@redhat.com>
46087 * sunrpc/Makefile (headers): Add rpc/netdb.h.
46088 (headers-not-in-tirpc): Remove rpc/netdb.h
46089 * resolv/netdb.h: Revert last change.
46091 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
46093 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
46094 circular dependency between libgcc.a and libc.a.
46096 2011-05-05 Andreas Schwab <schwab@redhat.com>
46098 * resolv/netdb.h: Don't include <rpc/netdb.h>.
46099 * nis/Makefile: Don't install rpcsvc/*.
46100 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
46101 instead of <rpc/types.h>.
46102 (MAXHOSTNAMELEN): Define.
46104 2011-05-03 Andreas Schwab <schwab@redhat.com>
46106 * elf/ldconfig.c (add_dir): Don't crash on empty path.
46108 2011-04-28 Maciej Babinski <mbabinski@google.com>
46111 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
46112 gethostbyname4_r when IPv6 results are possible.
46114 2011-05-02 Ulrich Drepper <drepper@gmail.com>
46117 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
46118 _PC_PIPE_BUF handling.
46120 2011-04-30 Bruno Haible <bruno@clisp.org>
46123 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
46124 * resolv/netdb.h (getnameinfo): Change type of flags parameter
46126 * inet/getnameinfo.c (getnameinfo): Likewise.
46128 2011-04-29 Ulrich Drepper <drepper@gmail.com>
46130 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
46131 to groups setting in database lookup.
46132 * nss/nsswitch.conf: Add initgroups entry.
46134 2011-04-22 Ulrich Drepper <drepper@gmail.com>
46137 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
46139 Patch by Eric Blake <eblake@redhat.com>.
46141 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
46143 * sunrpc/Makefile (need-export-routines): Add svc_run.
46144 (routines): Remove svc_run.
46145 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
46146 * sunrpc/clnt_perr.c (clnt_perrno): Export.
46147 * sunrpc/svc_run.c (svc_run): Likewise.
46148 * sunrpc/svc_udp.c (svcudp_create): Likewise.
46150 2011-04-21 Ulrich Drepper <drepper@gmail.com>
46152 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
46153 problem in reallocation in last patch.
46155 2011-04-20 Ulrich Drepper <drepper@gmail.com>
46157 * sunrpc/Makefile: Move inclusion of Rules.
46159 2011-04-19 Ulrich Drepper <drepper@gmail.com>
46161 * nss/nss_files/files-initgroups.c: New file.
46162 * nss/Makefile (libnss_files-routines): Add files-initgroups.
46163 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
46164 _nss_files_initgroups_dyn.
46166 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
46168 * elf/elf.h (R_ARM_IRELATIVE): Define.
46170 2011-04-19 Ulrich Drepper <drepper@gmail.com>
46172 * po/ru.po: Update from translation team.
46174 2011-04-17 Ulrich Drepper <drepper@gmail.com>
46176 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
46179 2011-02-06 Mike Frysinger <vapier@gentoo.org>
46182 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
46183 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
46184 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
46185 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
46186 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
46188 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
46190 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
46192 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
46193 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
46194 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46196 2011-04-17 Ulrich Drepper <drepper@gmail.com>
46199 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
46201 * stdlib/bug-getcontext.c: New file.
46202 * stdlib/Makefile: Add rules to build and run bug-getcontext.
46204 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46206 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
46207 instructions into .machine "z9-109".
46208 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
46209 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
46211 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46213 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
46214 between environment variables and auxiliary vector.
46216 2011-04-16 Ulrich Drepper <drepper@gmail.com>
46218 * Makefile: Add rules to build linkobj/libc.so.
46219 * include/libc-symbols.h: Define libc_hidden_nolink.
46220 * include/rpc/auth.h: Mark functions which are to be hidden.
46221 * include/rpc/auth_des.h: Likewise.
46222 * include/rpc/auth_unix.h: Likewise.
46223 * include/rpc/clnt.h: Likewise.
46224 * include/rpc/des_crypt.h: Likewise.
46225 * include/rpc/key_prot.h: Likewise.
46226 * include/rpc/pmap_clnt.h: Likewise.
46227 * include/rpc/pmap_prot.h: Likewise.
46228 * include/rpc/pmap_rmt.h: Likewise.
46229 * include/rpc/rpc_msg.h: Likewise.
46230 * include/rpc/svc.h: Likewise.
46231 * include/rpc/svc_auth.h: Likewise.
46232 * include/rpc/xdr.h: Likewise.
46233 * nis/Makefile: Link all DSOs against linkobj/libc.so.
46234 * nss/Makefile: Likewise.
46235 * sunrpc/Makefile: Don't install headers. Build library with normal
46236 entry points. Don't build rpcinfo. Link RPC tests appropriately.
46237 * sunrpc/auth_des.c: Hide exported symbols by default, export some
46238 for the compat linking library. Remove use of INTDEF/INTUSE.
46239 * sunrpc/auth_none.c: Likewise.
46240 * sunrpc/auth_unix.c: Likewise.
46241 * sunrpc/authdes_prot.c: Likewise.
46242 * sunrpc/authuxprot.c: Likewise.
46243 * sunrpc/clnt_gen.c: Likewise.
46244 * sunrpc/clnt_perr.c: Likewise.
46245 * sunrpc/clnt_raw.c: Likewise.
46246 * sunrpc/clnt_simp.c: Likewise.
46247 * sunrpc/clnt_tcp.c: Likewise.
46248 * sunrpc/clnt_udp.c: Likewise.
46249 * sunrpc/clnt_unix.c: Likewise.
46250 * sunrpc/des_crypt.c: Likewise.
46251 * sunrpc/des_soft.c: Likewise.
46252 * sunrpc/get_myaddr.c: Likewise.
46253 * sunrpc/key_call.c: Likewise.
46254 * sunrpc/key_prot.c: Likewise.
46255 * sunrpc/netname.c: Likewise.
46256 * sunrpc/pm_getmaps.c: Likewise.
46257 * sunrpc/pm_getport.c: Likewise.
46258 * sunrpc/pmap_clnt.c: Likewise.
46259 * sunrpc/pmap_prot.c: Likewise.
46260 * sunrpc/pmap_prot2.c: Likewise.
46261 * sunrpc/pmap_rmt.c: Likewise.
46262 * sunrpc/publickey.c: Likewise.
46263 * sunrpc/rpc_cmsg.c: Likewise.
46264 * sunrpc/rpc_common.c: Likewise.
46265 * sunrpc/rpc_dtable.c: Likewise.
46266 * sunrpc/rpc_prot.c: Likewise.
46267 * sunrpc/rpc_thread.c: Likewise.
46268 * sunrpc/rtime.c: Likewise.
46269 * sunrpc/svc.c: Likewise.
46270 * sunrpc/svc_auth.c: Likewise.
46271 * sunrpc/svc_authux.c: Likewise.
46272 * sunrpc/svc_raw.c: Likewise.
46273 * sunrpc/svc_run.c: Likewise.
46274 * sunrpc/svc_simple.c: Likewise.
46275 * sunrpc/svc_tcp.c: Likewise.
46276 * sunrpc/svc_udp.c: Likewise.
46277 * sunrpc/svc_unix.c: Likewise.
46278 * sunrpc/svcauth_des.c: Likewise.
46279 * sunrpc/xcrypt.c: Likewise.
46280 * sunrpc/xdr.c: Likewise.
46281 * sunrpc/xdr_array.c: Likewise.
46282 * sunrpc/xdr_float.c: Likewise.
46283 * sunrpc/xdr_intXX_t.c: Likewise.
46284 * sunrpc/xdr_mem.c: Likewise.
46285 * sunrpc/xdr_rec.c: Likewise.
46286 * sunrpc/xdr_ref.c: Likewise.
46287 * sunrpc/xdr_sizeof.c: Likewise.
46288 * sunrpc/xdr_stdio.c: Likewise.
46290 2011-04-10 Ulrich Drepper <drepper@gmail.com>
46293 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
46294 * sysdeps/ia64/dl-tls.h: Likewise.
46295 * sysdeps/powerpc/dl-tls.h: Likewise.
46296 * sysdeps/s390/dl-tls.h: Likewise.
46297 * sysdeps/sh/dl-tls.h: Likewise.
46298 * sysdeps/sparc/dl-tls.h: Likewise.
46299 * sysdeps/x86_64/dl-tls.h: Likewise.
46300 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
46302 2011-03-14 Andreas Schwab <schwab@redhat.com>
46304 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
46305 rpath element also skip the following colon.
46306 (expand_dynamic_string_token): Add is_path parameter and pass
46307 down to DL_DST_REQUIRED and _dl_dst_substitute.
46308 (decompose_rpath): Call expand_dynamic_string_token with
46309 non-zero is_path. Ignore empty rpaths.
46310 (_dl_map_object_from_fd): Call expand_dynamic_string_token
46313 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
46315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
46318 2011-04-09 Ulrich Drepper <drepper@gmail.com>
46321 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
46322 Patch by Filipe David Manana <fdmanana@apache.org>.
46324 2011-04-07 Andreas Schwab <schwab@redhat.com>
46326 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
46327 Maintain aligned stack.
46328 (CHECK_RSP): Remove unused macro.
46330 2011-04-03 Ulrich Drepper <drepper@gmail.com>
46332 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
46333 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
46335 2011-04-02 Ulrich Drepper <drepper@gmail.com>
46337 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
46339 * include/features.h: Mention __USE_XOPEN2K8 in comment.
46341 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
46344 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
46345 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
46346 * sysdeps/x86_64/memmove.c: New file.
46347 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
46348 (memcpy): Renamed to ...
46349 (__new_memcpy): This.
46350 (memcpy): Provide GLIBC_2_14 memcpy.
46351 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
46352 (memcpy): Provide GLIBC_2_2_5 memcpy.
46354 2011-04-01 Ulrich Drepper <drepper@gmail.com>
46357 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
46359 2011-03-30 Andreas Schwab <schwab@redhat.com>
46361 * misc/syncfs.c: New file.
46362 * misc/Makefile (routines): Add syncfs.
46363 * posix/unistd.h: Declare syncfs.
46364 * sysdeps/unix/syscalls.list: Add syncfs.
46366 2011-04-01 Andreas Schwab <schwab@redhat.com>
46368 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
46370 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
46371 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46372 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46373 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46374 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46375 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
46376 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46378 2011-04-01 Ulrich Drepper <drepper@gmail.com>
46380 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
46381 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46382 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
46383 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46384 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46385 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46386 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46388 * io/Makefile: Compile fallocate.c, fallocate64.c, and
46389 sync_file_range.c with -fexceptions.
46390 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
46391 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
46392 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
46393 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
46394 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
46395 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
46396 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
46397 sync_file_range as cancellation point
46398 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
46399 now a wrapper around __call_sync_file_range with cancellation handling.
46400 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
46401 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
46402 function name to __call_sync_file_range.
46403 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
46404 Add call_sync_file_range.
46406 2011-04-01 Andreas Schwab <schwab@redhat.com>
46408 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46411 2011-04-01 Ulrich Drepper <drepper@gmail.com>
46413 * iconv/iconv.h: Fix typo in comment.
46414 * io/fcntl.h: Likewise.
46415 * libio/stdio.h: Likewise.
46416 * posix/spawn.h: Likewise.
46417 * posix/unistd.h: Likewise.
46418 * stdlib/stdlib.h: Likewise.
46419 * time/time.h: Likewise.
46420 * wcsmbs/wchar.h: Likewise.
46422 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
46423 open_by_handle): Add.
46424 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
46425 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
46426 Augment a few comments.
46427 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46428 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46429 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46430 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46431 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46432 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
46435 * io/fcntl.h (AT_EMPTY_PATH): Define.
46437 2011-03-30 Ulrich Drepper <drepper@gmail.com>
46439 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
46440 * sysdeps/unix/sysv/linux/bits/time.h: New file.
46441 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
46443 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
46444 * Versions.def: Add GLIBC_2.14.
46445 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
46448 2011-03-22 Ulrich Drepper <drepper@gmail.com>
46450 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
46452 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
46454 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
46457 * string/test-strncmp.c (do_page_test): New function.
46458 (check2): Likewise.
46459 (test_main): Call check2.
46460 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
46462 2011-03-20 Ulrich Drepper <drepper@gmail.com>
46465 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
46466 Handle cache information in CPU leaf 4.
46467 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
46469 2011-03-18 Ulrich Drepper <drepper@gmail.com>
46472 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
46473 character representation.
46474 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
46476 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
46478 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
46479 END(__isnan) to END(__isnanf) to match function entry point/label
46480 EALIGN(__isnanf,...).
46482 2011-03-10 Jakub Jelinek <jakub@redhat.com>
46484 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
46486 2011-03-10 Ulrich Drepper <drepper@gmail.com>
46489 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
46490 copy from the symbol referenced in the relocation to initialize the
46492 Patch by Piotr Bury <pbury@goahead.com>.
46493 * elf/Makefile: Add rules to build and tst-unique3.
46494 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
46495 * elf/tst-unique3.cc: New file.
46496 * elf/tst-unique3.h: New file.
46497 * elf/tst-unique3lib.cc: New file.
46498 * elf/tst-unique3lib2.cc: New file.
46500 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
46502 2011-03-10 Mike Frysinger <vapier@gentoo.org>
46504 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
46505 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
46508 2011-03-06 Ulrich Drepper <drepper@gmail.com>
46510 * elf/dl-load.c (_dl_map_object): If we are looking for the first
46511 to-be-loaded object along a path to loader is ld.so.
46513 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
46514 Ulrich Drepper <drepper@gmail.com>
46516 * sysdeps/x86_64/memset.S: After aligning destination, code
46517 branches to different locations depending on the value of
46518 misalignment, when multiarch is enabled. Fix this.
46520 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
46522 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
46523 Set _x86_64_preferred_memory_instruction for AMD processsors.
46524 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46525 Set bit_Prefer_SSE_for_memop for AMD processors.
46527 2011-03-04 Ulrich Drepper <drepper@gmail.com>
46529 * libio/fmemopen.c (fmemopen): Optimize a bit.
46531 2011-03-03 Andreas Schwab <schwab@redhat.com>
46533 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
46535 2011-03-03 Roland McGrath <roland@redhat.com>
46537 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
46539 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
46541 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
46542 __bzero_ultra1 instead of __memset_ultra1.
46544 2011-02-23 Andreas Schwab <schwab@redhat.com>
46545 Ulrich Drepper <drepper@gmail.com>
46548 * include/link.h (struct link_map): Add l_orig_initfini.
46549 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
46550 returning unsuccessfully.
46551 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
46552 close of a file loaded at startup, restore the original l_initfini
46554 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
46555 list, store the pointer.
46556 * elf/Makefile ($(objpfx)noload-mem): New rule.
46557 (noload-ENV): Define.
46558 (tests): Add $(objpfx)noload-mem.
46559 * elf/noload.c: Include <memcheck.h>.
46560 (main): Call mtrace. Close all opened handles.
46562 2011-02-17 Andreas Schwab <schwab@redhat.com>
46565 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
46566 dependencies are missing.
46568 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
46570 Fix __if_freereq crash: Unlike the generic version which uses free,
46572 * sysdeps/mach/hurd/ifreq.h: New file.
46574 2011-01-27 Petr Baudis <pasky@suse.cz>
46575 Ulrich Drepper <drepper@gmail.com>
46578 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
46579 to extend_alloca().
46580 * stdio-common/bug23.c: New file.
46581 * stdio-common/Makefile (tests): Add bug23.
46583 2010-09-28 Andreas Schwab <schwab@redhat.com>
46584 Ulrich Drepper <drepper@gmail.com>
46587 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
46588 before performing relro protection. At old place add assertion
46589 to make sure nothing changed.
46591 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
46592 Glauber de Oliveira Costa <glommer@gmail.com>
46594 * elf/elf.h: Add new ARM TLS relocs.
46596 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
46598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
46599 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
46601 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
46603 * sysdeps/wordsize-64/tst-writev.c: New file.
46605 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
46607 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
46608 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
46609 insns in _dl_start to prevent a TOC reference before relocs are
46612 2011-02-15 Ulrich Drepper <drepper@gmail.com>
46615 * Makeconfig: Remove RANLIB definition.
46616 * Makerules: Don't use RANLIB.
46617 * aclocal.m4: Remove ranlib test.
46618 * configure.in: No need to check for ranlib.
46619 * elf/rtld-Rules: Don't use RANLIB.
46621 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
46623 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
46625 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
46626 inclusion protection macro.
46628 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
46629 SIGRTMIN and SIGRTMAX and print information in that case only when
46630 SIGRTMIN is defined.
46632 2011-02-11 Jakub Jelinek <jakub@redhat.com>
46634 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
46635 arginfo fn returning -1.
46637 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
46638 and thousands string is zero terminated.
46640 2011-02-03 Andreas Schwab <schwab@redhat.com>
46642 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
46643 sysdeps/unix/sysv/linux/bits/socket.h.
46645 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
46647 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
46648 (__CPU_COUNT): Remove old macros.
46649 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
46650 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
46651 (__CPU_ALLOC, __CPU_FREE): Add macros.
46652 (__sched_cpualloc, __sched_cpufree): Add declarations.
46654 2011-02-05 Ulrich Drepper <drepper@gmail.com>
46656 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
46657 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
46658 * nscd/aicache.c (addhstaiX): Return timeout of added value.
46659 (readdhstai): Return value of addhstaiX call.
46660 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
46661 (addgrbyX): Return value returned by cache_addgr.
46662 (readdgrbyname): Return value returned by addgrbyX.
46663 (readdgrbygid): Likewise.
46664 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
46665 (addpwbyX): Return value returned by cache_addpw.
46666 (readdpwbyname): Return value returned by addhstbyX.
46667 (readdpwbyuid): Likewise.
46668 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
46669 (addservbyX): Return value returned by cache_addserv.
46670 (readdservbyname): Return value returned by addservbyX:
46671 (readdservbyport): Likewise.
46672 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
46673 (addhstbyX): Return value returned by cache_addhst.
46674 (readdhstbyname): Return value returned by addhstbyX.
46675 (readdhstbyaddr): Likewise.
46676 (readdhstbynamev6): Likewise.
46677 (readdhstbyaddrv6): Likewise.
46678 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
46679 (readdinitgroups): Return value returned by addinitgroupsX.
46680 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
46681 (prune_cache): Keep track of timeout value of re-added entries.
46682 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
46683 * nscd/nscd.h: Adjust prototypes of readd* functions.
46685 2011-02-04 Roland McGrath <roland@redhat.com>
46687 * nis/nis_server.c (nis_servstate): Use the right name for 0.
46688 (nis_stats): Likewise.
46689 * nis/nis_modify.c (nis_modify): Likewise.
46690 * nis/nis_remove.c (nis_remove): Likewise.
46691 * nis/nis_add.c (nis_add): Likewise.
46693 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
46695 * posix/fnmatch_loop.c: Add some consts.
46697 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
46699 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
46702 * config.make.in (config-cflags-novzeroupper): Define.
46703 * configure.in: Substitute libc_cv_cc_novzeroupper.
46704 * elf/Makefile (AVX-CFLAGS): Define.
46705 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
46706 (CFLAGS-tst-auditmod4a.c): Likewise.
46707 (CFLAGS-tst-auditmod4b.c): Likewise.
46708 (CFLAGS-tst-auditmod6b.c): Likewise.
46709 (CFLAGS-tst-auditmod6c.c): Likewise.
46710 (CFLAGS-tst-auditmod7b.c): Likewise.
46711 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
46713 2011-02-02 Ulrich Drepper <drepper@gmail.com>
46715 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
46716 function to the callback.
46717 Patch partly by Jiri Olsa <jolsa@redhat.com>.
46719 2011-02-02 Andreas Schwab <schwab@redhat.com>
46721 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
46724 2011-01-19 Ulrich Drepper <drepper@gmail.com>
46727 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
46729 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
46731 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
46734 * elf/Makefile: Add rules to build and run new test.
46735 * elf/tst-initorder.c: New file.
46736 * elf/tst-initorder.exp: New file.
46737 * elf/tst-initordera1.c: New file.
46738 * elf/tst-initordera2.c: New file.
46739 * elf/tst-initordera3.c: New file.
46740 * elf/tst-initordera4.c: New file.
46741 * elf/tst-initorderb1.c: New file.
46742 * elf/tst-initorderb2.c: New file.
46743 * elf/tst-order-a1.c: New file.
46744 * elf/tst-order-a2.c: New file.
46745 * elf/tst-order-a3.c: New file.
46746 * elf/tst-order-a4.c: New file.
46747 * elf/tst-order-b1.c: New file.
46748 * elf/tst-order-b2.c: New file.
46749 * elf/tst-order-main.c: New file.
46750 New test case by George Gensure <werkt0@gmail.com>.
46752 2010-10-01 Andreas Schwab <schwab@redhat.com>
46754 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46755 decoding ACE if AI_CANONIDN.
46757 2011-01-18 Ulrich Drepper <drepper@gmail.com>
46759 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
46761 2011-01-17 Ulrich Drepper <drepper@gmail.com>
46763 * version.h (RELEASE): Bump for 2.13 release.
46764 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
46766 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
46768 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
46770 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
46771 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
46772 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
46773 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
46774 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
46775 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
46777 * posix/getconf.c: Update copyright year.
46778 * catgets/gencat.c: Likewise.
46779 * csu/version.c: Likewise.
46780 * debug/catchsegv.sh: Likewise.
46781 * debug/xtrace.sh: Likewise.
46782 * elf/ldconfig.c: Likewise.
46783 * elf/ldd.bash.in: Likewise.
46784 * elf/sprof.c (print_version): Likewise.
46785 * iconv/iconv_prog.c: Likewise.
46786 * iconv/iconvconfig.c: Likewise.
46787 * locale/programs/locale.c: Likewise.
46788 * locale/programs/localedef.c: Likewise.
46789 * malloc/memusage.sh: Likewise.
46790 * malloc/mtrace.pl: Likewise.
46791 * nscd/nscd.c (print_version): Likewise.
46792 * nss/getent.c: Likewise.
46794 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
46795 PF_CAIF, and PF_ALG.
46796 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46798 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
46800 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
46801 (modules-names): Use them.
46802 (ifunc-test-modules, ifunc-pie-tests): Define.
46803 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
46804 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
46805 (test-extras): Likewise.
46806 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
46807 $(compile-command.c).
46808 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
46809 (all-built-dso): Define.
46810 (check-textrel.out, check-execstack.out): Depend on it.
46812 * configure.in: Don't override --enable-multi-arch.
46814 2011-01-15 Ulrich Drepper <drepper@gmail.com>
46817 * nscd/hstcache.c (tryagain): Define.
46818 (cache_addhst): Return tryagain not notfound for temporary errors.
46819 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
46822 2011-01-14 Ulrich Drepper <drepper@gmail.com>
46825 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
46826 to make the syscall.
46827 * sysdeps/unix/sysv/linux/setgroups.c: New file.
46830 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
46831 and fall back to matching as normal character if the string ends before
46832 the matching ']' is found. This is what POSIX requires.
46833 * posix/testfnm.c: Adjust test result.
46834 * posix/globtest.sh: Adjust test result. Add new test.
46835 * posix/tst-fnmatch.input: Likewise.
46836 * posix/tst-fnmatch2.c: Add new test.
46838 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
46840 * elf/Makefile (check-execstack): Revert last change. Depend on
46842 (check-execstack.h): New target.
46843 (generated): Add check-execstack.h.
46844 * elf/check-execstack.c: Include "check-execstack.h".
46845 (main): Revert last change.
46846 (handle_file): Return zero if GNU_STACK is absent and
46847 DEFAULT_STACK_PERMS doesn't include PF_X.
46849 2011-01-13 Ulrich Drepper <drepper@gmail.com>
46851 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
46852 in child fails because the descriptor is already closed.
46853 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
46854 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
46855 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
46858 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
46862 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
46863 temporary buffer used to handle multi lookups locally.
46864 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
46866 2011-01-12 Ulrich Drepper <drepper@gmail.com>
46868 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
46871 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
46873 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
46874 alignment for SSE2.
46876 2011-01-12 Ulrich Drepper <drepper@gmail.com>
46879 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
46880 characters. When rounding increased number of integer digits recompute
46882 * stdio-common/tst-grouping.c: New file.
46883 * stdio-common/Makefile: Add rules to build and run tst-grouping.
46885 2011-01-09 Ulrich Drepper <drepper@gmail.com>
46887 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
46888 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
46890 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
46892 * bits/select.h: Likewise.
46894 2011-01-08 Ulrich Drepper <drepper@gmail.com>
46896 * po/ja.po: Update from translation team.
46898 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
46901 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
46902 implementation just like for lxstat, fxstatat, et al.
46904 2010-12-27 Jim Meyering <meyering@redhat.com>
46907 * posix/regexec.c (build_trtable): Return failure indication upon
46908 calloc failure. Otherwise, re_search_internal could infloop on OOM.
46910 2010-12-25 Ulrich Drepper <drepper@gmail.com>
46913 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
46914 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
46915 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
46916 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
46919 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
46922 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
46923 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
46925 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
46927 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
46928 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
46929 script has SORT_BY_INIT_PRIORITY.
46930 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
46931 NO_CTORS_DTORS_SECTIONS is defined.
46932 * elf/soinit.c: Likewise.
46933 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
46934 NO_CTORS_DTORS_SECTIONS is defined.
46935 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
46936 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
46937 * sysdeps/sh/init-first.c: Likewise.
46938 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
46940 2010-12-24 Ulrich Drepper <drepper@gmail.com>
46942 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
46943 always use the slow path.
46945 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
46947 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
46948 similar rule which adds the sysdep directories to the header search in
46949 order to pick up the correct platform stackinfo.h.
46950 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
46951 perform test if it is, otherwise return successfully without testing.
46952 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
46953 DEFAULT_STACK_PERMS define in stackinfo.h.
46954 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
46955 defined in stackinfo.h.
46956 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
46957 DEFAULT_STACK_PERMS defined in stackinfo.h.
46958 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
46959 * sysdeps/ia64/stackinfo.h: Likewise.
46960 * sysdeps/s390/stackinfo.h: Likewise.
46961 * sysdeps/sh/stackinfo.h: Likewise.
46962 * sysdeps/sparc/stackinfo.h: Likewise.
46963 * sysdeps/x86_64/stackinfo.h: Likewise.
46964 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
46965 PF_X for powerpc64. Retain PF_X for powerpc32.
46967 2010-12-19 Ulrich Drepper <drepper@gmail.com>
46969 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
46971 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
46972 GETDENTS_64BIT_ALIGNED.
46974 2010-12-14 Ulrich Drepper <dreper@gmail.com>
46976 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
46978 2010-12-10 Andreas Schwab <schwab@redhat.com>
46980 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
46983 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
46984 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
46986 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
46987 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
46989 2010-12-09 Ulrich Drepper <drepper@gmail.com>
46992 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
46995 2010-12-09 Jakub Jelinek <jakub@redhat.com>
46997 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
46999 2010-12-03 Ulrich Drepper <drepper@gmail.com>
47001 * po/it.po: Update from translation team.
47003 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
47005 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
47008 2010-11-30 Ulrich Drepper <drepper@gmail.com>
47010 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
47012 2010-11-24 Andreas Schwab <schwab@redhat.com>
47014 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
47016 (gaih_getanswer_slice): Likewise.
47018 2010-10-20 Jakub Jelinek <jakub@redhat.com>
47020 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
47022 2010-05-31 Petr Baudis <pasky@suse.cz>
47025 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
47026 silently even in the chroot mode.
47028 2010-11-22 Ulrich Drepper <drepper@gmail.com>
47030 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
47031 last patch a bit. Pretty printing
47033 2010-05-31 Petr Baudis <pasky@suse.cz>
47036 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
47037 initialization of skip_initgroups_dyn.
47039 2010-11-19 Ulrich Drepper <drepper@gmail.com>
47041 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
47042 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
47044 2010-11-16 Ulrich Drepper <drepper@gmail.com>
47046 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
47048 2010-11-11 Andreas Schwab <schwab@redhat.com>
47050 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
47051 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
47052 (tst-fnmatch-ENV): Set MALLOC_TRACE.
47053 ($(objpfx)tst-fnmatch-mem): New rule.
47054 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
47055 * posix/tst-fnmatch.c (main): Call mtrace.
47057 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
47059 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47060 Support Intel processor model 6 and model 0x2c.
47062 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
47064 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
47067 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
47070 * string/test-strncasecmp.c (check_result): New function.
47071 (do_one_test): Use it.
47072 (check1): New function.
47073 (test_main): Use it.
47074 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
47075 Support strcasecmp and strncasecmp.
47077 2010-11-08 Ulrich Drepper <drepper@gmail.com>
47080 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
47081 * sysdeps/x86_64/bits/byteswap.h: Likewise.
47083 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
47085 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
47087 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47089 * sysdeps/x86_64/multiarch/bzero.S: New file.
47090 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
47091 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
47092 * sysdeps/x86_64/multiarch/memset.S: New file.
47093 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
47094 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47095 Set bit_Prefer_SSE_for_memop for Intel processors.
47096 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
47098 (index_Prefer_SSE_for_memop): Define.
47099 (HAS_PREFER_SSE_FOR_MEMOP): Define.
47101 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
47103 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
47104 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
47106 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
47109 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47110 (__x86_64_raw_data_cache_size_half): Likewise.
47111 (__x86_64_raw_shared_cache_size): Likewise.
47112 (__x86_64_raw_shared_cache_size_half): Likewise.
47114 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47115 (__x86_64_raw_data_cache_size_half): Likewise.
47116 (__x86_64_raw_shared_cache_size): Likewise.
47117 (__x86_64_raw_shared_cache_size_half): Likewise.
47118 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
47119 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
47120 and __x86_64_raw_shared_cache_size_half. Round
47121 __x86_64_data_cache_size_half, __x86_64_data_cache_size
47122 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
47123 to multiple of 256 bytes.
47125 2010-11-03 Ulrich Drepper <drepper@gmail.com>
47128 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
47129 of inacessible symlinks. Verify result of symlink before returning it.
47130 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
47131 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
47133 2010-10-28 Erich Ritz <erichritz@gmail.com>
47135 * math/math.h (isinf): Fix typo in comment.
47137 2010-11-01 Ulrich Drepper <drepper@gmail.com>
47139 * po/da.po: Update from translation team.
47141 2010-10-26 Ulrich Drepper <drepper@gmail.com>
47143 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
47144 is added to the list.
47146 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47147 Ulrich Drepper <drepper@gmail.com>
47149 * elf/dl-object.c (_dl_new_object): Don't append the new object to
47150 the global list here. Move code to...
47151 (_dl_add_to_namespace_list): ...here. New function.
47152 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
47153 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
47154 * elf/dl-load.c (lose): Don't remove the element from the list.
47155 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
47156 (_dl_map_object): Likewise.
47158 2010-10-25 Ulrich Drepper <drepper@gmail.com>
47161 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
47162 into all bytes of SSE register.
47163 Patch by Richard Li <richardpku@gmail.com>.
47165 2010-10-24 Ulrich Drepper <drepper@gmail.com>
47168 * malloc/malloc.c (_int_free): Fill correct number of bytes when
47171 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
47173 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
47174 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
47175 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
47176 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
47177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
47179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
47181 2010-10-22 Andreas Schwab <schwab@redhat.com>
47183 * include/dlfcn.h (__RTLD_SECURE): Define.
47184 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
47185 mode & __RTLD_SECURE instead.
47186 (open_path): Rename preloaded parameter to secure.
47187 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
47188 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
47189 * elf/dl-deps.c (openaux): Likewise.
47190 * elf/rtld.c (struct map_args): Remove is_preloaded.
47191 (map_doit): Don't use it.
47192 (dl_main): Likewise.
47193 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
47194 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
47196 2010-09-09 Andreas Schwab <schwab@redhat.com>
47198 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
47199 (sysd-rules-targets): Remove duplicates.
47200 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
47201 rtld-%.$o dependency.
47203 2010-10-18 Andreas Schwab <schwab@redhat.com>
47205 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
47206 _dl_map_object do it.
47208 2010-10-19 Ulrich Drepper <drepper@gmail.com>
47210 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
47211 fast fma builtins, define the macros in the C99 standard.
47212 (FP_FAST_FMAF): Likewise.
47213 (FP_FAST_FMAL): Likewise.
47214 * sysdeps/x86_64/bits/mathdef.h: Likewise.
47216 * bits/mathdef.h: Update copyright year.
47217 * sysdeps/powerpc/bits/mathdef.h: Likewise.
47219 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
47221 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
47222 builtins, define the macros in the C99 standard.
47223 (FP_FAST_FMAF): Likewise.
47224 (FP_FAST_FMAL): Likewise.
47225 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
47227 (FP_FAST_FMAF): Likewise.
47229 2010-10-15 Jakub Jelinek <jakub@redhat.com>
47232 * math/libm-test.inc (fma_test): Some new testcases.
47233 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
47234 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
47235 y and infinite z. Do multiplication by C already in long double.
47236 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
47237 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
47238 y and infinite z. Do bitwise or of inexact bit into u.d.
47239 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
47240 * sysdeps/i386/fpu/s_fmaf.S: Removed.
47241 * sysdeps/i386/fpu/s_fma.S: Removed.
47242 * sysdeps/i386/fpu/s_fmal.S: Removed.
47244 2010-10-16 Jakub Jelinek <jakub@redhat.com>
47247 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
47248 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
47249 computation is not scheduled after fetestexcept. Fix value
47250 of minimum denormal long double.
47252 2010-10-14 Jakub Jelinek <jakub@redhat.com>
47255 * math/libm-test.inc (fma_test): Add some more tests.
47256 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
47259 2010-10-15 Andreas Schwab <schwab@redhat.com>
47261 * scripts/data/localplt-s390-linux-gnu.data: New file.
47262 * scripts/data/localplt-s390x-linux-gnu.data: New file.
47264 2010-10-13 Jakub Jelinek <jakub@redhat.com>
47267 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
47268 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
47270 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
47272 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
47273 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
47274 if one of x and y is very large and the other is subnormal.
47275 * sysdeps/s390/fpu/s_fmaf.c: New file.
47276 * sysdeps/s390/fpu/s_fma.c: New file.
47277 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
47278 * sysdeps/powerpc/fpu/s_fma.S: New file.
47279 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
47280 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
47281 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
47283 2010-10-12 Jakub Jelinek <jakub@redhat.com>
47286 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
47288 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
47289 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
47290 * sysdeps/i386/i686/multiarch/s_fma.c: Include
47291 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
47292 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
47293 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
47294 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
47296 2010-10-12 Ulrich Drepper <drepper@redhat.com>
47299 * posix/regcomp.c (parse_branch): One more memory leak plugged.
47300 * posix/bug-regex31.input: Add test case.
47302 2010-10-11 Ulrich Drepper <drepper@gmail.com>
47304 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
47305 * posix/bug-regex31.input: New file.
47308 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
47309 (parse_sub_exp): Fix last change, use postorder.
47311 * posix/bug-regex31.c: New file.
47312 * posix/Makefile: Add rules to build and run bug-regex31.
47314 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
47317 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
47320 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
47321 to have entries in sys_siglist.
47324 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
47327 2010-10-07 Jakub Jelinek <jakub@redhat.com>
47330 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
47331 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
47332 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
47333 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
47334 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
47335 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
47336 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
47337 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
47338 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
47339 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
47340 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
47341 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
47342 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
47343 * math/ftestexcept.c (fetestexcept): Likewise.
47344 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
47345 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
47346 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
47347 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
47348 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
47349 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
47350 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
47352 2010-10-11 Ulrich Drepper <drepper@gmail.com>
47355 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
47358 2010-10-06 Ulrich Drepper <drepper@gmail.com>
47360 * string/bug-strstr1.c: New file.
47361 * string/Makefile: Add rules to build and run bug-strstr1.
47363 2010-10-05 Eric Blake <eblake@redhat.com>
47366 * string/str-two-way.h (two_way_long_needle): Always clear memory
47367 when skipping input due to the shift table.
47369 2010-10-03 Ulrich Drepper <drepper@gmail.com>
47372 * malloc/mcheck.c: Handle large requests.
47375 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
47376 for strncmp and strncasecmp.
47377 * string/stratcliff.c: Add tests for strcmp and strncmp.
47378 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
47380 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
47382 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
47385 2010-09-30 Andreas Jaeger <aj@suse.de>
47387 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
47388 (CGROUP_SUPER_MAGIC): Define.
47389 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47390 Handle btrfs and cgroup file systems.
47391 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
47394 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
47396 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
47397 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
47399 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47402 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
47403 trying to locate the ELF header.
47405 2010-09-27 Andreas Schwab <schwab@redhat.com>
47408 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
47409 Mask out sign-bit copies when constructing f_fsid.
47411 2010-09-24 Petr Baudis <pasky@suse.cz>
47413 * debug/stack_chk_fail_local.c: Add missing licence exception.
47414 * debug/warning-nop.c: Likewise.
47416 2010-09-15 Joseph Myers <joseph@codesourcery.com>
47418 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
47419 implementing getdents64 using getdents syscall, set d_type if
47420 __ASSUME_GETDENTS32_D_TYPE.
47422 2010-09-16 Andreas Schwab <schwab@redhat.com>
47424 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
47425 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
47427 2010-09-21 Ulrich Drepper <drepper@redhat.com>
47430 * posix/unistd.h: Undo change of feature selection for ftruncate from
47433 2010-09-20 Ulrich Drepper <drepper@redhat.com>
47435 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
47438 2010-09-20 Andreas Schwab <schwab@redhat.com>
47440 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
47442 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
47444 2010-09-14 Andreas Schwab <schwab@redhat.com>
47446 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
47447 variables after CHECK_SP call.
47448 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
47450 2010-09-13 Andreas Schwab <schwab@redhat.com>
47451 Ulrich Drepper <drepper@redhat.com>
47453 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
47454 re-relocationg ld.so.
47455 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
47456 _dl_init_paths call.
47457 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
47460 2010-09-14 Ulrich Drepper <drepper@redhat.com>
47462 * resolv/res_init.c (__res_vinit): Count the default server we added.
47464 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
47465 Ulrich Drepper <drepper@redhat.com>
47468 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
47469 (____longjmp_chk): Use %ebx for saving value across system call.
47472 2010-09-06 Andreas Schwab <schwab@redhat.com>
47474 * manual/Makefile: Don't mix pattern rules with normal rules.
47476 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
47478 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
47480 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
47481 * libio/iofopncook.c (_IO_cookie_init): Likewise.
47482 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
47483 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
47484 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47487 2010-09-04 Ulrich Drepper <drepper@redhat.com>
47490 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
47491 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
47493 2010-09-02 Ulrich Drepper <drepper@redhat.com>
47495 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
47496 * sysdeps/x86_64/addmul_1.S: Likewise.
47497 * sysdeps/x86_64/lshift.S: Likewise.
47498 * sysdeps/x86_64/mul_1.S: Likewise.
47499 * sysdeps/x86_64/rshift.S: Likewise.
47500 * sysdeps/x86_64/sub_n.S: Likewise.
47501 * sysdeps/x86_64/submul_1.S: Likewise.
47503 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
47505 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
47506 Define __sched_param instead of SCHED_* and sched_param when
47507 <bits/sched.h> is included with __need_schedparam defined.
47508 * bits/sched.h [__need_schedparam]
47509 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
47510 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
47511 (__defined_schedparam): Define to 1.
47512 (__sched_param): New structure, identical to sched_param.
47513 (__need_schedparam): Undefine.
47515 2010-08-31 Mike Frysinger <vapier@gentoo.org>
47517 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
47518 (epoll_create1): Declare.
47520 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
47522 2010-08-31 Andreas Schwab <schwab@redhat.com>
47525 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
47526 shifting retval into place.
47528 2010-09-01 Ulrich Drepper <drepper@redhat.com>
47530 * nis/rpcsvc/nis.h: Update copyright notice.
47531 * nis/rpcsvc/nis.x: Likewise.
47532 * nis/rpcsvc/nis_callback.h: Likewise.
47533 * nis/rpcsvc/nis_callback.x: Likewise.
47534 * nis/rpcsvc/nis_object.x: Likewise.
47535 * nis/rpcsvc/nis_tags.h: Likewise.
47536 * nis/rpcsvc/yp.h: Likewise.
47537 * nis/rpcsvc/yp.x: Likewise.
47538 * nis/rpcsvc/ypupd.h: Likewise.
47539 * nis/yp_xdr.c: Likewise.
47540 * nis/ypupdate_xdr.c: Likewise.
47542 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
47543 mainly the body of pmap_getport. Add parameters to specify timeouts.
47544 (pmap_getport): Use __libc_rpc_getport.
47545 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
47546 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
47547 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
47549 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
47551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
47554 2010-08-27 Roland McGrath <roland@redhat.com>
47556 * sysdeps/i386/i686/multiarch/Makefile
47557 (CFLAGS-varshift.c): New variable.
47559 2010-08-27 Ulrich Drepper <drepper@redhat.com>
47561 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
47562 * sysdeps/i386/i686/multiarch/varshift.c: New file.
47564 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
47566 * sysdeps/x86_64/strlen.S: Minimal code improvement.
47568 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
47570 * sysdeps/x86_64/strlen.S: Unroll the loop.
47571 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47572 strlen-sse2 strlen-sse2-bsf.
47573 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
47574 __strlen_no_bsf if bit_Slow_BSF is set.
47575 (__strlen_sse42): Removed.
47576 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
47577 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
47579 2010-08-25 Roland McGrath <roland@redhat.com>
47581 * sysdeps/x86_64/multiarch/varshift.S: File removed.
47582 * sysdeps/x86_64/multiarch/varshift.c: New file.
47583 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
47584 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
47585 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
47586 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
47588 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
47590 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47591 strlen-sse2 strlen-sse2-bsf.
47592 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
47593 __strlen_sse2_bsf if bit_Slow_BSF is unset.
47594 (__strlen_sse2): Removed.
47595 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
47596 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
47597 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
47598 bit_Slow_BSF for Atom.
47599 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
47600 (index_Slow_BSF): Define.
47601 (HAS_SLOW_BSF): Define.
47603 2010-08-25 Ulrich Drepper <drepper@redhat.com>
47606 * resolv/res_init.c (__res_vinit): When no server address at all
47607 is given default to loopback.
47609 2010-08-24 Roland McGrath <roland@redhat.com>
47611 * configure.in: Remove config-name.h generation.
47612 * configure: Regenerated.
47613 * config-name.in: File removed.
47614 * scripts/config-uname.sh: New file.
47615 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
47616 ($(objdir)config-name.h): New target.
47618 * sunrpc/rpc_parse.h: Avoid nested comment.
47620 2010-08-24 Richard Henderson <rth@redhat.com>
47621 Ulrich Drepper <drepper@redhat.com>
47622 H.J. Lu <hongjiu.lu@intel.com>
47624 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
47625 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
47626 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
47627 Replace _mm_srli_si128 with __m128i_shift_right. Replace
47628 _mm_alignr_epi8 with _mm_loadu_si128.
47629 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
47630 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
47631 (__m128i_shift_right): Removed.
47632 * sysdeps/i386/i686/multiarch/varshift.h: New file.
47633 * sysdeps/i386/i686/multiarch/varshift.S: New file.
47634 * sysdeps/x86_64/multiarch/varshift.h: New file.
47635 * sysdeps/x86_64/multiarch/varshift.S: New file.
47637 2010-08-21 Mike Frysinger <vapier@gentoo.org>
47639 * configure.in: Move assembler checks to before sysdep dir checking.
47641 2010-08-20 Petr Baudis <pasky@suse.cz>
47643 * LICENSES: Sync the sunrpc license.
47645 2010-08-19 Ulrich Drepper <drepper@redhat.com>
47647 * sunrpc/auth_des.c: Update copyright notice once again.
47648 * sunrpc/auth_none.c: Likewise.
47649 * sunrpc/auth_unix.c: Likewise.
47650 * sunrpc/authdes_prot.c: Likewise.
47651 * sunrpc/authuxprot.c: Likewise.
47652 * sunrpc/bindrsvprt.c: Likewise.
47653 * sunrpc/clnt_gen.c: Likewise.
47654 * sunrpc/clnt_perr.c: Likewise.
47655 * sunrpc/clnt_raw.c: Likewise.
47656 * sunrpc/clnt_simp.c: Likewise.
47657 * sunrpc/clnt_tcp.c: Likewise.
47658 * sunrpc/clnt_udp.c: Likewise.
47659 * sunrpc/clnt_unix.c: Likewise.
47660 * sunrpc/des_crypt.c: Likewise.
47661 * sunrpc/des_soft.c: Likewise.
47662 * sunrpc/get_myaddr.c: Likewise.
47663 * sunrpc/getrpcport.c: Likewise.
47664 * sunrpc/key_call.c: Likewise.
47665 * sunrpc/key_prot.c: Likewise.
47666 * sunrpc/openchild.c: Likewise.
47667 * sunrpc/pm_getmaps.c: Likewise.
47668 * sunrpc/pm_getport.c: Likewise.
47669 * sunrpc/pmap_clnt.c: Likewise.
47670 * sunrpc/pmap_prot.c: Likewise.
47671 * sunrpc/pmap_prot2.c: Likewise.
47672 * sunrpc/pmap_rmt.c: Likewise.
47673 * sunrpc/rpc/auth.h: Likewise.
47674 * sunrpc/rpc/auth_unix.h: Likewise.
47675 * sunrpc/rpc/clnt.h: Likewise.
47676 * sunrpc/rpc/des_crypt.h: Likewise.
47677 * sunrpc/rpc/key_prot.h: Likewise.
47678 * sunrpc/rpc/netdb.h: Likewise.
47679 * sunrpc/rpc/pmap_clnt.h: Likewise.
47680 * sunrpc/rpc/pmap_prot.h: Likewise.
47681 * sunrpc/rpc/pmap_rmt.h: Likewise.
47682 * sunrpc/rpc/rpc.h: Likewise.
47683 * sunrpc/rpc/rpc_des.h: Likewise.
47684 * sunrpc/rpc/rpc_msg.h: Likewise.
47685 * sunrpc/rpc/svc.h: Likewise.
47686 * sunrpc/rpc/svc_auth.h: Likewise.
47687 * sunrpc/rpc/types.h: Likewise.
47688 * sunrpc/rpc/xdr.h: Likewise.
47689 * sunrpc/rpc_clntout.c: Likewise.
47690 * sunrpc/rpc_cmsg.c: Likewise.
47691 * sunrpc/rpc_common.c: Likewise.
47692 * sunrpc/rpc_cout.c: Likewise.
47693 * sunrpc/rpc_dtable.c: Likewise.
47694 * sunrpc/rpc_hout.c: Likewise.
47695 * sunrpc/rpc_main.c: Likewise.
47696 * sunrpc/rpc_parse.c: Likewise.
47697 * sunrpc/rpc_parse.h: Likewise.
47698 * sunrpc/rpc_prot.c: Likewise.
47699 * sunrpc/rpc_sample.c: Likewise.
47700 * sunrpc/rpc_scan.c: Likewise.
47701 * sunrpc/rpc_scan.h: Likewise.
47702 * sunrpc/rpc_svcout.c: Likewise.
47703 * sunrpc/rpc_tblout.c: Likewise.
47704 * sunrpc/rpc_util.c: Likewise.
47705 * sunrpc/rpc_util.h: Likewise.
47706 * sunrpc/rpcinfo.c: Likewise.
47707 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
47708 * sunrpc/rpcsvc/key_prot.x: Likewise.
47709 * sunrpc/rpcsvc/klm_prot.x: Likewise.
47710 * sunrpc/rpcsvc/mount.x: Likewise.
47711 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
47712 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
47713 * sunrpc/rpcsvc/rex.x: Likewise.
47714 * sunrpc/rpcsvc/rstat.x: Likewise.
47715 * sunrpc/rpcsvc/rusers.x: Likewise.
47716 * sunrpc/rpcsvc/sm_inter.x: Likewise.
47717 * sunrpc/rpcsvc/spray.x: Likewise.
47718 * sunrpc/rpcsvc/yppasswd.x: Likewise.
47719 * sunrpc/rtime.c: Likewise.
47720 * sunrpc/svc.c: Likewise.
47721 * sunrpc/svc_auth.c: Likewise.
47722 * sunrpc/svc_authux.c: Likewise.
47723 * sunrpc/svc_raw.c: Likewise.
47724 * sunrpc/svc_run.c: Likewise.
47725 * sunrpc/svc_simple.c: Likewise.
47726 * sunrpc/svc_tcp.c: Likewise.
47727 * sunrpc/svc_udp.c: Likewise.
47728 * sunrpc/svc_unix.c: Likewise.
47729 * sunrpc/svcauth_des.c: Likewise.
47730 * sunrpc/xcrypt.c: Likewise.
47731 * sunrpc/xdr.c: Likewise.
47732 * sunrpc/xdr_array.c: Likewise.
47733 * sunrpc/xdr_float.c: Likewise.
47734 * sunrpc/xdr_mem.c: Likewise.
47735 * sunrpc/xdr_rec.c: Likewise.
47736 * sunrpc/xdr_ref.c: Likewise.
47737 * sunrpc/xdr_sizeof.c: Likewise.
47738 * sunrpc/xdr_stdio.c: Likewise.
47740 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
47743 2010-08-19 Andreas Schwab <schwab@redhat.com>
47745 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
47747 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
47749 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
47750 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
47751 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
47752 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
47753 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
47754 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
47755 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
47756 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
47757 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
47758 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
47759 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
47760 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
47761 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
47762 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
47764 2010-07-26 Anton Blanchard <anton@samba.org>
47766 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
47767 * malloc/arena.c (heap_trim): Likewise.
47769 2010-08-16 Ulrich Drepper <drepper@redhat.com>
47771 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
47773 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
47774 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
47776 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
47778 * sysdeps/i386/elf/Makefile: New file.
47780 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
47782 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
47783 from fanotify_init.
47784 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
47785 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
47787 2010-08-15 Ulrich Drepper <drepper@redhat.com>
47789 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
47791 * sysdeps/multiarch/strcmp.S: Likewise.
47793 2010-08-14 Ulrich Drepper <drepper@redhat.com>
47795 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
47796 strncase_l-nonascii.
47797 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
47798 Add strncase_l-ssse3.
47799 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
47800 * sysdeps/x86_64/strcmp.S: Likewise.
47801 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
47802 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
47803 * sysdeps/x86_64/strncase.S: New file.
47804 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
47805 * sysdeps/x86_64/strncase_l.S: New file.
47806 * string/Makefile (strop-tests): Add strncasecmp.
47807 * string/test-strncasecmp.c: New file.
47809 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
47812 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
47813 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
47815 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
47817 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
47819 2010-08-12 Ulrich Drepper <drepper@redhat.com>
47821 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
47822 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
47823 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
47825 2010-05-01 Alan Modra <amodra@gmail.com>
47827 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
47828 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
47829 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
47830 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
47831 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
47832 tidying. Don't tail-call __sigjmp_save for static lib.
47833 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
47835 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
47836 (CALL_MCOUNT): Add eh info, and nop after bl.
47837 (TAIL_CALL_SYSCALL_ERROR): New macro.
47838 (PSEUDO_RET): Use it.
47839 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
47840 Correct save location of integer regs and cr.
47841 (_dl_profile_resolve): Correct cr save location. Delete nops
47842 after bl when SHARED. Reduce cfi size a little by better
47843 placement of cfi directives.
47844 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
47845 make a stack frame. Instead use parm save area as a temp.
47846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
47847 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
47848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
47849 Don't make a stack frame for parent, use parm save area.
47850 Increase child stack frame to 112 bytes. Don't save unused reg,
47851 and adjust reg usage. Set up cfi on error recovery and
47852 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
47853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
47854 (__makecontext): Add dummy nop after jump to exit.
47855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
47856 Use correct parm save area and cr save, reduce stack frame.
47857 Correct cfi for possible PSEUDO_RET frame setup.
47858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
47859 Branch to local label emitted by PSEUDO_RET rather than
47862 2010-08-12 Andreas Schwab <schwab@redhat.com>
47865 * locale/programs/locale.c (print_assignment): New function.
47866 (show_locale_vars): Use it.
47868 2010-08-11 Ulrich Drepper <drepper@redhat.com>
47870 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
47872 (struct statfs64): Likewise.
47873 (_STATFS_F_FLAGS): Define.
47874 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
47875 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47876 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
47877 (ST_VALID): Define locally.
47878 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
47879 __statvfs_getflags, use the provided value.
47880 * sysdeps/unix/sysv/linux/kernel-features.h: Define
47881 __ASSUME_STATFS_F_FLAGS.
47883 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
47885 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
47886 Add sys/fanotify.h.
47887 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
47888 fanotify_mask for GLIBC_2.13.
47889 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
47890 fanotify_init and fanotify_mark.
47891 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
47892 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
47894 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
47896 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
47897 prlimit64 for GLIBC_2.13.
47898 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
47900 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
47902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
47903 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
47904 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
47905 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
47906 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
47908 * sysdeps/unix/sysv/linux/prlimit.c: New file.
47911 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
47912 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
47914 * nss/Makefile: Add rules to build and run tst-nss-test1.
47915 * shlib-versions: Add entry for libnss_test1.
47916 * nss/nss_test1.c: New file.
47917 * nss/tst-nss-test1.c: New file.
47919 * nss/nsswitch.c (__nss_database_custom): Define new variable.
47920 (__nss_configure_lookup): Set appropriate entry in
47921 __nss_configure_lookup to true.
47922 * nss/nsswitch.h: Define enum with indeces of databases in
47923 databases and __nss_database_custom arrays. Declare
47924 __nss_database_custom.
47925 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
47926 to avoid using nscd when custom rules are installed.
47927 * nss/getXXbyYY_r.c: Likewise.
47928 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
47930 * nss/nss_files/files-parse.c: Whitespace fixes.
47932 2010-08-09 Ulrich Drepper <drepper@redhat.com>
47935 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
47936 * posix/fnmatch_loop.c: Likewise.
47938 2010-07-17 Andi Kleen <ak@linux.intel.com>
47940 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
47941 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
47942 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
47943 * Versions.def [GLIBC_2.13]: Add.
47945 2010-08-06 Ulrich Drepper <drepper@redhat.com>
47947 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
47948 Also fail if tpwd after pwuid call is NULL.
47950 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
47952 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
47953 when converting to ms.
47955 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
47957 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
47958 EOPNOTSUPP errors with ENOTTY.
47959 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
47960 EOPNOTSUPP errors with ENOTTY.
47962 2010-07-31 Ulrich Drepper <drepper@redhat.com>
47964 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
47965 Add strcasecmp_l-ssse3.
47966 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
47968 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
47969 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
47970 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
47972 2010-07-30 Ulrich Drepper <drepper@redhat.com>
47974 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
47976 * string/Makefile (strop-tests): Add strcasecmp.
47977 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
47978 strcasecmp_l-nonascii.
47979 (gen-as-const-headers): Add locale-defines.sym.
47980 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
47981 * sysdeps/x86_64/strcasecmp.S: New file.
47982 * sysdeps/x86_64/strcasecmp_l.S: New file.
47983 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
47984 * sysdeps/x86_64/locale-defines.sym: New file.
47985 * string/test-strcasecmp.c: New file.
47987 * string/test-strcasestr.c: Test both ends of the range of characters.
47988 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
47990 2010-07-29 Roland McGrath <roland@redhat.com>
47993 * manual/locale.texi (Yes-or-No Questions): Fix example code.
47995 2010-07-27 Ulrich Drepper <drepper@redhat.com>
47997 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
48000 2010-07-27 Andreas Schwab <schwab@redhat.com>
48002 * manual/memory.texi (Malloc Tunable Parameters): Document
48005 2010-07-26 Roland McGrath <roland@redhat.com>
48008 * configure.in (-fgnu89-inline check): Set and substitute
48009 gnu89_inline, not libc_cv_gnu89_inline.
48010 * configure: Regenerated.
48011 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
48013 2010-07-26 Ulrich Drepper <drepper@redhat.com>
48015 * string/test-strnlen.c: New file.
48016 * string/Makefile (strop-tests): Add strnlen.
48017 * string/tester.c (test_strnlen): Add a few more test cases.
48018 * string/tst-strlen.c: Better error reporting.
48020 * sysdeps/x86_64/strnlen.S: New file.
48022 2010-07-24 Ulrich Drepper <drepper@redhat.com>
48024 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
48025 lower-latency instructions.
48027 2010-07-23 Ulrich Drepper <drepper@redhat.com>
48029 * string/test-strcasestr.c: New file.
48030 * string/test-strstr.c: New file.
48031 * string/Makefile (strop-tests): Add strstr and strcasestr.
48032 * string/str-two-way.h: Don't undefine MAX.
48033 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
48035 2010-07-21 Andreas Schwab <schwab@redhat.com>
48037 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48038 strcasestr-nonascii.
48039 (CFLAGS-strcasestr-nonascii.c): Define.
48040 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
48041 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
48042 Remove unused attribute.
48044 2010-07-20 Roland McGrath <roland@redhat.com>
48046 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
48047 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
48048 ld.so.cache was broken. With it, there is no way to disable dsocaps
48049 like LD_HWCAP_MASK can disable hwcaps.
48051 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
48053 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
48055 2010-07-16 Ulrich Drepper <drepper@redhat.com>
48057 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
48058 call in strcasestr.
48059 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
48060 __strcasestr_sse42_nonascii.
48061 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
48062 strcasestr-nonascii.c.
48063 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
48065 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
48067 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
48068 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
48069 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
48070 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
48072 2010-07-09 Ulrich Drepper <drepper@redhat.com>
48074 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
48077 2010-07-06 Andreas Schwab <schwab@redhat.com>
48080 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
48083 2010-07-06 Ulrich Drepper <drepper@redhat.com>
48085 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
48086 _PC_PIPE_BUF using F_GETPIPE_SZ.
48088 2010-07-05 Roland McGrath <roland@redhat.com>
48090 * manual/arith.texi (Rounding Functions): Fix rint description
48091 implicit in round description.
48093 2010-07-02 Ulrich Drepper <drepper@redhat.com>
48095 * elf/Makefile: Fix linking for a few tests to make recent linker
48098 2010-06-30 Andreas Schwab <schwab@redhat.com>
48100 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
48101 $(common-objpfx)libc_nonshared.a.
48103 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
48105 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
48106 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
48107 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48108 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48109 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
48110 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
48111 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48112 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
48114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
48115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
48116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
48118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
48120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
48121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
48122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
48123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
48125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
48127 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
48128 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
48129 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
48130 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
48131 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
48132 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
48133 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
48134 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
48135 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
48136 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
48137 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
48138 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
48139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
48140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
48141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
48142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
48143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
48144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
48145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
48146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
48147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
48148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
48149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
48150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
48151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
48152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
48154 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
48156 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
48157 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
48158 * string/memmove.c (memmove): Renamed to ...
48159 (MEMMOVE): ...this. Default to memmove.
48160 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
48161 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
48163 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48164 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
48165 mempcpy-ssse3-back memmove-ssse3-back.
48166 * sysdeps/x86_64/multiarch/bcopy.S: New file .
48167 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
48168 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
48169 * sysdeps/x86_64/multiarch/memcpy.S: New file.
48170 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
48171 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
48172 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
48173 * sysdeps/x86_64/multiarch/memmove.c: New file.
48174 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
48175 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
48176 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
48177 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
48178 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
48179 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
48181 (index_Fast_Copy_Backward): Define.
48182 (HAS_ARCH_FEATURE): Define.
48183 (HAS_FAST_REP_STRING): Define.
48184 (HAS_FAST_COPY_BACKWARD): Define.
48186 2010-06-21 Andreas Schwab <schwab@redhat.com>
48188 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48189 Restore proper fallback handling.
48191 2010-06-19 Ulrich Drepper <drepper@redhat.com>
48194 * posix/group_member.c (__group_member): Correct checking loop.
48196 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
48197 OOM in getpwuid_r correctly. Return error number when the caller
48198 should return, otherwise -1.
48199 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
48200 call returning > 0 value.
48201 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
48203 2010-06-07 Andreas Schwab <schwab@redhat.com>
48205 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
48206 libc_nonshared.a from targets in modules-names.
48208 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
48210 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
48213 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
48215 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
48216 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
48217 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
48218 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
48220 2010-06-02 Andreas Schwab <schwab@redhat.com>
48222 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
48224 2010-06-14 Ulrich Drepper <drepper@redhat.com>
48226 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
48228 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
48229 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48230 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48231 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48232 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48233 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
48235 2010-06-14 Roland McGrath <roland@redhat.com>
48237 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
48239 2010-06-07 Jakub Jelinek <jakub@redhat.com>
48241 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
48242 __REDIRECT followed by __THROW.
48243 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
48244 * posix/getopt.h (getopt): Likewise.
48246 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
48248 * hurd/lookup-at.c (__file_name_lookup_at): Accept
48249 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
48250 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
48252 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
48253 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
48255 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
48257 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
48259 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
48262 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48263 Properly check family and model.
48265 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
48267 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
48269 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
48271 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
48273 2010-05-21 Ulrich Drepper <drepper@redhat.com>
48275 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
48278 2010-05-19 Andreas Schwab <schwab@redhat.com>
48280 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
48283 2010-05-21 Andreas Schwab <schwab@redhat.com>
48285 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
48286 and internal_recvmmsg.
48287 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
48288 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
48289 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
48290 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
48292 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
48293 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
48294 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
48296 2010-05-20 Andreas Schwab <schwab@redhat.com>
48298 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
48300 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
48302 POWER7 optimizations.
48303 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
48304 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
48306 2010-05-19 Ulrich Drepper <drepper@redhat.com>
48308 * version.h: Update for 2.13 development version.
48310 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
48312 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
48313 exceptions. Return 0.
48315 2010-05-07 Roland McGrath <roland@redhat.com>
48317 * elf/ldconfig.c (main): Add a const.
48319 2010-05-06 Ulrich Drepper <drepper@redhat.com>
48321 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
48322 (args_options): Add no-idn option.
48323 (ahosts_keys_int): Add idn_flags to ai_flags.
48324 (parse_option): Handle 'i' option to clear idn_flags.
48326 * malloc/malloc.c (_int_free): Possible race in the most recently
48327 added check. Only act on the data if no current modification
48330 See ChangeLog.17 for earlier changes.